/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides an overview of the patch compliance status for an instance against a
* selected compliance standard.See Also:
AWS
* API Reference
The identifier of the compliance standard that was used to determine the * patch compliance status.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The identifier of the compliance standard that was used to determine the * patch compliance status.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The identifier of the compliance standard that was used to determine the * patch compliance status.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The identifier of the compliance standard that was used to determine the * patch compliance status.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The identifier of the compliance standard that was used to determine the * patch compliance status.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The identifier of the compliance standard that was used to determine the * patch compliance status.
*/ inline PatchSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The identifier of the compliance standard that was used to determine the * patch compliance status.
*/ inline PatchSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The identifier of the compliance standard that was used to determine the * patch compliance status.
*/ inline PatchSummary& WithId(const char* value) { SetId(value); return *this;} /** *The number of patches from the compliance standard that were installed * successfully.
*/ inline int GetInstalledCount() const{ return m_installedCount; } /** *The number of patches from the compliance standard that were installed * successfully.
*/ inline bool InstalledCountHasBeenSet() const { return m_installedCountHasBeenSet; } /** *The number of patches from the compliance standard that were installed * successfully.
*/ inline void SetInstalledCount(int value) { m_installedCountHasBeenSet = true; m_installedCount = value; } /** *The number of patches from the compliance standard that were installed * successfully.
*/ inline PatchSummary& WithInstalledCount(int value) { SetInstalledCount(value); return *this;} /** *The number of patches that are part of the compliance standard but are not * installed. The count includes patches that failed to install.
*/ inline int GetMissingCount() const{ return m_missingCount; } /** *The number of patches that are part of the compliance standard but are not * installed. The count includes patches that failed to install.
*/ inline bool MissingCountHasBeenSet() const { return m_missingCountHasBeenSet; } /** *The number of patches that are part of the compliance standard but are not * installed. The count includes patches that failed to install.
*/ inline void SetMissingCount(int value) { m_missingCountHasBeenSet = true; m_missingCount = value; } /** *The number of patches that are part of the compliance standard but are not * installed. The count includes patches that failed to install.
*/ inline PatchSummary& WithMissingCount(int value) { SetMissingCount(value); return *this;} /** *The number of patches from the compliance standard that failed to * install.
*/ inline int GetFailedCount() const{ return m_failedCount; } /** *The number of patches from the compliance standard that failed to * install.
*/ inline bool FailedCountHasBeenSet() const { return m_failedCountHasBeenSet; } /** *The number of patches from the compliance standard that failed to * install.
*/ inline void SetFailedCount(int value) { m_failedCountHasBeenSet = true; m_failedCount = value; } /** *The number of patches from the compliance standard that failed to * install.
*/ inline PatchSummary& WithFailedCount(int value) { SetFailedCount(value); return *this;} /** *The number of installed patches that are not part of the compliance * standard.
*/ inline int GetInstalledOtherCount() const{ return m_installedOtherCount; } /** *The number of installed patches that are not part of the compliance * standard.
*/ inline bool InstalledOtherCountHasBeenSet() const { return m_installedOtherCountHasBeenSet; } /** *The number of installed patches that are not part of the compliance * standard.
*/ inline void SetInstalledOtherCount(int value) { m_installedOtherCountHasBeenSet = true; m_installedOtherCount = value; } /** *The number of installed patches that are not part of the compliance * standard.
*/ inline PatchSummary& WithInstalledOtherCount(int value) { SetInstalledOtherCount(value); return *this;} /** *The number of patches that are installed but are also on a list of patches * that the customer rejected.
*/ inline int GetInstalledRejectedCount() const{ return m_installedRejectedCount; } /** *The number of patches that are installed but are also on a list of patches * that the customer rejected.
*/ inline bool InstalledRejectedCountHasBeenSet() const { return m_installedRejectedCountHasBeenSet; } /** *The number of patches that are installed but are also on a list of patches * that the customer rejected.
*/ inline void SetInstalledRejectedCount(int value) { m_installedRejectedCountHasBeenSet = true; m_installedRejectedCount = value; } /** *The number of patches that are installed but are also on a list of patches * that the customer rejected.
*/ inline PatchSummary& WithInstalledRejectedCount(int value) { SetInstalledRejectedCount(value); return *this;} /** *The number of patches that were applied, but that require the instance to be * rebooted in order to be marked as installed.
*/ inline int GetInstalledPendingReboot() const{ return m_installedPendingReboot; } /** *The number of patches that were applied, but that require the instance to be * rebooted in order to be marked as installed.
*/ inline bool InstalledPendingRebootHasBeenSet() const { return m_installedPendingRebootHasBeenSet; } /** *The number of patches that were applied, but that require the instance to be * rebooted in order to be marked as installed.
*/ inline void SetInstalledPendingReboot(int value) { m_installedPendingRebootHasBeenSet = true; m_installedPendingReboot = value; } /** *The number of patches that were applied, but that require the instance to be * rebooted in order to be marked as installed.
*/ inline PatchSummary& WithInstalledPendingReboot(int value) { SetInstalledPendingReboot(value); return *this;} /** *Indicates when the operation started.
Uses the date-time
* format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the operation started.
Uses the date-time
* format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the operation started.
Uses the date-time
* format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the operation started.
Uses the date-time
* format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the operation started.
Uses the date-time
* format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the operation started.
Uses the date-time
* format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the operation started.
Uses the date-time
* format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the operation started.
Uses the date-time
* format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the operation completed.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the operation completed.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the operation completed.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the operation completed.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the operation completed.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the operation completed.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the operation completed.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
Indicates when the operation completed.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
The reboot option specified for the instance.
*/ inline const Aws::String& GetRebootOption() const{ return m_rebootOption; } /** *The reboot option specified for the instance.
*/ inline bool RebootOptionHasBeenSet() const { return m_rebootOptionHasBeenSet; } /** *The reboot option specified for the instance.
*/ inline void SetRebootOption(const Aws::String& value) { m_rebootOptionHasBeenSet = true; m_rebootOption = value; } /** *The reboot option specified for the instance.
*/ inline void SetRebootOption(Aws::String&& value) { m_rebootOptionHasBeenSet = true; m_rebootOption = std::move(value); } /** *The reboot option specified for the instance.
*/ inline void SetRebootOption(const char* value) { m_rebootOptionHasBeenSet = true; m_rebootOption.assign(value); } /** *The reboot option specified for the instance.
*/ inline PatchSummary& WithRebootOption(const Aws::String& value) { SetRebootOption(value); return *this;} /** *The reboot option specified for the instance.
*/ inline PatchSummary& WithRebootOption(Aws::String&& value) { SetRebootOption(std::move(value)); return *this;} /** *The reboot option specified for the instance.
*/ inline PatchSummary& WithRebootOption(const char* value) { SetRebootOption(value); return *this;} /** *The type of patch operation performed. For Patch Manager, the values are
* SCAN
and INSTALL
.
The type of patch operation performed. For Patch Manager, the values are
* SCAN
and INSTALL
.
The type of patch operation performed. For Patch Manager, the values are
* SCAN
and INSTALL
.
The type of patch operation performed. For Patch Manager, the values are
* SCAN
and INSTALL
.
The type of patch operation performed. For Patch Manager, the values are
* SCAN
and INSTALL
.
The type of patch operation performed. For Patch Manager, the values are
* SCAN
and INSTALL
.
The type of patch operation performed. For Patch Manager, the values are
* SCAN
and INSTALL
.
The type of patch operation performed. For Patch Manager, the values are
* SCAN
and INSTALL
.