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

The number of managed nodes in the patch group.

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

The number of managed nodes in the patch group.

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

The number of managed nodes in the patch group.

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

The number of managed nodes with installed patches.

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

The number of managed nodes with installed patches.

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

The number of managed nodes with installed patches.

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

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

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

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

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

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

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

The number of managed nodes with patches installed by Patch Manager that * haven't been rebooted after the patch installation. The status of these managed * nodes is NON_COMPLIANT.

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

The number of managed nodes with patches installed by Patch Manager that * haven't been rebooted after the patch installation. The status of these managed * nodes is NON_COMPLIANT.

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

The number of managed nodes with patches installed by Patch Manager that * haven't been rebooted after the patch installation. The status of these managed * nodes is NON_COMPLIANT.

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

The number of managed nodes 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 managed nodes 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 managed nodes 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 managed nodes with missing patches from the patch baseline.

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

The number of managed nodes with missing patches from the patch baseline.

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

The number of managed nodes with missing patches from the patch baseline.

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

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

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

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

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

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

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

The number of managed nodes with patches that aren't applicable.

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

The number of managed nodes with patches that aren't applicable.

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

The number of managed nodes with patches that aren't applicable.

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

The number of managed nodes with NotApplicable patches beyond * the supported limit, which aren't reported by name to Inventory. Inventory is a * capability of Amazon Web Services Systems Manager.

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

The number of managed nodes with NotApplicable patches beyond * the supported limit, which aren't reported by name to Inventory. Inventory is a * capability of Amazon Web Services Systems Manager.

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

The number of managed nodes with NotApplicable patches beyond * the supported limit, which aren't reported by name to Inventory. Inventory is a * capability of Amazon Web Services Systems Manager.

*/ inline DescribePatchGroupStateResult& WithInstancesWithUnreportedNotApplicablePatches(int value) { SetInstancesWithUnreportedNotApplicablePatches(value); return *this;} /** *

The number of managed nodes where patches that are specified as * Critical for compliance reporting in the patch baseline aren't * installed. These patches might be missing, have failed installation, were * rejected, or were installed but awaiting a required managed node reboot. The * status of these managed nodes is NON_COMPLIANT.

*/ inline int GetInstancesWithCriticalNonCompliantPatches() const{ return m_instancesWithCriticalNonCompliantPatches; } /** *

The number of managed nodes where patches that are specified as * Critical for compliance reporting in the patch baseline aren't * installed. These patches might be missing, have failed installation, were * rejected, or were installed but awaiting a required managed node reboot. The * status of these managed nodes is NON_COMPLIANT.

*/ inline void SetInstancesWithCriticalNonCompliantPatches(int value) { m_instancesWithCriticalNonCompliantPatches = value; } /** *

The number of managed nodes where patches that are specified as * Critical for compliance reporting in the patch baseline aren't * installed. These patches might be missing, have failed installation, were * rejected, or were installed but awaiting a required managed node reboot. The * status of these managed nodes is NON_COMPLIANT.

*/ inline DescribePatchGroupStateResult& WithInstancesWithCriticalNonCompliantPatches(int value) { SetInstancesWithCriticalNonCompliantPatches(value); return *this;} /** *

The number of managed nodes where patches that are specified as * Security in a patch advisory aren't installed. These patches might * be missing, have failed installation, were rejected, or were installed but * awaiting a required managed node reboot. The status of these managed nodes is * NON_COMPLIANT.

*/ inline int GetInstancesWithSecurityNonCompliantPatches() const{ return m_instancesWithSecurityNonCompliantPatches; } /** *

The number of managed nodes where patches that are specified as * Security in a patch advisory aren't installed. These patches might * be missing, have failed installation, were rejected, or were installed but * awaiting a required managed node reboot. The status of these managed nodes is * NON_COMPLIANT.

*/ inline void SetInstancesWithSecurityNonCompliantPatches(int value) { m_instancesWithSecurityNonCompliantPatches = value; } /** *

The number of managed nodes where patches that are specified as * Security in a patch advisory aren't installed. These patches might * be missing, have failed installation, were rejected, or were installed but * awaiting a required managed node reboot. The status of these managed nodes is * NON_COMPLIANT.

*/ inline DescribePatchGroupStateResult& WithInstancesWithSecurityNonCompliantPatches(int value) { SetInstancesWithSecurityNonCompliantPatches(value); return *this;} /** *

The number of managed nodes with patches installed that are specified as * other than Critical or Security but aren't compliant * with the patch baseline. The status of these managed nodes is * NON_COMPLIANT.

*/ inline int GetInstancesWithOtherNonCompliantPatches() const{ return m_instancesWithOtherNonCompliantPatches; } /** *

The number of managed nodes with patches installed that are specified as * other than Critical or Security but aren't compliant * with the patch baseline. The status of these managed nodes is * NON_COMPLIANT.

*/ inline void SetInstancesWithOtherNonCompliantPatches(int value) { m_instancesWithOtherNonCompliantPatches = value; } /** *

The number of managed nodes with patches installed that are specified as * other than Critical or Security but aren't compliant * with the patch baseline. The status of these managed nodes is * NON_COMPLIANT.

*/ inline DescribePatchGroupStateResult& WithInstancesWithOtherNonCompliantPatches(int value) { SetInstancesWithOtherNonCompliantPatches(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribePatchGroupStateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribePatchGroupStateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribePatchGroupStateResult& WithRequestId(const char* value) { SetRequestId(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; int m_instancesWithCriticalNonCompliantPatches; int m_instancesWithSecurityNonCompliantPatches; int m_instancesWithOtherNonCompliantPatches; Aws::String m_requestId; }; } // namespace Model } // namespace SSM } // namespace Aws