AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetGsm(const Aws::Vector<GsmObj>& value) { m_gsmHasBeenSet = true; m_gsm = value; }
53 inline void SetGsm(Aws::Vector<GsmObj>&& value) { m_gsmHasBeenSet = true; m_gsm = std::move(value); }
54 inline CellTowers& WithGsm(const Aws::Vector<GsmObj>& value) { SetGsm(value); return *this;}
55 inline CellTowers& WithGsm(Aws::Vector<GsmObj>&& value) { SetGsm(std::move(value)); return *this;}
56 inline CellTowers& AddGsm(const GsmObj& value) { m_gsmHasBeenSet = true; m_gsm.push_back(value); return *this; }
57 inline CellTowers& AddGsm(GsmObj&& value) { m_gsmHasBeenSet = true; m_gsm.push_back(std::move(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 inline void SetWcdma(const Aws::Vector<WcdmaObj>& value) { m_wcdmaHasBeenSet = true; m_wcdma = value; }
67 inline void SetWcdma(Aws::Vector<WcdmaObj>&& value) { m_wcdmaHasBeenSet = true; m_wcdma = std::move(value); }
68 inline CellTowers& WithWcdma(const Aws::Vector<WcdmaObj>& value) { SetWcdma(value); return *this;}
69 inline CellTowers& WithWcdma(Aws::Vector<WcdmaObj>&& value) { SetWcdma(std::move(value)); return *this;}
70 inline CellTowers& AddWcdma(const WcdmaObj& value) { m_wcdmaHasBeenSet = true; m_wcdma.push_back(value); return *this; }
71 inline CellTowers& AddWcdma(WcdmaObj&& value) { m_wcdmaHasBeenSet = true; m_wcdma.push_back(std::move(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 inline void SetTdscdma(const Aws::Vector<TdscdmaObj>& value) { m_tdscdmaHasBeenSet = true; m_tdscdma = value; }
81 inline void SetTdscdma(Aws::Vector<TdscdmaObj>&& value) { m_tdscdmaHasBeenSet = true; m_tdscdma = std::move(value); }
82 inline CellTowers& WithTdscdma(const Aws::Vector<TdscdmaObj>& value) { SetTdscdma(value); return *this;}
83 inline CellTowers& WithTdscdma(Aws::Vector<TdscdmaObj>&& value) { SetTdscdma(std::move(value)); return *this;}
84 inline CellTowers& AddTdscdma(const TdscdmaObj& value) { m_tdscdmaHasBeenSet = true; m_tdscdma.push_back(value); return *this; }
85 inline CellTowers& AddTdscdma(TdscdmaObj&& value) { m_tdscdmaHasBeenSet = true; m_tdscdma.push_back(std::move(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 inline void SetLte(const Aws::Vector<LteObj>& value) { m_lteHasBeenSet = true; m_lte = value; }
95 inline void SetLte(Aws::Vector<LteObj>&& value) { m_lteHasBeenSet = true; m_lte = std::move(value); }
96 inline CellTowers& WithLte(const Aws::Vector<LteObj>& value) { SetLte(value); return *this;}
97 inline CellTowers& WithLte(Aws::Vector<LteObj>&& value) { SetLte(std::move(value)); return *this;}
98 inline CellTowers& AddLte(const LteObj& value) { m_lteHasBeenSet = true; m_lte.push_back(value); return *this; }
99 inline CellTowers& AddLte(LteObj&& value) { m_lteHasBeenSet = true; m_lte.push_back(std::move(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 inline void SetCdma(const Aws::Vector<CdmaObj>& value) { m_cdmaHasBeenSet = true; m_cdma = value; }
109 inline void SetCdma(Aws::Vector<CdmaObj>&& value) { m_cdmaHasBeenSet = true; m_cdma = std::move(value); }
110 inline CellTowers& WithCdma(const Aws::Vector<CdmaObj>& value) { SetCdma(value); return *this;}
111 inline CellTowers& WithCdma(Aws::Vector<CdmaObj>&& value) { SetCdma(std::move(value)); return *this;}
112 inline CellTowers& AddCdma(const CdmaObj& value) { m_cdmaHasBeenSet = true; m_cdma.push_back(value); return *this; }
113 inline CellTowers& AddCdma(CdmaObj&& value) { m_cdmaHasBeenSet = true; m_cdma.push_back(std::move(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 & WithLte(const Aws::Vector< LteObj > &value)
Definition CellTowers.h:96
CellTowers & WithGsm(const Aws::Vector< GsmObj > &value)
Definition CellTowers.h:54
CellTowers & WithCdma(Aws::Vector< CdmaObj > &&value)
Definition CellTowers.h:111
CellTowers & AddWcdma(WcdmaObj &&value)
Definition CellTowers.h:71
void SetCdma(const Aws::Vector< CdmaObj > &value)
Definition CellTowers.h:108
AWS_IOTWIRELESS_API CellTowers(Aws::Utils::Json::JsonView jsonValue)
CellTowers & AddLte(LteObj &&value)
Definition CellTowers.h:99
CellTowers & WithLte(Aws::Vector< LteObj > &&value)
Definition CellTowers.h:97
AWS_IOTWIRELESS_API CellTowers()
CellTowers & WithWcdma(Aws::Vector< WcdmaObj > &&value)
Definition CellTowers.h:69
CellTowers & AddCdma(CdmaObj &&value)
Definition CellTowers.h:113
void SetTdscdma(Aws::Vector< TdscdmaObj > &&value)
Definition CellTowers.h:81
void SetLte(Aws::Vector< LteObj > &&value)
Definition CellTowers.h:95
CellTowers & AddTdscdma(const TdscdmaObj &value)
Definition CellTowers.h:84
CellTowers & WithTdscdma(const Aws::Vector< TdscdmaObj > &value)
Definition CellTowers.h:82
CellTowers & AddCdma(const CdmaObj &value)
Definition CellTowers.h:112
void SetLte(const Aws::Vector< LteObj > &value)
Definition CellTowers.h:94
CellTowers & WithWcdma(const Aws::Vector< WcdmaObj > &value)
Definition CellTowers.h:68
CellTowers & AddLte(const LteObj &value)
Definition CellTowers.h:98
CellTowers & WithGsm(Aws::Vector< GsmObj > &&value)
Definition CellTowers.h:55
CellTowers & AddTdscdma(TdscdmaObj &&value)
Definition CellTowers.h:85
const Aws::Vector< TdscdmaObj > & GetTdscdma() const
Definition CellTowers.h:78
void SetWcdma(Aws::Vector< WcdmaObj > &&value)
Definition CellTowers.h:67
void SetCdma(Aws::Vector< CdmaObj > &&value)
Definition CellTowers.h:109
void SetGsm(const Aws::Vector< GsmObj > &value)
Definition CellTowers.h:52
CellTowers & WithCdma(const Aws::Vector< CdmaObj > &value)
Definition CellTowers.h:110
CellTowers & WithTdscdma(Aws::Vector< TdscdmaObj > &&value)
Definition CellTowers.h:83
const Aws::Vector< WcdmaObj > & GetWcdma() const
Definition CellTowers.h:64
CellTowers & AddWcdma(const WcdmaObj &value)
Definition CellTowers.h:70
void SetWcdma(const Aws::Vector< WcdmaObj > &value)
Definition CellTowers.h:66
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetGsm(Aws::Vector< GsmObj > &&value)
Definition CellTowers.h:53
void SetTdscdma(const Aws::Vector< TdscdmaObj > &value)
Definition CellTowers.h:80
const Aws::Vector< LteObj > & GetLte() const
Definition CellTowers.h:92
CellTowers & AddGsm(GsmObj &&value)
Definition CellTowers.h:57
const Aws::Vector< CdmaObj > & GetCdma() const
Definition CellTowers.h:106
CellTowers & AddGsm(const GsmObj &value)
Definition CellTowers.h:56
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