AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GsmObj.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/model/GsmLocalId.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/iotwireless/model/GsmNmrObj.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 GsmObj
34 {
35 public:
36 AWS_IOTWIRELESS_API GsmObj();
37 AWS_IOTWIRELESS_API GsmObj(Aws::Utils::Json::JsonView jsonValue);
38 AWS_IOTWIRELESS_API GsmObj& 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 GsmObj& 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 GsmObj& 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 GsmObj& WithLac(int value) { SetLac(value); return *this;}
71
73
76 inline int GetGeranCid() const{ return m_geranCid; }
77 inline bool GeranCidHasBeenSet() const { return m_geranCidHasBeenSet; }
78 inline void SetGeranCid(int value) { m_geranCidHasBeenSet = true; m_geranCid = value; }
79 inline GsmObj& WithGeranCid(int value) { SetGeranCid(value); return *this;}
81
83
86 inline const GsmLocalId& GetGsmLocalId() const{ return m_gsmLocalId; }
87 inline bool GsmLocalIdHasBeenSet() const { return m_gsmLocalIdHasBeenSet; }
88 inline void SetGsmLocalId(const GsmLocalId& value) { m_gsmLocalIdHasBeenSet = true; m_gsmLocalId = value; }
89 inline void SetGsmLocalId(GsmLocalId&& value) { m_gsmLocalIdHasBeenSet = true; m_gsmLocalId = std::move(value); }
90 inline GsmObj& WithGsmLocalId(const GsmLocalId& value) { SetGsmLocalId(value); return *this;}
91 inline GsmObj& WithGsmLocalId(GsmLocalId&& value) { SetGsmLocalId(std::move(value)); return *this;}
93
95
99 inline int GetGsmTimingAdvance() const{ return m_gsmTimingAdvance; }
100 inline bool GsmTimingAdvanceHasBeenSet() const { return m_gsmTimingAdvanceHasBeenSet; }
101 inline void SetGsmTimingAdvance(int value) { m_gsmTimingAdvanceHasBeenSet = true; m_gsmTimingAdvance = value; }
102 inline GsmObj& WithGsmTimingAdvance(int value) { SetGsmTimingAdvance(value); return *this;}
104
106
110 inline int GetRxLevel() const{ return m_rxLevel; }
111 inline bool RxLevelHasBeenSet() const { return m_rxLevelHasBeenSet; }
112 inline void SetRxLevel(int value) { m_rxLevelHasBeenSet = true; m_rxLevel = value; }
113 inline GsmObj& WithRxLevel(int value) { SetRxLevel(value); return *this;}
115
117
120 inline const Aws::Vector<GsmNmrObj>& GetGsmNmr() const{ return m_gsmNmr; }
121 inline bool GsmNmrHasBeenSet() const { return m_gsmNmrHasBeenSet; }
122 inline void SetGsmNmr(const Aws::Vector<GsmNmrObj>& value) { m_gsmNmrHasBeenSet = true; m_gsmNmr = value; }
123 inline void SetGsmNmr(Aws::Vector<GsmNmrObj>&& value) { m_gsmNmrHasBeenSet = true; m_gsmNmr = std::move(value); }
124 inline GsmObj& WithGsmNmr(const Aws::Vector<GsmNmrObj>& value) { SetGsmNmr(value); return *this;}
125 inline GsmObj& WithGsmNmr(Aws::Vector<GsmNmrObj>&& value) { SetGsmNmr(std::move(value)); return *this;}
126 inline GsmObj& AddGsmNmr(const GsmNmrObj& value) { m_gsmNmrHasBeenSet = true; m_gsmNmr.push_back(value); return *this; }
127 inline GsmObj& AddGsmNmr(GsmNmrObj&& value) { m_gsmNmrHasBeenSet = true; m_gsmNmr.push_back(std::move(value)); return *this; }
129 private:
130
131 int m_mcc;
132 bool m_mccHasBeenSet = false;
133
134 int m_mnc;
135 bool m_mncHasBeenSet = false;
136
137 int m_lac;
138 bool m_lacHasBeenSet = false;
139
140 int m_geranCid;
141 bool m_geranCidHasBeenSet = false;
142
143 GsmLocalId m_gsmLocalId;
144 bool m_gsmLocalIdHasBeenSet = false;
145
146 int m_gsmTimingAdvance;
147 bool m_gsmTimingAdvanceHasBeenSet = false;
148
149 int m_rxLevel;
150 bool m_rxLevelHasBeenSet = false;
151
152 Aws::Vector<GsmNmrObj> m_gsmNmr;
153 bool m_gsmNmrHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace IoTWireless
158} // namespace Aws
const GsmLocalId & GetGsmLocalId() const
Definition GsmObj.h:86
void SetGsmLocalId(GsmLocalId &&value)
Definition GsmObj.h:89
void SetGeranCid(int value)
Definition GsmObj.h:78
AWS_IOTWIRELESS_API GsmObj()
const Aws::Vector< GsmNmrObj > & GetGsmNmr() const
Definition GsmObj.h:120
void SetGsmLocalId(const GsmLocalId &value)
Definition GsmObj.h:88
GsmObj & AddGsmNmr(const GsmNmrObj &value)
Definition GsmObj.h:126
bool GsmLocalIdHasBeenSet() const
Definition GsmObj.h:87
GsmObj & WithGeranCid(int value)
Definition GsmObj.h:79
GsmObj & WithLac(int value)
Definition GsmObj.h:69
void SetRxLevel(int value)
Definition GsmObj.h:112
AWS_IOTWIRELESS_API GsmObj & operator=(Aws::Utils::Json::JsonView jsonValue)
GsmObj & WithMcc(int value)
Definition GsmObj.h:49
GsmObj & WithGsmTimingAdvance(int value)
Definition GsmObj.h:102
AWS_IOTWIRELESS_API GsmObj(Aws::Utils::Json::JsonView jsonValue)
GsmObj & WithRxLevel(int value)
Definition GsmObj.h:113
void SetGsmTimingAdvance(int value)
Definition GsmObj.h:101
GsmObj & WithGsmNmr(const Aws::Vector< GsmNmrObj > &value)
Definition GsmObj.h:124
bool GsmTimingAdvanceHasBeenSet() const
Definition GsmObj.h:100
GsmObj & WithMnc(int value)
Definition GsmObj.h:59
GsmObj & WithGsmNmr(Aws::Vector< GsmNmrObj > &&value)
Definition GsmObj.h:125
void SetGsmNmr(Aws::Vector< GsmNmrObj > &&value)
Definition GsmObj.h:123
GsmObj & AddGsmNmr(GsmNmrObj &&value)
Definition GsmObj.h:127
GsmObj & WithGsmLocalId(GsmLocalId &&value)
Definition GsmObj.h:91
int GetGsmTimingAdvance() const
Definition GsmObj.h:99
bool GeranCidHasBeenSet() const
Definition GsmObj.h:77
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
GsmObj & WithGsmLocalId(const GsmLocalId &value)
Definition GsmObj.h:90
void SetGsmNmr(const Aws::Vector< GsmNmrObj > &value)
Definition GsmObj.h:122
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue