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

LoRaWANServiceProfile object.

See Also:

AWS * API Reference

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

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 LoRaWANServiceProfile& WithAddGwMetadata(bool value) { SetAddGwMetadata(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 LoRaWANServiceProfile& 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 LoRaWANServiceProfile& WithDrMax(int value) { SetDrMax(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 LoRaWANServiceProfile& WithPrAllowed(bool value) { SetPrAllowed(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 LoRaWANServiceProfile& WithRaAllowed(bool value) { SetRaAllowed(value); return *this;} private: bool m_addGwMetadata; bool m_addGwMetadataHasBeenSet = false; int m_drMin; bool m_drMinHasBeenSet = false; int m_drMax; bool m_drMaxHasBeenSet = false; bool m_prAllowed; bool m_prAllowedHasBeenSet = false; bool m_raAllowed; bool m_raAllowedHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws