7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/ssm/model/PatchOperationType.h>
11#include <aws/ssm/model/RebootOption.h>
53 template<
typename InstanceIdT = Aws::String>
54 void SetInstanceId(InstanceIdT&& value) { m_instanceIdHasBeenSet =
true; m_instanceId = std::forward<InstanceIdT>(value); }
55 template<
typename InstanceIdT = Aws::String>
65 template<
typename PatchGroupT = Aws::String>
66 void SetPatchGroup(PatchGroupT&& value) { m_patchGroupHasBeenSet =
true; m_patchGroup = std::forward<PatchGroupT>(value); }
67 template<
typename PatchGroupT = Aws::String>
77 template<
typename BaselineIdT = Aws::String>
78 void SetBaselineId(BaselineIdT&& value) { m_baselineIdHasBeenSet =
true; m_baselineId = std::forward<BaselineIdT>(value); }
79 template<
typename BaselineIdT = Aws::String>
90 template<
typename SnapshotIdT = Aws::String>
91 void SetSnapshotId(SnapshotIdT&& value) { m_snapshotIdHasBeenSet =
true; m_snapshotId = std::forward<SnapshotIdT>(value); }
92 template<
typename SnapshotIdT = Aws::String>
110 template<
typename InstallOverr
ideListT = Aws::String>
111 void SetInstallOverrideList(InstallOverrideListT&& value) { m_installOverrideListHasBeenSet =
true; m_installOverrideList = std::forward<InstallOverrideListT>(value); }
112 template<
typename InstallOverr
ideListT = Aws::String>
123 template<
typename OwnerInformationT = Aws::String>
124 void SetOwnerInformation(OwnerInformationT&& value) { m_ownerInformationHasBeenSet =
true; m_ownerInformation = std::forward<OwnerInformationT>(value); }
125 template<
typename OwnerInformationT = Aws::String>
136 inline void SetInstalledCount(
int value) { m_installedCountHasBeenSet =
true; m_installedCount = value; }
186 inline void SetMissingCount(
int value) { m_missingCountHasBeenSet =
true; m_missingCount = value; }
197 inline void SetFailedCount(
int value) { m_failedCountHasBeenSet =
true; m_failedCount = value; }
222 inline void SetNotApplicableCount(
int value) { m_notApplicableCountHasBeenSet =
true; m_notApplicableCount = value; }
247 template<
typename OperationStartTimeT = Aws::Utils::DateTime>
248 void SetOperationStartTime(OperationStartTimeT&& value) { m_operationStartTimeHasBeenSet =
true; m_operationStartTime = std::forward<OperationStartTimeT>(value); }
249 template<
typename OperationStartTimeT = Aws::Utils::DateTime>
260 template<
typename OperationEndTimeT = Aws::Utils::DateTime>
261 void SetOperationEndTime(OperationEndTimeT&& value) { m_operationEndTimeHasBeenSet =
true; m_operationEndTime = std::forward<OperationEndTimeT>(value); }
262 template<
typename OperationEndTimeT = Aws::Utils::DateTime>
285 template<
typename LastNoRebootInstallOperationTimeT = Aws::Utils::DateTime>
286 void SetLastNoRebootInstallOperationTime(LastNoRebootInstallOperationTimeT&& value) { m_lastNoRebootInstallOperationTimeHasBeenSet =
true; m_lastNoRebootInstallOperationTime = std::forward<LastNoRebootInstallOperationTimeT>(value); }
287 template<
typename LastNoRebootInstallOperationTimeT = Aws::Utils::DateTime>
353 bool m_instanceIdHasBeenSet =
false;
356 bool m_patchGroupHasBeenSet =
false;
359 bool m_baselineIdHasBeenSet =
false;
362 bool m_snapshotIdHasBeenSet =
false;
365 bool m_installOverrideListHasBeenSet =
false;
368 bool m_ownerInformationHasBeenSet =
false;
370 int m_installedCount{0};
371 bool m_installedCountHasBeenSet =
false;
373 int m_installedOtherCount{0};
374 bool m_installedOtherCountHasBeenSet =
false;
376 int m_installedPendingRebootCount{0};
377 bool m_installedPendingRebootCountHasBeenSet =
false;
379 int m_installedRejectedCount{0};
380 bool m_installedRejectedCountHasBeenSet =
false;
382 int m_missingCount{0};
383 bool m_missingCountHasBeenSet =
false;
385 int m_failedCount{0};
386 bool m_failedCountHasBeenSet =
false;
388 int m_unreportedNotApplicableCount{0};
389 bool m_unreportedNotApplicableCountHasBeenSet =
false;
391 int m_notApplicableCount{0};
392 bool m_notApplicableCountHasBeenSet =
false;
394 int m_availableSecurityUpdateCount{0};
395 bool m_availableSecurityUpdateCountHasBeenSet =
false;
398 bool m_operationStartTimeHasBeenSet =
false;
401 bool m_operationEndTimeHasBeenSet =
false;
404 bool m_operationHasBeenSet =
false;
407 bool m_lastNoRebootInstallOperationTimeHasBeenSet =
false;
410 bool m_rebootOptionHasBeenSet =
false;
412 int m_criticalNonCompliantCount{0};
413 bool m_criticalNonCompliantCountHasBeenSet =
false;
415 int m_securityNonCompliantCount{0};
416 bool m_securityNonCompliantCountHasBeenSet =
false;
418 int m_otherNonCompliantCount{0};
419 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