AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
Device.h
Go to the documentation of this file.
1
6#pragma once
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace Panorama
29{
30namespace Model
31{
32
38 class Device
39 {
40 public:
45
46
50 inline const DeviceBrand& GetBrand() const{ return m_brand; }
51
55 inline bool BrandHasBeenSet() const { return m_brandHasBeenSet; }
56
60 inline void SetBrand(const DeviceBrand& value) { m_brandHasBeenSet = true; m_brand = value; }
61
65 inline void SetBrand(DeviceBrand&& value) { m_brandHasBeenSet = true; m_brand = std::move(value); }
66
70 inline Device& WithBrand(const DeviceBrand& value) { SetBrand(value); return *this;}
71
75 inline Device& WithBrand(DeviceBrand&& value) { SetBrand(std::move(value)); return *this;}
76
77
81 inline const Aws::Utils::DateTime& GetCreatedTime() const{ return m_createdTime; }
82
86 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
87
91 inline void SetCreatedTime(const Aws::Utils::DateTime& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
92
96 inline void SetCreatedTime(Aws::Utils::DateTime&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
97
101 inline Device& WithCreatedTime(const Aws::Utils::DateTime& value) { SetCreatedTime(value); return *this;}
102
106 inline Device& WithCreatedTime(Aws::Utils::DateTime&& value) { SetCreatedTime(std::move(value)); return *this;}
107
108
112 inline const Aws::String& GetCurrentSoftware() const{ return m_currentSoftware; }
113
117 inline bool CurrentSoftwareHasBeenSet() const { return m_currentSoftwareHasBeenSet; }
118
122 inline void SetCurrentSoftware(const Aws::String& value) { m_currentSoftwareHasBeenSet = true; m_currentSoftware = value; }
123
127 inline void SetCurrentSoftware(Aws::String&& value) { m_currentSoftwareHasBeenSet = true; m_currentSoftware = std::move(value); }
128
132 inline void SetCurrentSoftware(const char* value) { m_currentSoftwareHasBeenSet = true; m_currentSoftware.assign(value); }
133
137 inline Device& WithCurrentSoftware(const Aws::String& value) { SetCurrentSoftware(value); return *this;}
138
142 inline Device& WithCurrentSoftware(Aws::String&& value) { SetCurrentSoftware(std::move(value)); return *this;}
143
147 inline Device& WithCurrentSoftware(const char* value) { SetCurrentSoftware(value); return *this;}
148
149
153 inline const Aws::String& GetDescription() const{ return m_description; }
154
158 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
159
163 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
164
168 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
169
173 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
174
178 inline Device& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
179
183 inline Device& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
184
188 inline Device& WithDescription(const char* value) { SetDescription(value); return *this;}
189
190
195 inline const DeviceAggregatedStatus& GetDeviceAggregatedStatus() const{ return m_deviceAggregatedStatus; }
196
201 inline bool DeviceAggregatedStatusHasBeenSet() const { return m_deviceAggregatedStatusHasBeenSet; }
202
207 inline void SetDeviceAggregatedStatus(const DeviceAggregatedStatus& value) { m_deviceAggregatedStatusHasBeenSet = true; m_deviceAggregatedStatus = value; }
208
213 inline void SetDeviceAggregatedStatus(DeviceAggregatedStatus&& value) { m_deviceAggregatedStatusHasBeenSet = true; m_deviceAggregatedStatus = std::move(value); }
214
220
225 inline Device& WithDeviceAggregatedStatus(DeviceAggregatedStatus&& value) { SetDeviceAggregatedStatus(std::move(value)); return *this;}
226
227
231 inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
232
236 inline bool DeviceIdHasBeenSet() const { return m_deviceIdHasBeenSet; }
237
241 inline void SetDeviceId(const Aws::String& value) { m_deviceIdHasBeenSet = true; m_deviceId = value; }
242
246 inline void SetDeviceId(Aws::String&& value) { m_deviceIdHasBeenSet = true; m_deviceId = std::move(value); }
247
251 inline void SetDeviceId(const char* value) { m_deviceIdHasBeenSet = true; m_deviceId.assign(value); }
252
256 inline Device& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
257
261 inline Device& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
262
266 inline Device& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
267
268
272 inline const Aws::Utils::DateTime& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
273
277 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
278
282 inline void SetLastUpdatedTime(const Aws::Utils::DateTime& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
283
287 inline void SetLastUpdatedTime(Aws::Utils::DateTime&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
288
292 inline Device& WithLastUpdatedTime(const Aws::Utils::DateTime& value) { SetLastUpdatedTime(value); return *this;}
293
297 inline Device& WithLastUpdatedTime(Aws::Utils::DateTime&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
298
299
304 inline const LatestDeviceJob& GetLatestDeviceJob() const{ return m_latestDeviceJob; }
305
310 inline bool LatestDeviceJobHasBeenSet() const { return m_latestDeviceJobHasBeenSet; }
311
316 inline void SetLatestDeviceJob(const LatestDeviceJob& value) { m_latestDeviceJobHasBeenSet = true; m_latestDeviceJob = value; }
317
322 inline void SetLatestDeviceJob(LatestDeviceJob&& value) { m_latestDeviceJobHasBeenSet = true; m_latestDeviceJob = std::move(value); }
323
328 inline Device& WithLatestDeviceJob(const LatestDeviceJob& value) { SetLatestDeviceJob(value); return *this;}
329
334 inline Device& WithLatestDeviceJob(LatestDeviceJob&& value) { SetLatestDeviceJob(std::move(value)); return *this;}
335
336
340 inline const Aws::Utils::DateTime& GetLeaseExpirationTime() const{ return m_leaseExpirationTime; }
341
345 inline bool LeaseExpirationTimeHasBeenSet() const { return m_leaseExpirationTimeHasBeenSet; }
346
350 inline void SetLeaseExpirationTime(const Aws::Utils::DateTime& value) { m_leaseExpirationTimeHasBeenSet = true; m_leaseExpirationTime = value; }
351
355 inline void SetLeaseExpirationTime(Aws::Utils::DateTime&& value) { m_leaseExpirationTimeHasBeenSet = true; m_leaseExpirationTime = std::move(value); }
356
360 inline Device& WithLeaseExpirationTime(const Aws::Utils::DateTime& value) { SetLeaseExpirationTime(value); return *this;}
361
365 inline Device& WithLeaseExpirationTime(Aws::Utils::DateTime&& value) { SetLeaseExpirationTime(std::move(value)); return *this;}
366
367
371 inline const Aws::String& GetName() const{ return m_name; }
372
376 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
377
381 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
382
386 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
387
391 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
392
396 inline Device& WithName(const Aws::String& value) { SetName(value); return *this;}
397
401 inline Device& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
402
406 inline Device& WithName(const char* value) { SetName(value); return *this;}
407
408
412 inline const DeviceStatus& GetProvisioningStatus() const{ return m_provisioningStatus; }
413
417 inline bool ProvisioningStatusHasBeenSet() const { return m_provisioningStatusHasBeenSet; }
418
422 inline void SetProvisioningStatus(const DeviceStatus& value) { m_provisioningStatusHasBeenSet = true; m_provisioningStatus = value; }
423
427 inline void SetProvisioningStatus(DeviceStatus&& value) { m_provisioningStatusHasBeenSet = true; m_provisioningStatus = std::move(value); }
428
432 inline Device& WithProvisioningStatus(const DeviceStatus& value) { SetProvisioningStatus(value); return *this;}
433
437 inline Device& WithProvisioningStatus(DeviceStatus&& value) { SetProvisioningStatus(std::move(value)); return *this;}
438
439
443 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
444
448 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
449
453 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
454
458 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
459
463 inline Device& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
464
468 inline Device& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
469
473 inline Device& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
474
478 inline Device& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
479
483 inline Device& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
484
488 inline Device& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
489
493 inline Device& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
494
498 inline Device& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
499
503 inline Device& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
504
505
509 inline const DeviceType& GetType() const{ return m_type; }
510
514 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
515
519 inline void SetType(const DeviceType& value) { m_typeHasBeenSet = true; m_type = value; }
520
524 inline void SetType(DeviceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
525
529 inline Device& WithType(const DeviceType& value) { SetType(value); return *this;}
530
534 inline Device& WithType(DeviceType&& value) { SetType(std::move(value)); return *this;}
535
536 private:
537
538 DeviceBrand m_brand;
539 bool m_brandHasBeenSet = false;
540
541 Aws::Utils::DateTime m_createdTime;
542 bool m_createdTimeHasBeenSet = false;
543
544 Aws::String m_currentSoftware;
545 bool m_currentSoftwareHasBeenSet = false;
546
547 Aws::String m_description;
548 bool m_descriptionHasBeenSet = false;
549
550 DeviceAggregatedStatus m_deviceAggregatedStatus;
551 bool m_deviceAggregatedStatusHasBeenSet = false;
552
553 Aws::String m_deviceId;
554 bool m_deviceIdHasBeenSet = false;
555
556 Aws::Utils::DateTime m_lastUpdatedTime;
557 bool m_lastUpdatedTimeHasBeenSet = false;
558
559 LatestDeviceJob m_latestDeviceJob;
560 bool m_latestDeviceJobHasBeenSet = false;
561
562 Aws::Utils::DateTime m_leaseExpirationTime;
563 bool m_leaseExpirationTimeHasBeenSet = false;
564
565 Aws::String m_name;
566 bool m_nameHasBeenSet = false;
567
568 DeviceStatus m_provisioningStatus;
569 bool m_provisioningStatusHasBeenSet = false;
570
572 bool m_tagsHasBeenSet = false;
573
574 DeviceType m_type;
575 bool m_typeHasBeenSet = false;
576 };
577
578} // namespace Model
579} // namespace Panorama
580} // namespace Aws
#define AWS_PANORAMA_API
void SetDeviceId(const Aws::String &value)
Definition: Device.h:241
const DeviceType & GetType() const
Definition: Device.h:509
bool DeviceIdHasBeenSet() const
Definition: Device.h:236
const DeviceBrand & GetBrand() const
Definition: Device.h:50
bool LastUpdatedTimeHasBeenSet() const
Definition: Device.h:277
void SetLatestDeviceJob(const LatestDeviceJob &value)
Definition: Device.h:316
bool LatestDeviceJobHasBeenSet() const
Definition: Device.h:310
Device & AddTags(const Aws::String &key, const Aws::String &value)
Definition: Device.h:473
Device & WithLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition: Device.h:297
void SetCurrentSoftware(Aws::String &&value)
Definition: Device.h:127
Device & WithLeaseExpirationTime(const Aws::Utils::DateTime &value)
Definition: Device.h:360
void SetBrand(DeviceBrand &&value)
Definition: Device.h:65
void SetType(const DeviceType &value)
Definition: Device.h:519
void SetLeaseExpirationTime(const Aws::Utils::DateTime &value)
Definition: Device.h:350
void SetCreatedTime(const Aws::Utils::DateTime &value)
Definition: Device.h:91
void SetName(const char *value)
Definition: Device.h:391
Device & WithDeviceId(const Aws::String &value)
Definition: Device.h:256
Device & AddTags(Aws::String &&key, const Aws::String &value)
Definition: Device.h:478
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: Device.h:453
void SetProvisioningStatus(DeviceStatus &&value)
Definition: Device.h:427
bool ProvisioningStatusHasBeenSet() const
Definition: Device.h:417
void SetType(DeviceType &&value)
Definition: Device.h:524
bool TypeHasBeenSet() const
Definition: Device.h:514
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: Device.h:443
Device & WithCurrentSoftware(const Aws::String &value)
Definition: Device.h:137
Device & WithDeviceAggregatedStatus(const DeviceAggregatedStatus &value)
Definition: Device.h:219
Device & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: Device.h:463
Device & WithDescription(const char *value)
Definition: Device.h:188
Device & WithName(const char *value)
Definition: Device.h:406
Device & WithType(DeviceType &&value)
Definition: Device.h:534
Device & WithDeviceAggregatedStatus(DeviceAggregatedStatus &&value)
Definition: Device.h:225
void SetDeviceId(Aws::String &&value)
Definition: Device.h:246
Device & AddTags(const char *key, Aws::String &&value)
Definition: Device.h:493
void SetDescription(const Aws::String &value)
Definition: Device.h:163
bool DeviceAggregatedStatusHasBeenSet() const
Definition: Device.h:201
void SetName(const Aws::String &value)
Definition: Device.h:381
Device & WithCurrentSoftware(const char *value)
Definition: Device.h:147
bool DescriptionHasBeenSet() const
Definition: Device.h:158
void SetDeviceId(const char *value)
Definition: Device.h:251
Device & AddTags(Aws::String &&key, Aws::String &&value)
Definition: Device.h:488
Device & WithType(const DeviceType &value)
Definition: Device.h:529
void SetProvisioningStatus(const DeviceStatus &value)
Definition: Device.h:422
bool LeaseExpirationTimeHasBeenSet() const
Definition: Device.h:345
void SetDescription(const char *value)
Definition: Device.h:173
void SetName(Aws::String &&value)
Definition: Device.h:386
bool CreatedTimeHasBeenSet() const
Definition: Device.h:86
Device & WithDescription(Aws::String &&value)
Definition: Device.h:183
void SetDeviceAggregatedStatus(const DeviceAggregatedStatus &value)
Definition: Device.h:207
Device & AddTags(const char *key, const char *value)
Definition: Device.h:503
bool TagsHasBeenSet() const
Definition: Device.h:448
Device & AddTags(const Aws::String &key, Aws::String &&value)
Definition: Device.h:483
const Aws::String & GetName() const
Definition: Device.h:371
AWS_PANORAMA_API Device(Aws::Utils::Json::JsonView jsonValue)
Device & WithName(const Aws::String &value)
Definition: Device.h:396
Device & WithProvisioningStatus(const DeviceStatus &value)
Definition: Device.h:432
const Aws::Utils::DateTime & GetLastUpdatedTime() const
Definition: Device.h:272
Device & WithName(Aws::String &&value)
Definition: Device.h:401
bool NameHasBeenSet() const
Definition: Device.h:376
bool CurrentSoftwareHasBeenSet() const
Definition: Device.h:117
Device & WithCreatedTime(Aws::Utils::DateTime &&value)
Definition: Device.h:106
AWS_PANORAMA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: Device.h:458
void SetCreatedTime(Aws::Utils::DateTime &&value)
Definition: Device.h:96
Device & WithBrand(const DeviceBrand &value)
Definition: Device.h:70
const LatestDeviceJob & GetLatestDeviceJob() const
Definition: Device.h:304
void SetLeaseExpirationTime(Aws::Utils::DateTime &&value)
Definition: Device.h:355
bool BrandHasBeenSet() const
Definition: Device.h:55
const Aws::String & GetDescription() const
Definition: Device.h:153
AWS_PANORAMA_API Device()
Device & WithCurrentSoftware(Aws::String &&value)
Definition: Device.h:142
Device & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: Device.h:468
Device & AddTags(Aws::String &&key, const char *value)
Definition: Device.h:498
void SetLatestDeviceJob(LatestDeviceJob &&value)
Definition: Device.h:322
void SetDescription(Aws::String &&value)
Definition: Device.h:168
Device & WithDescription(const Aws::String &value)
Definition: Device.h:178
Device & WithLatestDeviceJob(const LatestDeviceJob &value)
Definition: Device.h:328
void SetLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition: Device.h:282
void SetCurrentSoftware(const char *value)
Definition: Device.h:132
const Aws::Utils::DateTime & GetCreatedTime() const
Definition: Device.h:81
Device & WithLatestDeviceJob(LatestDeviceJob &&value)
Definition: Device.h:334
Device & WithDeviceId(Aws::String &&value)
Definition: Device.h:261
AWS_PANORAMA_API Device & operator=(Aws::Utils::Json::JsonView jsonValue)
Device & WithProvisioningStatus(DeviceStatus &&value)
Definition: Device.h:437
void SetCurrentSoftware(const Aws::String &value)
Definition: Device.h:122
Device & WithLeaseExpirationTime(Aws::Utils::DateTime &&value)
Definition: Device.h:365
const DeviceAggregatedStatus & GetDeviceAggregatedStatus() const
Definition: Device.h:195
Device & WithCreatedTime(const Aws::Utils::DateTime &value)
Definition: Device.h:101
void SetDeviceAggregatedStatus(DeviceAggregatedStatus &&value)
Definition: Device.h:213
Device & WithBrand(DeviceBrand &&value)
Definition: Device.h:75
const Aws::String & GetDeviceId() const
Definition: Device.h:231
Device & WithLastUpdatedTime(const Aws::Utils::DateTime &value)
Definition: Device.h:292
void SetLastUpdatedTime(Aws::Utils::DateTime &&value)
Definition: Device.h:287
const Aws::Utils::DateTime & GetLeaseExpirationTime() const
Definition: Device.h:340
const DeviceStatus & GetProvisioningStatus() const
Definition: Device.h:412
void SetBrand(const DeviceBrand &value)
Definition: Device.h:60
const Aws::String & GetCurrentSoftware() const
Definition: Device.h:112
Device & WithDeviceId(const char *value)
Definition: Device.h:266
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