AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
TdscdmaObj.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/model/TdscdmaLocalId.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iotwireless/model/TdscdmaNmrObj.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
34 {
35 public:
36 AWS_IOTWIRELESS_API TdscdmaObj() = default;
37 AWS_IOTWIRELESS_API TdscdmaObj(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTWIRELESS_API TdscdmaObj& 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 TdscdmaObj& 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 TdscdmaObj& WithMnc(int value) { SetMnc(value); return *this;}
61
63
66 inline int GetLac() const { return m_lac; }
67 inline bool LacHasBeenSet() const { return m_lacHasBeenSet; }
68 inline void SetLac(int value) { m_lacHasBeenSet = true; m_lac = value; }
69 inline TdscdmaObj& WithLac(int value) { SetLac(value); return *this;}
71
73
76 inline int GetUtranCid() const { return m_utranCid; }
77 inline bool UtranCidHasBeenSet() const { return m_utranCidHasBeenSet; }
78 inline void SetUtranCid(int value) { m_utranCidHasBeenSet = true; m_utranCid = value; }
79 inline TdscdmaObj& WithUtranCid(int value) { SetUtranCid(value); return *this;}
81
83
86 inline const TdscdmaLocalId& GetTdscdmaLocalId() const { return m_tdscdmaLocalId; }
87 inline bool TdscdmaLocalIdHasBeenSet() const { return m_tdscdmaLocalIdHasBeenSet; }
88 template<typename TdscdmaLocalIdT = TdscdmaLocalId>
89 void SetTdscdmaLocalId(TdscdmaLocalIdT&& value) { m_tdscdmaLocalIdHasBeenSet = true; m_tdscdmaLocalId = std::forward<TdscdmaLocalIdT>(value); }
90 template<typename TdscdmaLocalIdT = TdscdmaLocalId>
91 TdscdmaObj& WithTdscdmaLocalId(TdscdmaLocalIdT&& value) { SetTdscdmaLocalId(std::forward<TdscdmaLocalIdT>(value)); return *this;}
93
95
98 inline int GetTdscdmaTimingAdvance() const { return m_tdscdmaTimingAdvance; }
99 inline bool TdscdmaTimingAdvanceHasBeenSet() const { return m_tdscdmaTimingAdvanceHasBeenSet; }
100 inline void SetTdscdmaTimingAdvance(int value) { m_tdscdmaTimingAdvanceHasBeenSet = true; m_tdscdmaTimingAdvance = value; }
101 inline TdscdmaObj& WithTdscdmaTimingAdvance(int value) { SetTdscdmaTimingAdvance(value); return *this;}
103
105
109 inline int GetRscp() const { return m_rscp; }
110 inline bool RscpHasBeenSet() const { return m_rscpHasBeenSet; }
111 inline void SetRscp(int value) { m_rscpHasBeenSet = true; m_rscp = value; }
112 inline TdscdmaObj& WithRscp(int value) { SetRscp(value); return *this;}
114
116
120 inline int GetPathLoss() const { return m_pathLoss; }
121 inline bool PathLossHasBeenSet() const { return m_pathLossHasBeenSet; }
122 inline void SetPathLoss(int value) { m_pathLossHasBeenSet = true; m_pathLoss = value; }
123 inline TdscdmaObj& WithPathLoss(int value) { SetPathLoss(value); return *this;}
125
127
130 inline const Aws::Vector<TdscdmaNmrObj>& GetTdscdmaNmr() const { return m_tdscdmaNmr; }
131 inline bool TdscdmaNmrHasBeenSet() const { return m_tdscdmaNmrHasBeenSet; }
132 template<typename TdscdmaNmrT = Aws::Vector<TdscdmaNmrObj>>
133 void SetTdscdmaNmr(TdscdmaNmrT&& value) { m_tdscdmaNmrHasBeenSet = true; m_tdscdmaNmr = std::forward<TdscdmaNmrT>(value); }
134 template<typename TdscdmaNmrT = Aws::Vector<TdscdmaNmrObj>>
135 TdscdmaObj& WithTdscdmaNmr(TdscdmaNmrT&& value) { SetTdscdmaNmr(std::forward<TdscdmaNmrT>(value)); return *this;}
136 template<typename TdscdmaNmrT = TdscdmaNmrObj>
137 TdscdmaObj& AddTdscdmaNmr(TdscdmaNmrT&& value) { m_tdscdmaNmrHasBeenSet = true; m_tdscdmaNmr.emplace_back(std::forward<TdscdmaNmrT>(value)); return *this; }
139 private:
140
141 int m_mcc{0};
142 bool m_mccHasBeenSet = false;
143
144 int m_mnc{0};
145 bool m_mncHasBeenSet = false;
146
147 int m_lac{0};
148 bool m_lacHasBeenSet = false;
149
150 int m_utranCid{0};
151 bool m_utranCidHasBeenSet = false;
152
153 TdscdmaLocalId m_tdscdmaLocalId;
154 bool m_tdscdmaLocalIdHasBeenSet = false;
155
156 int m_tdscdmaTimingAdvance{0};
157 bool m_tdscdmaTimingAdvanceHasBeenSet = false;
158
159 int m_rscp{0};
160 bool m_rscpHasBeenSet = false;
161
162 int m_pathLoss{0};
163 bool m_pathLossHasBeenSet = false;
164
165 Aws::Vector<TdscdmaNmrObj> m_tdscdmaNmr;
166 bool m_tdscdmaNmrHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace IoTWireless
171} // namespace Aws
TdscdmaObj & WithMnc(int value)
Definition TdscdmaObj.h:59
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
TdscdmaObj & WithRscp(int value)
Definition TdscdmaObj.h:112
TdscdmaObj & WithMcc(int value)
Definition TdscdmaObj.h:49
AWS_IOTWIRELESS_API TdscdmaObj(Aws::Utils::Json::JsonView jsonValue)
TdscdmaObj & AddTdscdmaNmr(TdscdmaNmrT &&value)
Definition TdscdmaObj.h:137
AWS_IOTWIRELESS_API TdscdmaObj()=default
TdscdmaObj & WithTdscdmaTimingAdvance(int value)
Definition TdscdmaObj.h:101
void SetTdscdmaLocalId(TdscdmaLocalIdT &&value)
Definition TdscdmaObj.h:89
AWS_IOTWIRELESS_API TdscdmaObj & operator=(Aws::Utils::Json::JsonView jsonValue)
TdscdmaObj & WithLac(int value)
Definition TdscdmaObj.h:69
void SetTdscdmaNmr(TdscdmaNmrT &&value)
Definition TdscdmaObj.h:133
const TdscdmaLocalId & GetTdscdmaLocalId() const
Definition TdscdmaObj.h:86
TdscdmaObj & WithTdscdmaNmr(TdscdmaNmrT &&value)
Definition TdscdmaObj.h:135
TdscdmaObj & WithTdscdmaLocalId(TdscdmaLocalIdT &&value)
Definition TdscdmaObj.h:91
TdscdmaObj & WithPathLoss(int value)
Definition TdscdmaObj.h:123
const Aws::Vector< TdscdmaNmrObj > & GetTdscdmaNmr() const
Definition TdscdmaObj.h:130
TdscdmaObj & WithUtranCid(int value)
Definition TdscdmaObj.h:79
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue