AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
LteObj.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/LteLocalId.h>
10#include <aws/iotwireless/model/LteNmrObj.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
29class LteObj {
30 public:
31 AWS_IOTWIRELESS_API LteObj() = default;
32 AWS_IOTWIRELESS_API LteObj(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTWIRELESS_API LteObj& 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 LteObj& 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 LteObj& WithMnc(int value) {
63 SetMnc(value);
64 return *this;
65 }
67
69
73 inline int GetEutranCid() const { return m_eutranCid; }
74 inline bool EutranCidHasBeenSet() const { return m_eutranCidHasBeenSet; }
75 inline void SetEutranCid(int value) {
76 m_eutranCidHasBeenSet = true;
77 m_eutranCid = value;
78 }
79 inline LteObj& WithEutranCid(int value) {
80 SetEutranCid(value);
81 return *this;
82 }
84
86
89 inline int GetTac() const { return m_tac; }
90 inline bool TacHasBeenSet() const { return m_tacHasBeenSet; }
91 inline void SetTac(int value) {
92 m_tacHasBeenSet = true;
93 m_tac = value;
94 }
95 inline LteObj& WithTac(int value) {
96 SetTac(value);
97 return *this;
98 }
100
102
105 inline const LteLocalId& GetLteLocalId() const { return m_lteLocalId; }
106 inline bool LteLocalIdHasBeenSet() const { return m_lteLocalIdHasBeenSet; }
107 template <typename LteLocalIdT = LteLocalId>
108 void SetLteLocalId(LteLocalIdT&& value) {
109 m_lteLocalIdHasBeenSet = true;
110 m_lteLocalId = std::forward<LteLocalIdT>(value);
111 }
112 template <typename LteLocalIdT = LteLocalId>
113 LteObj& WithLteLocalId(LteLocalIdT&& value) {
114 SetLteLocalId(std::forward<LteLocalIdT>(value));
115 return *this;
116 }
118
120
123 inline int GetLteTimingAdvance() const { return m_lteTimingAdvance; }
124 inline bool LteTimingAdvanceHasBeenSet() const { return m_lteTimingAdvanceHasBeenSet; }
125 inline void SetLteTimingAdvance(int value) {
126 m_lteTimingAdvanceHasBeenSet = true;
127 m_lteTimingAdvance = value;
128 }
129 inline LteObj& WithLteTimingAdvance(int value) {
130 SetLteTimingAdvance(value);
131 return *this;
132 }
134
136
140 inline int GetRsrp() const { return m_rsrp; }
141 inline bool RsrpHasBeenSet() const { return m_rsrpHasBeenSet; }
142 inline void SetRsrp(int value) {
143 m_rsrpHasBeenSet = true;
144 m_rsrp = value;
145 }
146 inline LteObj& WithRsrp(int value) {
147 SetRsrp(value);
148 return *this;
149 }
151
153
157 inline double GetRsrq() const { return m_rsrq; }
158 inline bool RsrqHasBeenSet() const { return m_rsrqHasBeenSet; }
159 inline void SetRsrq(double value) {
160 m_rsrqHasBeenSet = true;
161 m_rsrq = value;
162 }
163 inline LteObj& WithRsrq(double value) {
164 SetRsrq(value);
165 return *this;
166 }
168
170
174 inline bool GetNrCapable() const { return m_nrCapable; }
175 inline bool NrCapableHasBeenSet() const { return m_nrCapableHasBeenSet; }
176 inline void SetNrCapable(bool value) {
177 m_nrCapableHasBeenSet = true;
178 m_nrCapable = value;
179 }
180 inline LteObj& WithNrCapable(bool value) {
181 SetNrCapable(value);
182 return *this;
183 }
185
187
190 inline const Aws::Vector<LteNmrObj>& GetLteNmr() const { return m_lteNmr; }
191 inline bool LteNmrHasBeenSet() const { return m_lteNmrHasBeenSet; }
192 template <typename LteNmrT = Aws::Vector<LteNmrObj>>
193 void SetLteNmr(LteNmrT&& value) {
194 m_lteNmrHasBeenSet = true;
195 m_lteNmr = std::forward<LteNmrT>(value);
196 }
197 template <typename LteNmrT = Aws::Vector<LteNmrObj>>
198 LteObj& WithLteNmr(LteNmrT&& value) {
199 SetLteNmr(std::forward<LteNmrT>(value));
200 return *this;
201 }
202 template <typename LteNmrT = LteNmrObj>
203 LteObj& AddLteNmr(LteNmrT&& value) {
204 m_lteNmrHasBeenSet = true;
205 m_lteNmr.emplace_back(std::forward<LteNmrT>(value));
206 return *this;
207 }
209 private:
210 int m_mcc{0};
211
212 int m_mnc{0};
213
214 int m_eutranCid{0};
215
216 int m_tac{0};
217
218 LteLocalId m_lteLocalId;
219
220 int m_lteTimingAdvance{0};
221
222 int m_rsrp{0};
223
224 double m_rsrq{0.0};
225
226 bool m_nrCapable{false};
227
228 Aws::Vector<LteNmrObj> m_lteNmr;
229 bool m_mccHasBeenSet = false;
230 bool m_mncHasBeenSet = false;
231 bool m_eutranCidHasBeenSet = false;
232 bool m_tacHasBeenSet = false;
233 bool m_lteLocalIdHasBeenSet = false;
234 bool m_lteTimingAdvanceHasBeenSet = false;
235 bool m_rsrpHasBeenSet = false;
236 bool m_rsrqHasBeenSet = false;
237 bool m_nrCapableHasBeenSet = false;
238 bool m_lteNmrHasBeenSet = false;
239};
240
241} // namespace Model
242} // namespace IoTWireless
243} // namespace Aws
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
LteObj & WithRsrp(int value)
Definition LteObj.h:146
LteObj & WithLteLocalId(LteLocalIdT &&value)
Definition LteObj.h:113
bool LteLocalIdHasBeenSet() const
Definition LteObj.h:106
LteObj & WithLteTimingAdvance(int value)
Definition LteObj.h:129
LteObj & WithNrCapable(bool value)
Definition LteObj.h:180
AWS_IOTWIRELESS_API LteObj()=default
AWS_IOTWIRELESS_API LteObj(Aws::Utils::Json::JsonView jsonValue)
LteObj & WithMcc(int value)
Definition LteObj.h:46
LteObj & WithRsrq(double value)
Definition LteObj.h:163
LteObj & WithEutranCid(int value)
Definition LteObj.h:79
LteObj & AddLteNmr(LteNmrT &&value)
Definition LteObj.h:203
void SetRsrq(double value)
Definition LteObj.h:159
LteObj & WithMnc(int value)
Definition LteObj.h:62
AWS_IOTWIRELESS_API LteObj & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EutranCidHasBeenSet() const
Definition LteObj.h:74
void SetLteNmr(LteNmrT &&value)
Definition LteObj.h:193
bool LteTimingAdvanceHasBeenSet() const
Definition LteObj.h:124
LteObj & WithTac(int value)
Definition LteObj.h:95
LteObj & WithLteNmr(LteNmrT &&value)
Definition LteObj.h:198
const Aws::Vector< LteNmrObj > & GetLteNmr() const
Definition LteObj.h:190
void SetNrCapable(bool value)
Definition LteObj.h:176
void SetEutranCid(int value)
Definition LteObj.h:75
const LteLocalId & GetLteLocalId() const
Definition LteObj.h:105
bool NrCapableHasBeenSet() const
Definition LteObj.h:175
void SetLteLocalId(LteLocalIdT &&value)
Definition LteObj.h:108
void SetLteTimingAdvance(int value)
Definition LteObj.h:125
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue