AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
LteCellDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/location/LocationService_EXPORTS.h>
9#include <aws/location/model/LteLocalId.h>
10#include <aws/location/model/LteNetworkMeasurements.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LocationService {
22namespace Model {
23
31 public:
32 AWS_LOCATIONSERVICE_API LteCellDetails() = default;
33 AWS_LOCATIONSERVICE_API LteCellDetails(Aws::Utils::Json::JsonView jsonValue);
34 AWS_LOCATIONSERVICE_API LteCellDetails& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline int GetCellId() const { return m_cellId; }
42 inline bool CellIdHasBeenSet() const { return m_cellIdHasBeenSet; }
43 inline void SetCellId(int value) {
44 m_cellIdHasBeenSet = true;
45 m_cellId = value;
46 }
47 inline LteCellDetails& WithCellId(int value) {
48 SetCellId(value);
49 return *this;
50 }
52
54
57 inline int GetMcc() const { return m_mcc; }
58 inline bool MccHasBeenSet() const { return m_mccHasBeenSet; }
59 inline void SetMcc(int value) {
60 m_mccHasBeenSet = true;
61 m_mcc = value;
62 }
63 inline LteCellDetails& WithMcc(int value) {
64 SetMcc(value);
65 return *this;
66 }
68
70
73 inline int GetMnc() const { return m_mnc; }
74 inline bool MncHasBeenSet() const { return m_mncHasBeenSet; }
75 inline void SetMnc(int value) {
76 m_mncHasBeenSet = true;
77 m_mnc = value;
78 }
79 inline LteCellDetails& WithMnc(int value) {
80 SetMnc(value);
81 return *this;
82 }
84
86
89 inline const LteLocalId& GetLocalId() const { return m_localId; }
90 inline bool LocalIdHasBeenSet() const { return m_localIdHasBeenSet; }
91 template <typename LocalIdT = LteLocalId>
92 void SetLocalId(LocalIdT&& value) {
93 m_localIdHasBeenSet = true;
94 m_localId = std::forward<LocalIdT>(value);
95 }
96 template <typename LocalIdT = LteLocalId>
97 LteCellDetails& WithLocalId(LocalIdT&& value) {
98 SetLocalId(std::forward<LocalIdT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::Vector<LteNetworkMeasurements>& GetNetworkMeasurements() const { return m_networkMeasurements; }
108 inline bool NetworkMeasurementsHasBeenSet() const { return m_networkMeasurementsHasBeenSet; }
109 template <typename NetworkMeasurementsT = Aws::Vector<LteNetworkMeasurements>>
110 void SetNetworkMeasurements(NetworkMeasurementsT&& value) {
111 m_networkMeasurementsHasBeenSet = true;
112 m_networkMeasurements = std::forward<NetworkMeasurementsT>(value);
113 }
114 template <typename NetworkMeasurementsT = Aws::Vector<LteNetworkMeasurements>>
115 LteCellDetails& WithNetworkMeasurements(NetworkMeasurementsT&& value) {
116 SetNetworkMeasurements(std::forward<NetworkMeasurementsT>(value));
117 return *this;
118 }
119 template <typename NetworkMeasurementsT = LteNetworkMeasurements>
120 LteCellDetails& AddNetworkMeasurements(NetworkMeasurementsT&& value) {
121 m_networkMeasurementsHasBeenSet = true;
122 m_networkMeasurements.emplace_back(std::forward<NetworkMeasurementsT>(value));
123 return *this;
124 }
126
128
131 inline int GetTimingAdvance() const { return m_timingAdvance; }
132 inline bool TimingAdvanceHasBeenSet() const { return m_timingAdvanceHasBeenSet; }
133 inline void SetTimingAdvance(int value) {
134 m_timingAdvanceHasBeenSet = true;
135 m_timingAdvance = value;
136 }
138 SetTimingAdvance(value);
139 return *this;
140 }
142
144
147 inline bool GetNrCapable() const { return m_nrCapable; }
148 inline bool NrCapableHasBeenSet() const { return m_nrCapableHasBeenSet; }
149 inline void SetNrCapable(bool value) {
150 m_nrCapableHasBeenSet = true;
151 m_nrCapable = value;
152 }
153 inline LteCellDetails& WithNrCapable(bool value) {
154 SetNrCapable(value);
155 return *this;
156 }
158
160
164 inline int GetRsrp() const { return m_rsrp; }
165 inline bool RsrpHasBeenSet() const { return m_rsrpHasBeenSet; }
166 inline void SetRsrp(int value) {
167 m_rsrpHasBeenSet = true;
168 m_rsrp = value;
169 }
170 inline LteCellDetails& WithRsrp(int value) {
171 SetRsrp(value);
172 return *this;
173 }
175
177
181 inline double GetRsrq() const { return m_rsrq; }
182 inline bool RsrqHasBeenSet() const { return m_rsrqHasBeenSet; }
183 inline void SetRsrq(double value) {
184 m_rsrqHasBeenSet = true;
185 m_rsrq = value;
186 }
187 inline LteCellDetails& WithRsrq(double value) {
188 SetRsrq(value);
189 return *this;
190 }
192
194
197 inline int GetTac() const { return m_tac; }
198 inline bool TacHasBeenSet() const { return m_tacHasBeenSet; }
199 inline void SetTac(int value) {
200 m_tacHasBeenSet = true;
201 m_tac = value;
202 }
203 inline LteCellDetails& WithTac(int value) {
204 SetTac(value);
205 return *this;
206 }
208 private:
209 int m_cellId{0};
210
211 int m_mcc{0};
212
213 int m_mnc{0};
214
215 LteLocalId m_localId;
216
217 Aws::Vector<LteNetworkMeasurements> m_networkMeasurements;
218
219 int m_timingAdvance{0};
220
221 bool m_nrCapable{false};
222
223 int m_rsrp{0};
224
225 double m_rsrq{0.0};
226
227 int m_tac{0};
228 bool m_cellIdHasBeenSet = false;
229 bool m_mccHasBeenSet = false;
230 bool m_mncHasBeenSet = false;
231 bool m_localIdHasBeenSet = false;
232 bool m_networkMeasurementsHasBeenSet = false;
233 bool m_timingAdvanceHasBeenSet = false;
234 bool m_nrCapableHasBeenSet = false;
235 bool m_rsrpHasBeenSet = false;
236 bool m_rsrqHasBeenSet = false;
237 bool m_tacHasBeenSet = false;
238};
239
240} // namespace Model
241} // namespace LocationService
242} // namespace Aws
AWS_LOCATIONSERVICE_API LteCellDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
LteCellDetails & WithRsrq(double value)
const Aws::Vector< LteNetworkMeasurements > & GetNetworkMeasurements() const
AWS_LOCATIONSERVICE_API LteCellDetails()=default
AWS_LOCATIONSERVICE_API LteCellDetails(Aws::Utils::Json::JsonView jsonValue)
LteCellDetails & AddNetworkMeasurements(NetworkMeasurementsT &&value)
AWS_LOCATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
LteCellDetails & WithTimingAdvance(int value)
LteCellDetails & WithNrCapable(bool value)
LteCellDetails & WithLocalId(LocalIdT &&value)
LteCellDetails & WithNetworkMeasurements(NetworkMeasurementsT &&value)
void SetNetworkMeasurements(NetworkMeasurementsT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue