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

CDMA (Code-division multiple access) object.

See Also:

AWS * API Reference

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

CDMA system ID (SID).

*/ inline int GetSystemId() const{ return m_systemId; } /** *

CDMA system ID (SID).

*/ inline bool SystemIdHasBeenSet() const { return m_systemIdHasBeenSet; } /** *

CDMA system ID (SID).

*/ inline void SetSystemId(int value) { m_systemIdHasBeenSet = true; m_systemId = value; } /** *

CDMA system ID (SID).

*/ inline CdmaObj& WithSystemId(int value) { SetSystemId(value); return *this;} /** *

CDMA network ID (NID).

*/ inline int GetNetworkId() const{ return m_networkId; } /** *

CDMA network ID (NID).

*/ inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; } /** *

CDMA network ID (NID).

*/ inline void SetNetworkId(int value) { m_networkIdHasBeenSet = true; m_networkId = value; } /** *

CDMA network ID (NID).

*/ inline CdmaObj& WithNetworkId(int value) { SetNetworkId(value); return *this;} /** *

CDMA base station ID (BSID).

*/ inline int GetBaseStationId() const{ return m_baseStationId; } /** *

CDMA base station ID (BSID).

*/ inline bool BaseStationIdHasBeenSet() const { return m_baseStationIdHasBeenSet; } /** *

CDMA base station ID (BSID).

*/ inline void SetBaseStationId(int value) { m_baseStationIdHasBeenSet = true; m_baseStationId = value; } /** *

CDMA base station ID (BSID).

*/ inline CdmaObj& WithBaseStationId(int value) { SetBaseStationId(value); return *this;} /** *

CDMA registration zone (RZ).

*/ inline int GetRegistrationZone() const{ return m_registrationZone; } /** *

CDMA registration zone (RZ).

*/ inline bool RegistrationZoneHasBeenSet() const { return m_registrationZoneHasBeenSet; } /** *

CDMA registration zone (RZ).

*/ inline void SetRegistrationZone(int value) { m_registrationZoneHasBeenSet = true; m_registrationZone = value; } /** *

CDMA registration zone (RZ).

*/ inline CdmaObj& WithRegistrationZone(int value) { SetRegistrationZone(value); return *this;} /** *

CDMA local identification (local ID) parameters.

*/ inline const CdmaLocalId& GetCdmaLocalId() const{ return m_cdmaLocalId; } /** *

CDMA local identification (local ID) parameters.

*/ inline bool CdmaLocalIdHasBeenSet() const { return m_cdmaLocalIdHasBeenSet; } /** *

CDMA local identification (local ID) parameters.

*/ inline void SetCdmaLocalId(const CdmaLocalId& value) { m_cdmaLocalIdHasBeenSet = true; m_cdmaLocalId = value; } /** *

CDMA local identification (local ID) parameters.

*/ inline void SetCdmaLocalId(CdmaLocalId&& value) { m_cdmaLocalIdHasBeenSet = true; m_cdmaLocalId = std::move(value); } /** *

CDMA local identification (local ID) parameters.

*/ inline CdmaObj& WithCdmaLocalId(const CdmaLocalId& value) { SetCdmaLocalId(value); return *this;} /** *

CDMA local identification (local ID) parameters.

*/ inline CdmaObj& WithCdmaLocalId(CdmaLocalId&& value) { SetCdmaLocalId(std::move(value)); return *this;} /** *

Transmit power level of the pilot signal, measured in dBm * (decibel-milliwatts).

*/ inline int GetPilotPower() const{ return m_pilotPower; } /** *

Transmit power level of the pilot signal, measured in dBm * (decibel-milliwatts).

*/ inline bool PilotPowerHasBeenSet() const { return m_pilotPowerHasBeenSet; } /** *

Transmit power level of the pilot signal, measured in dBm * (decibel-milliwatts).

*/ inline void SetPilotPower(int value) { m_pilotPowerHasBeenSet = true; m_pilotPower = value; } /** *

Transmit power level of the pilot signal, measured in dBm * (decibel-milliwatts).

*/ inline CdmaObj& WithPilotPower(int value) { SetPilotPower(value); return *this;} /** *

CDMA base station latitude in degrees.

*/ inline double GetBaseLat() const{ return m_baseLat; } /** *

CDMA base station latitude in degrees.

*/ inline bool BaseLatHasBeenSet() const { return m_baseLatHasBeenSet; } /** *

CDMA base station latitude in degrees.

*/ inline void SetBaseLat(double value) { m_baseLatHasBeenSet = true; m_baseLat = value; } /** *

CDMA base station latitude in degrees.

*/ inline CdmaObj& WithBaseLat(double value) { SetBaseLat(value); return *this;} /** *

CDMA base station longitude in degrees.

*/ inline double GetBaseLng() const{ return m_baseLng; } /** *

CDMA base station longitude in degrees.

*/ inline bool BaseLngHasBeenSet() const { return m_baseLngHasBeenSet; } /** *

CDMA base station longitude in degrees.

*/ inline void SetBaseLng(double value) { m_baseLngHasBeenSet = true; m_baseLng = value; } /** *

CDMA base station longitude in degrees.

*/ inline CdmaObj& WithBaseLng(double value) { SetBaseLng(value); return *this;} /** *

CDMA network measurement reports.

*/ inline const Aws::Vector& GetCdmaNmr() const{ return m_cdmaNmr; } /** *

CDMA network measurement reports.

*/ inline bool CdmaNmrHasBeenSet() const { return m_cdmaNmrHasBeenSet; } /** *

CDMA network measurement reports.

*/ inline void SetCdmaNmr(const Aws::Vector& value) { m_cdmaNmrHasBeenSet = true; m_cdmaNmr = value; } /** *

CDMA network measurement reports.

*/ inline void SetCdmaNmr(Aws::Vector&& value) { m_cdmaNmrHasBeenSet = true; m_cdmaNmr = std::move(value); } /** *

CDMA network measurement reports.

*/ inline CdmaObj& WithCdmaNmr(const Aws::Vector& value) { SetCdmaNmr(value); return *this;} /** *

CDMA network measurement reports.

*/ inline CdmaObj& WithCdmaNmr(Aws::Vector&& value) { SetCdmaNmr(std::move(value)); return *this;} /** *

CDMA network measurement reports.

*/ inline CdmaObj& AddCdmaNmr(const CdmaNmrObj& value) { m_cdmaNmrHasBeenSet = true; m_cdmaNmr.push_back(value); return *this; } /** *

CDMA network measurement reports.

*/ inline CdmaObj& AddCdmaNmr(CdmaNmrObj&& value) { m_cdmaNmrHasBeenSet = true; m_cdmaNmr.push_back(std::move(value)); return *this; } private: int m_systemId; bool m_systemIdHasBeenSet = false; int m_networkId; bool m_networkIdHasBeenSet = false; int m_baseStationId; bool m_baseStationIdHasBeenSet = false; int m_registrationZone; bool m_registrationZoneHasBeenSet = false; CdmaLocalId m_cdmaLocalId; bool m_cdmaLocalIdHasBeenSet = false; int m_pilotPower; bool m_pilotPowerHasBeenSet = false; double m_baseLat; bool m_baseLatHasBeenSet = false; double m_baseLng; bool m_baseLngHasBeenSet = false; Aws::Vector m_cdmaNmr; bool m_cdmaNmrHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws