AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
LteObj.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/model/LteLocalId.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iotwireless/model/LteNmrObj.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoTWireless
24{
25namespace Model
26{
27
33 class LteObj
34 {
35 public:
36 AWS_IOTWIRELESS_API LteObj() = default;
37 AWS_IOTWIRELESS_API LteObj(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTWIRELESS_API LteObj& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline int GetMcc() const { return m_mcc; }
47 inline bool MccHasBeenSet() const { return m_mccHasBeenSet; }
48 inline void SetMcc(int value) { m_mccHasBeenSet = true; m_mcc = value; }
49 inline LteObj& WithMcc(int value) { SetMcc(value); return *this;}
51
53
56 inline int GetMnc() const { return m_mnc; }
57 inline bool MncHasBeenSet() const { return m_mncHasBeenSet; }
58 inline void SetMnc(int value) { m_mncHasBeenSet = true; m_mnc = value; }
59 inline LteObj& WithMnc(int value) { SetMnc(value); return *this;}
61
63
67 inline int GetEutranCid() const { return m_eutranCid; }
68 inline bool EutranCidHasBeenSet() const { return m_eutranCidHasBeenSet; }
69 inline void SetEutranCid(int value) { m_eutranCidHasBeenSet = true; m_eutranCid = value; }
70 inline LteObj& WithEutranCid(int value) { SetEutranCid(value); return *this;}
72
74
77 inline int GetTac() const { return m_tac; }
78 inline bool TacHasBeenSet() const { return m_tacHasBeenSet; }
79 inline void SetTac(int value) { m_tacHasBeenSet = true; m_tac = value; }
80 inline LteObj& WithTac(int value) { SetTac(value); return *this;}
82
84
87 inline const LteLocalId& GetLteLocalId() const { return m_lteLocalId; }
88 inline bool LteLocalIdHasBeenSet() const { return m_lteLocalIdHasBeenSet; }
89 template<typename LteLocalIdT = LteLocalId>
90 void SetLteLocalId(LteLocalIdT&& value) { m_lteLocalIdHasBeenSet = true; m_lteLocalId = std::forward<LteLocalIdT>(value); }
91 template<typename LteLocalIdT = LteLocalId>
92 LteObj& WithLteLocalId(LteLocalIdT&& value) { SetLteLocalId(std::forward<LteLocalIdT>(value)); return *this;}
94
96
99 inline int GetLteTimingAdvance() const { return m_lteTimingAdvance; }
100 inline bool LteTimingAdvanceHasBeenSet() const { return m_lteTimingAdvanceHasBeenSet; }
101 inline void SetLteTimingAdvance(int value) { m_lteTimingAdvanceHasBeenSet = true; m_lteTimingAdvance = value; }
102 inline LteObj& WithLteTimingAdvance(int value) { SetLteTimingAdvance(value); return *this;}
104
106
110 inline int GetRsrp() const { return m_rsrp; }
111 inline bool RsrpHasBeenSet() const { return m_rsrpHasBeenSet; }
112 inline void SetRsrp(int value) { m_rsrpHasBeenSet = true; m_rsrp = value; }
113 inline LteObj& WithRsrp(int value) { SetRsrp(value); return *this;}
115
117
121 inline double GetRsrq() const { return m_rsrq; }
122 inline bool RsrqHasBeenSet() const { return m_rsrqHasBeenSet; }
123 inline void SetRsrq(double value) { m_rsrqHasBeenSet = true; m_rsrq = value; }
124 inline LteObj& WithRsrq(double value) { SetRsrq(value); return *this;}
126
128
132 inline bool GetNrCapable() const { return m_nrCapable; }
133 inline bool NrCapableHasBeenSet() const { return m_nrCapableHasBeenSet; }
134 inline void SetNrCapable(bool value) { m_nrCapableHasBeenSet = true; m_nrCapable = value; }
135 inline LteObj& WithNrCapable(bool value) { SetNrCapable(value); return *this;}
137
139
142 inline const Aws::Vector<LteNmrObj>& GetLteNmr() const { return m_lteNmr; }
143 inline bool LteNmrHasBeenSet() const { return m_lteNmrHasBeenSet; }
144 template<typename LteNmrT = Aws::Vector<LteNmrObj>>
145 void SetLteNmr(LteNmrT&& value) { m_lteNmrHasBeenSet = true; m_lteNmr = std::forward<LteNmrT>(value); }
146 template<typename LteNmrT = Aws::Vector<LteNmrObj>>
147 LteObj& WithLteNmr(LteNmrT&& value) { SetLteNmr(std::forward<LteNmrT>(value)); return *this;}
148 template<typename LteNmrT = LteNmrObj>
149 LteObj& AddLteNmr(LteNmrT&& value) { m_lteNmrHasBeenSet = true; m_lteNmr.emplace_back(std::forward<LteNmrT>(value)); return *this; }
151 private:
152
153 int m_mcc{0};
154 bool m_mccHasBeenSet = false;
155
156 int m_mnc{0};
157 bool m_mncHasBeenSet = false;
158
159 int m_eutranCid{0};
160 bool m_eutranCidHasBeenSet = false;
161
162 int m_tac{0};
163 bool m_tacHasBeenSet = false;
164
165 LteLocalId m_lteLocalId;
166 bool m_lteLocalIdHasBeenSet = false;
167
168 int m_lteTimingAdvance{0};
169 bool m_lteTimingAdvanceHasBeenSet = false;
170
171 int m_rsrp{0};
172 bool m_rsrpHasBeenSet = false;
173
174 double m_rsrq{0.0};
175 bool m_rsrqHasBeenSet = false;
176
177 bool m_nrCapable{false};
178 bool m_nrCapableHasBeenSet = false;
179
180 Aws::Vector<LteNmrObj> m_lteNmr;
181 bool m_lteNmrHasBeenSet = false;
182 };
183
184} // namespace Model
185} // namespace IoTWireless
186} // namespace Aws
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
LteObj & WithRsrp(int value)
Definition LteObj.h:113
LteObj & WithLteLocalId(LteLocalIdT &&value)
Definition LteObj.h:92
bool LteLocalIdHasBeenSet() const
Definition LteObj.h:88
LteObj & WithLteTimingAdvance(int value)
Definition LteObj.h:102
LteObj & WithNrCapable(bool value)
Definition LteObj.h:135
AWS_IOTWIRELESS_API LteObj()=default
int GetLteTimingAdvance() const
Definition LteObj.h:99
AWS_IOTWIRELESS_API LteObj(Aws::Utils::Json::JsonView jsonValue)
LteObj & WithMcc(int value)
Definition LteObj.h:49
LteObj & WithRsrq(double value)
Definition LteObj.h:124
LteObj & WithEutranCid(int value)
Definition LteObj.h:70
LteObj & AddLteNmr(LteNmrT &&value)
Definition LteObj.h:149
void SetRsrq(double value)
Definition LteObj.h:123
LteObj & WithMnc(int value)
Definition LteObj.h:59
AWS_IOTWIRELESS_API LteObj & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EutranCidHasBeenSet() const
Definition LteObj.h:68
void SetLteNmr(LteNmrT &&value)
Definition LteObj.h:145
bool LteTimingAdvanceHasBeenSet() const
Definition LteObj.h:100
LteObj & WithTac(int value)
Definition LteObj.h:80
LteObj & WithLteNmr(LteNmrT &&value)
Definition LteObj.h:147
const Aws::Vector< LteNmrObj > & GetLteNmr() const
Definition LteObj.h:142
void SetNrCapable(bool value)
Definition LteObj.h:134
void SetEutranCid(int value)
Definition LteObj.h:69
const LteLocalId & GetLteLocalId() const
Definition LteObj.h:87
bool NrCapableHasBeenSet() const
Definition LteObj.h:133
void SetLteLocalId(LteLocalIdT &&value)
Definition LteObj.h:90
void SetLteTimingAdvance(int value)
Definition LteObj.h:101
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue