AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CdmaObj.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/CdmaLocalId.h>
10#include <aws/iotwireless/model/CdmaNmrObj.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 CdmaObj {
30 public:
31 AWS_IOTWIRELESS_API CdmaObj() = default;
32 AWS_IOTWIRELESS_API CdmaObj(Aws::Utils::Json::JsonView jsonValue);
33 AWS_IOTWIRELESS_API CdmaObj& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline int GetSystemId() const { return m_systemId; }
41 inline bool SystemIdHasBeenSet() const { return m_systemIdHasBeenSet; }
42 inline void SetSystemId(int value) {
43 m_systemIdHasBeenSet = true;
44 m_systemId = value;
45 }
46 inline CdmaObj& WithSystemId(int value) {
47 SetSystemId(value);
48 return *this;
49 }
51
53
56 inline int GetNetworkId() const { return m_networkId; }
57 inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
58 inline void SetNetworkId(int value) {
59 m_networkIdHasBeenSet = true;
60 m_networkId = value;
61 }
62 inline CdmaObj& WithNetworkId(int value) {
63 SetNetworkId(value);
64 return *this;
65 }
67
69
72 inline int GetBaseStationId() const { return m_baseStationId; }
73 inline bool BaseStationIdHasBeenSet() const { return m_baseStationIdHasBeenSet; }
74 inline void SetBaseStationId(int value) {
75 m_baseStationIdHasBeenSet = true;
76 m_baseStationId = value;
77 }
78 inline CdmaObj& WithBaseStationId(int value) {
79 SetBaseStationId(value);
80 return *this;
81 }
83
85
88 inline int GetRegistrationZone() const { return m_registrationZone; }
89 inline bool RegistrationZoneHasBeenSet() const { return m_registrationZoneHasBeenSet; }
90 inline void SetRegistrationZone(int value) {
91 m_registrationZoneHasBeenSet = true;
92 m_registrationZone = value;
93 }
94 inline CdmaObj& WithRegistrationZone(int value) {
96 return *this;
97 }
99
101
104 inline const CdmaLocalId& GetCdmaLocalId() const { return m_cdmaLocalId; }
105 inline bool CdmaLocalIdHasBeenSet() const { return m_cdmaLocalIdHasBeenSet; }
106 template <typename CdmaLocalIdT = CdmaLocalId>
107 void SetCdmaLocalId(CdmaLocalIdT&& value) {
108 m_cdmaLocalIdHasBeenSet = true;
109 m_cdmaLocalId = std::forward<CdmaLocalIdT>(value);
110 }
111 template <typename CdmaLocalIdT = CdmaLocalId>
112 CdmaObj& WithCdmaLocalId(CdmaLocalIdT&& value) {
113 SetCdmaLocalId(std::forward<CdmaLocalIdT>(value));
114 return *this;
115 }
117
119
123 inline int GetPilotPower() const { return m_pilotPower; }
124 inline bool PilotPowerHasBeenSet() const { return m_pilotPowerHasBeenSet; }
125 inline void SetPilotPower(int value) {
126 m_pilotPowerHasBeenSet = true;
127 m_pilotPower = value;
128 }
129 inline CdmaObj& WithPilotPower(int value) {
130 SetPilotPower(value);
131 return *this;
132 }
134
136
139 inline double GetBaseLat() const { return m_baseLat; }
140 inline bool BaseLatHasBeenSet() const { return m_baseLatHasBeenSet; }
141 inline void SetBaseLat(double value) {
142 m_baseLatHasBeenSet = true;
143 m_baseLat = value;
144 }
145 inline CdmaObj& WithBaseLat(double value) {
146 SetBaseLat(value);
147 return *this;
148 }
150
152
155 inline double GetBaseLng() const { return m_baseLng; }
156 inline bool BaseLngHasBeenSet() const { return m_baseLngHasBeenSet; }
157 inline void SetBaseLng(double value) {
158 m_baseLngHasBeenSet = true;
159 m_baseLng = value;
160 }
161 inline CdmaObj& WithBaseLng(double value) {
162 SetBaseLng(value);
163 return *this;
164 }
166
168
171 inline const Aws::Vector<CdmaNmrObj>& GetCdmaNmr() const { return m_cdmaNmr; }
172 inline bool CdmaNmrHasBeenSet() const { return m_cdmaNmrHasBeenSet; }
173 template <typename CdmaNmrT = Aws::Vector<CdmaNmrObj>>
174 void SetCdmaNmr(CdmaNmrT&& value) {
175 m_cdmaNmrHasBeenSet = true;
176 m_cdmaNmr = std::forward<CdmaNmrT>(value);
177 }
178 template <typename CdmaNmrT = Aws::Vector<CdmaNmrObj>>
179 CdmaObj& WithCdmaNmr(CdmaNmrT&& value) {
180 SetCdmaNmr(std::forward<CdmaNmrT>(value));
181 return *this;
182 }
183 template <typename CdmaNmrT = CdmaNmrObj>
184 CdmaObj& AddCdmaNmr(CdmaNmrT&& value) {
185 m_cdmaNmrHasBeenSet = true;
186 m_cdmaNmr.emplace_back(std::forward<CdmaNmrT>(value));
187 return *this;
188 }
190 private:
191 int m_systemId{0};
192
193 int m_networkId{0};
194
195 int m_baseStationId{0};
196
197 int m_registrationZone{0};
198
199 CdmaLocalId m_cdmaLocalId;
200
201 int m_pilotPower{0};
202
203 double m_baseLat{0.0};
204
205 double m_baseLng{0.0};
206
207 Aws::Vector<CdmaNmrObj> m_cdmaNmr;
208 bool m_systemIdHasBeenSet = false;
209 bool m_networkIdHasBeenSet = false;
210 bool m_baseStationIdHasBeenSet = false;
211 bool m_registrationZoneHasBeenSet = false;
212 bool m_cdmaLocalIdHasBeenSet = false;
213 bool m_pilotPowerHasBeenSet = false;
214 bool m_baseLatHasBeenSet = false;
215 bool m_baseLngHasBeenSet = false;
216 bool m_cdmaNmrHasBeenSet = false;
217};
218
219} // namespace Model
220} // namespace IoTWireless
221} // namespace Aws
CdmaObj & WithRegistrationZone(int value)
Definition CdmaObj.h:94
void SetBaseStationId(int value)
Definition CdmaObj.h:74
void SetSystemId(int value)
Definition CdmaObj.h:42
CdmaObj & WithSystemId(int value)
Definition CdmaObj.h:46
void SetCdmaLocalId(CdmaLocalIdT &&value)
Definition CdmaObj.h:107
const Aws::Vector< CdmaNmrObj > & GetCdmaNmr() const
Definition CdmaObj.h:171
CdmaObj & WithPilotPower(int value)
Definition CdmaObj.h:129
AWS_IOTWIRELESS_API CdmaObj()=default
AWS_IOTWIRELESS_API CdmaObj & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBaseLng(double value)
Definition CdmaObj.h:157
CdmaObj & WithBaseLat(double value)
Definition CdmaObj.h:145
CdmaObj & WithNetworkId(int value)
Definition CdmaObj.h:62
bool RegistrationZoneHasBeenSet() const
Definition CdmaObj.h:89
CdmaObj & AddCdmaNmr(CdmaNmrT &&value)
Definition CdmaObj.h:184
void SetRegistrationZone(int value)
Definition CdmaObj.h:90
void SetNetworkId(int value)
Definition CdmaObj.h:58
CdmaObj & WithBaseLng(double value)
Definition CdmaObj.h:161
CdmaObj & WithCdmaNmr(CdmaNmrT &&value)
Definition CdmaObj.h:179
CdmaObj & WithCdmaLocalId(CdmaLocalIdT &&value)
Definition CdmaObj.h:112
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
CdmaObj & WithBaseStationId(int value)
Definition CdmaObj.h:78
void SetCdmaNmr(CdmaNmrT &&value)
Definition CdmaObj.h:174
void SetBaseLat(double value)
Definition CdmaObj.h:141
bool BaseStationIdHasBeenSet() const
Definition CdmaObj.h:73
const CdmaLocalId & GetCdmaLocalId() const
Definition CdmaObj.h:104
void SetPilotPower(int value)
Definition CdmaObj.h:125
AWS_IOTWIRELESS_API CdmaObj(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue