1
6#pragma once
7#include <aws/workspaces-thin-client/WorkSpacesThinClient_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces-thin-client/model/DeviceStatus.h>
10#include <aws/workspaces-thin-client/model/SoftwareSetUpdateSchedule.h>
11#include <aws/workspaces-thin-client/model/DeviceSoftwareSetComplianceStatus.h>
12#include <aws/workspaces-thin-client/model/SoftwareSetUpdateStatus.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/core/utils/memory/stl/AWSMap.h>
15#include <utility>
16
17namespace Aws18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25}
26}
27namespace WorkSpacesThinClient
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_WORKSPACESTHINCLIENT_API Device();44
45
50
55
60
64 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }65
69 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }70
75
80
85
86
91
96
101
106
110 inline void SetSerialNumber(const char* value) { m_serialNumberHasBeenSet = true; m_serialNumber.assign(value); }111
116
121
126
127
132
137
142
147
151 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }152
157
162
167
168
173
178
183
188
192 inline void SetModel(const char* value) { m_modelHasBeenSet = true; m_model.assign(value); }193
198
203
208
209
214
219
224
229
233 inline void SetEnvironmentId(const char* value) { m_environmentIdHasBeenSet = true; m_environmentId.assign(value); }234
239
244
249
250
255
260
265
270
275
280
281
286
291
296
301
305 inline void SetCurrentSoftwareSetId(const char* value) { m_currentSoftwareSetIdHasBeenSet = true; m_currentSoftwareSetId.assign(value); }306
311
316
321
322
327
332
337
342
346 inline void SetCurrentSoftwareSetVersion(const char* value) { m_currentSoftwareSetVersionHasBeenSet = true; m_currentSoftwareSetVersion.assign(value); }347
352
357
362
363
368
373
378
383
387 inline void SetDesiredSoftwareSetId(const char* value) { m_desiredSoftwareSetIdHasBeenSet = true; m_desiredSoftwareSetId.assign(value); }388
393
398
403
404
409
414
419
424
428 inline void SetPendingSoftwareSetId(const char* value) { m_pendingSoftwareSetIdHasBeenSet = true; m_pendingSoftwareSetId.assign(value); }429
434
439
444
445
451
457
463
469
474 inline void SetPendingSoftwareSetVersion(const char* value) { m_pendingSoftwareSetVersionHasBeenSet = true; m_pendingSoftwareSetVersion.assign(value); }475
481
487
493
494
500
506
512
518
524
530
531
537
543
549
555
561
567
568
573
578
583
588
593
598
599
604
609
614
619
624
629
630
635
640
645
650
655
660
661
666
671
676
681
686
691
692
697
702
707
712
717
722
723
728
733
738
743
747 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }748
753
758
763
764
770
776
782
788
793 inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); }794
800
806
812
813
818
823
828
833
838
843
848
853
858
863
867 inline Device& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }868
872 inline Device& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }873
877 inline Device& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }878
879 private:
880
882 bool m_idHasBeenSet = false;
883
885 bool m_serialNumberHasBeenSet = false;
886
888 bool m_nameHasBeenSet = false;
889
891 bool m_modelHasBeenSet = false;
892
894 bool m_environmentIdHasBeenSet = false;
895
897 bool m_statusHasBeenSet = false;
898
900 bool m_currentSoftwareSetIdHasBeenSet = false;
901
903 bool m_currentSoftwareSetVersionHasBeenSet = false;
904
906 bool m_desiredSoftwareSetIdHasBeenSet = false;
907
909 bool m_pendingSoftwareSetIdHasBeenSet = false;
910
912 bool m_pendingSoftwareSetVersionHasBeenSet = false;
913
915 bool m_softwareSetUpdateScheduleHasBeenSet = false;
916
918 bool m_softwareSetComplianceStatusHasBeenSet = false;
919
921 bool m_softwareSetUpdateStatusHasBeenSet = false;
922
924 bool m_lastConnectedAtHasBeenSet = false;
925
927 bool m_lastPostureAtHasBeenSet = false;
928
930 bool m_createdAtHasBeenSet = false;
931
933 bool m_updatedAtHasBeenSet = false;
934
936 bool m_arnHasBeenSet = false;
937
939 bool m_kmsKeyArnHasBeenSet = false;
940
942 bool m_tagsHasBeenSet = false;
943 };
944
945}
946}
947}
bool LastConnectedAtHasBeenSet() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool SoftwareSetUpdateScheduleHasBeenSet() const
void SetLastPostureAt(const Aws::Utils::DateTime &value)
bool SoftwareSetUpdateStatusHasBeenSet() const
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetCurrentSoftwareSetVersion(const Aws::String &value)
Device & WithId(const Aws::String &value)
void SetArn(const char *value)
Device & WithPendingSoftwareSetVersion(Aws::String &&value)
bool PendingSoftwareSetIdHasBeenSet() const
void SetStatus(DeviceStatus &&value)
void SetEnvironmentId(const char *value)
const Aws::String & GetModel() const
void SetArn(Aws::String &&value)
Device & WithPendingSoftwareSetId(const char *value)
Device & WithSoftwareSetUpdateSchedule(const SoftwareSetUpdateSchedule &value)
const Aws::String & GetName() const
Device & WithEnvironmentId(Aws::String &&value)
const Aws::String & GetCurrentSoftwareSetVersion() const
const SoftwareSetUpdateStatus & GetSoftwareSetUpdateStatus() const
bool SerialNumberHasBeenSet() const
void SetPendingSoftwareSetVersion(const char *value)
void SetId(Aws::String &&value)
Device & WithDesiredSoftwareSetId(const Aws::String &value)
Device & WithPendingSoftwareSetId(Aws::String &&value)
const Aws::String & GetPendingSoftwareSetVersion() const
Device & WithPendingSoftwareSetVersion(const Aws::String &value)
Device & AddTags(Aws::String &&key, const Aws::String &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
void SetPendingSoftwareSetId(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetPendingSoftwareSetId(Aws::String &&value)
Device & WithCurrentSoftwareSetVersion(const char *value)
void SetCreatedAt(Aws::Utils::DateTime &&value)
bool ModelHasBeenSet() const
Device & WithArn(const Aws::String &value)
bool LastPostureAtHasBeenSet() const
void SetSoftwareSetUpdateSchedule(const SoftwareSetUpdateSchedule &value)
void SetStatus(const DeviceStatus &value)
Device & WithCurrentSoftwareSetVersion(Aws::String &&value)
const DeviceStatus & GetStatus() const
const Aws::String & GetPendingSoftwareSetId() const
Device & WithLastConnectedAt(Aws::Utils::DateTime &&value)
Device & WithSoftwareSetComplianceStatus(DeviceSoftwareSetComplianceStatus &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
bool DesiredSoftwareSetIdHasBeenSet() const
Device & AddTags(Aws::String &&key, Aws::String &&value)
void SetId(const Aws::String &value)
Device & WithLastPostureAt(const Aws::Utils::DateTime &value)
Device & WithName(const char *value)
Device & WithKmsKeyArn(const Aws::String &value)
void SetPendingSoftwareSetVersion(const Aws::String &value)
Device & WithId(Aws::String &&value)
bool KmsKeyArnHasBeenSet() const
void SetId(const char *value)
void SetKmsKeyArn(const Aws::String &value)
Device & AddTags(Aws::String &&key, const char *value)
Device & WithUpdatedAt(const Aws::Utils::DateTime &value)
AWS_WORKSPACESTHINCLIENT_API Device & operator=(Aws::Utils::Json::JsonView jsonValue)
Device & WithLastConnectedAt(const Aws::Utils::DateTime &value)
Device & WithStatus(const DeviceStatus &value)
void SetArn(const Aws::String &value)
void SetSerialNumber(Aws::String &&value)
Device & WithCurrentSoftwareSetId(Aws::String &&value)
Device & WithStatus(DeviceStatus &&value)
Device & WithModel(Aws::String &&value)
Device & WithModel(const Aws::String &value)
void SetDesiredSoftwareSetId(const Aws::String &value)
Device & WithSoftwareSetUpdateStatus(SoftwareSetUpdateStatus &&value)
Device & WithCreatedAt(Aws::Utils::DateTime &&value)
Device & WithSerialNumber(Aws::String &&value)
Device & AddTags(const Aws::String &key, Aws::String &&value)
bool EnvironmentIdHasBeenSet() const
Device & WithModel(const char *value)
void SetCurrentSoftwareSetVersion(const char *value)
Device & WithSoftwareSetUpdateSchedule(SoftwareSetUpdateSchedule &&value)
Device & WithSerialNumber(const Aws::String &value)
void SetLastPostureAt(Aws::Utils::DateTime &&value)
Device & WithCreatedAt(const Aws::Utils::DateTime &value)
Device & WithName(Aws::String &&value)
Device & WithArn(Aws::String &&value)
const Aws::String & GetKmsKeyArn() const
void SetPendingSoftwareSetId(const Aws::String &value)
Device & AddTags(const char *key, const char *value)
bool StatusHasBeenSet() const
void SetName(Aws::String &&value)
Device & WithLastPostureAt(Aws::Utils::DateTime &&value)
void SetSoftwareSetUpdateSchedule(SoftwareSetUpdateSchedule &&value)
bool CreatedAtHasBeenSet() const
void SetCurrentSoftwareSetVersion(Aws::String &&value)
bool IdHasBeenSet() const
void SetSerialNumber(const char *value)
void SetEnvironmentId(Aws::String &&value)
void SetPendingSoftwareSetVersion(Aws::String &&value)
const Aws::String & GetDesiredSoftwareSetId() const
void SetUpdatedAt(Aws::Utils::DateTime &&value)
Device & AddTags(const Aws::String &key, const Aws::String &value)
bool TagsHasBeenSet() const
bool CurrentSoftwareSetVersionHasBeenSet() const
bool UpdatedAtHasBeenSet() const
const DeviceSoftwareSetComplianceStatus & GetSoftwareSetComplianceStatus() const
Device & AddTags(const char *key, Aws::String &&value)
void SetModel(const char *value)
Device & WithPendingSoftwareSetId(const Aws::String &value)
Device & WithKmsKeyArn(const char *value)
void SetDesiredSoftwareSetId(Aws::String &&value)
const Aws::String & GetId() const
void SetSerialNumber(const Aws::String &value)
Device & WithEnvironmentId(const Aws::String &value)
Device & WithDesiredSoftwareSetId(Aws::String &&value)
Device & WithDesiredSoftwareSetId(const char *value)
Device & WithId(const char *value)
void SetCurrentSoftwareSetId(const char *value)
void SetCurrentSoftwareSetId(const Aws::String &value)
Device & WithUpdatedAt(Aws::Utils::DateTime &&value)
Device & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Device & WithKmsKeyArn(Aws::String &&value)
Device & WithSoftwareSetComplianceStatus(const DeviceSoftwareSetComplianceStatus &value)
const Aws::Utils::DateTime & GetLastConnectedAt() const
Device & WithCurrentSoftwareSetId(const char *value)
Device & WithCurrentSoftwareSetVersion(const Aws::String &value)
void SetKmsKeyArn(const char *value)
void SetDesiredSoftwareSetId(const char *value)
Device & WithEnvironmentId(const char *value)
void SetName(const char *value)
AWS_WORKSPACESTHINCLIENT_API Device()
void SetCurrentSoftwareSetId(Aws::String &&value)
bool SoftwareSetComplianceStatusHasBeenSet() const
const Aws::String & GetSerialNumber() const
void SetSoftwareSetComplianceStatus(const DeviceSoftwareSetComplianceStatus &value)
void SetKmsKeyArn(Aws::String &&value)
Device & WithCurrentSoftwareSetId(const Aws::String &value)
AWS_WORKSPACESTHINCLIENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastPostureAt() const
void SetEnvironmentId(const Aws::String &value)
const Aws::String & GetEnvironmentId() const
const SoftwareSetUpdateSchedule & GetSoftwareSetUpdateSchedule() const
Device & WithArn(const char *value)
void SetName(const Aws::String &value)
Device & WithSoftwareSetUpdateStatus(const SoftwareSetUpdateStatus &value)
bool CurrentSoftwareSetIdHasBeenSet() const
const Aws::String & GetArn() const
Device & WithSerialNumber(const char *value)
Device & WithPendingSoftwareSetVersion(const char *value)
void SetSoftwareSetComplianceStatus(DeviceSoftwareSetComplianceStatus &&value)
bool ArnHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetSoftwareSetUpdateStatus(const SoftwareSetUpdateStatus &value)
const Aws::Utils::DateTime & GetUpdatedAt() const
bool PendingSoftwareSetVersionHasBeenSet() const
void SetModel(Aws::String &&value)
void SetLastConnectedAt(const Aws::Utils::DateTime &value)
const Aws::String & GetCurrentSoftwareSetId() const
void SetModel(const Aws::String &value)
Device & WithName(const Aws::String &value)
AWS_WORKSPACESTHINCLIENT_API Device(Aws::Utils::Json::JsonView jsonValue)
void SetSoftwareSetUpdateStatus(SoftwareSetUpdateStatus &&value)
void SetLastConnectedAt(Aws::Utils::DateTime &&value)
Device & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool NameHasBeenSet() const
DeviceSoftwareSetComplianceStatus
DeviceStatus
SoftwareSetUpdateStatus
SoftwareSetUpdateSchedule
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