AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetWirelessDeviceResult.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/iotwireless/model/WirelessDeviceType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iotwireless/model/LoRaWANDevice.h>
11#include <aws/iotwireless/model/SidewalkDevice.h>
12#include <aws/iotwireless/model/PositioningConfigStatus.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace IoTWireless
28{
29namespace Model
30{
32 {
33 public:
34 AWS_IOTWIRELESS_API GetWirelessDeviceResult();
37
38
40
43 inline const WirelessDeviceType& GetType() const{ return m_type; }
44 inline void SetType(const WirelessDeviceType& value) { m_type = value; }
45 inline void SetType(WirelessDeviceType&& value) { m_type = std::move(value); }
46 inline GetWirelessDeviceResult& WithType(const WirelessDeviceType& value) { SetType(value); return *this;}
47 inline GetWirelessDeviceResult& WithType(WirelessDeviceType&& value) { SetType(std::move(value)); return *this;}
49
51
54 inline const Aws::String& GetName() const{ return m_name; }
55 inline void SetName(const Aws::String& value) { m_name = value; }
56 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
57 inline void SetName(const char* value) { m_name.assign(value); }
58 inline GetWirelessDeviceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
59 inline GetWirelessDeviceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
60 inline GetWirelessDeviceResult& WithName(const char* value) { SetName(value); return *this;}
62
64
67 inline const Aws::String& GetDescription() const{ return m_description; }
68 inline void SetDescription(const Aws::String& value) { m_description = value; }
69 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
70 inline void SetDescription(const char* value) { m_description.assign(value); }
71 inline GetWirelessDeviceResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
72 inline GetWirelessDeviceResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
73 inline GetWirelessDeviceResult& WithDescription(const char* value) { SetDescription(value); return *this;}
75
77
80 inline const Aws::String& GetDestinationName() const{ return m_destinationName; }
81 inline void SetDestinationName(const Aws::String& value) { m_destinationName = value; }
82 inline void SetDestinationName(Aws::String&& value) { m_destinationName = std::move(value); }
83 inline void SetDestinationName(const char* value) { m_destinationName.assign(value); }
84 inline GetWirelessDeviceResult& WithDestinationName(const Aws::String& value) { SetDestinationName(value); return *this;}
85 inline GetWirelessDeviceResult& WithDestinationName(Aws::String&& value) { SetDestinationName(std::move(value)); return *this;}
86 inline GetWirelessDeviceResult& WithDestinationName(const char* value) { SetDestinationName(value); return *this;}
88
90
93 inline const Aws::String& GetId() const{ return m_id; }
94 inline void SetId(const Aws::String& value) { m_id = value; }
95 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
96 inline void SetId(const char* value) { m_id.assign(value); }
97 inline GetWirelessDeviceResult& WithId(const Aws::String& value) { SetId(value); return *this;}
98 inline GetWirelessDeviceResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
99 inline GetWirelessDeviceResult& WithId(const char* value) { SetId(value); return *this;}
101
103
106 inline const Aws::String& GetArn() const{ return m_arn; }
107 inline void SetArn(const Aws::String& value) { m_arn = value; }
108 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
109 inline void SetArn(const char* value) { m_arn.assign(value); }
110 inline GetWirelessDeviceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
111 inline GetWirelessDeviceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
112 inline GetWirelessDeviceResult& WithArn(const char* value) { SetArn(value); return *this;}
114
116
120 inline const Aws::String& GetThingName() const{ return m_thingName; }
121 inline void SetThingName(const Aws::String& value) { m_thingName = value; }
122 inline void SetThingName(Aws::String&& value) { m_thingName = std::move(value); }
123 inline void SetThingName(const char* value) { m_thingName.assign(value); }
124 inline GetWirelessDeviceResult& WithThingName(const Aws::String& value) { SetThingName(value); return *this;}
125 inline GetWirelessDeviceResult& WithThingName(Aws::String&& value) { SetThingName(std::move(value)); return *this;}
126 inline GetWirelessDeviceResult& WithThingName(const char* value) { SetThingName(value); return *this;}
128
130
133 inline const Aws::String& GetThingArn() const{ return m_thingArn; }
134 inline void SetThingArn(const Aws::String& value) { m_thingArn = value; }
135 inline void SetThingArn(Aws::String&& value) { m_thingArn = std::move(value); }
136 inline void SetThingArn(const char* value) { m_thingArn.assign(value); }
137 inline GetWirelessDeviceResult& WithThingArn(const Aws::String& value) { SetThingArn(value); return *this;}
138 inline GetWirelessDeviceResult& WithThingArn(Aws::String&& value) { SetThingArn(std::move(value)); return *this;}
139 inline GetWirelessDeviceResult& WithThingArn(const char* value) { SetThingArn(value); return *this;}
141
143
146 inline const LoRaWANDevice& GetLoRaWAN() const{ return m_loRaWAN; }
147 inline void SetLoRaWAN(const LoRaWANDevice& value) { m_loRaWAN = value; }
148 inline void SetLoRaWAN(LoRaWANDevice&& value) { m_loRaWAN = std::move(value); }
149 inline GetWirelessDeviceResult& WithLoRaWAN(const LoRaWANDevice& value) { SetLoRaWAN(value); return *this;}
150 inline GetWirelessDeviceResult& WithLoRaWAN(LoRaWANDevice&& value) { SetLoRaWAN(std::move(value)); return *this;}
152
154
157 inline const SidewalkDevice& GetSidewalk() const{ return m_sidewalk; }
158 inline void SetSidewalk(const SidewalkDevice& value) { m_sidewalk = value; }
159 inline void SetSidewalk(SidewalkDevice&& value) { m_sidewalk = std::move(value); }
160 inline GetWirelessDeviceResult& WithSidewalk(const SidewalkDevice& value) { SetSidewalk(value); return *this;}
161 inline GetWirelessDeviceResult& WithSidewalk(SidewalkDevice&& value) { SetSidewalk(std::move(value)); return *this;}
163
165
169 inline const PositioningConfigStatus& GetPositioning() const{ return m_positioning; }
170 inline void SetPositioning(const PositioningConfigStatus& value) { m_positioning = value; }
171 inline void SetPositioning(PositioningConfigStatus&& value) { m_positioning = std::move(value); }
173 inline GetWirelessDeviceResult& WithPositioning(PositioningConfigStatus&& value) { SetPositioning(std::move(value)); return *this;}
175
177
178 inline const Aws::String& GetRequestId() const{ return m_requestId; }
179 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
180 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
181 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
182 inline GetWirelessDeviceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
183 inline GetWirelessDeviceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
184 inline GetWirelessDeviceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
186 private:
187
188 WirelessDeviceType m_type;
189
190 Aws::String m_name;
191
192 Aws::String m_description;
193
194 Aws::String m_destinationName;
195
196 Aws::String m_id;
197
198 Aws::String m_arn;
199
200 Aws::String m_thingName;
201
202 Aws::String m_thingArn;
203
204 LoRaWANDevice m_loRaWAN;
205
206 SidewalkDevice m_sidewalk;
207
208 PositioningConfigStatus m_positioning;
209
210 Aws::String m_requestId;
211 };
212
213} // namespace Model
214} // namespace IoTWireless
215} // namespace Aws
GetWirelessDeviceResult & WithArn(Aws::String &&value)
GetWirelessDeviceResult & WithRequestId(Aws::String &&value)
GetWirelessDeviceResult & WithSidewalk(const SidewalkDevice &value)
GetWirelessDeviceResult & WithThingName(const Aws::String &value)
GetWirelessDeviceResult & WithId(Aws::String &&value)
AWS_IOTWIRELESS_API GetWirelessDeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWirelessDeviceResult & WithDescription(Aws::String &&value)
GetWirelessDeviceResult & WithDescription(const Aws::String &value)
GetWirelessDeviceResult & WithDestinationName(const char *value)
GetWirelessDeviceResult & WithName(const char *value)
GetWirelessDeviceResult & WithRequestId(const char *value)
GetWirelessDeviceResult & WithRequestId(const Aws::String &value)
GetWirelessDeviceResult & WithId(const char *value)
GetWirelessDeviceResult & WithName(Aws::String &&value)
const PositioningConfigStatus & GetPositioning() const
GetWirelessDeviceResult & WithPositioning(PositioningConfigStatus &&value)
GetWirelessDeviceResult & WithLoRaWAN(LoRaWANDevice &&value)
GetWirelessDeviceResult & WithPositioning(const PositioningConfigStatus &value)
GetWirelessDeviceResult & WithThingArn(const char *value)
GetWirelessDeviceResult & WithLoRaWAN(const LoRaWANDevice &value)
GetWirelessDeviceResult & WithType(const WirelessDeviceType &value)
GetWirelessDeviceResult & WithDescription(const char *value)
GetWirelessDeviceResult & WithThingArn(const Aws::String &value)
GetWirelessDeviceResult & WithThingArn(Aws::String &&value)
GetWirelessDeviceResult & WithThingName(Aws::String &&value)
void SetPositioning(PositioningConfigStatus &&value)
GetWirelessDeviceResult & WithName(const Aws::String &value)
GetWirelessDeviceResult & WithSidewalk(SidewalkDevice &&value)
void SetPositioning(const PositioningConfigStatus &value)
GetWirelessDeviceResult & WithType(WirelessDeviceType &&value)
GetWirelessDeviceResult & WithArn(const char *value)
GetWirelessDeviceResult & WithArn(const Aws::String &value)
GetWirelessDeviceResult & WithDestinationName(Aws::String &&value)
GetWirelessDeviceResult & WithId(const Aws::String &value)
GetWirelessDeviceResult & WithDestinationName(const Aws::String &value)
GetWirelessDeviceResult & WithThingName(const char *value)
AWS_IOTWIRELESS_API GetWirelessDeviceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue