AWS SDK for C++  1.9.102
AWS SDK for C++
WirelessGatewayStatistics.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace IoTWireless
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetArn() const{ return m_arn; }
46 
50  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 
55  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
56 
60  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
61 
65  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 
70  inline WirelessGatewayStatistics& WithArn(const Aws::String& value) { SetArn(value); return *this;}
71 
75  inline WirelessGatewayStatistics& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
76 
80  inline WirelessGatewayStatistics& WithArn(const char* value) { SetArn(value); return *this;}
81 
82 
86  inline const Aws::String& GetId() const{ return m_id; }
87 
91  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
92 
96  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
97 
101  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
102 
106  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
107 
111  inline WirelessGatewayStatistics& WithId(const Aws::String& value) { SetId(value); return *this;}
112 
116  inline WirelessGatewayStatistics& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
117 
121  inline WirelessGatewayStatistics& WithId(const char* value) { SetId(value); return *this;}
122 
123 
127  inline const Aws::String& GetName() const{ return m_name; }
128 
132  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
133 
137  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
138 
142  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
143 
147  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
148 
152  inline WirelessGatewayStatistics& WithName(const Aws::String& value) { SetName(value); return *this;}
153 
157  inline WirelessGatewayStatistics& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
158 
162  inline WirelessGatewayStatistics& WithName(const char* value) { SetName(value); return *this;}
163 
164 
168  inline const Aws::String& GetDescription() const{ return m_description; }
169 
173  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
174 
178  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
179 
183  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
184 
188  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
189 
193  inline WirelessGatewayStatistics& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
194 
198  inline WirelessGatewayStatistics& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
199 
203  inline WirelessGatewayStatistics& WithDescription(const char* value) { SetDescription(value); return *this;}
204 
205 
209  inline const LoRaWANGateway& GetLoRaWAN() const{ return m_loRaWAN; }
210 
214  inline bool LoRaWANHasBeenSet() const { return m_loRaWANHasBeenSet; }
215 
219  inline void SetLoRaWAN(const LoRaWANGateway& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = value; }
220 
224  inline void SetLoRaWAN(LoRaWANGateway&& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = std::move(value); }
225 
229  inline WirelessGatewayStatistics& WithLoRaWAN(const LoRaWANGateway& value) { SetLoRaWAN(value); return *this;}
230 
234  inline WirelessGatewayStatistics& WithLoRaWAN(LoRaWANGateway&& value) { SetLoRaWAN(std::move(value)); return *this;}
235 
236 
240  inline const Aws::String& GetLastUplinkReceivedAt() const{ return m_lastUplinkReceivedAt; }
241 
245  inline bool LastUplinkReceivedAtHasBeenSet() const { return m_lastUplinkReceivedAtHasBeenSet; }
246 
250  inline void SetLastUplinkReceivedAt(const Aws::String& value) { m_lastUplinkReceivedAtHasBeenSet = true; m_lastUplinkReceivedAt = value; }
251 
255  inline void SetLastUplinkReceivedAt(Aws::String&& value) { m_lastUplinkReceivedAtHasBeenSet = true; m_lastUplinkReceivedAt = std::move(value); }
256 
260  inline void SetLastUplinkReceivedAt(const char* value) { m_lastUplinkReceivedAtHasBeenSet = true; m_lastUplinkReceivedAt.assign(value); }
261 
265  inline WirelessGatewayStatistics& WithLastUplinkReceivedAt(const Aws::String& value) { SetLastUplinkReceivedAt(value); return *this;}
266 
270  inline WirelessGatewayStatistics& WithLastUplinkReceivedAt(Aws::String&& value) { SetLastUplinkReceivedAt(std::move(value)); return *this;}
271 
275  inline WirelessGatewayStatistics& WithLastUplinkReceivedAt(const char* value) { SetLastUplinkReceivedAt(value); return *this;}
276 
277  private:
278 
279  Aws::String m_arn;
280  bool m_arnHasBeenSet;
281 
282  Aws::String m_id;
283  bool m_idHasBeenSet;
284 
285  Aws::String m_name;
286  bool m_nameHasBeenSet;
287 
288  Aws::String m_description;
289  bool m_descriptionHasBeenSet;
290 
291  LoRaWANGateway m_loRaWAN;
292  bool m_loRaWANHasBeenSet;
293 
294  Aws::String m_lastUplinkReceivedAt;
295  bool m_lastUplinkReceivedAtHasBeenSet;
296  };
297 
298 } // namespace Model
299 } // namespace IoTWireless
300 } // namespace Aws
Aws::IoTWireless::Model::WirelessGatewayStatistics::SetLastUplinkReceivedAt
void SetLastUplinkReceivedAt(const Aws::String &value)
Definition: WirelessGatewayStatistics.h:250
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::WirelessGatewayStatistics::SetDescription
void SetDescription(const char *value)
Definition: WirelessGatewayStatistics.h:188
Aws::IoTWireless::Model::WirelessGatewayStatistics::SetName
void SetName(const Aws::String &value)
Definition: WirelessGatewayStatistics.h:137
Aws::IoTWireless::Model::WirelessGatewayStatistics::WithArn
WirelessGatewayStatistics & WithArn(const Aws::String &value)
Definition: WirelessGatewayStatistics.h:70
Aws::IoTWireless::Model::WirelessGatewayStatistics::WithDescription
WirelessGatewayStatistics & WithDescription(const Aws::String &value)
Definition: WirelessGatewayStatistics.h:193
Aws::IoTWireless::Model::WirelessGatewayStatistics::WithArn
WirelessGatewayStatistics & WithArn(Aws::String &&value)
Definition: WirelessGatewayStatistics.h:75
Aws::IoTWireless::Model::WirelessGatewayStatistics::IdHasBeenSet
bool IdHasBeenSet() const
Definition: WirelessGatewayStatistics.h:91
Aws::IoTWireless::Model::WirelessGatewayStatistics::LoRaWANHasBeenSet
bool LoRaWANHasBeenSet() const
Definition: WirelessGatewayStatistics.h:214
Aws::IoTWireless::Model::WirelessGatewayStatistics::SetLastUplinkReceivedAt
void SetLastUplinkReceivedAt(Aws::String &&value)
Definition: WirelessGatewayStatistics.h:255
Aws::IoTWireless::Model::WirelessGatewayStatistics::WirelessGatewayStatistics
WirelessGatewayStatistics()
Aws::IoTWireless::Model::WirelessGatewayStatistics::WithLoRaWAN
WirelessGatewayStatistics & WithLoRaWAN(LoRaWANGateway &&value)
Definition: WirelessGatewayStatistics.h:234
Aws::IoTWireless::Model::WirelessGatewayStatistics::WithId
WirelessGatewayStatistics & WithId(const char *value)
Definition: WirelessGatewayStatistics.h:121
Aws::IoTWireless::Model::LoRaWANGateway
Definition: LoRaWANGateway.h:33
Aws::IoTWireless::Model::WirelessGatewayStatistics::SetLoRaWAN
void SetLoRaWAN(const LoRaWANGateway &value)
Definition: WirelessGatewayStatistics.h:219
Aws::IoTWireless::Model::WirelessGatewayStatistics
Definition: WirelessGatewayStatistics.h:34
Aws::IoTWireless::Model::WirelessGatewayStatistics::SetId
void SetId(Aws::String &&value)
Definition: WirelessGatewayStatistics.h:101
Aws::IoTWireless::Model::WirelessGatewayStatistics::GetId
const Aws::String & GetId() const
Definition: WirelessGatewayStatistics.h:86
Aws::IoTWireless::Model::WirelessGatewayStatistics::WithLastUplinkReceivedAt
WirelessGatewayStatistics & WithLastUplinkReceivedAt(const char *value)
Definition: WirelessGatewayStatistics.h:275
Aws::IoTWireless::Model::WirelessGatewayStatistics::WithName
WirelessGatewayStatistics & WithName(const Aws::String &value)
Definition: WirelessGatewayStatistics.h:152
Aws::IoTWireless::Model::WirelessGatewayStatistics::SetId
void SetId(const char *value)
Definition: WirelessGatewayStatistics.h:106
Aws::IoTWireless::Model::WirelessGatewayStatistics::SetId
void SetId(const Aws::String &value)
Definition: WirelessGatewayStatistics.h:96
Aws::IoTWireless::Model::WirelessGatewayStatistics::SetDescription
void SetDescription(Aws::String &&value)
Definition: WirelessGatewayStatistics.h:183
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::WirelessGatewayStatistics::SetDescription
void SetDescription(const Aws::String &value)
Definition: WirelessGatewayStatistics.h:178
Aws::IoTWireless::Model::WirelessGatewayStatistics::GetDescription
const Aws::String & GetDescription() const
Definition: WirelessGatewayStatistics.h:168
Aws::IoTWireless::Model::WirelessGatewayStatistics::SetLastUplinkReceivedAt
void SetLastUplinkReceivedAt(const char *value)
Definition: WirelessGatewayStatistics.h:260
Aws::IoTWireless::Model::WirelessGatewayStatistics::WithId
WirelessGatewayStatistics & WithId(const Aws::String &value)
Definition: WirelessGatewayStatistics.h:111
Aws::IoTWireless::Model::WirelessGatewayStatistics::WithLastUplinkReceivedAt
WirelessGatewayStatistics & WithLastUplinkReceivedAt(const Aws::String &value)
Definition: WirelessGatewayStatistics.h:265
Aws::IoTWireless::Model::WirelessGatewayStatistics::WithDescription
WirelessGatewayStatistics & WithDescription(const char *value)
Definition: WirelessGatewayStatistics.h:203
Aws::IoTWireless::Model::WirelessGatewayStatistics::WithLastUplinkReceivedAt
WirelessGatewayStatistics & WithLastUplinkReceivedAt(Aws::String &&value)
Definition: WirelessGatewayStatistics.h:270
Aws::IoTWireless::Model::WirelessGatewayStatistics::SetName
void SetName(const char *value)
Definition: WirelessGatewayStatistics.h:147
Aws::IoTWireless::Model::WirelessGatewayStatistics::operator=
WirelessGatewayStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::WirelessGatewayStatistics::WithId
WirelessGatewayStatistics & WithId(Aws::String &&value)
Definition: WirelessGatewayStatistics.h:116
Aws::IoTWireless::Model::WirelessGatewayStatistics::LastUplinkReceivedAtHasBeenSet
bool LastUplinkReceivedAtHasBeenSet() const
Definition: WirelessGatewayStatistics.h:245
Aws::IoTWireless::Model::WirelessGatewayStatistics::WithName
WirelessGatewayStatistics & WithName(Aws::String &&value)
Definition: WirelessGatewayStatistics.h:157
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTWireless::Model::WirelessGatewayStatistics::WithDescription
WirelessGatewayStatistics & WithDescription(Aws::String &&value)
Definition: WirelessGatewayStatistics.h:198
Aws::IoTWireless::Model::WirelessGatewayStatistics::SetLoRaWAN
void SetLoRaWAN(LoRaWANGateway &&value)
Definition: WirelessGatewayStatistics.h:224
Aws::IoTWireless::Model::WirelessGatewayStatistics::GetLastUplinkReceivedAt
const Aws::String & GetLastUplinkReceivedAt() const
Definition: WirelessGatewayStatistics.h:240
Aws::IoTWireless::Model::WirelessGatewayStatistics::SetArn
void SetArn(Aws::String &&value)
Definition: WirelessGatewayStatistics.h:60
Aws::IoTWireless::Model::WirelessGatewayStatistics::GetName
const Aws::String & GetName() const
Definition: WirelessGatewayStatistics.h:127
Aws::IoTWireless::Model::WirelessGatewayStatistics::WithName
WirelessGatewayStatistics & WithName(const char *value)
Definition: WirelessGatewayStatistics.h:162
Aws::IoTWireless::Model::WirelessGatewayStatistics::SetName
void SetName(Aws::String &&value)
Definition: WirelessGatewayStatistics.h:142
Aws::IoTWireless::Model::WirelessGatewayStatistics::SetArn
void SetArn(const char *value)
Definition: WirelessGatewayStatistics.h:65
Aws::IoTWireless::Model::WirelessGatewayStatistics::NameHasBeenSet
bool NameHasBeenSet() const
Definition: WirelessGatewayStatistics.h:132
Aws::IoTWireless::Model::WirelessGatewayStatistics::GetLoRaWAN
const LoRaWANGateway & GetLoRaWAN() const
Definition: WirelessGatewayStatistics.h:209
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::WirelessGatewayStatistics::WirelessGatewayStatistics
WirelessGatewayStatistics(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::WirelessGatewayStatistics::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: WirelessGatewayStatistics.h:173
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
LoRaWANGateway.h
Aws::IoTWireless::Model::WirelessGatewayStatistics::SetArn
void SetArn(const Aws::String &value)
Definition: WirelessGatewayStatistics.h:55
Aws::IoTWireless::Model::WirelessGatewayStatistics::GetArn
const Aws::String & GetArn() const
Definition: WirelessGatewayStatistics.h:45
Aws::IoTWireless::Model::WirelessGatewayStatistics::WithArn
WirelessGatewayStatistics & WithArn(const char *value)
Definition: WirelessGatewayStatistics.h:80
Aws::IoTWireless::Model::WirelessGatewayStatistics::WithLoRaWAN
WirelessGatewayStatistics & WithLoRaWAN(const LoRaWANGateway &value)
Definition: WirelessGatewayStatistics.h:229
Aws::IoTWireless::Model::WirelessGatewayStatistics::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTWireless::Model::WirelessGatewayStatistics::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: WirelessGatewayStatistics.h:50