/** * 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 { /** *

TD-SCDMA object.

See Also:

AWS * API Reference

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

Mobile Country Code.

*/ inline int GetMcc() const{ return m_mcc; } /** *

Mobile Country Code.

*/ inline bool MccHasBeenSet() const { return m_mccHasBeenSet; } /** *

Mobile Country Code.

*/ inline void SetMcc(int value) { m_mccHasBeenSet = true; m_mcc = value; } /** *

Mobile Country Code.

*/ inline TdscdmaObj& WithMcc(int value) { SetMcc(value); return *this;} /** *

Mobile Network Code.

*/ inline int GetMnc() const{ return m_mnc; } /** *

Mobile Network Code.

*/ inline bool MncHasBeenSet() const { return m_mncHasBeenSet; } /** *

Mobile Network Code.

*/ inline void SetMnc(int value) { m_mncHasBeenSet = true; m_mnc = value; } /** *

Mobile Network Code.

*/ inline TdscdmaObj& WithMnc(int value) { SetMnc(value); return *this;} /** *

Location Area Code.

*/ inline int GetLac() const{ return m_lac; } /** *

Location Area Code.

*/ inline bool LacHasBeenSet() const { return m_lacHasBeenSet; } /** *

Location Area Code.

*/ inline void SetLac(int value) { m_lacHasBeenSet = true; m_lac = value; } /** *

Location Area Code.

*/ inline TdscdmaObj& WithLac(int value) { SetLac(value); return *this;} /** *

UTRAN (UMTS Terrestrial Radio Access Network) Cell Global Identifier.

*/ inline int GetUtranCid() const{ return m_utranCid; } /** *

UTRAN (UMTS Terrestrial Radio Access Network) Cell Global Identifier.

*/ inline bool UtranCidHasBeenSet() const { return m_utranCidHasBeenSet; } /** *

UTRAN (UMTS Terrestrial Radio Access Network) Cell Global Identifier.

*/ inline void SetUtranCid(int value) { m_utranCidHasBeenSet = true; m_utranCid = value; } /** *

UTRAN (UMTS Terrestrial Radio Access Network) Cell Global Identifier.

*/ inline TdscdmaObj& WithUtranCid(int value) { SetUtranCid(value); return *this;} /** *

TD-SCDMA local identification (local ID) information.

*/ inline const TdscdmaLocalId& GetTdscdmaLocalId() const{ return m_tdscdmaLocalId; } /** *

TD-SCDMA local identification (local ID) information.

*/ inline bool TdscdmaLocalIdHasBeenSet() const { return m_tdscdmaLocalIdHasBeenSet; } /** *

TD-SCDMA local identification (local ID) information.

*/ inline void SetTdscdmaLocalId(const TdscdmaLocalId& value) { m_tdscdmaLocalIdHasBeenSet = true; m_tdscdmaLocalId = value; } /** *

TD-SCDMA local identification (local ID) information.

*/ inline void SetTdscdmaLocalId(TdscdmaLocalId&& value) { m_tdscdmaLocalIdHasBeenSet = true; m_tdscdmaLocalId = std::move(value); } /** *

TD-SCDMA local identification (local ID) information.

*/ inline TdscdmaObj& WithTdscdmaLocalId(const TdscdmaLocalId& value) { SetTdscdmaLocalId(value); return *this;} /** *

TD-SCDMA local identification (local ID) information.

*/ inline TdscdmaObj& WithTdscdmaLocalId(TdscdmaLocalId&& value) { SetTdscdmaLocalId(std::move(value)); return *this;} /** *

TD-SCDMA Timing advance.

*/ inline int GetTdscdmaTimingAdvance() const{ return m_tdscdmaTimingAdvance; } /** *

TD-SCDMA Timing advance.

*/ inline bool TdscdmaTimingAdvanceHasBeenSet() const { return m_tdscdmaTimingAdvanceHasBeenSet; } /** *

TD-SCDMA Timing advance.

*/ inline void SetTdscdmaTimingAdvance(int value) { m_tdscdmaTimingAdvanceHasBeenSet = true; m_tdscdmaTimingAdvance = value; } /** *

TD-SCDMA Timing advance.

*/ inline TdscdmaObj& WithTdscdmaTimingAdvance(int value) { SetTdscdmaTimingAdvance(value); return *this;} /** *

Signal power of the received signal (Received Signal Code Power), measured in * decibel-milliwatts (dBm).

*/ inline int GetRscp() const{ return m_rscp; } /** *

Signal power of the received signal (Received Signal Code Power), measured in * decibel-milliwatts (dBm).

*/ inline bool RscpHasBeenSet() const { return m_rscpHasBeenSet; } /** *

Signal power of the received signal (Received Signal Code Power), measured in * decibel-milliwatts (dBm).

*/ inline void SetRscp(int value) { m_rscpHasBeenSet = true; m_rscp = value; } /** *

Signal power of the received signal (Received Signal Code Power), measured in * decibel-milliwatts (dBm).

*/ inline TdscdmaObj& WithRscp(int value) { SetRscp(value); return *this;} /** *

Path loss, or path attenuation, is the reduction in power density of an * electromagnetic wave as it propagates through space.

*/ inline int GetPathLoss() const{ return m_pathLoss; } /** *

Path loss, or path attenuation, is the reduction in power density of an * electromagnetic wave as it propagates through space.

*/ inline bool PathLossHasBeenSet() const { return m_pathLossHasBeenSet; } /** *

Path loss, or path attenuation, is the reduction in power density of an * electromagnetic wave as it propagates through space.

*/ inline void SetPathLoss(int value) { m_pathLossHasBeenSet = true; m_pathLoss = value; } /** *

Path loss, or path attenuation, is the reduction in power density of an * electromagnetic wave as it propagates through space.

*/ inline TdscdmaObj& WithPathLoss(int value) { SetPathLoss(value); return *this;} /** *

TD-SCDMA object for network measurement reports.

*/ inline const Aws::Vector& GetTdscdmaNmr() const{ return m_tdscdmaNmr; } /** *

TD-SCDMA object for network measurement reports.

*/ inline bool TdscdmaNmrHasBeenSet() const { return m_tdscdmaNmrHasBeenSet; } /** *

TD-SCDMA object for network measurement reports.

*/ inline void SetTdscdmaNmr(const Aws::Vector& value) { m_tdscdmaNmrHasBeenSet = true; m_tdscdmaNmr = value; } /** *

TD-SCDMA object for network measurement reports.

*/ inline void SetTdscdmaNmr(Aws::Vector&& value) { m_tdscdmaNmrHasBeenSet = true; m_tdscdmaNmr = std::move(value); } /** *

TD-SCDMA object for network measurement reports.

*/ inline TdscdmaObj& WithTdscdmaNmr(const Aws::Vector& value) { SetTdscdmaNmr(value); return *this;} /** *

TD-SCDMA object for network measurement reports.

*/ inline TdscdmaObj& WithTdscdmaNmr(Aws::Vector&& value) { SetTdscdmaNmr(std::move(value)); return *this;} /** *

TD-SCDMA object for network measurement reports.

*/ inline TdscdmaObj& AddTdscdmaNmr(const TdscdmaNmrObj& value) { m_tdscdmaNmrHasBeenSet = true; m_tdscdmaNmr.push_back(value); return *this; } /** *

TD-SCDMA object for network measurement reports.

*/ inline TdscdmaObj& AddTdscdmaNmr(TdscdmaNmrObj&& value) { m_tdscdmaNmrHasBeenSet = true; m_tdscdmaNmr.push_back(std::move(value)); return *this; } private: int m_mcc; bool m_mccHasBeenSet = false; int m_mnc; bool m_mncHasBeenSet = false; int m_lac; bool m_lacHasBeenSet = false; int m_utranCid; bool m_utranCidHasBeenSet = false; TdscdmaLocalId m_tdscdmaLocalId; bool m_tdscdmaLocalIdHasBeenSet = false; int m_tdscdmaTimingAdvance; bool m_tdscdmaTimingAdvanceHasBeenSet = false; int m_rscp; bool m_rscpHasBeenSet = false; int m_pathLoss; bool m_pathLossHasBeenSet = false; Aws::Vector m_tdscdmaNmr; bool m_tdscdmaNmrHasBeenSet = false; }; } // namespace Model } // namespace IoTWireless } // namespace Aws