/**
* Namf_Communication
* AMF Communication Service © 2019, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. 
*
* The version of the OpenAPI document: 1.1.0.alpha-1
* 
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/*
 * AmfEvent.h
 *
 * 
 */

#ifndef AmfEvent_H_
#define AmfEvent_H_


#include "LocationFilter.h"
#include "AmfEventArea.h"
#include <vector>
#include "AmfEventType.h"
#include <nlohmann/json.hpp>

namespace oai {
namespace amf {
namespace model {

/// <summary>
/// 
/// </summary>
class  AmfEvent
{
public:
    AmfEvent();
    virtual ~AmfEvent();

    void validate();

    /////////////////////////////////////////////
    /// AmfEvent members

    /// <summary>
    /// 
    /// </summary>
    AmfEventType getType() const;
    void setType(AmfEventType const& value);
        /// <summary>
    /// 
    /// </summary>
    bool isImmediateFlag() const;
    void setImmediateFlag(bool const value);
    bool immediateFlagIsSet() const;
    void unsetImmediateFlag();
    /// <summary>
    /// 
    /// </summary>
    std::vector<AmfEventArea>& getAreaList();
    bool areaListIsSet() const;
    void unsetAreaList();
    /// <summary>
    /// 
    /// </summary>
    std::vector<LocationFilter>& getLocationFilterList();
    bool locationFilterListIsSet() const;
    void unsetLocationFilterList();
    /// <summary>
    /// 
    /// </summary>
    int32_t getRefId() const;
    void setRefId(int32_t const value);
    bool refIdIsSet() const;
    void unsetRefId();

    friend void to_json(nlohmann::json& j, const AmfEvent& o);
    friend void from_json(const nlohmann::json& j, AmfEvent& o);
protected:
    AmfEventType m_Type;

    bool m_ImmediateFlag;
    bool m_ImmediateFlagIsSet;
    std::vector<AmfEventArea> m_AreaList;
    bool m_AreaListIsSet;
    std::vector<LocationFilter> m_LocationFilterList;
    bool m_LocationFilterListIsSet;
    int32_t m_RefId;
    bool m_RefIdIsSet;
};

}
}
}

#endif /* AmfEvent_H_ */
