AWS SDK for C++  1.9.102
AWS SDK for C++
GetWirelessDeviceResult.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Json
22 {
23  class JsonValue;
24 } // namespace Json
25 } // namespace Utils
26 namespace IoTWireless
27 {
28 namespace Model
29 {
31  {
32  public:
36 
37 
41  inline const WirelessDeviceType& GetType() const{ return m_type; }
42 
46  inline void SetType(const WirelessDeviceType& value) { m_type = value; }
47 
51  inline void SetType(WirelessDeviceType&& value) { m_type = std::move(value); }
52 
56  inline GetWirelessDeviceResult& WithType(const WirelessDeviceType& value) { SetType(value); return *this;}
57 
61  inline GetWirelessDeviceResult& WithType(WirelessDeviceType&& value) { SetType(std::move(value)); return *this;}
62 
63 
67  inline const Aws::String& GetName() const{ return m_name; }
68 
72  inline void SetName(const Aws::String& value) { m_name = value; }
73 
77  inline void SetName(Aws::String&& value) { m_name = std::move(value); }
78 
82  inline void SetName(const char* value) { m_name.assign(value); }
83 
87  inline GetWirelessDeviceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
88 
92  inline GetWirelessDeviceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
93 
97  inline GetWirelessDeviceResult& WithName(const char* value) { SetName(value); return *this;}
98 
99 
103  inline const Aws::String& GetDescription() const{ return m_description; }
104 
108  inline void SetDescription(const Aws::String& value) { m_description = value; }
109 
113  inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
114 
118  inline void SetDescription(const char* value) { m_description.assign(value); }
119 
123  inline GetWirelessDeviceResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
124 
128  inline GetWirelessDeviceResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
129 
133  inline GetWirelessDeviceResult& WithDescription(const char* value) { SetDescription(value); return *this;}
134 
135 
139  inline const Aws::String& GetDestinationName() const{ return m_destinationName; }
140 
144  inline void SetDestinationName(const Aws::String& value) { m_destinationName = value; }
145 
149  inline void SetDestinationName(Aws::String&& value) { m_destinationName = std::move(value); }
150 
154  inline void SetDestinationName(const char* value) { m_destinationName.assign(value); }
155 
159  inline GetWirelessDeviceResult& WithDestinationName(const Aws::String& value) { SetDestinationName(value); return *this;}
160 
164  inline GetWirelessDeviceResult& WithDestinationName(Aws::String&& value) { SetDestinationName(std::move(value)); return *this;}
165 
169  inline GetWirelessDeviceResult& WithDestinationName(const char* value) { SetDestinationName(value); return *this;}
170 
171 
175  inline const Aws::String& GetId() const{ return m_id; }
176 
180  inline void SetId(const Aws::String& value) { m_id = value; }
181 
185  inline void SetId(Aws::String&& value) { m_id = std::move(value); }
186 
190  inline void SetId(const char* value) { m_id.assign(value); }
191 
195  inline GetWirelessDeviceResult& WithId(const Aws::String& value) { SetId(value); return *this;}
196 
200  inline GetWirelessDeviceResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
201 
205  inline GetWirelessDeviceResult& WithId(const char* value) { SetId(value); return *this;}
206 
207 
211  inline const Aws::String& GetArn() const{ return m_arn; }
212 
216  inline void SetArn(const Aws::String& value) { m_arn = value; }
217 
221  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
222 
226  inline void SetArn(const char* value) { m_arn.assign(value); }
227 
231  inline GetWirelessDeviceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
232 
236  inline GetWirelessDeviceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
237 
241  inline GetWirelessDeviceResult& WithArn(const char* value) { SetArn(value); return *this;}
242 
243 
248  inline const Aws::String& GetThingName() const{ return m_thingName; }
249 
254  inline void SetThingName(const Aws::String& value) { m_thingName = value; }
255 
260  inline void SetThingName(Aws::String&& value) { m_thingName = std::move(value); }
261 
266  inline void SetThingName(const char* value) { m_thingName.assign(value); }
267 
272  inline GetWirelessDeviceResult& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
273 
278  inline GetWirelessDeviceResult& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
279 
284  inline GetWirelessDeviceResult& WithThingName(const char* value) { SetThingName(value); return *this;}
285 
286 
290  inline const Aws::String& GetThingArn() const{ return m_thingArn; }
291 
295  inline void SetThingArn(const Aws::String& value) { m_thingArn = value; }
296 
300  inline void SetThingArn(Aws::String&& value) { m_thingArn = std::move(value); }
301 
305  inline void SetThingArn(const char* value) { m_thingArn.assign(value); }
306 
310  inline GetWirelessDeviceResult& WithThingArn(const Aws::String& value) { SetThingArn(value); return *this;}
311 
315  inline GetWirelessDeviceResult& WithThingArn(Aws::String&& value) { SetThingArn(std::move(value)); return *this;}
316 
320  inline GetWirelessDeviceResult& WithThingArn(const char* value) { SetThingArn(value); return *this;}
321 
322 
326  inline const LoRaWANDevice& GetLoRaWAN() const{ return m_loRaWAN; }
327 
331  inline void SetLoRaWAN(const LoRaWANDevice& value) { m_loRaWAN = value; }
332 
336  inline void SetLoRaWAN(LoRaWANDevice&& value) { m_loRaWAN = std::move(value); }
337 
341  inline GetWirelessDeviceResult& WithLoRaWAN(const LoRaWANDevice& value) { SetLoRaWAN(value); return *this;}
342 
346  inline GetWirelessDeviceResult& WithLoRaWAN(LoRaWANDevice&& value) { SetLoRaWAN(std::move(value)); return *this;}
347 
348 
352  inline const SidewalkDevice& GetSidewalk() const{ return m_sidewalk; }
353 
357  inline void SetSidewalk(const SidewalkDevice& value) { m_sidewalk = value; }
358 
362  inline void SetSidewalk(SidewalkDevice&& value) { m_sidewalk = std::move(value); }
363 
367  inline GetWirelessDeviceResult& WithSidewalk(const SidewalkDevice& value) { SetSidewalk(value); return *this;}
368 
372  inline GetWirelessDeviceResult& WithSidewalk(SidewalkDevice&& value) { SetSidewalk(std::move(value)); return *this;}
373 
374  private:
375 
376  WirelessDeviceType m_type;
377 
378  Aws::String m_name;
379 
380  Aws::String m_description;
381 
382  Aws::String m_destinationName;
383 
384  Aws::String m_id;
385 
386  Aws::String m_arn;
387 
388  Aws::String m_thingName;
389 
390  Aws::String m_thingArn;
391 
392  LoRaWANDevice m_loRaWAN;
393 
394  SidewalkDevice m_sidewalk;
395  };
396 
397 } // namespace Model
398 } // namespace IoTWireless
399 } // namespace Aws
Aws::IoTWireless::Model::GetWirelessDeviceResult::GetName
const Aws::String & GetName() const
Definition: GetWirelessDeviceResult.h:67
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithThingArn
GetWirelessDeviceResult & WithThingArn(Aws::String &&value)
Definition: GetWirelessDeviceResult.h:315
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithThingName
GetWirelessDeviceResult & WithThingName(const char *value)
Definition: GetWirelessDeviceResult.h:284
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithId
GetWirelessDeviceResult & WithId(const Aws::String &value)
Definition: GetWirelessDeviceResult.h:195
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetThingName
void SetThingName(Aws::String &&value)
Definition: GetWirelessDeviceResult.h:260
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetLoRaWAN
void SetLoRaWAN(const LoRaWANDevice &value)
Definition: GetWirelessDeviceResult.h:331
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetArn
void SetArn(Aws::String &&value)
Definition: GetWirelessDeviceResult.h:221
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetDestinationName
void SetDestinationName(const Aws::String &value)
Definition: GetWirelessDeviceResult.h:144
SidewalkDevice.h
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithThingArn
GetWirelessDeviceResult & WithThingArn(const Aws::String &value)
Definition: GetWirelessDeviceResult.h:310
Aws::IoTWireless::Model::GetWirelessDeviceResult::GetSidewalk
const SidewalkDevice & GetSidewalk() const
Definition: GetWirelessDeviceResult.h:352
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetType
void SetType(WirelessDeviceType &&value)
Definition: GetWirelessDeviceResult.h:51
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetName
void SetName(Aws::String &&value)
Definition: GetWirelessDeviceResult.h:77
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetDestinationName
void SetDestinationName(Aws::String &&value)
Definition: GetWirelessDeviceResult.h:149
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithSidewalk
GetWirelessDeviceResult & WithSidewalk(const SidewalkDevice &value)
Definition: GetWirelessDeviceResult.h:367
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetName
void SetName(const char *value)
Definition: GetWirelessDeviceResult.h:82
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetSidewalk
void SetSidewalk(SidewalkDevice &&value)
Definition: GetWirelessDeviceResult.h:362
Aws::IoTWireless::Model::GetWirelessDeviceResult
Definition: GetWirelessDeviceResult.h:31
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetSidewalk
void SetSidewalk(const SidewalkDevice &value)
Definition: GetWirelessDeviceResult.h:357
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetId
void SetId(const char *value)
Definition: GetWirelessDeviceResult.h:190
Aws::IoTWireless::Model::SidewalkDevice
Definition: SidewalkDevice.h:34
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetLoRaWAN
void SetLoRaWAN(LoRaWANDevice &&value)
Definition: GetWirelessDeviceResult.h:336
Aws::IoTWireless::Model::WirelessDeviceType
WirelessDeviceType
Definition: WirelessDeviceType.h:17
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithLoRaWAN
GetWirelessDeviceResult & WithLoRaWAN(const LoRaWANDevice &value)
Definition: GetWirelessDeviceResult.h:341
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithId
GetWirelessDeviceResult & WithId(Aws::String &&value)
Definition: GetWirelessDeviceResult.h:200
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithName
GetWirelessDeviceResult & WithName(const char *value)
Definition: GetWirelessDeviceResult.h:97
Aws::IoTWireless::Model::GetWirelessDeviceResult::GetLoRaWAN
const LoRaWANDevice & GetLoRaWAN() const
Definition: GetWirelessDeviceResult.h:326
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithThingName
GetWirelessDeviceResult & WithThingName(const Aws::String &value)
Definition: GetWirelessDeviceResult.h:272
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithId
GetWirelessDeviceResult & WithId(const char *value)
Definition: GetWirelessDeviceResult.h:205
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetArn
void SetArn(const Aws::String &value)
Definition: GetWirelessDeviceResult.h:216
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithArn
GetWirelessDeviceResult & WithArn(const Aws::String &value)
Definition: GetWirelessDeviceResult.h:231
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetDescription
void SetDescription(const char *value)
Definition: GetWirelessDeviceResult.h:118
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithDestinationName
GetWirelessDeviceResult & WithDestinationName(const Aws::String &value)
Definition: GetWirelessDeviceResult.h:159
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithDescription
GetWirelessDeviceResult & WithDescription(const char *value)
Definition: GetWirelessDeviceResult.h:133
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetType
void SetType(const WirelessDeviceType &value)
Definition: GetWirelessDeviceResult.h:46
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetThingArn
void SetThingArn(const Aws::String &value)
Definition: GetWirelessDeviceResult.h:295
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithThingArn
GetWirelessDeviceResult & WithThingArn(const char *value)
Definition: GetWirelessDeviceResult.h:320
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetName
void SetName(const Aws::String &value)
Definition: GetWirelessDeviceResult.h:72
Aws::IoTWireless::Model::GetWirelessDeviceResult::GetId
const Aws::String & GetId() const
Definition: GetWirelessDeviceResult.h:175
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithArn
GetWirelessDeviceResult & WithArn(Aws::String &&value)
Definition: GetWirelessDeviceResult.h:236
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithDescription
GetWirelessDeviceResult & WithDescription(const Aws::String &value)
Definition: GetWirelessDeviceResult.h:123
Aws::IoTWireless::Model::GetWirelessDeviceResult::GetThingArn
const Aws::String & GetThingArn() const
Definition: GetWirelessDeviceResult.h:290
Aws::IoTWireless::Model::LoRaWANDevice
Definition: LoRaWANDevice.h:36
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithDescription
GetWirelessDeviceResult & WithDescription(Aws::String &&value)
Definition: GetWirelessDeviceResult.h:128
AWSString.h
Aws::IoTWireless::Model::GetWirelessDeviceResult::GetThingName
const Aws::String & GetThingName() const
Definition: GetWirelessDeviceResult.h:248
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithType
GetWirelessDeviceResult & WithType(WirelessDeviceType &&value)
Definition: GetWirelessDeviceResult.h:61
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetThingName
void SetThingName(const char *value)
Definition: GetWirelessDeviceResult.h:266
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithLoRaWAN
GetWirelessDeviceResult & WithLoRaWAN(LoRaWANDevice &&value)
Definition: GetWirelessDeviceResult.h:346
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetDestinationName
void SetDestinationName(const char *value)
Definition: GetWirelessDeviceResult.h:154
Aws::IoTWireless::Model::GetWirelessDeviceResult::GetWirelessDeviceResult
GetWirelessDeviceResult()
Aws::IoTWireless::Model::GetWirelessDeviceResult::GetType
const WirelessDeviceType & GetType() const
Definition: GetWirelessDeviceResult.h:41
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithDestinationName
GetWirelessDeviceResult & WithDestinationName(const char *value)
Definition: GetWirelessDeviceResult.h:169
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetThingArn
void SetThingArn(Aws::String &&value)
Definition: GetWirelessDeviceResult.h:300
Aws::IoTWireless::Model::GetWirelessDeviceResult::GetArn
const Aws::String & GetArn() const
Definition: GetWirelessDeviceResult.h:211
Aws::IoTWireless::Model::GetWirelessDeviceResult::GetWirelessDeviceResult
GetWirelessDeviceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTWireless::Model::GetWirelessDeviceResult::operator=
GetWirelessDeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::IoTWireless::Model::GetWirelessDeviceResult::GetDestinationName
const Aws::String & GetDestinationName() const
Definition: GetWirelessDeviceResult.h:139
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetThingArn
void SetThingArn(const char *value)
Definition: GetWirelessDeviceResult.h:305
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetArn
void SetArn(const char *value)
Definition: GetWirelessDeviceResult.h:226
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithName
GetWirelessDeviceResult & WithName(Aws::String &&value)
Definition: GetWirelessDeviceResult.h:92
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithName
GetWirelessDeviceResult & WithName(const Aws::String &value)
Definition: GetWirelessDeviceResult.h:87
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithArn
GetWirelessDeviceResult & WithArn(const char *value)
Definition: GetWirelessDeviceResult.h:241
WirelessDeviceType.h
Aws::IoTWireless::Model::GetWirelessDeviceResult::GetDescription
const Aws::String & GetDescription() const
Definition: GetWirelessDeviceResult.h:103
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetDescription
void SetDescription(const Aws::String &value)
Definition: GetWirelessDeviceResult.h:108
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithDestinationName
GetWirelessDeviceResult & WithDestinationName(Aws::String &&value)
Definition: GetWirelessDeviceResult.h:164
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithThingName
GetWirelessDeviceResult & WithThingName(Aws::String &&value)
Definition: GetWirelessDeviceResult.h:278
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetId
void SetId(Aws::String &&value)
Definition: GetWirelessDeviceResult.h:185
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithSidewalk
GetWirelessDeviceResult & WithSidewalk(SidewalkDevice &&value)
Definition: GetWirelessDeviceResult.h:372
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetId
void SetId(const Aws::String &value)
Definition: GetWirelessDeviceResult.h:180
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetDescription
void SetDescription(Aws::String &&value)
Definition: GetWirelessDeviceResult.h:113
Aws::IoTWireless::Model::GetWirelessDeviceResult::WithType
GetWirelessDeviceResult & WithType(const WirelessDeviceType &value)
Definition: GetWirelessDeviceResult.h:56
Aws::IoTWireless::Model::GetWirelessDeviceResult::SetThingName
void SetThingName(const Aws::String &value)
Definition: GetWirelessDeviceResult.h:254
LoRaWANDevice.h