7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/workspaces-thin-client/WorkSpacesThinClient_EXPORTS.h>
10#include <aws/workspaces-thin-client/model/DeviceSoftwareSetComplianceStatus.h>
11#include <aws/workspaces-thin-client/model/DeviceStatus.h>
12#include <aws/workspaces-thin-client/model/SoftwareSetUpdateSchedule.h>
13#include <aws/workspaces-thin-client/model/SoftwareSetUpdateStatus.h>
24namespace WorkSpacesThinClient {
34 AWS_WORKSPACESTHINCLIENT_API
Device() =
default;
45 template <
typename IdT = Aws::String>
47 m_idHasBeenSet =
true;
48 m_id = std::forward<IdT>(value);
50 template <
typename IdT = Aws::String>
52 SetId(std::forward<IdT>(value));
63 template <
typename SerialNumberT = Aws::String>
65 m_serialNumberHasBeenSet =
true;
66 m_serialNumber = std::forward<SerialNumberT>(value);
68 template <
typename SerialNumberT = Aws::String>
81 template <
typename NameT = Aws::String>
83 m_nameHasBeenSet =
true;
84 m_name = std::forward<NameT>(value);
86 template <
typename NameT = Aws::String>
88 SetName(std::forward<NameT>(value));
99 template <
typename ModelT = Aws::String>
101 m_modelHasBeenSet =
true;
102 m_model = std::forward<ModelT>(value);
104 template <
typename ModelT = Aws::String>
106 SetModel(std::forward<ModelT>(value));
117 template <
typename EnvironmentIdT = Aws::String>
119 m_environmentIdHasBeenSet =
true;
120 m_environmentId = std::forward<EnvironmentIdT>(value);
122 template <
typename EnvironmentIdT = Aws::String>
136 m_statusHasBeenSet =
true;
151 template <
typename CurrentSoftwareSetIdT = Aws::String>
153 m_currentSoftwareSetIdHasBeenSet =
true;
154 m_currentSoftwareSetId = std::forward<CurrentSoftwareSetIdT>(value);
156 template <
typename CurrentSoftwareSetIdT = Aws::String>
169 template <
typename CurrentSoftwareSetVersionT = Aws::String>
171 m_currentSoftwareSetVersionHasBeenSet =
true;
172 m_currentSoftwareSetVersion = std::forward<CurrentSoftwareSetVersionT>(value);
174 template <
typename CurrentSoftwareSetVersionT = Aws::String>
187 template <
typename DesiredSoftwareSetIdT = Aws::String>
189 m_desiredSoftwareSetIdHasBeenSet =
true;
190 m_desiredSoftwareSetId = std::forward<DesiredSoftwareSetIdT>(value);
192 template <
typename DesiredSoftwareSetIdT = Aws::String>
205 template <
typename PendingSoftwareSetIdT = Aws::String>
207 m_pendingSoftwareSetIdHasBeenSet =
true;
208 m_pendingSoftwareSetId = std::forward<PendingSoftwareSetIdT>(value);
210 template <
typename PendingSoftwareSetIdT = Aws::String>
224 template <
typename PendingSoftwareSetVersionT = Aws::String>
226 m_pendingSoftwareSetVersionHasBeenSet =
true;
227 m_pendingSoftwareSetVersion = std::forward<PendingSoftwareSetVersionT>(value);
229 template <
typename PendingSoftwareSetVersionT = Aws::String>
244 m_softwareSetUpdateScheduleHasBeenSet =
true;
245 m_softwareSetUpdateSchedule = value;
261 m_softwareSetComplianceStatusHasBeenSet =
true;
262 m_softwareSetComplianceStatus = value;
277 m_softwareSetUpdateStatusHasBeenSet =
true;
278 m_softwareSetUpdateStatus = value;
292 template <
typename LastConnectedAtT = Aws::Utils::DateTime>
294 m_lastConnectedAtHasBeenSet =
true;
295 m_lastConnectedAt = std::forward<LastConnectedAtT>(value);
297 template <
typename LastConnectedAtT = Aws::Utils::DateTime>
310 template <
typename LastPostureAtT = Aws::Utils::DateTime>
312 m_lastPostureAtHasBeenSet =
true;
313 m_lastPostureAt = std::forward<LastPostureAtT>(value);
315 template <
typename LastPostureAtT = Aws::Utils::DateTime>
328 template <
typename CreatedAtT = Aws::Utils::DateTime>
330 m_createdAtHasBeenSet =
true;
331 m_createdAt = std::forward<CreatedAtT>(value);
333 template <
typename CreatedAtT = Aws::Utils::DateTime>
346 template <
typename UpdatedAtT = Aws::Utils::DateTime>
348 m_updatedAtHasBeenSet =
true;
349 m_updatedAt = std::forward<UpdatedAtT>(value);
351 template <
typename UpdatedAtT = Aws::Utils::DateTime>
364 template <
typename ArnT = Aws::String>
366 m_arnHasBeenSet =
true;
367 m_arn = std::forward<ArnT>(value);
369 template <
typename ArnT = Aws::String>
371 SetArn(std::forward<ArnT>(value));
383 template <
typename KmsKeyArnT = Aws::String>
385 m_kmsKeyArnHasBeenSet =
true;
386 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
388 template <
typename KmsKeyArnT = Aws::String>
401 template <
typename LastUserIdT = Aws::String>
403 m_lastUserIdHasBeenSet =
true;
404 m_lastUserId = std::forward<LastUserIdT>(value);
406 template <
typename LastUserIdT = Aws::String>
454 bool m_idHasBeenSet =
false;
455 bool m_serialNumberHasBeenSet =
false;
456 bool m_nameHasBeenSet =
false;
457 bool m_modelHasBeenSet =
false;
458 bool m_environmentIdHasBeenSet =
false;
459 bool m_statusHasBeenSet =
false;
460 bool m_currentSoftwareSetIdHasBeenSet =
false;
461 bool m_currentSoftwareSetVersionHasBeenSet =
false;
462 bool m_desiredSoftwareSetIdHasBeenSet =
false;
463 bool m_pendingSoftwareSetIdHasBeenSet =
false;
464 bool m_pendingSoftwareSetVersionHasBeenSet =
false;
465 bool m_softwareSetUpdateScheduleHasBeenSet =
false;
466 bool m_softwareSetComplianceStatusHasBeenSet =
false;
467 bool m_softwareSetUpdateStatusHasBeenSet =
false;
468 bool m_lastConnectedAtHasBeenSet =
false;
469 bool m_lastPostureAtHasBeenSet =
false;
470 bool m_createdAtHasBeenSet =
false;
471 bool m_updatedAtHasBeenSet =
false;
472 bool m_arnHasBeenSet =
false;
473 bool m_kmsKeyArnHasBeenSet =
false;
474 bool m_lastUserIdHasBeenSet =
false;
bool LastConnectedAtHasBeenSet() const
bool SoftwareSetUpdateScheduleHasBeenSet() const
Device & WithSoftwareSetComplianceStatus(DeviceSoftwareSetComplianceStatus value)
void SetPendingSoftwareSetVersion(PendingSoftwareSetVersionT &&value)
bool SoftwareSetUpdateStatusHasBeenSet() const
bool PendingSoftwareSetIdHasBeenSet() const
Device & WithPendingSoftwareSetId(PendingSoftwareSetIdT &&value)
void SetSoftwareSetUpdateStatus(SoftwareSetUpdateStatus value)
const Aws::String & GetModel() const
Device & WithDesiredSoftwareSetId(DesiredSoftwareSetIdT &&value)
const Aws::String & GetName() const
const Aws::String & GetCurrentSoftwareSetVersion() const
bool SerialNumberHasBeenSet() const
Device & WithCurrentSoftwareSetId(CurrentSoftwareSetIdT &&value)
void SetEnvironmentId(EnvironmentIdT &&value)
void SetLastConnectedAt(LastConnectedAtT &&value)
const Aws::String & GetPendingSoftwareSetVersion() const
void SetLastUserId(LastUserIdT &&value)
void SetName(NameT &&value)
bool ModelHasBeenSet() const
bool LastPostureAtHasBeenSet() const
Device & WithPendingSoftwareSetVersion(PendingSoftwareSetVersionT &&value)
const Aws::String & GetPendingSoftwareSetId() const
void SetModel(ModelT &&value)
void SetArn(ArnT &&value)
bool DesiredSoftwareSetIdHasBeenSet() const
void SetLastPostureAt(LastPostureAtT &&value)
DeviceSoftwareSetComplianceStatus GetSoftwareSetComplianceStatus() const
bool KmsKeyArnHasBeenSet() const
AWS_WORKSPACESTHINCLIENT_API Device()=default
Device & WithSerialNumber(SerialNumberT &&value)
AWS_WORKSPACESTHINCLIENT_API Device & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSerialNumber(SerialNumberT &&value)
bool EnvironmentIdHasBeenSet() const
const Aws::String & GetLastUserId() const
const Aws::String & GetKmsKeyArn() const
Device & WithModel(ModelT &&value)
bool StatusHasBeenSet() const
bool CreatedAtHasBeenSet() const
Device & WithId(IdT &&value)
void SetStatus(DeviceStatus value)
bool IdHasBeenSet() const
const Aws::String & GetDesiredSoftwareSetId() const
bool CurrentSoftwareSetVersionHasBeenSet() const
bool UpdatedAtHasBeenSet() const
Device & WithEnvironmentId(EnvironmentIdT &&value)
Device & WithCurrentSoftwareSetVersion(CurrentSoftwareSetVersionT &&value)
Device & WithLastPostureAt(LastPostureAtT &&value)
Device & WithKmsKeyArn(KmsKeyArnT &&value)
SoftwareSetUpdateStatus GetSoftwareSetUpdateStatus() const
const Aws::String & GetId() const
Device & WithStatus(DeviceStatus value)
void SetDesiredSoftwareSetId(DesiredSoftwareSetIdT &&value)
const Aws::Utils::DateTime & GetLastConnectedAt() const
Device & WithArn(ArnT &&value)
SoftwareSetUpdateSchedule GetSoftwareSetUpdateSchedule() const
Device & WithLastUserId(LastUserIdT &&value)
bool SoftwareSetComplianceStatusHasBeenSet() const
const Aws::String & GetSerialNumber() const
Device & WithCreatedAt(CreatedAtT &&value)
Device & WithSoftwareSetUpdateStatus(SoftwareSetUpdateStatus value)
Device & WithUpdatedAt(UpdatedAtT &&value)
AWS_WORKSPACESTHINCLIENT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastPostureAt() const
const Aws::String & GetEnvironmentId() const
bool LastUserIdHasBeenSet() const
void SetSoftwareSetUpdateSchedule(SoftwareSetUpdateSchedule value)
Device & WithSoftwareSetUpdateSchedule(SoftwareSetUpdateSchedule value)
Device & WithLastConnectedAt(LastConnectedAtT &&value)
bool CurrentSoftwareSetIdHasBeenSet() const
const Aws::String & GetArn() const
void SetKmsKeyArn(KmsKeyArnT &&value)
void SetSoftwareSetComplianceStatus(DeviceSoftwareSetComplianceStatus value)
bool ArnHasBeenSet() const
const Aws::Utils::DateTime & GetCreatedAt() const
DeviceStatus GetStatus() const
void SetCurrentSoftwareSetVersion(CurrentSoftwareSetVersionT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
bool PendingSoftwareSetVersionHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetCurrentSoftwareSetId() const
void SetPendingSoftwareSetId(PendingSoftwareSetIdT &&value)
Device & WithName(NameT &&value)
AWS_WORKSPACESTHINCLIENT_API Device(Aws::Utils::Json::JsonView jsonValue)
void SetCurrentSoftwareSetId(CurrentSoftwareSetIdT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
bool NameHasBeenSet() const
DeviceSoftwareSetComplianceStatus
SoftwareSetUpdateSchedule
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue