AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CellTowers.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/iotwireless/model/GsmObj.h>
10#include <aws/iotwireless/model/WcdmaObj.h>
11#include <aws/iotwireless/model/TdscdmaObj.h>
12#include <aws/iotwireless/model/LteObj.h>
13#include <aws/iotwireless/model/CdmaObj.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace IoTWireless
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_IOTWIRELESS_API CellTowers() = default;
41 AWS_IOTWIRELESS_API CellTowers(Aws::Utils::Json::JsonView jsonValue);
42 AWS_IOTWIRELESS_API CellTowers& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::Vector<GsmObj>& GetGsm() const { return m_gsm; }
51 inline bool GsmHasBeenSet() const { return m_gsmHasBeenSet; }
52 template<typename GsmT = Aws::Vector<GsmObj>>
53 void SetGsm(GsmT&& value) { m_gsmHasBeenSet = true; m_gsm = std::forward<GsmT>(value); }
54 template<typename GsmT = Aws::Vector<GsmObj>>
55 CellTowers& WithGsm(GsmT&& value) { SetGsm(std::forward<GsmT>(value)); return *this;}
56 template<typename GsmT = GsmObj>
57 CellTowers& AddGsm(GsmT&& value) { m_gsmHasBeenSet = true; m_gsm.emplace_back(std::forward<GsmT>(value)); return *this; }
59
61
64 inline const Aws::Vector<WcdmaObj>& GetWcdma() const { return m_wcdma; }
65 inline bool WcdmaHasBeenSet() const { return m_wcdmaHasBeenSet; }
66 template<typename WcdmaT = Aws::Vector<WcdmaObj>>
67 void SetWcdma(WcdmaT&& value) { m_wcdmaHasBeenSet = true; m_wcdma = std::forward<WcdmaT>(value); }
68 template<typename WcdmaT = Aws::Vector<WcdmaObj>>
69 CellTowers& WithWcdma(WcdmaT&& value) { SetWcdma(std::forward<WcdmaT>(value)); return *this;}
70 template<typename WcdmaT = WcdmaObj>
71 CellTowers& AddWcdma(WcdmaT&& value) { m_wcdmaHasBeenSet = true; m_wcdma.emplace_back(std::forward<WcdmaT>(value)); return *this; }
73
75
78 inline const Aws::Vector<TdscdmaObj>& GetTdscdma() const { return m_tdscdma; }
79 inline bool TdscdmaHasBeenSet() const { return m_tdscdmaHasBeenSet; }
80 template<typename TdscdmaT = Aws::Vector<TdscdmaObj>>
81 void SetTdscdma(TdscdmaT&& value) { m_tdscdmaHasBeenSet = true; m_tdscdma = std::forward<TdscdmaT>(value); }
82 template<typename TdscdmaT = Aws::Vector<TdscdmaObj>>
83 CellTowers& WithTdscdma(TdscdmaT&& value) { SetTdscdma(std::forward<TdscdmaT>(value)); return *this;}
84 template<typename TdscdmaT = TdscdmaObj>
85 CellTowers& AddTdscdma(TdscdmaT&& value) { m_tdscdmaHasBeenSet = true; m_tdscdma.emplace_back(std::forward<TdscdmaT>(value)); return *this; }
87
89
92 inline const Aws::Vector<LteObj>& GetLte() const { return m_lte; }
93 inline bool LteHasBeenSet() const { return m_lteHasBeenSet; }
94 template<typename LteT = Aws::Vector<LteObj>>
95 void SetLte(LteT&& value) { m_lteHasBeenSet = true; m_lte = std::forward<LteT>(value); }
96 template<typename LteT = Aws::Vector<LteObj>>
97 CellTowers& WithLte(LteT&& value) { SetLte(std::forward<LteT>(value)); return *this;}
98 template<typename LteT = LteObj>
99 CellTowers& AddLte(LteT&& value) { m_lteHasBeenSet = true; m_lte.emplace_back(std::forward<LteT>(value)); return *this; }
101
103
106 inline const Aws::Vector<CdmaObj>& GetCdma() const { return m_cdma; }
107 inline bool CdmaHasBeenSet() const { return m_cdmaHasBeenSet; }
108 template<typename CdmaT = Aws::Vector<CdmaObj>>
109 void SetCdma(CdmaT&& value) { m_cdmaHasBeenSet = true; m_cdma = std::forward<CdmaT>(value); }
110 template<typename CdmaT = Aws::Vector<CdmaObj>>
111 CellTowers& WithCdma(CdmaT&& value) { SetCdma(std::forward<CdmaT>(value)); return *this;}
112 template<typename CdmaT = CdmaObj>
113 CellTowers& AddCdma(CdmaT&& value) { m_cdmaHasBeenSet = true; m_cdma.emplace_back(std::forward<CdmaT>(value)); return *this; }
115 private:
116
118 bool m_gsmHasBeenSet = false;
119
120 Aws::Vector<WcdmaObj> m_wcdma;
121 bool m_wcdmaHasBeenSet = false;
122
123 Aws::Vector<TdscdmaObj> m_tdscdma;
124 bool m_tdscdmaHasBeenSet = false;
125
127 bool m_lteHasBeenSet = false;
128
130 bool m_cdmaHasBeenSet = false;
131 };
132
133} // namespace Model
134} // namespace IoTWireless
135} // namespace Aws
CellTowers & AddTdscdma(TdscdmaT &&value)
Definition CellTowers.h:85
CellTowers & WithTdscdma(TdscdmaT &&value)
Definition CellTowers.h:83
CellTowers & AddCdma(CdmaT &&value)
Definition CellTowers.h:113
void SetTdscdma(TdscdmaT &&value)
Definition CellTowers.h:81
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:111
void SetWcdma(WcdmaT &&value)
Definition CellTowers.h:67
CellTowers & WithGsm(GsmT &&value)
Definition CellTowers.h:55
CellTowers & AddLte(LteT &&value)
Definition CellTowers.h:99
CellTowers & WithWcdma(WcdmaT &&value)
Definition CellTowers.h:69
CellTowers & WithLte(LteT &&value)
Definition CellTowers.h:97
const Aws::Vector< TdscdmaObj > & GetTdscdma() const
Definition CellTowers.h:78
const Aws::Vector< WcdmaObj > & GetWcdma() const
Definition CellTowers.h:64
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< LteObj > & GetLte() const
Definition CellTowers.h:92
const Aws::Vector< CdmaObj > & GetCdma() const
Definition CellTowers.h:106
CellTowers & AddWcdma(WcdmaT &&value)
Definition CellTowers.h:71
const Aws::Vector< GsmObj > & GetGsm() const
Definition CellTowers.h:50
AWS_IOTWIRELESS_API CellTowers & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue