AWS SDK for C++  1.9.102
AWS SDK for C++
WirelessDeviceStatistics.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoTWireless
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetArn() const{ return m_arn; }
48 
52  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
53 
57  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
58 
62  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
63 
67  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
68 
72  inline WirelessDeviceStatistics& WithArn(const Aws::String& value) { SetArn(value); return *this;}
73 
77  inline WirelessDeviceStatistics& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
78 
82  inline WirelessDeviceStatistics& WithArn(const char* value) { SetArn(value); return *this;}
83 
84 
88  inline const Aws::String& GetId() const{ return m_id; }
89 
93  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
94 
98  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
99 
103  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
104 
108  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
109 
113  inline WirelessDeviceStatistics& WithId(const Aws::String& value) { SetId(value); return *this;}
114 
118  inline WirelessDeviceStatistics& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
119 
123  inline WirelessDeviceStatistics& WithId(const char* value) { SetId(value); return *this;}
124 
125 
129  inline const WirelessDeviceType& GetType() const{ return m_type; }
130 
134  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
135 
139  inline void SetType(const WirelessDeviceType& value) { m_typeHasBeenSet = true; m_type = value; }
140 
144  inline void SetType(WirelessDeviceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
145 
149  inline WirelessDeviceStatistics& WithType(const WirelessDeviceType& value) { SetType(value); return *this;}
150 
154  inline WirelessDeviceStatistics& WithType(WirelessDeviceType&& value) { SetType(std::move(value)); return *this;}
155 
156 
160  inline const Aws::String& GetName() const{ return m_name; }
161 
165  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
166 
170  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
171 
175  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
176 
180  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
181 
185  inline WirelessDeviceStatistics& WithName(const Aws::String& value) { SetName(value); return *this;}
186 
190  inline WirelessDeviceStatistics& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
191 
195  inline WirelessDeviceStatistics& WithName(const char* value) { SetName(value); return *this;}
196 
197 
201  inline const Aws::String& GetDestinationName() const{ return m_destinationName; }
202 
206  inline bool DestinationNameHasBeenSet() const { return m_destinationNameHasBeenSet; }
207 
211  inline void SetDestinationName(const Aws::String& value) { m_destinationNameHasBeenSet = true; m_destinationName = value; }
212 
216  inline void SetDestinationName(Aws::String&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::move(value); }
217 
221  inline void SetDestinationName(const char* value) { m_destinationNameHasBeenSet = true; m_destinationName.assign(value); }
222 
226  inline WirelessDeviceStatistics& WithDestinationName(const Aws::String& value) { SetDestinationName(value); return *this;}
227 
231  inline WirelessDeviceStatistics& WithDestinationName(Aws::String&& value) { SetDestinationName(std::move(value)); return *this;}
232 
236  inline WirelessDeviceStatistics& WithDestinationName(const char* value) { SetDestinationName(value); return *this;}
237 
238 
242  inline const Aws::String& GetLastUplinkReceivedAt() const{ return m_lastUplinkReceivedAt; }
243 
247  inline bool LastUplinkReceivedAtHasBeenSet() const { return m_lastUplinkReceivedAtHasBeenSet; }
248 
252  inline void SetLastUplinkReceivedAt(const Aws::String& value) { m_lastUplinkReceivedAtHasBeenSet = true; m_lastUplinkReceivedAt = value; }
253 
257  inline void SetLastUplinkReceivedAt(Aws::String&& value) { m_lastUplinkReceivedAtHasBeenSet = true; m_lastUplinkReceivedAt = std::move(value); }
258 
262  inline void SetLastUplinkReceivedAt(const char* value) { m_lastUplinkReceivedAtHasBeenSet = true; m_lastUplinkReceivedAt.assign(value); }
263 
267  inline WirelessDeviceStatistics& WithLastUplinkReceivedAt(const Aws::String& value) { SetLastUplinkReceivedAt(value); return *this;}
268 
272  inline WirelessDeviceStatistics& WithLastUplinkReceivedAt(Aws::String&& value) { SetLastUplinkReceivedAt(std::move(value)); return *this;}
273 
277  inline WirelessDeviceStatistics& WithLastUplinkReceivedAt(const char* value) { SetLastUplinkReceivedAt(value); return *this;}
278 
279 
283  inline const LoRaWANListDevice& GetLoRaWAN() const{ return m_loRaWAN; }
284 
288  inline bool LoRaWANHasBeenSet() const { return m_loRaWANHasBeenSet; }
289 
293  inline void SetLoRaWAN(const LoRaWANListDevice& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = value; }
294 
298  inline void SetLoRaWAN(LoRaWANListDevice&& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = std::move(value); }
299 
303  inline WirelessDeviceStatistics& WithLoRaWAN(const LoRaWANListDevice& value) { SetLoRaWAN(value); return *this;}
304 
308  inline WirelessDeviceStatistics& WithLoRaWAN(LoRaWANListDevice&& value) { SetLoRaWAN(std::move(value)); return *this;}
309 
310 
314  inline const SidewalkListDevice& GetSidewalk() const{ return m_sidewalk; }
315 
319  inline bool SidewalkHasBeenSet() const { return m_sidewalkHasBeenSet; }
320 
324  inline void SetSidewalk(const SidewalkListDevice& value) { m_sidewalkHasBeenSet = true; m_sidewalk = value; }
325 
329  inline void SetSidewalk(SidewalkListDevice&& value) { m_sidewalkHasBeenSet = true; m_sidewalk = std::move(value); }
330 
334  inline WirelessDeviceStatistics& WithSidewalk(const SidewalkListDevice& value) { SetSidewalk(value); return *this;}
335 
339  inline WirelessDeviceStatistics& WithSidewalk(SidewalkListDevice&& value) { SetSidewalk(std::move(value)); return *this;}
340 
341  private:
342 
343  Aws::String m_arn;
344  bool m_arnHasBeenSet;
345 
346  Aws::String m_id;
347  bool m_idHasBeenSet;
348 
349  WirelessDeviceType m_type;
350  bool m_typeHasBeenSet;
351 
352  Aws::String m_name;
353  bool m_nameHasBeenSet;
354 
355  Aws::String m_destinationName;
356  bool m_destinationNameHasBeenSet;
357 
358  Aws::String m_lastUplinkReceivedAt;
359  bool m_lastUplinkReceivedAtHasBeenSet;
360 
361  LoRaWANListDevice m_loRaWAN;
362  bool m_loRaWANHasBeenSet;
363 
364  SidewalkListDevice m_sidewalk;
365  bool m_sidewalkHasBeenSet;
366  };
367 
368 } // namespace Model
369 } // namespace IoTWireless
370 } // namespace Aws
Aws::IoTWireless::Model::WirelessDeviceStatistics::LastUplinkReceivedAtHasBeenSet
bool LastUplinkReceivedAtHasBeenSet() const
Definition: WirelessDeviceStatistics.h:247
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::WirelessDeviceStatistics::SetId
void SetId(const Aws::String &value)
Definition: WirelessDeviceStatistics.h:98
Aws::IoTWireless::Model::WirelessDeviceStatistics::SetSidewalk
void SetSidewalk(SidewalkListDevice &&value)
Definition: WirelessDeviceStatistics.h:329
Aws::IoTWireless::Model::WirelessDeviceStatistics::SetName
void SetName(Aws::String &&value)
Definition: WirelessDeviceStatistics.h:175
Aws::IoTWireless::Model::WirelessDeviceStatistics::LoRaWANHasBeenSet
bool LoRaWANHasBeenSet() const
Definition: WirelessDeviceStatistics.h:288
Aws::IoTWireless::Model::WirelessDeviceStatistics::GetSidewalk
const SidewalkListDevice & GetSidewalk() const
Definition: WirelessDeviceStatistics.h:314
Aws::IoTWireless::Model::WirelessDeviceStatistics::WirelessDeviceStatistics
WirelessDeviceStatistics(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::WirelessDeviceStatistics::WithArn
WirelessDeviceStatistics & WithArn(const char *value)
Definition: WirelessDeviceStatistics.h:82
Aws::IoTWireless::Model::WirelessDeviceStatistics::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: WirelessDeviceStatistics.h:52
Aws::IoTWireless::Model::WirelessDeviceStatistics::WithType
WirelessDeviceStatistics & WithType(WirelessDeviceType &&value)
Definition: WirelessDeviceStatistics.h:154
Aws::IoTWireless::Model::WirelessDeviceStatistics::GetType
const WirelessDeviceType & GetType() const
Definition: WirelessDeviceStatistics.h:129
Aws::IoTWireless::Model::WirelessDeviceStatistics::WithLastUplinkReceivedAt
WirelessDeviceStatistics & WithLastUplinkReceivedAt(const Aws::String &value)
Definition: WirelessDeviceStatistics.h:267
Aws::IoTWireless::Model::WirelessDeviceStatistics::operator=
WirelessDeviceStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::IoTWireless::Model::WirelessDeviceStatistics::WithDestinationName
WirelessDeviceStatistics & WithDestinationName(const Aws::String &value)
Definition: WirelessDeviceStatistics.h:226
Aws::IoTWireless::Model::WirelessDeviceStatistics::SetDestinationName
void SetDestinationName(const Aws::String &value)
Definition: WirelessDeviceStatistics.h:211
Aws::IoTWireless::Model::WirelessDeviceType
WirelessDeviceType
Definition: WirelessDeviceType.h:17
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::WirelessDeviceStatistics::WithId
WirelessDeviceStatistics & WithId(const char *value)
Definition: WirelessDeviceStatistics.h:123
Aws::IoTWireless::Model::WirelessDeviceStatistics::WithId
WirelessDeviceStatistics & WithId(Aws::String &&value)
Definition: WirelessDeviceStatistics.h:118
Aws::IoTWireless::Model::WirelessDeviceStatistics::SetLastUplinkReceivedAt
void SetLastUplinkReceivedAt(Aws::String &&value)
Definition: WirelessDeviceStatistics.h:257
Aws::IoTWireless::Model::WirelessDeviceStatistics::WithSidewalk
WirelessDeviceStatistics & WithSidewalk(SidewalkListDevice &&value)
Definition: WirelessDeviceStatistics.h:339
Aws::IoTWireless::Model::WirelessDeviceStatistics::WithDestinationName
WirelessDeviceStatistics & WithDestinationName(Aws::String &&value)
Definition: WirelessDeviceStatistics.h:231
Aws::IoTWireless::Model::WirelessDeviceStatistics::SetLoRaWAN
void SetLoRaWAN(LoRaWANListDevice &&value)
Definition: WirelessDeviceStatistics.h:298
Aws::IoTWireless::Model::WirelessDeviceStatistics::SetArn
void SetArn(const Aws::String &value)
Definition: WirelessDeviceStatistics.h:57
Aws::IoTWireless::Model::WirelessDeviceStatistics::SetSidewalk
void SetSidewalk(const SidewalkListDevice &value)
Definition: WirelessDeviceStatistics.h:324
Aws::IoTWireless::Model::WirelessDeviceStatistics::SetDestinationName
void SetDestinationName(const char *value)
Definition: WirelessDeviceStatistics.h:221
Aws::IoTWireless::Model::WirelessDeviceStatistics::WirelessDeviceStatistics
WirelessDeviceStatistics()
Aws::IoTWireless::Model::WirelessDeviceStatistics::WithArn
WirelessDeviceStatistics & WithArn(const Aws::String &value)
Definition: WirelessDeviceStatistics.h:72
Aws::IoTWireless::Model::WirelessDeviceStatistics::WithName
WirelessDeviceStatistics & WithName(Aws::String &&value)
Definition: WirelessDeviceStatistics.h:190
Aws::IoTWireless::Model::WirelessDeviceStatistics::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoTWireless::Model::WirelessDeviceStatistics::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: WirelessDeviceStatistics.h:134
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::IoTWireless::Model::WirelessDeviceStatistics::GetArn
const Aws::String & GetArn() const
Definition: WirelessDeviceStatistics.h:47
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoTWireless::Model::WirelessDeviceStatistics::GetName
const Aws::String & GetName() const
Definition: WirelessDeviceStatistics.h:160
Aws::IoTWireless::Model::WirelessDeviceStatistics::GetId
const Aws::String & GetId() const
Definition: WirelessDeviceStatistics.h:88
Aws::IoTWireless::Model::WirelessDeviceStatistics::WithLastUplinkReceivedAt
WirelessDeviceStatistics & WithLastUplinkReceivedAt(Aws::String &&value)
Definition: WirelessDeviceStatistics.h:272
Aws::IoTWireless::Model::WirelessDeviceStatistics::GetDestinationName
const Aws::String & GetDestinationName() const
Definition: WirelessDeviceStatistics.h:201
Aws::IoTWireless::Model::WirelessDeviceStatistics::DestinationNameHasBeenSet
bool DestinationNameHasBeenSet() const
Definition: WirelessDeviceStatistics.h:206
Aws::IoTWireless::Model::WirelessDeviceStatistics::WithName
WirelessDeviceStatistics & WithName(const char *value)
Definition: WirelessDeviceStatistics.h:195
Aws::IoTWireless::Model::WirelessDeviceStatistics::SetId
void SetId(Aws::String &&value)
Definition: WirelessDeviceStatistics.h:103
Aws::IoTWireless::Model::WirelessDeviceStatistics::SetLoRaWAN
void SetLoRaWAN(const LoRaWANListDevice &value)
Definition: WirelessDeviceStatistics.h:293
Aws::IoTWireless::Model::WirelessDeviceStatistics::WithLoRaWAN
WirelessDeviceStatistics & WithLoRaWAN(const LoRaWANListDevice &value)
Definition: WirelessDeviceStatistics.h:303
Aws::IoTWireless::Model::WirelessDeviceStatistics::NameHasBeenSet
bool NameHasBeenSet() const
Definition: WirelessDeviceStatistics.h:165
Aws::IoTWireless::Model::WirelessDeviceStatistics::GetLoRaWAN
const LoRaWANListDevice & GetLoRaWAN() const
Definition: WirelessDeviceStatistics.h:283
Aws::IoTWireless::Model::WirelessDeviceStatistics::SidewalkHasBeenSet
bool SidewalkHasBeenSet() const
Definition: WirelessDeviceStatistics.h:319
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::WirelessDeviceStatistics::WithName
WirelessDeviceStatistics & WithName(const Aws::String &value)
Definition: WirelessDeviceStatistics.h:185
Aws::IoTWireless::Model::WirelessDeviceStatistics::WithArn
WirelessDeviceStatistics & WithArn(Aws::String &&value)
Definition: WirelessDeviceStatistics.h:77
Aws::IoTWireless::Model::WirelessDeviceStatistics::SetLastUplinkReceivedAt
void SetLastUplinkReceivedAt(const char *value)
Definition: WirelessDeviceStatistics.h:262
Aws::IoTWireless::Model::WirelessDeviceStatistics::SetId
void SetId(const char *value)
Definition: WirelessDeviceStatistics.h:108
Aws::IoTWireless::Model::WirelessDeviceStatistics::GetLastUplinkReceivedAt
const Aws::String & GetLastUplinkReceivedAt() const
Definition: WirelessDeviceStatistics.h:242
Aws::IoTWireless::Model::WirelessDeviceStatistics::SetDestinationName
void SetDestinationName(Aws::String &&value)
Definition: WirelessDeviceStatistics.h:216
LoRaWANListDevice.h
Aws::IoTWireless::Model::WirelessDeviceStatistics::WithDestinationName
WirelessDeviceStatistics & WithDestinationName(const char *value)
Definition: WirelessDeviceStatistics.h:236
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::WirelessDeviceStatistics
Definition: WirelessDeviceStatistics.h:36
Aws::IoTWireless::Model::WirelessDeviceStatistics::SetLastUplinkReceivedAt
void SetLastUplinkReceivedAt(const Aws::String &value)
Definition: WirelessDeviceStatistics.h:252
Aws::IoTWireless::Model::WirelessDeviceStatistics::SetType
void SetType(WirelessDeviceType &&value)
Definition: WirelessDeviceStatistics.h:144
Aws::IoTWireless::Model::WirelessDeviceStatistics::WithId
WirelessDeviceStatistics & WithId(const Aws::String &value)
Definition: WirelessDeviceStatistics.h:113
WirelessDeviceType.h
Aws::IoTWireless::Model::WirelessDeviceStatistics::SetName
void SetName(const char *value)
Definition: WirelessDeviceStatistics.h:180
Aws::IoTWireless::Model::WirelessDeviceStatistics::SetArn
void SetArn(Aws::String &&value)
Definition: WirelessDeviceStatistics.h:62
Aws::IoTWireless::Model::WirelessDeviceStatistics::SetType
void SetType(const WirelessDeviceType &value)
Definition: WirelessDeviceStatistics.h:139
Aws::IoTWireless::Model::SidewalkListDevice
Definition: SidewalkListDevice.h:34
Aws::IoTWireless::Model::WirelessDeviceStatistics::SetArn
void SetArn(const char *value)
Definition: WirelessDeviceStatistics.h:67
Aws::IoTWireless::Model::WirelessDeviceStatistics::SetName
void SetName(const Aws::String &value)
Definition: WirelessDeviceStatistics.h:170
Aws::IoTWireless::Model::WirelessDeviceStatistics::WithSidewalk
WirelessDeviceStatistics & WithSidewalk(const SidewalkListDevice &value)
Definition: WirelessDeviceStatistics.h:334
Aws::IoTWireless::Model::WirelessDeviceStatistics::WithType
WirelessDeviceStatistics & WithType(const WirelessDeviceType &value)
Definition: WirelessDeviceStatistics.h:149
SidewalkListDevice.h
Aws::IoTWireless::Model::LoRaWANListDevice
Definition: LoRaWANListDevice.h:32
Aws::IoTWireless::Model::WirelessDeviceStatistics::WithLastUplinkReceivedAt
WirelessDeviceStatistics & WithLastUplinkReceivedAt(const char *value)
Definition: WirelessDeviceStatistics.h:277
Aws::IoTWireless::Model::WirelessDeviceStatistics::WithLoRaWAN
WirelessDeviceStatistics & WithLoRaWAN(LoRaWANListDevice &&value)
Definition: WirelessDeviceStatistics.h:308
Aws::IoTWireless::Model::WirelessDeviceStatistics::IdHasBeenSet
bool IdHasBeenSet() const
Definition: WirelessDeviceStatistics.h:93