AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
TdscdmaObj.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/iotwireless/IoTWireless_EXPORTS.h>
9#include <aws/iotwireless/model/TdscdmaLocalId.h>
10#include <aws/iotwireless/model/TdscdmaNmrObj.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTWireless {
22namespace Model {
23
30 public:
31 AWS_IOTWIRELESS_API TdscdmaObj() = default;
32 AWS_IOTWIRELESS_API TdscdmaObj(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTWIRELESS_API TdscdmaObj& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline int GetMcc() const { return m_mcc; }
41 inline bool MccHasBeenSet() const { return m_mccHasBeenSet; }
42 inline void SetMcc(int value) {
43 m_mccHasBeenSet = true;
44 m_mcc = value;
45 }
46 inline TdscdmaObj& WithMcc(int value) {
47 SetMcc(value);
48 return *this;
49 }
51
53
56 inline int GetMnc() const { return m_mnc; }
57 inline bool MncHasBeenSet() const { return m_mncHasBeenSet; }
58 inline void SetMnc(int value) {
59 m_mncHasBeenSet = true;
60 m_mnc = value;
61 }
62 inline TdscdmaObj& WithMnc(int value) {
63 SetMnc(value);
64 return *this;
65 }
67
69
72 inline int GetLac() const { return m_lac; }
73 inline bool LacHasBeenSet() const { return m_lacHasBeenSet; }
74 inline void SetLac(int value) {
75 m_lacHasBeenSet = true;
76 m_lac = value;
77 }
78 inline TdscdmaObj& WithLac(int value) {
79 SetLac(value);
80 return *this;
81 }
83
85
88 inline int GetUtranCid() const { return m_utranCid; }
89 inline bool UtranCidHasBeenSet() const { return m_utranCidHasBeenSet; }
90 inline void SetUtranCid(int value) {
91 m_utranCidHasBeenSet = true;
92 m_utranCid = value;
93 }
94 inline TdscdmaObj& WithUtranCid(int value) {
95 SetUtranCid(value);
96 return *this;
97 }
99
101
104 inline const TdscdmaLocalId& GetTdscdmaLocalId() const { return m_tdscdmaLocalId; }
105 inline bool TdscdmaLocalIdHasBeenSet() const { return m_tdscdmaLocalIdHasBeenSet; }
106 template <typename TdscdmaLocalIdT = TdscdmaLocalId>
107 void SetTdscdmaLocalId(TdscdmaLocalIdT&& value) {
108 m_tdscdmaLocalIdHasBeenSet = true;
109 m_tdscdmaLocalId = std::forward<TdscdmaLocalIdT>(value);
110 }
111 template <typename TdscdmaLocalIdT = TdscdmaLocalId>
112 TdscdmaObj& WithTdscdmaLocalId(TdscdmaLocalIdT&& value) {
113 SetTdscdmaLocalId(std::forward<TdscdmaLocalIdT>(value));
114 return *this;
115 }
117
119
122 inline int GetTdscdmaTimingAdvance() const { return m_tdscdmaTimingAdvance; }
123 inline bool TdscdmaTimingAdvanceHasBeenSet() const { return m_tdscdmaTimingAdvanceHasBeenSet; }
124 inline void SetTdscdmaTimingAdvance(int value) {
125 m_tdscdmaTimingAdvanceHasBeenSet = true;
126 m_tdscdmaTimingAdvance = value;
127 }
130 return *this;
131 }
133
135
139 inline int GetRscp() const { return m_rscp; }
140 inline bool RscpHasBeenSet() const { return m_rscpHasBeenSet; }
141 inline void SetRscp(int value) {
142 m_rscpHasBeenSet = true;
143 m_rscp = value;
144 }
145 inline TdscdmaObj& WithRscp(int value) {
146 SetRscp(value);
147 return *this;
148 }
150
152
156 inline int GetPathLoss() const { return m_pathLoss; }
157 inline bool PathLossHasBeenSet() const { return m_pathLossHasBeenSet; }
158 inline void SetPathLoss(int value) {
159 m_pathLossHasBeenSet = true;
160 m_pathLoss = value;
161 }
162 inline TdscdmaObj& WithPathLoss(int value) {
163 SetPathLoss(value);
164 return *this;
165 }
167
169
172 inline const Aws::Vector<TdscdmaNmrObj>& GetTdscdmaNmr() const { return m_tdscdmaNmr; }
173 inline bool TdscdmaNmrHasBeenSet() const { return m_tdscdmaNmrHasBeenSet; }
174 template <typename TdscdmaNmrT = Aws::Vector<TdscdmaNmrObj>>
175 void SetTdscdmaNmr(TdscdmaNmrT&& value) {
176 m_tdscdmaNmrHasBeenSet = true;
177 m_tdscdmaNmr = std::forward<TdscdmaNmrT>(value);
178 }
179 template <typename TdscdmaNmrT = Aws::Vector<TdscdmaNmrObj>>
180 TdscdmaObj& WithTdscdmaNmr(TdscdmaNmrT&& value) {
181 SetTdscdmaNmr(std::forward<TdscdmaNmrT>(value));
182 return *this;
183 }
184 template <typename TdscdmaNmrT = TdscdmaNmrObj>
185 TdscdmaObj& AddTdscdmaNmr(TdscdmaNmrT&& value) {
186 m_tdscdmaNmrHasBeenSet = true;
187 m_tdscdmaNmr.emplace_back(std::forward<TdscdmaNmrT>(value));
188 return *this;
189 }
191 private:
192 int m_mcc{0};
193
194 int m_mnc{0};
195
196 int m_lac{0};
197
198 int m_utranCid{0};
199
200 TdscdmaLocalId m_tdscdmaLocalId;
201
202 int m_tdscdmaTimingAdvance{0};
203
204 int m_rscp{0};
205
206 int m_pathLoss{0};
207
208 Aws::Vector<TdscdmaNmrObj> m_tdscdmaNmr;
209 bool m_mccHasBeenSet = false;
210 bool m_mncHasBeenSet = false;
211 bool m_lacHasBeenSet = false;
212 bool m_utranCidHasBeenSet = false;
213 bool m_tdscdmaLocalIdHasBeenSet = false;
214 bool m_tdscdmaTimingAdvanceHasBeenSet = false;
215 bool m_rscpHasBeenSet = false;
216 bool m_pathLossHasBeenSet = false;
217 bool m_tdscdmaNmrHasBeenSet = false;
218};
219
220} // namespace Model
221} // namespace IoTWireless
222} // namespace Aws
TdscdmaObj & WithMnc(int value)
Definition TdscdmaObj.h:62
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
TdscdmaObj & WithRscp(int value)
Definition TdscdmaObj.h:145
TdscdmaObj & WithMcc(int value)
Definition TdscdmaObj.h:46
AWS_IOTWIRELESS_API TdscdmaObj(Aws::Utils::Json::JsonView jsonValue)
TdscdmaObj & AddTdscdmaNmr(TdscdmaNmrT &&value)
Definition TdscdmaObj.h:185
AWS_IOTWIRELESS_API TdscdmaObj()=default
TdscdmaObj & WithTdscdmaTimingAdvance(int value)
Definition TdscdmaObj.h:128
void SetTdscdmaLocalId(TdscdmaLocalIdT &&value)
Definition TdscdmaObj.h:107
AWS_IOTWIRELESS_API TdscdmaObj & operator=(Aws::Utils::Json::JsonView jsonValue)
TdscdmaObj & WithLac(int value)
Definition TdscdmaObj.h:78
void SetTdscdmaNmr(TdscdmaNmrT &&value)
Definition TdscdmaObj.h:175
const TdscdmaLocalId & GetTdscdmaLocalId() const
Definition TdscdmaObj.h:104
TdscdmaObj & WithTdscdmaNmr(TdscdmaNmrT &&value)
Definition TdscdmaObj.h:180
TdscdmaObj & WithTdscdmaLocalId(TdscdmaLocalIdT &&value)
Definition TdscdmaObj.h:112
TdscdmaObj & WithPathLoss(int value)
Definition TdscdmaObj.h:162
const Aws::Vector< TdscdmaNmrObj > & GetTdscdmaNmr() const
Definition TdscdmaObj.h:172
TdscdmaObj & WithUtranCid(int value)
Definition TdscdmaObj.h:94
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue