/**
 * 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.
 */
/*
 * LocationReportingConfiguration.h
 *
 *
 */

#ifndef LocationReportingConfiguration_H_
#define LocationReportingConfiguration_H_

#include "LocationAccuracy.h"
#include <nlohmann/json.hpp>

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

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

  void validate();

  /////////////////////////////////////////////
  /// LocationReportingConfiguration members

  /// <summary>
  ///
  /// </summary>
  bool isCurrentLocation() const;
  void setCurrentLocation(bool const value);
  /// <summary>
  ///
  /// </summary>
  bool isOneTime() const;
  void setOneTime(bool const value);
  bool oneTimeIsSet() const;
  void unsetOneTime();
  /// <summary>
  ///
  /// </summary>
  LocationAccuracy getAccuracy() const;
  void setAccuracy(LocationAccuracy const &value);
  bool accuracyIsSet() const;
  void unsetAccuracy();
  /// <summary>
  ///
  /// </summary>
  LocationAccuracy getN3gppAccuracy() const;
  void setN3gppAccuracy(LocationAccuracy const &value);
  bool n3gppAccuracyIsSet() const;
  void unsetN3gppAccuracy();

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

protected:
  bool m_CurrentLocation;

  bool m_OneTime;
  bool m_OneTimeIsSet;
  LocationAccuracy m_Accuracy;
  bool m_AccuracyIsSet;
  LocationAccuracy m_N3gppAccuracy;
  bool m_N3gppAccuracyIsSet;
};

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

#endif /* LocationReportingConfiguration_H_ */
