7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm/SSM_EXPORTS.h>
10#include <aws/ssm/model/PatchOperationType.h>
11#include <aws/ssm/model/RebootOption.h>
47 template <
typename InstanceIdT = Aws::String>
49 m_instanceIdHasBeenSet =
true;
50 m_instanceId = std::forward<InstanceIdT>(value);
52 template <
typename InstanceIdT = Aws::String>
65 template <
typename PatchGroupT = Aws::String>
67 m_patchGroupHasBeenSet =
true;
68 m_patchGroup = std::forward<PatchGroupT>(value);
70 template <
typename PatchGroupT = Aws::String>
83 template <
typename BaselineIdT = Aws::String>
85 m_baselineIdHasBeenSet =
true;
86 m_baselineId = std::forward<BaselineIdT>(value);
88 template <
typename BaselineIdT = Aws::String>
102 template <
typename SnapshotIdT = Aws::String>
104 m_snapshotIdHasBeenSet =
true;
105 m_snapshotId = std::forward<SnapshotIdT>(value);
107 template <
typename SnapshotIdT = Aws::String>
128 template <
typename InstallOverr
ideListT = Aws::String>
130 m_installOverrideListHasBeenSet =
true;
131 m_installOverrideList = std::forward<InstallOverrideListT>(value);
133 template <
typename InstallOverr
ideListT = Aws::String>
147 template <
typename OwnerInformationT = Aws::String>
149 m_ownerInformationHasBeenSet =
true;
150 m_ownerInformation = std::forward<OwnerInformationT>(value);
152 template <
typename OwnerInformationT = Aws::String>
167 m_installedCountHasBeenSet =
true;
168 m_installedCount = value;
184 m_installedOtherCountHasBeenSet =
true;
185 m_installedOtherCount = value;
201 m_installedPendingRebootCountHasBeenSet =
true;
202 m_installedPendingRebootCount = value;
224 m_installedRejectedCountHasBeenSet =
true;
225 m_installedRejectedCount = value;
241 m_missingCountHasBeenSet =
true;
242 m_missingCount = value;
258 m_failedCountHasBeenSet =
true;
259 m_failedCount = value;
276 m_unreportedNotApplicableCountHasBeenSet =
true;
277 m_unreportedNotApplicableCount = value;
295 m_notApplicableCountHasBeenSet =
true;
296 m_notApplicableCount = value;
315 m_availableSecurityUpdateCountHasBeenSet =
true;
316 m_availableSecurityUpdateCount = value;
331 template <
typename OperationStartTimeT = Aws::Utils::DateTime>
333 m_operationStartTimeHasBeenSet =
true;
334 m_operationStartTime = std::forward<OperationStartTimeT>(value);
336 template <
typename OperationStartTimeT = Aws::Utils::DateTime>
350 template <
typename OperationEndTimeT = Aws::Utils::DateTime>
352 m_operationEndTimeHasBeenSet =
true;
353 m_operationEndTime = std::forward<OperationEndTimeT>(value);
355 template <
typename OperationEndTimeT = Aws::Utils::DateTime>
371 m_operationHasBeenSet =
true;
387 template <
typename LastNoRebootInstallOperationTimeT = Aws::Utils::DateTime>
389 m_lastNoRebootInstallOperationTimeHasBeenSet =
true;
390 m_lastNoRebootInstallOperationTime = std::forward<LastNoRebootInstallOperationTimeT>(value);
392 template <
typename LastNoRebootInstallOperationTimeT = Aws::Utils::DateTime>
415 m_rebootOptionHasBeenSet =
true;
416 m_rebootOption = value;
435 m_criticalNonCompliantCountHasBeenSet =
true;
436 m_criticalNonCompliantCount = value;
455 m_securityNonCompliantCountHasBeenSet =
true;
456 m_securityNonCompliantCount = value;
474 m_otherNonCompliantCountHasBeenSet =
true;
475 m_otherNonCompliantCount = value;
495 int m_installedCount{0};
497 int m_installedOtherCount{0};
499 int m_installedPendingRebootCount{0};
501 int m_installedRejectedCount{0};
503 int m_missingCount{0};
505 int m_failedCount{0};
507 int m_unreportedNotApplicableCount{0};
509 int m_notApplicableCount{0};
511 int m_availableSecurityUpdateCount{0};
523 int m_criticalNonCompliantCount{0};
525 int m_securityNonCompliantCount{0};
527 int m_otherNonCompliantCount{0};
528 bool m_instanceIdHasBeenSet =
false;
529 bool m_patchGroupHasBeenSet =
false;
530 bool m_baselineIdHasBeenSet =
false;
531 bool m_snapshotIdHasBeenSet =
false;
532 bool m_installOverrideListHasBeenSet =
false;
533 bool m_ownerInformationHasBeenSet =
false;
534 bool m_installedCountHasBeenSet =
false;
535 bool m_installedOtherCountHasBeenSet =
false;
536 bool m_installedPendingRebootCountHasBeenSet =
false;
537 bool m_installedRejectedCountHasBeenSet =
false;
538 bool m_missingCountHasBeenSet =
false;
539 bool m_failedCountHasBeenSet =
false;
540 bool m_unreportedNotApplicableCountHasBeenSet =
false;
541 bool m_notApplicableCountHasBeenSet =
false;
542 bool m_availableSecurityUpdateCountHasBeenSet =
false;
543 bool m_operationStartTimeHasBeenSet =
false;
544 bool m_operationEndTimeHasBeenSet =
false;
545 bool m_operationHasBeenSet =
false;
546 bool m_lastNoRebootInstallOperationTimeHasBeenSet =
false;
547 bool m_rebootOptionHasBeenSet =
false;
548 bool m_criticalNonCompliantCountHasBeenSet =
false;
549 bool m_securityNonCompliantCountHasBeenSet =
false;
550 bool m_otherNonCompliantCountHasBeenSet =
false;
void SetMissingCount(int value)
int GetMissingCount() const
InstancePatchState & WithPatchGroup(PatchGroupT &&value)
void SetOtherNonCompliantCount(int value)
InstancePatchState & WithInstalledRejectedCount(int value)
void SetOperationStartTime(OperationStartTimeT &&value)
AWS_SSM_API InstancePatchState()=default
InstancePatchState & WithInstalledPendingRebootCount(int value)
const Aws::String & GetSnapshotId() const
bool InstalledPendingRebootCountHasBeenSet() const
bool OwnerInformationHasBeenSet() const
bool OperationStartTimeHasBeenSet() const
bool InstanceIdHasBeenSet() const
const Aws::String & GetBaselineId() const
void SetInstalledPendingRebootCount(int value)
bool CriticalNonCompliantCountHasBeenSet() const
bool RebootOptionHasBeenSet() const
const Aws::String & GetPatchGroup() const
const Aws::Utils::DateTime & GetOperationStartTime() const
InstancePatchState & WithFailedCount(int value)
AWS_SSM_API InstancePatchState & operator=(Aws::Utils::Json::JsonView jsonValue)
InstancePatchState & WithMissingCount(int value)
bool OtherNonCompliantCountHasBeenSet() const
int GetAvailableSecurityUpdateCount() const
void SetInstanceId(InstanceIdT &&value)
const Aws::String & GetInstanceId() const
void SetCriticalNonCompliantCount(int value)
int GetInstalledRejectedCount() const
bool AvailableSecurityUpdateCountHasBeenSet() const
bool InstallOverrideListHasBeenSet() const
InstancePatchState & WithNotApplicableCount(int value)
const Aws::Utils::DateTime & GetOperationEndTime() const
bool SecurityNonCompliantCountHasBeenSet() const
void SetUnreportedNotApplicableCount(int value)
bool UnreportedNotApplicableCountHasBeenSet() const
void SetSecurityNonCompliantCount(int value)
InstancePatchState & WithSnapshotId(SnapshotIdT &&value)
void SetInstallOverrideList(InstallOverrideListT &&value)
void SetLastNoRebootInstallOperationTime(LastNoRebootInstallOperationTimeT &&value)
bool NotApplicableCountHasBeenSet() const
void SetPatchGroup(PatchGroupT &&value)
InstancePatchState & WithBaselineId(BaselineIdT &&value)
int GetInstalledPendingRebootCount() const
InstancePatchState & WithOtherNonCompliantCount(int value)
bool OperationEndTimeHasBeenSet() const
const Aws::String & GetOwnerInformation() const
bool FailedCountHasBeenSet() const
void SetBaselineId(BaselineIdT &&value)
PatchOperationType GetOperation() const
InstancePatchState & WithLastNoRebootInstallOperationTime(LastNoRebootInstallOperationTimeT &&value)
bool SnapshotIdHasBeenSet() const
bool InstalledCountHasBeenSet() const
InstancePatchState & WithAvailableSecurityUpdateCount(int value)
void SetOperationEndTime(OperationEndTimeT &&value)
bool InstalledRejectedCountHasBeenSet() const
AWS_SSM_API InstancePatchState(Aws::Utils::Json::JsonView jsonValue)
InstancePatchState & WithSecurityNonCompliantCount(int value)
bool MissingCountHasBeenSet() const
InstancePatchState & WithOperationEndTime(OperationEndTimeT &&value)
InstancePatchState & WithRebootOption(RebootOption value)
int GetNotApplicableCount() const
void SetInstalledOtherCount(int value)
bool InstalledOtherCountHasBeenSet() const
int GetFailedCount() const
const Aws::Utils::DateTime & GetLastNoRebootInstallOperationTime() const
int GetOtherNonCompliantCount() const
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
int GetInstalledCount() const
void SetInstalledCount(int value)
void SetAvailableSecurityUpdateCount(int value)
bool OperationHasBeenSet() const
InstancePatchState & WithUnreportedNotApplicableCount(int value)
void SetOwnerInformation(OwnerInformationT &&value)
RebootOption GetRebootOption() const
bool BaselineIdHasBeenSet() const
void SetNotApplicableCount(int value)
InstancePatchState & WithInstanceId(InstanceIdT &&value)
InstancePatchState & WithCriticalNonCompliantCount(int value)
bool PatchGroupHasBeenSet() const
int GetSecurityNonCompliantCount() const
void SetFailedCount(int value)
InstancePatchState & WithInstalledCount(int value)
const Aws::String & GetInstallOverrideList() const
InstancePatchState & WithOwnerInformation(OwnerInformationT &&value)
InstancePatchState & WithOperation(PatchOperationType value)
void SetOperation(PatchOperationType value)
void SetSnapshotId(SnapshotIdT &&value)
InstancePatchState & WithInstallOverrideList(InstallOverrideListT &&value)
InstancePatchState & WithOperationStartTime(OperationStartTimeT &&value)
bool LastNoRebootInstallOperationTimeHasBeenSet() const
int GetInstalledOtherCount() const
void SetInstalledRejectedCount(int value)
void SetRebootOption(RebootOption value)
int GetCriticalNonCompliantCount() const
int GetUnreportedNotApplicableCount() const
InstancePatchState & WithInstalledOtherCount(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue