AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetWirelessGatewayResult.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/LoRaWANGateway.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace IoTWireless {
24namespace Model {
26 public:
27 AWS_IOTWIRELESS_API GetWirelessGatewayResult() = default;
30
32
35 inline const Aws::String& GetName() const { return m_name; }
36 template <typename NameT = Aws::String>
37 void SetName(NameT&& value) {
38 m_nameHasBeenSet = true;
39 m_name = std::forward<NameT>(value);
40 }
41 template <typename NameT = Aws::String>
43 SetName(std::forward<NameT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetId() const { return m_id; }
53 template <typename IdT = Aws::String>
54 void SetId(IdT&& value) {
55 m_idHasBeenSet = true;
56 m_id = std::forward<IdT>(value);
57 }
58 template <typename IdT = Aws::String>
60 SetId(std::forward<IdT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetDescription() const { return m_description; }
70 template <typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) {
72 m_descriptionHasBeenSet = true;
73 m_description = std::forward<DescriptionT>(value);
74 }
75 template <typename DescriptionT = Aws::String>
77 SetDescription(std::forward<DescriptionT>(value));
78 return *this;
79 }
81
83
86 inline const LoRaWANGateway& GetLoRaWAN() const { return m_loRaWAN; }
87 template <typename LoRaWANT = LoRaWANGateway>
88 void SetLoRaWAN(LoRaWANT&& value) {
89 m_loRaWANHasBeenSet = true;
90 m_loRaWAN = std::forward<LoRaWANT>(value);
91 }
92 template <typename LoRaWANT = LoRaWANGateway>
94 SetLoRaWAN(std::forward<LoRaWANT>(value));
95 return *this;
96 }
98
100
103 inline const Aws::String& GetArn() const { return m_arn; }
104 template <typename ArnT = Aws::String>
105 void SetArn(ArnT&& value) {
106 m_arnHasBeenSet = true;
107 m_arn = std::forward<ArnT>(value);
108 }
109 template <typename ArnT = Aws::String>
111 SetArn(std::forward<ArnT>(value));
112 return *this;
113 }
115
117
121 inline const Aws::String& GetThingName() const { return m_thingName; }
122 template <typename ThingNameT = Aws::String>
123 void SetThingName(ThingNameT&& value) {
124 m_thingNameHasBeenSet = true;
125 m_thingName = std::forward<ThingNameT>(value);
126 }
127 template <typename ThingNameT = Aws::String>
129 SetThingName(std::forward<ThingNameT>(value));
130 return *this;
131 }
133
135
138 inline const Aws::String& GetThingArn() const { return m_thingArn; }
139 template <typename ThingArnT = Aws::String>
140 void SetThingArn(ThingArnT&& value) {
141 m_thingArnHasBeenSet = true;
142 m_thingArn = std::forward<ThingArnT>(value);
143 }
144 template <typename ThingArnT = Aws::String>
146 SetThingArn(std::forward<ThingArnT>(value));
147 return *this;
148 }
150
152
153 inline const Aws::String& GetRequestId() const { return m_requestId; }
154 template <typename RequestIdT = Aws::String>
155 void SetRequestId(RequestIdT&& value) {
156 m_requestIdHasBeenSet = true;
157 m_requestId = std::forward<RequestIdT>(value);
158 }
159 template <typename RequestIdT = Aws::String>
161 SetRequestId(std::forward<RequestIdT>(value));
162 return *this;
163 }
165 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
166
167 private:
168 Aws::String m_name;
169
170 Aws::String m_id;
171
172 Aws::String m_description;
173
174 LoRaWANGateway m_loRaWAN;
175
176 Aws::String m_arn;
177
178 Aws::String m_thingName;
179
180 Aws::String m_thingArn;
181
182 Aws::String m_requestId;
183 Aws::Http::HttpResponseCode m_HttpResponseCode;
184 bool m_nameHasBeenSet = false;
185 bool m_idHasBeenSet = false;
186 bool m_descriptionHasBeenSet = false;
187 bool m_loRaWANHasBeenSet = false;
188 bool m_arnHasBeenSet = false;
189 bool m_thingNameHasBeenSet = false;
190 bool m_thingArnHasBeenSet = false;
191 bool m_requestIdHasBeenSet = false;
192};
193
194} // namespace Model
195} // namespace IoTWireless
196} // namespace Aws
GetWirelessGatewayResult & WithThingName(ThingNameT &&value)
GetWirelessGatewayResult & WithArn(ArnT &&value)
GetWirelessGatewayResult & WithDescription(DescriptionT &&value)
AWS_IOTWIRELESS_API GetWirelessGatewayResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWirelessGatewayResult & WithLoRaWAN(LoRaWANT &&value)
GetWirelessGatewayResult & WithRequestId(RequestIdT &&value)
GetWirelessGatewayResult & WithThingArn(ThingArnT &&value)
AWS_IOTWIRELESS_API GetWirelessGatewayResult()=default
GetWirelessGatewayResult & WithName(NameT &&value)
AWS_IOTWIRELESS_API GetWirelessGatewayResult & operator=(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