AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
45
46
48
51 inline const Aws::Vector<AlternateSoftwareMetadata>& GetAlternateSoftwares() const{ return m_alternateSoftwares; }
52 inline void SetAlternateSoftwares(const Aws::Vector<AlternateSoftwareMetadata>& value) { m_alternateSoftwares = value; }
53 inline void SetAlternateSoftwares(Aws::Vector<AlternateSoftwareMetadata>&& value) { m_alternateSoftwares = std::move(value); }
56 inline DescribeDeviceResult& AddAlternateSoftwares(const AlternateSoftwareMetadata& value) { m_alternateSoftwares.push_back(value); return *this; }
57 inline DescribeDeviceResult& AddAlternateSoftwares(AlternateSoftwareMetadata&& value) { m_alternateSoftwares.push_back(std::move(value)); return *this; }
59
61
64 inline const Aws::String& GetArn() const{ return m_arn; }
65 inline void SetArn(const Aws::String& value) { m_arn = value; }
66 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
67 inline void SetArn(const char* value) { m_arn.assign(value); }
68 inline DescribeDeviceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
69 inline DescribeDeviceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
70 inline DescribeDeviceResult& WithArn(const char* value) { SetArn(value); return *this;}
72
74
77 inline const DeviceBrand& GetBrand() const{ return m_brand; }
78 inline void SetBrand(const DeviceBrand& value) { m_brand = value; }
79 inline void SetBrand(DeviceBrand&& value) { m_brand = std::move(value); }
80 inline DescribeDeviceResult& WithBrand(const DeviceBrand& value) { SetBrand(value); return *this;}
81 inline DescribeDeviceResult& WithBrand(DeviceBrand&& value) { SetBrand(std::move(value)); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
89 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTime = value; }
90 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTime = std::move(value); }
91 inline DescribeDeviceResult& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
92 inline DescribeDeviceResult& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
94
96
99 inline const NetworkStatus& GetCurrentNetworkingStatus() const{ return m_currentNetworkingStatus; }
100 inline void SetCurrentNetworkingStatus(const NetworkStatus& value) { m_currentNetworkingStatus = value; }
101 inline void SetCurrentNetworkingStatus(NetworkStatus&& value) { m_currentNetworkingStatus = std::move(value); }
105
107
110 inline const Aws::String& GetCurrentSoftware() const{ return m_currentSoftware; }
111 inline void SetCurrentSoftware(const Aws::String& value) { m_currentSoftware = value; }
112 inline void SetCurrentSoftware(Aws::String&& value) { m_currentSoftware = std::move(value); }
113 inline void SetCurrentSoftware(const char* value) { m_currentSoftware.assign(value); }
114 inline DescribeDeviceResult& WithCurrentSoftware(const Aws::String& value) { SetCurrentSoftware(value); return *this;}
115 inline DescribeDeviceResult& WithCurrentSoftware(Aws::String&& value) { SetCurrentSoftware(std::move(value)); return *this;}
116 inline DescribeDeviceResult& WithCurrentSoftware(const char* value) { SetCurrentSoftware(value); return *this;}
118
120
123 inline const Aws::String& GetDescription() const{ return m_description; }
124 inline void SetDescription(const Aws::String& value) { m_description = value; }
125 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
126 inline void SetDescription(const char* value) { m_description.assign(value); }
127 inline DescribeDeviceResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
128 inline DescribeDeviceResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
129 inline DescribeDeviceResult& WithDescription(const char* value) { SetDescription(value); return *this;}
131
133
137 inline const DeviceAggregatedStatus& GetDeviceAggregatedStatus() const{ return m_deviceAggregatedStatus; }
138 inline void SetDeviceAggregatedStatus(const DeviceAggregatedStatus& value) { m_deviceAggregatedStatus = value; }
139 inline void SetDeviceAggregatedStatus(DeviceAggregatedStatus&& value) { m_deviceAggregatedStatus = std::move(value); }
143
145
148 inline const DeviceConnectionStatus& GetDeviceConnectionStatus() const{ return m_deviceConnectionStatus; }
149 inline void SetDeviceConnectionStatus(const DeviceConnectionStatus& value) { m_deviceConnectionStatus = value; }
150 inline void SetDeviceConnectionStatus(DeviceConnectionStatus&& value) { m_deviceConnectionStatus = std::move(value); }
154
156
159 inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
160 inline void SetDeviceId(const Aws::String& value) { m_deviceId = value; }
161 inline void SetDeviceId(Aws::String&& value) { m_deviceId = std::move(value); }
162 inline void SetDeviceId(const char* value) { m_deviceId.assign(value); }
163 inline DescribeDeviceResult& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
164 inline DescribeDeviceResult& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
165 inline DescribeDeviceResult& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
167
169
172 inline const Aws::String& GetLatestAlternateSoftware() const{ return m_latestAlternateSoftware; }
173 inline void SetLatestAlternateSoftware(const Aws::String& value) { m_latestAlternateSoftware = value; }
174 inline void SetLatestAlternateSoftware(Aws::String&& value) { m_latestAlternateSoftware = std::move(value); }
175 inline void SetLatestAlternateSoftware(const char* value) { m_latestAlternateSoftware.assign(value); }
178 inline DescribeDeviceResult& WithLatestAlternateSoftware(const char* value) { SetLatestAlternateSoftware(value); return *this;}
180
182
186 inline const LatestDeviceJob& GetLatestDeviceJob() const{ return m_latestDeviceJob; }
187 inline void SetLatestDeviceJob(const LatestDeviceJob& value) { m_latestDeviceJob = value; }
188 inline void SetLatestDeviceJob(LatestDeviceJob&& value) { m_latestDeviceJob = std::move(value); }
189 inline DescribeDeviceResult& WithLatestDeviceJob(const LatestDeviceJob& value) { SetLatestDeviceJob(value); return *this;}
190 inline DescribeDeviceResult& WithLatestDeviceJob(LatestDeviceJob&& value) { SetLatestDeviceJob(std::move(value)); return *this;}
192
194
197 inline const Aws::String& GetLatestSoftware() const{ return m_latestSoftware; }
198 inline void SetLatestSoftware(const Aws::String& value) { m_latestSoftware = value; }
199 inline void SetLatestSoftware(Aws::String&& value) { m_latestSoftware = std::move(value); }
200 inline void SetLatestSoftware(const char* value) { m_latestSoftware.assign(value); }
201 inline DescribeDeviceResult& WithLatestSoftware(const Aws::String& value) { SetLatestSoftware(value); return *this;}
202 inline DescribeDeviceResult& WithLatestSoftware(Aws::String&& value) { SetLatestSoftware(std::move(value)); return *this;}
203 inline DescribeDeviceResult& WithLatestSoftware(const char* value) { SetLatestSoftware(value); return *this;}
205
207
210 inline const Aws::Utils::DateTime& GetLeaseExpirationTime() const{ return m_leaseExpirationTime; }
211 inline void SetLeaseExpirationTime(const Aws::Utils::DateTime& value) { m_leaseExpirationTime = value; }
212 inline void SetLeaseExpirationTime(Aws::Utils::DateTime&& value) { m_leaseExpirationTime = std::move(value); }
216
218
221 inline const Aws::String& GetName() const{ return m_name; }
222 inline void SetName(const Aws::String& value) { m_name = value; }
223 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
224 inline void SetName(const char* value) { m_name.assign(value); }
225 inline DescribeDeviceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
226 inline DescribeDeviceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
227 inline DescribeDeviceResult& WithName(const char* value) { SetName(value); return *this;}
229
231
234 inline const NetworkPayload& GetNetworkingConfiguration() const{ return m_networkingConfiguration; }
235 inline void SetNetworkingConfiguration(const NetworkPayload& value) { m_networkingConfiguration = value; }
236 inline void SetNetworkingConfiguration(NetworkPayload&& value) { m_networkingConfiguration = std::move(value); }
240
242
245 inline const DeviceStatus& GetProvisioningStatus() const{ return m_provisioningStatus; }
246 inline void SetProvisioningStatus(const DeviceStatus& value) { m_provisioningStatus = value; }
247 inline void SetProvisioningStatus(DeviceStatus&& value) { m_provisioningStatus = std::move(value); }
249 inline DescribeDeviceResult& WithProvisioningStatus(DeviceStatus&& value) { SetProvisioningStatus(std::move(value)); return *this;}
251
253
256 inline const Aws::String& GetSerialNumber() const{ return m_serialNumber; }
257 inline void SetSerialNumber(const Aws::String& value) { m_serialNumber = value; }
258 inline void SetSerialNumber(Aws::String&& value) { m_serialNumber = std::move(value); }
259 inline void SetSerialNumber(const char* value) { m_serialNumber.assign(value); }
260 inline DescribeDeviceResult& WithSerialNumber(const Aws::String& value) { SetSerialNumber(value); return *this;}
261 inline DescribeDeviceResult& WithSerialNumber(Aws::String&& value) { SetSerialNumber(std::move(value)); return *this;}
262 inline DescribeDeviceResult& WithSerialNumber(const char* value) { SetSerialNumber(value); return *this;}
264
266
269 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
270 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
271 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
272 inline DescribeDeviceResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
273 inline DescribeDeviceResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
274 inline DescribeDeviceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
275 inline DescribeDeviceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
276 inline DescribeDeviceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
277 inline DescribeDeviceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
278 inline DescribeDeviceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
279 inline DescribeDeviceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
280 inline DescribeDeviceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
282
284
287 inline const DeviceType& GetType() const{ return m_type; }
288 inline void SetType(const DeviceType& value) { m_type = value; }
289 inline void SetType(DeviceType&& value) { m_type = std::move(value); }
290 inline DescribeDeviceResult& WithType(const DeviceType& value) { SetType(value); return *this;}
291 inline DescribeDeviceResult& WithType(DeviceType&& value) { SetType(std::move(value)); return *this;}
293
295
296 inline const Aws::String& GetRequestId() const{ return m_requestId; }
297 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
298 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
299 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
300 inline DescribeDeviceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
301 inline DescribeDeviceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
302 inline DescribeDeviceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
304 private:
305
306 Aws::Vector<AlternateSoftwareMetadata> m_alternateSoftwares;
307
308 Aws::String m_arn;
309
310 DeviceBrand m_brand;
311
312 Aws::Utils::DateTime m_createdTime;
313
314 NetworkStatus m_currentNetworkingStatus;
315
316 Aws::String m_currentSoftware;
317
318 Aws::String m_description;
319
320 DeviceAggregatedStatus m_deviceAggregatedStatus;
321
322 DeviceConnectionStatus m_deviceConnectionStatus;
323
324 Aws::String m_deviceId;
325
326 Aws::String m_latestAlternateSoftware;
327
328 LatestDeviceJob m_latestDeviceJob;
329
330 Aws::String m_latestSoftware;
331
332 Aws::Utils::DateTime m_leaseExpirationTime;
333
334 Aws::String m_name;
335
336 NetworkPayload m_networkingConfiguration;
337
338 DeviceStatus m_provisioningStatus;
339
340 Aws::String m_serialNumber;
341
343
344 DeviceType m_type;
345
346 Aws::String m_requestId;
347 };
348
349} // namespace Model
350} // namespace Panorama
351} // namespace Aws
void SetNetworkingConfiguration(const NetworkPayload &value)
const Aws::Vector< AlternateSoftwareMetadata > & GetAlternateSoftwares() const
void SetCreatedTime(Aws::Utils::DateTime &&value)
void SetDeviceConnectionStatus(DeviceConnectionStatus &&value)
DescribeDeviceResult & WithDeviceConnectionStatus(const DeviceConnectionStatus &value)
DescribeDeviceResult & WithDescription(Aws::String &&value)
DescribeDeviceResult & WithName(const char *value)
DescribeDeviceResult & WithNetworkingConfiguration(NetworkPayload &&value)
DescribeDeviceResult & WithArn(Aws::String &&value)
DescribeDeviceResult & WithLatestDeviceJob(const LatestDeviceJob &value)
DescribeDeviceResult & AddTags(const char *key, Aws::String &&value)
const Aws::Utils::DateTime & GetLeaseExpirationTime() const
DescribeDeviceResult & WithLatestSoftware(const Aws::String &value)
void SetLatestSoftware(const Aws::String &value)
void SetCurrentNetworkingStatus(const NetworkStatus &value)
DescribeDeviceResult & WithArn(const Aws::String &value)
DescribeDeviceResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetLatestDeviceJob(LatestDeviceJob &&value)
DescribeDeviceResult & WithAlternateSoftwares(const Aws::Vector< AlternateSoftwareMetadata > &value)
void SetLatestAlternateSoftware(const Aws::String &value)
DescribeDeviceResult & WithDeviceAggregatedStatus(DeviceAggregatedStatus &&value)
DescribeDeviceResult & WithBrand(DeviceBrand &&value)
DescribeDeviceResult & AddTags(const Aws::String &key, Aws::String &&value)
DescribeDeviceResult & AddTags(const Aws::String &key, const Aws::String &value)
DescribeDeviceResult & WithBrand(const DeviceBrand &value)
DescribeDeviceResult & WithRequestId(const Aws::String &value)
AWS_PANORAMA_API DescribeDeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeDeviceResult & AddTags(Aws::String &&key, const char *value)
void SetCurrentNetworkingStatus(NetworkStatus &&value)
DescribeDeviceResult & WithCurrentSoftware(const Aws::String &value)
DescribeDeviceResult & WithCurrentSoftware(Aws::String &&value)
AWS_PANORAMA_API DescribeDeviceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeDeviceResult & WithCreatedTime(Aws::Utils::DateTime &&value)
void SetAlternateSoftwares(Aws::Vector< AlternateSoftwareMetadata > &&value)
DescribeDeviceResult & WithLatestAlternateSoftware(const Aws::String &value)
const NetworkStatus & GetCurrentNetworkingStatus() const
void SetNetworkingConfiguration(NetworkPayload &&value)
const DeviceAggregatedStatus & GetDeviceAggregatedStatus() const
DescribeDeviceResult & WithRequestId(Aws::String &&value)
DescribeDeviceResult & WithLeaseExpirationTime(const Aws::Utils::DateTime &value)
DescribeDeviceResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeDeviceResult & WithDeviceConnectionStatus(DeviceConnectionStatus &&value)
DescribeDeviceResult & WithType(const DeviceType &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetAlternateSoftwares(const Aws::Vector< AlternateSoftwareMetadata > &value)
DescribeDeviceResult & WithCurrentSoftware(const char *value)
DescribeDeviceResult & WithDeviceId(Aws::String &&value)
const NetworkPayload & GetNetworkingConfiguration() const
DescribeDeviceResult & WithCurrentNetworkingStatus(const NetworkStatus &value)
DescribeDeviceResult & WithType(DeviceType &&value)
void SetDeviceConnectionStatus(const DeviceConnectionStatus &value)
DescribeDeviceResult & WithCreatedTime(const Aws::Utils::DateTime &value)
DescribeDeviceResult & WithDescription(const char *value)
DescribeDeviceResult & AddAlternateSoftwares(const AlternateSoftwareMetadata &value)
DescribeDeviceResult & WithDeviceAggregatedStatus(const DeviceAggregatedStatus &value)
DescribeDeviceResult & WithDescription(const Aws::String &value)
DescribeDeviceResult & WithLatestAlternateSoftware(const char *value)
DescribeDeviceResult & WithLatestDeviceJob(LatestDeviceJob &&value)
const Aws::Utils::DateTime & GetCreatedTime() const
DescribeDeviceResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetSerialNumber(const Aws::String &value)
DescribeDeviceResult & WithSerialNumber(Aws::String &&value)
DescribeDeviceResult & WithLatestAlternateSoftware(Aws::String &&value)
DescribeDeviceResult & WithAlternateSoftwares(Aws::Vector< AlternateSoftwareMetadata > &&value)
DescribeDeviceResult & WithNetworkingConfiguration(const NetworkPayload &value)
const DeviceConnectionStatus & GetDeviceConnectionStatus() const
void SetDescription(const Aws::String &value)
DescribeDeviceResult & AddTags(Aws::String &&key, Aws::String &&value)
void SetLeaseExpirationTime(Aws::Utils::DateTime &&value)
DescribeDeviceResult & AddAlternateSoftwares(AlternateSoftwareMetadata &&value)
DescribeDeviceResult & WithCurrentNetworkingStatus(NetworkStatus &&value)
DescribeDeviceResult & WithProvisioningStatus(const DeviceStatus &value)
void SetDeviceAggregatedStatus(const DeviceAggregatedStatus &value)
DescribeDeviceResult & WithDeviceId(const Aws::String &value)
DescribeDeviceResult & WithSerialNumber(const Aws::String &value)
void SetDeviceAggregatedStatus(DeviceAggregatedStatus &&value)
DescribeDeviceResult & WithName(Aws::String &&value)
const DeviceStatus & GetProvisioningStatus() const
DescribeDeviceResult & WithDeviceId(const char *value)
void SetProvisioningStatus(const DeviceStatus &value)
DescribeDeviceResult & WithSerialNumber(const char *value)
DescribeDeviceResult & WithLatestSoftware(Aws::String &&value)
DescribeDeviceResult & WithName(const Aws::String &value)
DescribeDeviceResult & WithProvisioningStatus(DeviceStatus &&value)
void SetCreatedTime(const Aws::Utils::DateTime &value)
DescribeDeviceResult & WithArn(const char *value)
const LatestDeviceJob & GetLatestDeviceJob() const
void SetCurrentSoftware(const Aws::String &value)
DescribeDeviceResult & WithRequestId(const char *value)
DescribeDeviceResult & AddTags(const char *key, const char *value)
DescribeDeviceResult & WithLeaseExpirationTime(Aws::Utils::DateTime &&value)
DescribeDeviceResult & WithLatestSoftware(const char *value)
void SetLeaseExpirationTime(const Aws::Utils::DateTime &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetLatestDeviceJob(const LatestDeviceJob &value)
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