/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTWireless { namespace Model { /** *

LoRaWANGetServiceProfileInfo object.

See Also:

AWS * API Reference

*/ class LoRaWANGetServiceProfileInfo { public: AWS_IOTWIRELESS_API LoRaWANGetServiceProfileInfo(); AWS_IOTWIRELESS_API LoRaWANGetServiceProfileInfo(Aws::Utils::Json::JsonView jsonValue); AWS_IOTWIRELESS_API LoRaWANGetServiceProfileInfo& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The ULRate value.

*/ inline int GetUlRate() const{ return m_ulRate; } /** *

The ULRate value.

*/ inline bool UlRateHasBeenSet() const { return m_ulRateHasBeenSet; } /** *

The ULRate value.

*/ inline void SetUlRate(int value) { m_ulRateHasBeenSet = true; m_ulRate = value; } /** *

The ULRate value.

*/ inline LoRaWANGetServiceProfileInfo& WithUlRate(int value) { SetUlRate(value); return *this;} /** *

The ULBucketSize value.

*/ inline int GetUlBucketSize() const{ return m_ulBucketSize; } /** *

The ULBucketSize value.

*/ inline bool UlBucketSizeHasBeenSet() const { return m_ulBucketSizeHasBeenSet; } /** *

The ULBucketSize value.

*/ inline void SetUlBucketSize(int value) { m_ulBucketSizeHasBeenSet = true; m_ulBucketSize = value; } /** *

The ULBucketSize value.

*/ inline LoRaWANGetServiceProfileInfo& WithUlBucketSize(int value) { SetUlBucketSize(value); return *this;} /** *

The ULRatePolicy value.

*/ inline const Aws::String& GetUlRatePolicy() const{ return m_ulRatePolicy; } /** *

The ULRatePolicy value.

*/ inline bool UlRatePolicyHasBeenSet() const { return m_ulRatePolicyHasBeenSet; } /** *

The ULRatePolicy value.

*/ inline void SetUlRatePolicy(const Aws::String& value) { m_ulRatePolicyHasBeenSet = true; m_ulRatePolicy = value; } /** *

The ULRatePolicy value.

*/ inline void SetUlRatePolicy(Aws::String&& value) { m_ulRatePolicyHasBeenSet = true; m_ulRatePolicy = std::move(value); } /** *

The ULRatePolicy value.

*/ inline void SetUlRatePolicy(const char* value) { m_ulRatePolicyHasBeenSet = true; m_ulRatePolicy.assign(value); } /** *

The ULRatePolicy value.

*/ inline LoRaWANGetServiceProfileInfo& WithUlRatePolicy(const Aws::String& value) { SetUlRatePolicy(value); return *this;} /** *

The ULRatePolicy value.

*/ inline LoRaWANGetServiceProfileInfo& WithUlRatePolicy(Aws::String&& value) { SetUlRatePolicy(std::move(value)); return *this;} /** *

The ULRatePolicy value.

*/ inline LoRaWANGetServiceProfileInfo& WithUlRatePolicy(const char* value) { SetUlRatePolicy(value); return *this;} /** *

The DLRate value.

*/ inline int GetDlRate() const{ return m_dlRate; } /** *

The DLRate value.

*/ inline bool DlRateHasBeenSet() const { return m_dlRateHasBeenSet; } /** *

The DLRate value.

*/ inline void SetDlRate(int value) { m_dlRateHasBeenSet = true; m_dlRate = value; } /** *

The DLRate value.

*/ inline LoRaWANGetServiceProfileInfo& WithDlRate(int value) { SetDlRate(value); return *this;} /** *

The DLBucketSize value.

*/ inline int GetDlBucketSize() const{ return m_dlBucketSize; } /** *

The DLBucketSize value.

*/ inline bool DlBucketSizeHasBeenSet() const { return m_dlBucketSizeHasBeenSet; } /** *

The DLBucketSize value.

*/ inline void SetDlBucketSize(int value) { m_dlBucketSizeHasBeenSet = true; m_dlBucketSize = value; } /** *

The DLBucketSize value.

*/ inline LoRaWANGetServiceProfileInfo& WithDlBucketSize(int value) { SetDlBucketSize(value); return *this;} /** *

The DLRatePolicy value.

*/ inline const Aws::String& GetDlRatePolicy() const{ return m_dlRatePolicy; } /** *

The DLRatePolicy value.

*/ inline bool DlRatePolicyHasBeenSet() const { return m_dlRatePolicyHasBeenSet; } /** *

The DLRatePolicy value.

*/ inline void SetDlRatePolicy(const Aws::String& value) { m_dlRatePolicyHasBeenSet = true; m_dlRatePolicy = value; } /** *

The DLRatePolicy value.

*/ inline void SetDlRatePolicy(Aws::String&& value) { m_dlRatePolicyHasBeenSet = true; m_dlRatePolicy = std::move(value); } /** *

The DLRatePolicy value.

*/ inline void SetDlRatePolicy(const char* value) { m_dlRatePolicyHasBeenSet = true; m_dlRatePolicy.assign(value); } /** *

The DLRatePolicy value.

*/ inline LoRaWANGetServiceProfileInfo& WithDlRatePolicy(const Aws::String& value) { SetDlRatePolicy(value); return *this;} /** *

The DLRatePolicy value.

*/ inline LoRaWANGetServiceProfileInfo& WithDlRatePolicy(Aws::String&& value) { SetDlRatePolicy(std::move(value)); return *this;} /** *

The DLRatePolicy value.

*/ inline LoRaWANGetServiceProfileInfo& WithDlRatePolicy(const char* value) { SetDlRatePolicy(value); return *this;} /** *

The AddGWMetaData value.

*/ inline bool GetAddGwMetadata() const{ return m_addGwMetadata; } /** *

The AddGWMetaData value.

*/ inline bool AddGwMetadataHasBeenSet() const { return m_addGwMetadataHasBeenSet; } /** *

The AddGWMetaData value.

*/ inline void SetAddGwMetadata(bool value) { m_addGwMetadataHasBeenSet = true; m_addGwMetadata = value; } /** *

The AddGWMetaData value.

*/ inline LoRaWANGetServiceProfileInfo& WithAddGwMetadata(bool value) { SetAddGwMetadata(value); return *this;} /** *

The DevStatusReqFreq value.

*/ inline int GetDevStatusReqFreq() const{ return m_devStatusReqFreq; } /** *

The DevStatusReqFreq value.

*/ inline bool DevStatusReqFreqHasBeenSet() const { return m_devStatusReqFreqHasBeenSet; } /** *

The DevStatusReqFreq value.

*/ inline void SetDevStatusReqFreq(int value) { m_devStatusReqFreqHasBeenSet = true; m_devStatusReqFreq = value; } /** *

The DevStatusReqFreq value.

*/ inline LoRaWANGetServiceProfileInfo& WithDevStatusReqFreq(int value) { SetDevStatusReqFreq(value); return *this;} /** *

The ReportDevStatusBattery value.

*/ inline bool GetReportDevStatusBattery() const{ return m_reportDevStatusBattery; } /** *

The ReportDevStatusBattery value.

*/ inline bool ReportDevStatusBatteryHasBeenSet() const { return m_reportDevStatusBatteryHasBeenSet; } /** *

The ReportDevStatusBattery value.

*/ inline void SetReportDevStatusBattery(bool value) { m_reportDevStatusBatteryHasBeenSet = true; m_reportDevStatusBattery = value; } /** *

The ReportDevStatusBattery value.

*/ inline LoRaWANGetServiceProfileInfo& WithReportDevStatusBattery(bool value) { SetReportDevStatusBattery(value); return *this;} /** *

The ReportDevStatusMargin value.

*/ inline bool GetReportDevStatusMargin() const{ return m_reportDevStatusMargin; } /** *

The ReportDevStatusMargin value.

*/ inline bool ReportDevStatusMarginHasBeenSet() const { return m_reportDevStatusMarginHasBeenSet; } /** *

The ReportDevStatusMargin value.

*/ inline void SetReportDevStatusMargin(bool value) { m_reportDevStatusMarginHasBeenSet = true; m_reportDevStatusMargin = value; } /** *

The ReportDevStatusMargin value.

*/ inline LoRaWANGetServiceProfileInfo& WithReportDevStatusMargin(bool value) { SetReportDevStatusMargin(value); return *this;} /** *

The DRMin value.

*/ inline int GetDrMin() const{ return m_drMin; } /** *

The DRMin value.

*/ inline bool DrMinHasBeenSet() const { return m_drMinHasBeenSet; } /** *

The DRMin value.

*/ inline void SetDrMin(int value) { m_drMinHasBeenSet = true; m_drMin = value; } /** *

The DRMin value.

*/ inline LoRaWANGetServiceProfileInfo& WithDrMin(int value) { SetDrMin(value); return *this;} /** *

The DRMax value.

*/ inline int GetDrMax() const{ return m_drMax; } /** *

The DRMax value.

*/ inline bool DrMaxHasBeenSet() const { return m_drMaxHasBeenSet; } /** *

The DRMax value.

*/ inline void SetDrMax(int value) { m_drMaxHasBeenSet = true; m_drMax = value; } /** *

The DRMax value.

*/ inline LoRaWANGetServiceProfileInfo& WithDrMax(int value) { SetDrMax(value); return *this;} /** *

The ChannelMask value.

*/ inline const Aws::String& GetChannelMask() const{ return m_channelMask; } /** *

The ChannelMask value.

*/ inline bool ChannelMaskHasBeenSet() const { return m_channelMaskHasBeenSet; } /** *

The ChannelMask value.

*/ inline void SetChannelMask(const Aws::String& value) { m_channelMaskHasBeenSet = true; m_channelMask = value; } /** *

The ChannelMask value.

*/ inline void SetChannelMask(Aws::String&& value) { m_channelMaskHasBeenSet = true; m_channelMask = std::move(value); } /** *

The ChannelMask value.

*/ inline void SetChannelMask(const char* value) { m_channelMaskHasBeenSet = true; m_channelMask.assign(value); } /** *

The ChannelMask value.

*/ inline LoRaWANGetServiceProfileInfo& WithChannelMask(const Aws::String& value) { SetChannelMask(value); return *this;} /** *

The ChannelMask value.

*/ inline LoRaWANGetServiceProfileInfo& WithChannelMask(Aws::String&& value) { SetChannelMask(std::move(value)); return *this;} /** *

The ChannelMask value.

*/ inline LoRaWANGetServiceProfileInfo& WithChannelMask(const char* value) { SetChannelMask(value); return *this;} /** *

The PRAllowed value that describes whether passive roaming is allowed.

*/ inline bool GetPrAllowed() const{ return m_prAllowed; } /** *

The PRAllowed value that describes whether passive roaming is allowed.

*/ inline bool PrAllowedHasBeenSet() const { return m_prAllowedHasBeenSet; } /** *

The PRAllowed value that describes whether passive roaming is allowed.

*/ inline void SetPrAllowed(bool value) { m_prAllowedHasBeenSet = true; m_prAllowed = value; } /** *

The PRAllowed value that describes whether passive roaming is allowed.

*/ inline LoRaWANGetServiceProfileInfo& WithPrAllowed(bool value) { SetPrAllowed(value); return *this;} /** *

The HRAllowed value that describes whether handover roaming is allowed.

*/ inline bool GetHrAllowed() const{ return m_hrAllowed; } /** *

The HRAllowed value that describes whether handover roaming is allowed.

*/ inline bool HrAllowedHasBeenSet() const { return m_hrAllowedHasBeenSet; } /** *

The HRAllowed value that describes whether handover roaming is allowed.

*/ inline void SetHrAllowed(bool value) { m_hrAllowedHasBeenSet = true; m_hrAllowed = value; } /** *

The HRAllowed value that describes whether handover roaming is allowed.

*/ inline LoRaWANGetServiceProfileInfo& WithHrAllowed(bool value) { SetHrAllowed(value); return *this;} /** *

The RAAllowed value that describes whether roaming activation is allowed.

*/ inline bool GetRaAllowed() const{ return m_raAllowed; } /** *

The RAAllowed value that describes whether roaming activation is allowed.

*/ inline bool RaAllowedHasBeenSet() const { return m_raAllowedHasBeenSet; } /** *

The RAAllowed value that describes whether roaming activation is allowed.

*/ inline void SetRaAllowed(bool value) { m_raAllowedHasBeenSet = true; m_raAllowed = value; } /** *

The RAAllowed value that describes whether roaming activation is allowed.

*/ inline LoRaWANGetServiceProfileInfo& WithRaAllowed(bool value) { SetRaAllowed(value); return *this;} /** *

The NwkGeoLoc value.

*/ inline bool GetNwkGeoLoc() const{ return m_nwkGeoLoc; } /** *

The NwkGeoLoc value.

*/ inline bool NwkGeoLocHasBeenSet() const { return m_nwkGeoLocHasBeenSet; } /** *

The NwkGeoLoc value.

*/ inline void SetNwkGeoLoc(bool value) { m_nwkGeoLocHasBeenSet = true; m_nwkGeoLoc = value; } /** *

The NwkGeoLoc value.

*/ inline LoRaWANGetServiceProfileInfo& WithNwkGeoLoc(bool value) { SetNwkGeoLoc(value); return *this;} /** *

The TargetPER value.

*/ inline int GetTargetPer() const{ return m_targetPer; } /** *

The TargetPER value.

*/ inline bool TargetPerHasBeenSet() const { return m_targetPerHasBeenSet; } /** *

The TargetPER value.

*/ inline void SetTargetPer(int value) { m_targetPerHasBeenSet = true; m_targetPer = value; } /** *

The TargetPER value.

*/ inline LoRaWANGetServiceProfileInfo& WithTargetPer(int value) { SetTargetPer(value); return *this;} /** *

The MinGwDiversity value.

*/ inline int GetMinGwDiversity() const{ return m_minGwDiversity; } /** *

The MinGwDiversity value.

*/ inline bool MinGwDiversityHasBeenSet() const { return m_minGwDiversityHasBeenSet; } /** *

The MinGwDiversity value.

*/ inline void SetMinGwDiversity(int value) { m_minGwDiversityHasBeenSet = true; m_minGwDiversity = value; } /** *

The MinGwDiversity value.

*/ inline LoRaWANGetServiceProfileInfo& WithMinGwDiversity(int value) { SetMinGwDiversity(value); return *this;} private: int m_ulRate; bool m_ulRateHasBeenSet = false; int m_ulBucketSize; bool m_ulBucketSizeHasBeenSet = false; Aws::String m_ulRatePolicy; bool m_ulRatePolicyHasBeenSet = false; int m_dlRate; bool m_dlRateHasBeenSet = false; int m_dlBucketSize; bool m_dlBucketSizeHasBeenSet = false; Aws::String m_dlRatePolicy; bool m_dlRatePolicyHasBeenSet = false; bool m_addGwMetadata; bool m_addGwMetadataHasBeenSet = false; int m_devStatusReqFreq; bool m_devStatusReqFreqHasBeenSet = false; bool m_reportDevStatusBattery; bool m_reportDevStatusBatteryHasBeenSet = false; bool m_reportDevStatusMargin; bool m_reportDevStatusMarginHasBeenSet = false; int m_drMin; bool m_drMinHasBeenSet = false; int m_drMax; bool m_drMaxHasBeenSet = false; Aws::String m_channelMask; bool m_channelMaskHasBeenSet = false; bool m_prAllowed; bool m_prAllowedHasBeenSet = false; bool m_hrAllowed; bool m_hrAllowedHasBeenSet = false; bool m_raAllowed; bool m_raAllowedHasBeenSet = false; bool m_nwkGeoLoc; bool m_nwkGeoLocHasBeenSet = false; int m_targetPer; bool m_targetPerHasBeenSet = false; int m_minGwDiversity; bool m_minGwDiversityHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws