AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
37
38
40
43 inline WirelessDeviceType GetType() const { return m_type; }
44 inline void SetType(WirelessDeviceType value) { m_typeHasBeenSet = true; m_type = value; }
45 inline GetWirelessDeviceResult& WithType(WirelessDeviceType value) { SetType(value); return *this;}
47
49
52 inline const Aws::String& GetName() const { return m_name; }
53 template<typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
55 template<typename NameT = Aws::String>
56 GetWirelessDeviceResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
58
60
63 inline const Aws::String& GetDescription() const { return m_description; }
64 template<typename DescriptionT = Aws::String>
65 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
66 template<typename DescriptionT = Aws::String>
67 GetWirelessDeviceResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
69
71
74 inline const Aws::String& GetDestinationName() const { return m_destinationName; }
75 template<typename DestinationNameT = Aws::String>
76 void SetDestinationName(DestinationNameT&& value) { m_destinationNameHasBeenSet = true; m_destinationName = std::forward<DestinationNameT>(value); }
77 template<typename DestinationNameT = Aws::String>
78 GetWirelessDeviceResult& WithDestinationName(DestinationNameT&& value) { SetDestinationName(std::forward<DestinationNameT>(value)); return *this;}
80
82
85 inline const Aws::String& GetId() const { return m_id; }
86 template<typename IdT = Aws::String>
87 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
88 template<typename IdT = Aws::String>
89 GetWirelessDeviceResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
91
93
96 inline const Aws::String& GetArn() const { return m_arn; }
97 template<typename ArnT = Aws::String>
98 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
99 template<typename ArnT = Aws::String>
100 GetWirelessDeviceResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
102
104
108 inline const Aws::String& GetThingName() const { return m_thingName; }
109 template<typename ThingNameT = Aws::String>
110 void SetThingName(ThingNameT&& value) { m_thingNameHasBeenSet = true; m_thingName = std::forward<ThingNameT>(value); }
111 template<typename ThingNameT = Aws::String>
112 GetWirelessDeviceResult& WithThingName(ThingNameT&& value) { SetThingName(std::forward<ThingNameT>(value)); return *this;}
114
116
119 inline const Aws::String& GetThingArn() const { return m_thingArn; }
120 template<typename ThingArnT = Aws::String>
121 void SetThingArn(ThingArnT&& value) { m_thingArnHasBeenSet = true; m_thingArn = std::forward<ThingArnT>(value); }
122 template<typename ThingArnT = Aws::String>
123 GetWirelessDeviceResult& WithThingArn(ThingArnT&& value) { SetThingArn(std::forward<ThingArnT>(value)); return *this;}
125
127
130 inline const LoRaWANDevice& GetLoRaWAN() const { return m_loRaWAN; }
131 template<typename LoRaWANT = LoRaWANDevice>
132 void SetLoRaWAN(LoRaWANT&& value) { m_loRaWANHasBeenSet = true; m_loRaWAN = std::forward<LoRaWANT>(value); }
133 template<typename LoRaWANT = LoRaWANDevice>
134 GetWirelessDeviceResult& WithLoRaWAN(LoRaWANT&& value) { SetLoRaWAN(std::forward<LoRaWANT>(value)); return *this;}
136
138
141 inline const SidewalkDevice& GetSidewalk() const { return m_sidewalk; }
142 template<typename SidewalkT = SidewalkDevice>
143 void SetSidewalk(SidewalkT&& value) { m_sidewalkHasBeenSet = true; m_sidewalk = std::forward<SidewalkT>(value); }
144 template<typename SidewalkT = SidewalkDevice>
145 GetWirelessDeviceResult& WithSidewalk(SidewalkT&& value) { SetSidewalk(std::forward<SidewalkT>(value)); return *this;}
147
149
153 inline PositioningConfigStatus GetPositioning() const { return m_positioning; }
154 inline void SetPositioning(PositioningConfigStatus value) { m_positioningHasBeenSet = true; m_positioning = value; }
157
159
160 inline const Aws::String& GetRequestId() const { return m_requestId; }
161 template<typename RequestIdT = Aws::String>
162 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
163 template<typename RequestIdT = Aws::String>
164 GetWirelessDeviceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
166 private:
167
169 bool m_typeHasBeenSet = false;
170
171 Aws::String m_name;
172 bool m_nameHasBeenSet = false;
173
174 Aws::String m_description;
175 bool m_descriptionHasBeenSet = false;
176
177 Aws::String m_destinationName;
178 bool m_destinationNameHasBeenSet = false;
179
180 Aws::String m_id;
181 bool m_idHasBeenSet = false;
182
183 Aws::String m_arn;
184 bool m_arnHasBeenSet = false;
185
186 Aws::String m_thingName;
187 bool m_thingNameHasBeenSet = false;
188
189 Aws::String m_thingArn;
190 bool m_thingArnHasBeenSet = false;
191
192 LoRaWANDevice m_loRaWAN;
193 bool m_loRaWANHasBeenSet = false;
194
195 SidewalkDevice m_sidewalk;
196 bool m_sidewalkHasBeenSet = false;
197
199 bool m_positioningHasBeenSet = false;
200
201 Aws::String m_requestId;
202 bool m_requestIdHasBeenSet = false;
203 };
204
205} // namespace Model
206} // namespace IoTWireless
207} // 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)
GetWirelessDeviceResult & WithId(IdT &&value)
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