AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeDeviceResult.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/panorama/model/DeviceBrand.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/panorama/model/NetworkStatus.h>
13#include <aws/panorama/model/DeviceAggregatedStatus.h>
14#include <aws/panorama/model/DeviceConnectionStatus.h>
15#include <aws/panorama/model/LatestDeviceJob.h>
16#include <aws/panorama/model/NetworkPayload.h>
17#include <aws/panorama/model/DeviceStatus.h>
18#include <aws/core/utils/memory/stl/AWSMap.h>
19#include <aws/panorama/model/DeviceType.h>
20#include <aws/panorama/model/AlternateSoftwareMetadata.h>
21#include <utility>
22
23namespace Aws
24{
25template<typename RESULT_TYPE>
26class AmazonWebServiceResult;
27
28namespace Utils
29{
30namespace Json
31{
32 class JsonValue;
33} // namespace Json
34} // namespace Utils
35namespace Panorama
36{
37namespace Model
38{
40 {
41 public:
42 AWS_PANORAMA_API DescribeDeviceResult() = default;
45
46
48
51 inline const Aws::Vector<AlternateSoftwareMetadata>& GetAlternateSoftwares() const { return m_alternateSoftwares; }
52 template<typename AlternateSoftwaresT = Aws::Vector<AlternateSoftwareMetadata>>
53 void SetAlternateSoftwares(AlternateSoftwaresT&& value) { m_alternateSoftwaresHasBeenSet = true; m_alternateSoftwares = std::forward<AlternateSoftwaresT>(value); }
54 template<typename AlternateSoftwaresT = Aws::Vector<AlternateSoftwareMetadata>>
55 DescribeDeviceResult& WithAlternateSoftwares(AlternateSoftwaresT&& value) { SetAlternateSoftwares(std::forward<AlternateSoftwaresT>(value)); return *this;}
56 template<typename AlternateSoftwaresT = AlternateSoftwareMetadata>
57 DescribeDeviceResult& AddAlternateSoftwares(AlternateSoftwaresT&& value) { m_alternateSoftwaresHasBeenSet = true; m_alternateSoftwares.emplace_back(std::forward<AlternateSoftwaresT>(value)); return *this; }
59
61
64 inline const Aws::String& GetArn() const { return m_arn; }
65 template<typename ArnT = Aws::String>
66 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
67 template<typename ArnT = Aws::String>
68 DescribeDeviceResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
70
72
75 inline DeviceBrand GetBrand() const { return m_brand; }
76 inline void SetBrand(DeviceBrand value) { m_brandHasBeenSet = true; m_brand = value; }
77 inline DescribeDeviceResult& WithBrand(DeviceBrand value) { SetBrand(value); return *this;}
79
81
84 inline const Aws::Utils::DateTime& GetCreatedTime() const { return m_createdTime; }
85 template<typename CreatedTimeT = Aws::Utils::DateTime>
86 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
87 template<typename CreatedTimeT = Aws::Utils::DateTime>
88 DescribeDeviceResult& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
90
92
95 inline const NetworkStatus& GetCurrentNetworkingStatus() const { return m_currentNetworkingStatus; }
96 template<typename CurrentNetworkingStatusT = NetworkStatus>
97 void SetCurrentNetworkingStatus(CurrentNetworkingStatusT&& value) { m_currentNetworkingStatusHasBeenSet = true; m_currentNetworkingStatus = std::forward<CurrentNetworkingStatusT>(value); }
98 template<typename CurrentNetworkingStatusT = NetworkStatus>
99 DescribeDeviceResult& WithCurrentNetworkingStatus(CurrentNetworkingStatusT&& value) { SetCurrentNetworkingStatus(std::forward<CurrentNetworkingStatusT>(value)); return *this;}
101
103
106 inline const Aws::String& GetCurrentSoftware() const { return m_currentSoftware; }
107 template<typename CurrentSoftwareT = Aws::String>
108 void SetCurrentSoftware(CurrentSoftwareT&& value) { m_currentSoftwareHasBeenSet = true; m_currentSoftware = std::forward<CurrentSoftwareT>(value); }
109 template<typename CurrentSoftwareT = Aws::String>
110 DescribeDeviceResult& WithCurrentSoftware(CurrentSoftwareT&& value) { SetCurrentSoftware(std::forward<CurrentSoftwareT>(value)); return *this;}
112
114
117 inline const Aws::String& GetDescription() const { return m_description; }
118 template<typename DescriptionT = Aws::String>
119 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
120 template<typename DescriptionT = Aws::String>
121 DescribeDeviceResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
123
125
129 inline DeviceAggregatedStatus GetDeviceAggregatedStatus() const { return m_deviceAggregatedStatus; }
130 inline void SetDeviceAggregatedStatus(DeviceAggregatedStatus value) { m_deviceAggregatedStatusHasBeenSet = true; m_deviceAggregatedStatus = value; }
133
135
138 inline DeviceConnectionStatus GetDeviceConnectionStatus() const { return m_deviceConnectionStatus; }
139 inline void SetDeviceConnectionStatus(DeviceConnectionStatus value) { m_deviceConnectionStatusHasBeenSet = true; m_deviceConnectionStatus = value; }
142
144
147 inline const Aws::String& GetDeviceId() const { return m_deviceId; }
148 template<typename DeviceIdT = Aws::String>
149 void SetDeviceId(DeviceIdT&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::forward<DeviceIdT>(value); }
150 template<typename DeviceIdT = Aws::String>
151 DescribeDeviceResult& WithDeviceId(DeviceIdT&& value) { SetDeviceId(std::forward<DeviceIdT>(value)); return *this;}
153
155
158 inline const Aws::String& GetLatestAlternateSoftware() const { return m_latestAlternateSoftware; }
159 template<typename LatestAlternateSoftwareT = Aws::String>
160 void SetLatestAlternateSoftware(LatestAlternateSoftwareT&& value) { m_latestAlternateSoftwareHasBeenSet = true; m_latestAlternateSoftware = std::forward<LatestAlternateSoftwareT>(value); }
161 template<typename LatestAlternateSoftwareT = Aws::String>
162 DescribeDeviceResult& WithLatestAlternateSoftware(LatestAlternateSoftwareT&& value) { SetLatestAlternateSoftware(std::forward<LatestAlternateSoftwareT>(value)); return *this;}
164
166
170 inline const LatestDeviceJob& GetLatestDeviceJob() const { return m_latestDeviceJob; }
171 template<typename LatestDeviceJobT = LatestDeviceJob>
172 void SetLatestDeviceJob(LatestDeviceJobT&& value) { m_latestDeviceJobHasBeenSet = true; m_latestDeviceJob = std::forward<LatestDeviceJobT>(value); }
173 template<typename LatestDeviceJobT = LatestDeviceJob>
174 DescribeDeviceResult& WithLatestDeviceJob(LatestDeviceJobT&& value) { SetLatestDeviceJob(std::forward<LatestDeviceJobT>(value)); return *this;}
176
178
181 inline const Aws::String& GetLatestSoftware() const { return m_latestSoftware; }
182 template<typename LatestSoftwareT = Aws::String>
183 void SetLatestSoftware(LatestSoftwareT&& value) { m_latestSoftwareHasBeenSet = true; m_latestSoftware = std::forward<LatestSoftwareT>(value); }
184 template<typename LatestSoftwareT = Aws::String>
185 DescribeDeviceResult& WithLatestSoftware(LatestSoftwareT&& value) { SetLatestSoftware(std::forward<LatestSoftwareT>(value)); return *this;}
187
189
192 inline const Aws::Utils::DateTime& GetLeaseExpirationTime() const { return m_leaseExpirationTime; }
193 template<typename LeaseExpirationTimeT = Aws::Utils::DateTime>
194 void SetLeaseExpirationTime(LeaseExpirationTimeT&& value) { m_leaseExpirationTimeHasBeenSet = true; m_leaseExpirationTime = std::forward<LeaseExpirationTimeT>(value); }
195 template<typename LeaseExpirationTimeT = Aws::Utils::DateTime>
196 DescribeDeviceResult& WithLeaseExpirationTime(LeaseExpirationTimeT&& value) { SetLeaseExpirationTime(std::forward<LeaseExpirationTimeT>(value)); return *this;}
198
200
203 inline const Aws::String& GetName() const { return m_name; }
204 template<typename NameT = Aws::String>
205 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
206 template<typename NameT = Aws::String>
207 DescribeDeviceResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
209
211
214 inline const NetworkPayload& GetNetworkingConfiguration() const { return m_networkingConfiguration; }
215 template<typename NetworkingConfigurationT = NetworkPayload>
216 void SetNetworkingConfiguration(NetworkingConfigurationT&& value) { m_networkingConfigurationHasBeenSet = true; m_networkingConfiguration = std::forward<NetworkingConfigurationT>(value); }
217 template<typename NetworkingConfigurationT = NetworkPayload>
218 DescribeDeviceResult& WithNetworkingConfiguration(NetworkingConfigurationT&& value) { SetNetworkingConfiguration(std::forward<NetworkingConfigurationT>(value)); return *this;}
220
222
225 inline DeviceStatus GetProvisioningStatus() const { return m_provisioningStatus; }
226 inline void SetProvisioningStatus(DeviceStatus value) { m_provisioningStatusHasBeenSet = true; m_provisioningStatus = value; }
229
231
234 inline const Aws::String& GetSerialNumber() const { return m_serialNumber; }
235 template<typename SerialNumberT = Aws::String>
236 void SetSerialNumber(SerialNumberT&& value) { m_serialNumberHasBeenSet = true; m_serialNumber = std::forward<SerialNumberT>(value); }
237 template<typename SerialNumberT = Aws::String>
238 DescribeDeviceResult& WithSerialNumber(SerialNumberT&& value) { SetSerialNumber(std::forward<SerialNumberT>(value)); return *this;}
240
242
245 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
246 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
247 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
248 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
249 DescribeDeviceResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
250 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
251 DescribeDeviceResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
252 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
253 }
255
257
260 inline DeviceType GetType() const { return m_type; }
261 inline void SetType(DeviceType value) { m_typeHasBeenSet = true; m_type = value; }
262 inline DescribeDeviceResult& WithType(DeviceType value) { SetType(value); return *this;}
264
266
267 inline const Aws::String& GetRequestId() const { return m_requestId; }
268 template<typename RequestIdT = Aws::String>
269 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
270 template<typename RequestIdT = Aws::String>
271 DescribeDeviceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
273 private:
274
275 Aws::Vector<AlternateSoftwareMetadata> m_alternateSoftwares;
276 bool m_alternateSoftwaresHasBeenSet = false;
277
278 Aws::String m_arn;
279 bool m_arnHasBeenSet = false;
280
282 bool m_brandHasBeenSet = false;
283
284 Aws::Utils::DateTime m_createdTime{};
285 bool m_createdTimeHasBeenSet = false;
286
287 NetworkStatus m_currentNetworkingStatus;
288 bool m_currentNetworkingStatusHasBeenSet = false;
289
290 Aws::String m_currentSoftware;
291 bool m_currentSoftwareHasBeenSet = false;
292
293 Aws::String m_description;
294 bool m_descriptionHasBeenSet = false;
295
297 bool m_deviceAggregatedStatusHasBeenSet = false;
298
300 bool m_deviceConnectionStatusHasBeenSet = false;
301
302 Aws::String m_deviceId;
303 bool m_deviceIdHasBeenSet = false;
304
305 Aws::String m_latestAlternateSoftware;
306 bool m_latestAlternateSoftwareHasBeenSet = false;
307
308 LatestDeviceJob m_latestDeviceJob;
309 bool m_latestDeviceJobHasBeenSet = false;
310
311 Aws::String m_latestSoftware;
312 bool m_latestSoftwareHasBeenSet = false;
313
314 Aws::Utils::DateTime m_leaseExpirationTime{};
315 bool m_leaseExpirationTimeHasBeenSet = false;
316
317 Aws::String m_name;
318 bool m_nameHasBeenSet = false;
319
320 NetworkPayload m_networkingConfiguration;
321 bool m_networkingConfigurationHasBeenSet = false;
322
323 DeviceStatus m_provisioningStatus{DeviceStatus::NOT_SET};
324 bool m_provisioningStatusHasBeenSet = false;
325
326 Aws::String m_serialNumber;
327 bool m_serialNumberHasBeenSet = false;
328
330 bool m_tagsHasBeenSet = false;
331
333 bool m_typeHasBeenSet = false;
334
335 Aws::String m_requestId;
336 bool m_requestIdHasBeenSet = false;
337 };
338
339} // namespace Model
340} // namespace Panorama
341} // namespace Aws
DescribeDeviceResult & WithName(NameT &&value)
const Aws::Vector< AlternateSoftwareMetadata > & GetAlternateSoftwares() const
DescribeDeviceResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribeDeviceResult & WithNetworkingConfiguration(NetworkingConfigurationT &&value)
DescribeDeviceResult & WithDeviceId(DeviceIdT &&value)
DescribeDeviceResult & WithDeviceConnectionStatus(DeviceConnectionStatus value)
DescribeDeviceResult & WithBrand(DeviceBrand value)
const Aws::Utils::DateTime & GetLeaseExpirationTime() const
AWS_PANORAMA_API DescribeDeviceResult()=default
DescribeDeviceResult & WithTags(TagsT &&value)
DescribeDeviceResult & WithArn(ArnT &&value)
DescribeDeviceResult & WithDescription(DescriptionT &&value)
void SetDeviceAggregatedStatus(DeviceAggregatedStatus value)
DescribeDeviceResult & WithLatestAlternateSoftware(LatestAlternateSoftwareT &&value)
DescribeDeviceResult & WithLatestSoftware(LatestSoftwareT &&value)
DescribeDeviceResult & WithCurrentSoftware(CurrentSoftwareT &&value)
AWS_PANORAMA_API DescribeDeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDeviceResult & WithProvisioningStatus(DeviceStatus value)
void SetLeaseExpirationTime(LeaseExpirationTimeT &&value)
AWS_PANORAMA_API DescribeDeviceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDeviceResult & WithLatestDeviceJob(LatestDeviceJobT &&value)
const NetworkStatus & GetCurrentNetworkingStatus() const
void SetDeviceConnectionStatus(DeviceConnectionStatus value)
DescribeDeviceResult & WithCreatedTime(CreatedTimeT &&value)
void SetAlternateSoftwares(AlternateSoftwaresT &&value)
void SetNetworkingConfiguration(NetworkingConfigurationT &&value)
const NetworkPayload & GetNetworkingConfiguration() const
DescribeDeviceResult & WithSerialNumber(SerialNumberT &&value)
DescribeDeviceResult & AddAlternateSoftwares(AlternateSoftwaresT &&value)
DescribeDeviceResult & WithType(DeviceType value)
DescribeDeviceResult & WithRequestId(RequestIdT &&value)
DeviceAggregatedStatus GetDeviceAggregatedStatus() const
const Aws::Utils::DateTime & GetCreatedTime() const
void SetLatestAlternateSoftware(LatestAlternateSoftwareT &&value)
DeviceConnectionStatus GetDeviceConnectionStatus() const
void SetCurrentSoftware(CurrentSoftwareT &&value)
DescribeDeviceResult & WithAlternateSoftwares(AlternateSoftwaresT &&value)
void SetLatestDeviceJob(LatestDeviceJobT &&value)
DescribeDeviceResult & WithLeaseExpirationTime(LeaseExpirationTimeT &&value)
DescribeDeviceResult & WithCurrentNetworkingStatus(CurrentNetworkingStatusT &&value)
void SetLatestSoftware(LatestSoftwareT &&value)
const LatestDeviceJob & GetLatestDeviceJob() const
DescribeDeviceResult & WithDeviceAggregatedStatus(DeviceAggregatedStatus value)
void SetCurrentNetworkingStatus(CurrentNetworkingStatusT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetLatestAlternateSoftware() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue