/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SSM { namespace Model { class AWS_SSM_API DescribePatchGroupStateResult { public: DescribePatchGroupStateResult(); DescribePatchGroupStateResult(const Aws::AmazonWebServiceResult& result); DescribePatchGroupStateResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The number of instances in the patch group.

*/ inline int GetInstances() const{ return m_instances; } /** *

The number of instances in the patch group.

*/ inline void SetInstances(int value) { m_instances = value; } /** *

The number of instances in the patch group.

*/ inline DescribePatchGroupStateResult& WithInstances(int value) { SetInstances(value); return *this;} /** *

The number of instances with installed patches.

*/ inline int GetInstancesWithInstalledPatches() const{ return m_instancesWithInstalledPatches; } /** *

The number of instances with installed patches.

*/ inline void SetInstancesWithInstalledPatches(int value) { m_instancesWithInstalledPatches = value; } /** *

The number of instances with installed patches.

*/ inline DescribePatchGroupStateResult& WithInstancesWithInstalledPatches(int value) { SetInstancesWithInstalledPatches(value); return *this;} /** *

The number of instances with patches installed that aren't defined in the * patch baseline.

*/ inline int GetInstancesWithInstalledOtherPatches() const{ return m_instancesWithInstalledOtherPatches; } /** *

The number of instances with patches installed that aren't defined in the * patch baseline.

*/ inline void SetInstancesWithInstalledOtherPatches(int value) { m_instancesWithInstalledOtherPatches = value; } /** *

The number of instances with patches installed that aren't defined in the * patch baseline.

*/ inline DescribePatchGroupStateResult& WithInstancesWithInstalledOtherPatches(int value) { SetInstancesWithInstalledOtherPatches(value); return *this;} /** *

The number of instances with patches installed by Patch Manager that have not * been rebooted after the patch installation. The status of these instances is * NON_COMPLIANT.

*/ inline int GetInstancesWithInstalledPendingRebootPatches() const{ return m_instancesWithInstalledPendingRebootPatches; } /** *

The number of instances with patches installed by Patch Manager that have not * been rebooted after the patch installation. The status of these instances is * NON_COMPLIANT.

*/ inline void SetInstancesWithInstalledPendingRebootPatches(int value) { m_instancesWithInstalledPendingRebootPatches = value; } /** *

The number of instances with patches installed by Patch Manager that have not * been rebooted after the patch installation. The status of these instances is * NON_COMPLIANT.

*/ inline DescribePatchGroupStateResult& WithInstancesWithInstalledPendingRebootPatches(int value) { SetInstancesWithInstalledPendingRebootPatches(value); return *this;} /** *

The number of instances with patches installed that are specified in a * RejectedPatches list. Patches with a status of INSTALLED_REJECTED were * typically installed before they were added to a RejectedPatches list.

*

If ALLOW_AS_DEPENDENCY is the specified option for RejectedPatchesAction, the * value of InstancesWithInstalledRejectedPatches will always be 0 (zero).

* */ inline int GetInstancesWithInstalledRejectedPatches() const{ return m_instancesWithInstalledRejectedPatches; } /** *

The number of instances with patches installed that are specified in a * RejectedPatches list. Patches with a status of INSTALLED_REJECTED were * typically installed before they were added to a RejectedPatches list.

*

If ALLOW_AS_DEPENDENCY is the specified option for RejectedPatchesAction, the * value of InstancesWithInstalledRejectedPatches will always be 0 (zero).

* */ inline void SetInstancesWithInstalledRejectedPatches(int value) { m_instancesWithInstalledRejectedPatches = value; } /** *

The number of instances with patches installed that are specified in a * RejectedPatches list. Patches with a status of INSTALLED_REJECTED were * typically installed before they were added to a RejectedPatches list.

*

If ALLOW_AS_DEPENDENCY is the specified option for RejectedPatchesAction, the * value of InstancesWithInstalledRejectedPatches will always be 0 (zero).

* */ inline DescribePatchGroupStateResult& WithInstancesWithInstalledRejectedPatches(int value) { SetInstancesWithInstalledRejectedPatches(value); return *this;} /** *

The number of instances with missing patches from the patch baseline.

*/ inline int GetInstancesWithMissingPatches() const{ return m_instancesWithMissingPatches; } /** *

The number of instances with missing patches from the patch baseline.

*/ inline void SetInstancesWithMissingPatches(int value) { m_instancesWithMissingPatches = value; } /** *

The number of instances with missing patches from the patch baseline.

*/ inline DescribePatchGroupStateResult& WithInstancesWithMissingPatches(int value) { SetInstancesWithMissingPatches(value); return *this;} /** *

The number of instances with patches from the patch baseline that failed to * install.

*/ inline int GetInstancesWithFailedPatches() const{ return m_instancesWithFailedPatches; } /** *

The number of instances with patches from the patch baseline that failed to * install.

*/ inline void SetInstancesWithFailedPatches(int value) { m_instancesWithFailedPatches = value; } /** *

The number of instances with patches from the patch baseline that failed to * install.

*/ inline DescribePatchGroupStateResult& WithInstancesWithFailedPatches(int value) { SetInstancesWithFailedPatches(value); return *this;} /** *

The number of instances with patches that aren't applicable.

*/ inline int GetInstancesWithNotApplicablePatches() const{ return m_instancesWithNotApplicablePatches; } /** *

The number of instances with patches that aren't applicable.

*/ inline void SetInstancesWithNotApplicablePatches(int value) { m_instancesWithNotApplicablePatches = value; } /** *

The number of instances with patches that aren't applicable.

*/ inline DescribePatchGroupStateResult& WithInstancesWithNotApplicablePatches(int value) { SetInstancesWithNotApplicablePatches(value); return *this;} /** *

The number of instances with NotApplicable patches beyond the * supported limit, which are not reported by name to Systems Manager * Inventory.

*/ inline int GetInstancesWithUnreportedNotApplicablePatches() const{ return m_instancesWithUnreportedNotApplicablePatches; } /** *

The number of instances with NotApplicable patches beyond the * supported limit, which are not reported by name to Systems Manager * Inventory.

*/ inline void SetInstancesWithUnreportedNotApplicablePatches(int value) { m_instancesWithUnreportedNotApplicablePatches = value; } /** *

The number of instances with NotApplicable patches beyond the * supported limit, which are not reported by name to Systems Manager * Inventory.

*/ inline DescribePatchGroupStateResult& WithInstancesWithUnreportedNotApplicablePatches(int value) { SetInstancesWithUnreportedNotApplicablePatches(value); return *this;} private: int m_instances; int m_instancesWithInstalledPatches; int m_instancesWithInstalledOtherPatches; int m_instancesWithInstalledPendingRebootPatches; int m_instancesWithInstalledRejectedPatches; int m_instancesWithMissingPatches; int m_instancesWithFailedPatches; int m_instancesWithNotApplicablePatches; int m_instancesWithUnreportedNotApplicablePatches; }; } // namespace Model } // namespace SSM } // namespace Aws