AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CellTowers.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/CdmaObj.h>
10#include <aws/iotwireless/model/GsmObj.h>
11#include <aws/iotwireless/model/LteObj.h>
12#include <aws/iotwireless/model/TdscdmaObj.h>
13#include <aws/iotwireless/model/WcdmaObj.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace IoTWireless {
25namespace Model {
26
34 public:
35 AWS_IOTWIRELESS_API CellTowers() = default;
36 AWS_IOTWIRELESS_API CellTowers(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTWIRELESS_API CellTowers& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::Vector<GsmObj>& GetGsm() const { return m_gsm; }
45 inline bool GsmHasBeenSet() const { return m_gsmHasBeenSet; }
46 template <typename GsmT = Aws::Vector<GsmObj>>
47 void SetGsm(GsmT&& value) {
48 m_gsmHasBeenSet = true;
49 m_gsm = std::forward<GsmT>(value);
50 }
51 template <typename GsmT = Aws::Vector<GsmObj>>
52 CellTowers& WithGsm(GsmT&& value) {
53 SetGsm(std::forward<GsmT>(value));
54 return *this;
55 }
56 template <typename GsmT = GsmObj>
57 CellTowers& AddGsm(GsmT&& value) {
58 m_gsmHasBeenSet = true;
59 m_gsm.emplace_back(std::forward<GsmT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::Vector<WcdmaObj>& GetWcdma() const { return m_wcdma; }
69 inline bool WcdmaHasBeenSet() const { return m_wcdmaHasBeenSet; }
70 template <typename WcdmaT = Aws::Vector<WcdmaObj>>
71 void SetWcdma(WcdmaT&& value) {
72 m_wcdmaHasBeenSet = true;
73 m_wcdma = std::forward<WcdmaT>(value);
74 }
75 template <typename WcdmaT = Aws::Vector<WcdmaObj>>
76 CellTowers& WithWcdma(WcdmaT&& value) {
77 SetWcdma(std::forward<WcdmaT>(value));
78 return *this;
79 }
80 template <typename WcdmaT = WcdmaObj>
81 CellTowers& AddWcdma(WcdmaT&& value) {
82 m_wcdmaHasBeenSet = true;
83 m_wcdma.emplace_back(std::forward<WcdmaT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::Vector<TdscdmaObj>& GetTdscdma() const { return m_tdscdma; }
93 inline bool TdscdmaHasBeenSet() const { return m_tdscdmaHasBeenSet; }
94 template <typename TdscdmaT = Aws::Vector<TdscdmaObj>>
95 void SetTdscdma(TdscdmaT&& value) {
96 m_tdscdmaHasBeenSet = true;
97 m_tdscdma = std::forward<TdscdmaT>(value);
98 }
99 template <typename TdscdmaT = Aws::Vector<TdscdmaObj>>
100 CellTowers& WithTdscdma(TdscdmaT&& value) {
101 SetTdscdma(std::forward<TdscdmaT>(value));
102 return *this;
103 }
104 template <typename TdscdmaT = TdscdmaObj>
105 CellTowers& AddTdscdma(TdscdmaT&& value) {
106 m_tdscdmaHasBeenSet = true;
107 m_tdscdma.emplace_back(std::forward<TdscdmaT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::Vector<LteObj>& GetLte() const { return m_lte; }
117 inline bool LteHasBeenSet() const { return m_lteHasBeenSet; }
118 template <typename LteT = Aws::Vector<LteObj>>
119 void SetLte(LteT&& value) {
120 m_lteHasBeenSet = true;
121 m_lte = std::forward<LteT>(value);
122 }
123 template <typename LteT = Aws::Vector<LteObj>>
124 CellTowers& WithLte(LteT&& value) {
125 SetLte(std::forward<LteT>(value));
126 return *this;
127 }
128 template <typename LteT = LteObj>
129 CellTowers& AddLte(LteT&& value) {
130 m_lteHasBeenSet = true;
131 m_lte.emplace_back(std::forward<LteT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::Vector<CdmaObj>& GetCdma() const { return m_cdma; }
141 inline bool CdmaHasBeenSet() const { return m_cdmaHasBeenSet; }
142 template <typename CdmaT = Aws::Vector<CdmaObj>>
143 void SetCdma(CdmaT&& value) {
144 m_cdmaHasBeenSet = true;
145 m_cdma = std::forward<CdmaT>(value);
146 }
147 template <typename CdmaT = Aws::Vector<CdmaObj>>
148 CellTowers& WithCdma(CdmaT&& value) {
149 SetCdma(std::forward<CdmaT>(value));
150 return *this;
151 }
152 template <typename CdmaT = CdmaObj>
153 CellTowers& AddCdma(CdmaT&& value) {
154 m_cdmaHasBeenSet = true;
155 m_cdma.emplace_back(std::forward<CdmaT>(value));
156 return *this;
157 }
159 private:
161
162 Aws::Vector<WcdmaObj> m_wcdma;
163
164 Aws::Vector<TdscdmaObj> m_tdscdma;
165
167
169 bool m_gsmHasBeenSet = false;
170 bool m_wcdmaHasBeenSet = false;
171 bool m_tdscdmaHasBeenSet = false;
172 bool m_lteHasBeenSet = false;
173 bool m_cdmaHasBeenSet = false;
174};
175
176} // namespace Model
177} // namespace IoTWireless
178} // namespace Aws
CellTowers & AddTdscdma(TdscdmaT &&value)
Definition CellTowers.h:105
CellTowers & WithTdscdma(TdscdmaT &&value)
Definition CellTowers.h:100
CellTowers & AddCdma(CdmaT &&value)
Definition CellTowers.h:153
void SetTdscdma(TdscdmaT &&value)
Definition CellTowers.h:95
CellTowers & AddGsm(GsmT &&value)
Definition CellTowers.h:57
AWS_IOTWIRELESS_API CellTowers()=default
AWS_IOTWIRELESS_API CellTowers(Aws::Utils::Json::JsonView jsonValue)
CellTowers & WithCdma(CdmaT &&value)
Definition CellTowers.h:148
void SetWcdma(WcdmaT &&value)
Definition CellTowers.h:71
CellTowers & WithGsm(GsmT &&value)
Definition CellTowers.h:52
CellTowers & AddLte(LteT &&value)
Definition CellTowers.h:129
CellTowers & WithWcdma(WcdmaT &&value)
Definition CellTowers.h:76
CellTowers & WithLte(LteT &&value)
Definition CellTowers.h:124
const Aws::Vector< TdscdmaObj > & GetTdscdma() const
Definition CellTowers.h:92
const Aws::Vector< WcdmaObj > & GetWcdma() const
Definition CellTowers.h:68
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< LteObj > & GetLte() const
Definition CellTowers.h:116
const Aws::Vector< CdmaObj > & GetCdma() const
Definition CellTowers.h:140
CellTowers & AddWcdma(WcdmaT &&value)
Definition CellTowers.h:81
const Aws::Vector< GsmObj > & GetGsm() const
Definition CellTowers.h:44
AWS_IOTWIRELESS_API CellTowers & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue