/**
 * Nudr_DataRepository API OpenAPI file
 * Unified Data Repository Service. © 2020, 3GPP Organizational Partners (ARIB,
 * ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved.
 *
 * The version of the OpenAPI document: 2.1.2
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator
 * (https://openapi-generator.tech). https://openapi-generator.tech Do not edit
 * the class manually.
 */
/*
 * ReportingOptions.h
 *
 *
 */

#ifndef ReportingOptions_H_
#define ReportingOptions_H_

#include "EventReportMode.h"
#include <nlohmann/json.hpp>
#include <string>

namespace org {
namespace openapitools {
namespace server {
namespace model {

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

  void validate();

  /////////////////////////////////////////////
  /// ReportingOptions members

  /// <summary>
  ///
  /// </summary>
  EventReportMode getReportMode() const;
  void setReportMode(EventReportMode const &value);
  bool reportModeIsSet() const;
  void unsetReportMode();
  /// <summary>
  ///
  /// </summary>
  int32_t getMaxNumOfReports() const;
  void setMaxNumOfReports(int32_t const value);
  bool maxNumOfReportsIsSet() const;
  void unsetMaxNumOfReports();
  /// <summary>
  ///
  /// </summary>
  std::string getExpiry() const;
  void setExpiry(std::string const &value);
  bool expiryIsSet() const;
  void unsetExpiry();
  /// <summary>
  ///
  /// </summary>
  int32_t getSamplingRatio() const;
  void setSamplingRatio(int32_t const value);
  bool samplingRatioIsSet() const;
  void unsetSamplingRatio();
  /// <summary>
  ///
  /// </summary>
  int32_t getGuardTime() const;
  void setGuardTime(int32_t const value);
  bool guardTimeIsSet() const;
  void unsetGuardTime();
  /// <summary>
  ///
  /// </summary>
  int32_t getReportPeriod() const;
  void setReportPeriod(int32_t const value);
  bool reportPeriodIsSet() const;
  void unsetReportPeriod();

  friend void to_json(nlohmann::json &j, const ReportingOptions &o);
  friend void from_json(const nlohmann::json &j, ReportingOptions &o);

protected:
  EventReportMode m_ReportMode;
  bool m_ReportModeIsSet;
  int32_t m_MaxNumOfReports;
  bool m_MaxNumOfReportsIsSet;
  std::string m_Expiry;
  bool m_ExpiryIsSet;
  int32_t m_SamplingRatio;
  bool m_SamplingRatioIsSet;
  int32_t m_GuardTime;
  bool m_GuardTimeIsSet;
  int32_t m_ReportPeriod;
  bool m_ReportPeriodIsSet;
};

} // namespace model
} // namespace server
} // namespace openapitools
} // namespace org

#endif /* ReportingOptions_H_ */
