AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetWirelessDeviceResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iotwireless/IoTWireless_EXPORTS.h>
10#include <aws/iotwireless/model/LoRaWANDevice.h>
11#include <aws/iotwireless/model/PositioningConfigStatus.h>
12#include <aws/iotwireless/model/SidewalkDevice.h>
13#include <aws/iotwireless/model/WirelessDeviceType.h>
14
15#include <utility>
16
17namespace Aws {
18template <typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils {
22namespace Json {
23class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace IoTWireless {
27namespace Model {
29 public:
30 AWS_IOTWIRELESS_API GetWirelessDeviceResult() = default;
33
35
38 inline WirelessDeviceType GetType() const { return m_type; }
39 inline void SetType(WirelessDeviceType value) {
40 m_typeHasBeenSet = true;
41 m_type = value;
42 }
44 SetType(value);
45 return *this;
46 }
48
50
53 inline const Aws::String& GetName() const { return m_name; }
54 template <typename NameT = Aws::String>
55 void SetName(NameT&& value) {
56 m_nameHasBeenSet = true;
57 m_name = std::forward<NameT>(value);
58 }
59 template <typename NameT = Aws::String>
61 SetName(std::forward<NameT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetDescription() const { return m_description; }
71 template <typename DescriptionT = Aws::String>
72 void SetDescription(DescriptionT&& value) {
73 m_descriptionHasBeenSet = true;
74 m_description = std::forward<DescriptionT>(value);
75 }
76 template <typename DescriptionT = Aws::String>
78 SetDescription(std::forward<DescriptionT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetDestinationName() const { return m_destinationName; }
88 template <typename DestinationNameT = Aws::String>
89 void SetDestinationName(DestinationNameT&& value) {
90 m_destinationNameHasBeenSet = true;
91 m_destinationName = std::forward<DestinationNameT>(value);
92 }
93 template <typename DestinationNameT = Aws::String>
94 GetWirelessDeviceResult& WithDestinationName(DestinationNameT&& value) {
95 SetDestinationName(std::forward<DestinationNameT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::String& GetId() const { return m_id; }
105 template <typename IdT = Aws::String>
106 void SetId(IdT&& value) {
107 m_idHasBeenSet = true;
108 m_id = std::forward<IdT>(value);
109 }
110 template <typename IdT = Aws::String>
112 SetId(std::forward<IdT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetArn() const { return m_arn; }
122 template <typename ArnT = Aws::String>
123 void SetArn(ArnT&& value) {
124 m_arnHasBeenSet = true;
125 m_arn = std::forward<ArnT>(value);
126 }
127 template <typename ArnT = Aws::String>
129 SetArn(std::forward<ArnT>(value));
130 return *this;
131 }
133
135
139 inline const Aws::String& GetThingName() const { return m_thingName; }
140 template <typename ThingNameT = Aws::String>
141 void SetThingName(ThingNameT&& value) {
142 m_thingNameHasBeenSet = true;
143 m_thingName = std::forward<ThingNameT>(value);
144 }
145 template <typename ThingNameT = Aws::String>
147 SetThingName(std::forward<ThingNameT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::String& GetThingArn() const { return m_thingArn; }
157 template <typename ThingArnT = Aws::String>
158 void SetThingArn(ThingArnT&& value) {
159 m_thingArnHasBeenSet = true;
160 m_thingArn = std::forward<ThingArnT>(value);
161 }
162 template <typename ThingArnT = Aws::String>
164 SetThingArn(std::forward<ThingArnT>(value));
165 return *this;
166 }
168
170
173 inline const LoRaWANDevice& GetLoRaWAN() const { return m_loRaWAN; }
174 template <typename LoRaWANT = LoRaWANDevice>
175 void SetLoRaWAN(LoRaWANT&& value) {
176 m_loRaWANHasBeenSet = true;
177 m_loRaWAN = std::forward<LoRaWANT>(value);
178 }
179 template <typename LoRaWANT = LoRaWANDevice>
181 SetLoRaWAN(std::forward<LoRaWANT>(value));
182 return *this;
183 }
185
187
190 inline const SidewalkDevice& GetSidewalk() const { return m_sidewalk; }
191 template <typename SidewalkT = SidewalkDevice>
192 void SetSidewalk(SidewalkT&& value) {
193 m_sidewalkHasBeenSet = true;
194 m_sidewalk = std::forward<SidewalkT>(value);
195 }
196 template <typename SidewalkT = SidewalkDevice>
198 SetSidewalk(std::forward<SidewalkT>(value));
199 return *this;
200 }
202
204
208 inline PositioningConfigStatus GetPositioning() const { return m_positioning; }
210 m_positioningHasBeenSet = true;
211 m_positioning = value;
212 }
214 SetPositioning(value);
215 return *this;
216 }
218
220
221 inline const Aws::String& GetRequestId() const { return m_requestId; }
222 template <typename RequestIdT = Aws::String>
223 void SetRequestId(RequestIdT&& value) {
224 m_requestIdHasBeenSet = true;
225 m_requestId = std::forward<RequestIdT>(value);
226 }
227 template <typename RequestIdT = Aws::String>
229 SetRequestId(std::forward<RequestIdT>(value));
230 return *this;
231 }
233 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
234
235 private:
237
238 Aws::String m_name;
239
240 Aws::String m_description;
241
242 Aws::String m_destinationName;
243
244 Aws::String m_id;
245
246 Aws::String m_arn;
247
248 Aws::String m_thingName;
249
250 Aws::String m_thingArn;
251
252 LoRaWANDevice m_loRaWAN;
253
254 SidewalkDevice m_sidewalk;
255
257
258 Aws::String m_requestId;
259 Aws::Http::HttpResponseCode m_HttpResponseCode;
260 bool m_typeHasBeenSet = false;
261 bool m_nameHasBeenSet = false;
262 bool m_descriptionHasBeenSet = false;
263 bool m_destinationNameHasBeenSet = false;
264 bool m_idHasBeenSet = false;
265 bool m_arnHasBeenSet = false;
266 bool m_thingNameHasBeenSet = false;
267 bool m_thingArnHasBeenSet = false;
268 bool m_loRaWANHasBeenSet = false;
269 bool m_sidewalkHasBeenSet = false;
270 bool m_positioningHasBeenSet = false;
271 bool m_requestIdHasBeenSet = false;
272};
273
274} // namespace Model
275} // namespace IoTWireless
276} // namespace Aws
AWS_IOTWIRELESS_API GetWirelessDeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWirelessDeviceResult & WithPositioning(PositioningConfigStatus value)
GetWirelessDeviceResult & WithRequestId(RequestIdT &&value)
AWS_IOTWIRELESS_API GetWirelessDeviceResult()=default
GetWirelessDeviceResult & WithThingArn(ThingArnT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetWirelessDeviceResult & WithArn(ArnT &&value)
GetWirelessDeviceResult & WithThingName(ThingNameT &&value)
GetWirelessDeviceResult & WithDescription(DescriptionT &&value)
GetWirelessDeviceResult & WithLoRaWAN(LoRaWANT &&value)
GetWirelessDeviceResult & WithDestinationName(DestinationNameT &&value)
GetWirelessDeviceResult & WithName(NameT &&value)
GetWirelessDeviceResult & WithType(WirelessDeviceType value)
GetWirelessDeviceResult & WithSidewalk(SidewalkT &&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