AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeDeviceResult.h
Go to the documentation of this file.
1
6#pragma once
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:
45
46
50 inline const Aws::Vector<AlternateSoftwareMetadata>& GetAlternateSoftwares() const{ return m_alternateSoftwares; }
51
55 inline void SetAlternateSoftwares(const Aws::Vector<AlternateSoftwareMetadata>& value) { m_alternateSoftwares = value; }
56
60 inline void SetAlternateSoftwares(Aws::Vector<AlternateSoftwareMetadata>&& value) { m_alternateSoftwares = std::move(value); }
61
66
71
75 inline DescribeDeviceResult& AddAlternateSoftwares(const AlternateSoftwareMetadata& value) { m_alternateSoftwares.push_back(value); return *this; }
76
80 inline DescribeDeviceResult& AddAlternateSoftwares(AlternateSoftwareMetadata&& value) { m_alternateSoftwares.push_back(std::move(value)); return *this; }
81
82
86 inline const Aws::String& GetArn() const{ return m_arn; }
87
91 inline void SetArn(const Aws::String& value) { m_arn = value; }
92
96 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
97
101 inline void SetArn(const char* value) { m_arn.assign(value); }
102
106 inline DescribeDeviceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
107
111 inline DescribeDeviceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
112
116 inline DescribeDeviceResult& WithArn(const char* value) { SetArn(value); return *this;}
117
118
122 inline const DeviceBrand& GetBrand() const{ return m_brand; }
123
127 inline void SetBrand(const DeviceBrand& value) { m_brand = value; }
128
132 inline void SetBrand(DeviceBrand&& value) { m_brand = std::move(value); }
133
137 inline DescribeDeviceResult& WithBrand(const DeviceBrand& value) { SetBrand(value); return *this;}
138
142 inline DescribeDeviceResult& WithBrand(DeviceBrand&& value) { SetBrand(std::move(value)); return *this;}
143
144
148 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
149
153 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTime = value; }
154
158 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTime = std::move(value); }
159
163 inline DescribeDeviceResult& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
164
168 inline DescribeDeviceResult& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
169
170
174 inline const NetworkStatus& GetCurrentNetworkingStatus() const{ return m_currentNetworkingStatus; }
175
179 inline void SetCurrentNetworkingStatus(const NetworkStatus& value) { m_currentNetworkingStatus = value; }
180
184 inline void SetCurrentNetworkingStatus(NetworkStatus&& value) { m_currentNetworkingStatus = std::move(value); }
185
190
195
196
200 inline const Aws::String& GetCurrentSoftware() const{ return m_currentSoftware; }
201
205 inline void SetCurrentSoftware(const Aws::String& value) { m_currentSoftware = value; }
206
210 inline void SetCurrentSoftware(Aws::String&& value) { m_currentSoftware = std::move(value); }
211
215 inline void SetCurrentSoftware(const char* value) { m_currentSoftware.assign(value); }
216
220 inline DescribeDeviceResult& WithCurrentSoftware(const Aws::String& value) { SetCurrentSoftware(value); return *this;}
221
225 inline DescribeDeviceResult& WithCurrentSoftware(Aws::String&& value) { SetCurrentSoftware(std::move(value)); return *this;}
226
230 inline DescribeDeviceResult& WithCurrentSoftware(const char* value) { SetCurrentSoftware(value); return *this;}
231
232
236 inline const Aws::String& GetDescription() const{ return m_description; }
237
241 inline void SetDescription(const Aws::String& value) { m_description = value; }
242
246 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
247
251 inline void SetDescription(const char* value) { m_description.assign(value); }
252
256 inline DescribeDeviceResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
257
261 inline DescribeDeviceResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
262
266 inline DescribeDeviceResult& WithDescription(const char* value) { SetDescription(value); return *this;}
267
268
273 inline const DeviceAggregatedStatus& GetDeviceAggregatedStatus() const{ return m_deviceAggregatedStatus; }
274
279 inline void SetDeviceAggregatedStatus(const DeviceAggregatedStatus& value) { m_deviceAggregatedStatus = value; }
280
285 inline void SetDeviceAggregatedStatus(DeviceAggregatedStatus&& value) { m_deviceAggregatedStatus = std::move(value); }
286
292
298
299
303 inline const DeviceConnectionStatus& GetDeviceConnectionStatus() const{ return m_deviceConnectionStatus; }
304
308 inline void SetDeviceConnectionStatus(const DeviceConnectionStatus& value) { m_deviceConnectionStatus = value; }
309
313 inline void SetDeviceConnectionStatus(DeviceConnectionStatus&& value) { m_deviceConnectionStatus = std::move(value); }
314
319
324
325
329 inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
330
334 inline void SetDeviceId(const Aws::String& value) { m_deviceId = value; }
335
339 inline void SetDeviceId(Aws::String&& value) { m_deviceId = std::move(value); }
340
344 inline void SetDeviceId(const char* value) { m_deviceId.assign(value); }
345
349 inline DescribeDeviceResult& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
350
354 inline DescribeDeviceResult& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
355
359 inline DescribeDeviceResult& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
360
361
365 inline const Aws::String& GetLatestAlternateSoftware() const{ return m_latestAlternateSoftware; }
366
370 inline void SetLatestAlternateSoftware(const Aws::String& value) { m_latestAlternateSoftware = value; }
371
375 inline void SetLatestAlternateSoftware(Aws::String&& value) { m_latestAlternateSoftware = std::move(value); }
376
380 inline void SetLatestAlternateSoftware(const char* value) { m_latestAlternateSoftware.assign(value); }
381
386
391
395 inline DescribeDeviceResult& WithLatestAlternateSoftware(const char* value) { SetLatestAlternateSoftware(value); return *this;}
396
397
402 inline const LatestDeviceJob& GetLatestDeviceJob() const{ return m_latestDeviceJob; }
403
408 inline void SetLatestDeviceJob(const LatestDeviceJob& value) { m_latestDeviceJob = value; }
409
414 inline void SetLatestDeviceJob(LatestDeviceJob&& value) { m_latestDeviceJob = std::move(value); }
415
420 inline DescribeDeviceResult& WithLatestDeviceJob(const LatestDeviceJob& value) { SetLatestDeviceJob(value); return *this;}
421
426 inline DescribeDeviceResult& WithLatestDeviceJob(LatestDeviceJob&& value) { SetLatestDeviceJob(std::move(value)); return *this;}
427
428
432 inline const Aws::String& GetLatestSoftware() const{ return m_latestSoftware; }
433
437 inline void SetLatestSoftware(const Aws::String& value) { m_latestSoftware = value; }
438
442 inline void SetLatestSoftware(Aws::String&& value) { m_latestSoftware = std::move(value); }
443
447 inline void SetLatestSoftware(const char* value) { m_latestSoftware.assign(value); }
448
452 inline DescribeDeviceResult& WithLatestSoftware(const Aws::String& value) { SetLatestSoftware(value); return *this;}
453
457 inline DescribeDeviceResult& WithLatestSoftware(Aws::String&& value) { SetLatestSoftware(std::move(value)); return *this;}
458
462 inline DescribeDeviceResult& WithLatestSoftware(const char* value) { SetLatestSoftware(value); return *this;}
463
464
468 inline const Aws::Utils::DateTime& GetLeaseExpirationTime() const{ return m_leaseExpirationTime; }
469
473 inline void SetLeaseExpirationTime(const Aws::Utils::DateTime& value) { m_leaseExpirationTime = value; }
474
478 inline void SetLeaseExpirationTime(Aws::Utils::DateTime&& value) { m_leaseExpirationTime = std::move(value); }
479
484
489
490
494 inline const Aws::String& GetName() const{ return m_name; }
495
499 inline void SetName(const Aws::String& value) { m_name = value; }
500
504 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
505
509 inline void SetName(const char* value) { m_name.assign(value); }
510
514 inline DescribeDeviceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
515
519 inline DescribeDeviceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
520
524 inline DescribeDeviceResult& WithName(const char* value) { SetName(value); return *this;}
525
526
530 inline const NetworkPayload& GetNetworkingConfiguration() const{ return m_networkingConfiguration; }
531
535 inline void SetNetworkingConfiguration(const NetworkPayload& value) { m_networkingConfiguration = value; }
536
540 inline void SetNetworkingConfiguration(NetworkPayload&& value) { m_networkingConfiguration = std::move(value); }
541
546
551
552
556 inline const DeviceStatus& GetProvisioningStatus() const{ return m_provisioningStatus; }
557
561 inline void SetProvisioningStatus(const DeviceStatus& value) { m_provisioningStatus = value; }
562
566 inline void SetProvisioningStatus(DeviceStatus&& value) { m_provisioningStatus = std::move(value); }
567
572
576 inline DescribeDeviceResult& WithProvisioningStatus(DeviceStatus&& value) { SetProvisioningStatus(std::move(value)); return *this;}
577
578
582 inline const Aws::String& GetSerialNumber() const{ return m_serialNumber; }
583
587 inline void SetSerialNumber(const Aws::String& value) { m_serialNumber = value; }
588
592 inline void SetSerialNumber(Aws::String&& value) { m_serialNumber = std::move(value); }
593
597 inline void SetSerialNumber(const char* value) { m_serialNumber.assign(value); }
598
602 inline DescribeDeviceResult& WithSerialNumber(const Aws::String& value) { SetSerialNumber(value); return *this;}
603
607 inline DescribeDeviceResult& WithSerialNumber(Aws::String&& value) { SetSerialNumber(std::move(value)); return *this;}
608
612 inline DescribeDeviceResult& WithSerialNumber(const char* value) { SetSerialNumber(value); return *this;}
613
614
618 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
619
623 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
624
628 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
629
633 inline DescribeDeviceResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
634
638 inline DescribeDeviceResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
639
643 inline DescribeDeviceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
644
648 inline DescribeDeviceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
649
653 inline DescribeDeviceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
654
658 inline DescribeDeviceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
659
663 inline DescribeDeviceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
664
668 inline DescribeDeviceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
669
673 inline DescribeDeviceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
674
675
679 inline const DeviceType& GetType() const{ return m_type; }
680
684 inline void SetType(const DeviceType& value) { m_type = value; }
685
689 inline void SetType(DeviceType&& value) { m_type = std::move(value); }
690
694 inline DescribeDeviceResult& WithType(const DeviceType& value) { SetType(value); return *this;}
695
699 inline DescribeDeviceResult& WithType(DeviceType&& value) { SetType(std::move(value)); return *this;}
700
701 private:
702
703 Aws::Vector<AlternateSoftwareMetadata> m_alternateSoftwares;
704
705 Aws::String m_arn;
706
707 DeviceBrand m_brand;
708
709 Aws::Utils::DateTime m_createdTime;
710
711 NetworkStatus m_currentNetworkingStatus;
712
713 Aws::String m_currentSoftware;
714
715 Aws::String m_description;
716
717 DeviceAggregatedStatus m_deviceAggregatedStatus;
718
719 DeviceConnectionStatus m_deviceConnectionStatus;
720
721 Aws::String m_deviceId;
722
723 Aws::String m_latestAlternateSoftware;
724
725 LatestDeviceJob m_latestDeviceJob;
726
727 Aws::String m_latestSoftware;
728
729 Aws::Utils::DateTime m_leaseExpirationTime;
730
731 Aws::String m_name;
732
733 NetworkPayload m_networkingConfiguration;
734
735 DeviceStatus m_provisioningStatus;
736
737 Aws::String m_serialNumber;
738
740
741 DeviceType m_type;
742 };
743
744} // namespace Model
745} // namespace Panorama
746} // namespace Aws
#define AWS_PANORAMA_API
void SetNetworkingConfiguration(const NetworkPayload &value)
const Aws::Vector< AlternateSoftwareMetadata > & GetAlternateSoftwares() const
void SetCreatedTime(Aws::Utils::DateTime &&value)
void SetDeviceConnectionStatus(DeviceConnectionStatus &&value)
void SetLatestAlternateSoftware(Aws::String &&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)
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 & 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)
void SetDeviceId(const Aws::String &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 & 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