/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the details about the compliance status for a patch.See
* Also:
AWS
* API Reference
The current patch compliance status. Valid values are as follows:
COMPLIANT
NON_COMPLIANT
*
UNSPECIFIED_DATA
The current patch compliance status. Valid values are as follows:
COMPLIANT
NON_COMPLIANT
*
UNSPECIFIED_DATA
The current patch compliance status. Valid values are as follows:
COMPLIANT
NON_COMPLIANT
*
UNSPECIFIED_DATA
The current patch compliance status. Valid values are as follows:
COMPLIANT
NON_COMPLIANT
*
UNSPECIFIED_DATA
The current patch compliance status. Valid values are as follows:
COMPLIANT
NON_COMPLIANT
*
UNSPECIFIED_DATA
The current patch compliance status. Valid values are as follows:
COMPLIANT
NON_COMPLIANT
*
UNSPECIFIED_DATA
The current patch compliance status. Valid values are as follows:
COMPLIANT
NON_COMPLIANT
*
UNSPECIFIED_DATA
The current patch compliance status. Valid values are as follows:
COMPLIANT
NON_COMPLIANT
*
UNSPECIFIED_DATA
For the patches that are compliant, the number that have a severity of
* CRITICAL
.
For the patches that are compliant, the number that have a severity of
* CRITICAL
.
For the patches that are compliant, the number that have a severity of
* CRITICAL
.
For the patches that are compliant, the number that have a severity of
* CRITICAL
.
For the patches that are compliant, the number that have a severity of
* HIGH
.
For the patches that are compliant, the number that have a severity of
* HIGH
.
For the patches that are compliant, the number that have a severity of
* HIGH
.
For the patches that are compliant, the number that have a severity of
* HIGH
.
For the patches that are compliant, the number that have a severity of
* MEDIUM
.
For the patches that are compliant, the number that have a severity of
* MEDIUM
.
For the patches that are compliant, the number that have a severity of
* MEDIUM
.
For the patches that are compliant, the number that have a severity of
* MEDIUM
.
The type of execution that was used determine compliance.
*/ inline const Aws::String& GetExecutionType() const{ return m_executionType; } /** *The type of execution that was used determine compliance.
*/ inline bool ExecutionTypeHasBeenSet() const { return m_executionTypeHasBeenSet; } /** *The type of execution that was used determine compliance.
*/ inline void SetExecutionType(const Aws::String& value) { m_executionTypeHasBeenSet = true; m_executionType = value; } /** *The type of execution that was used determine compliance.
*/ inline void SetExecutionType(Aws::String&& value) { m_executionTypeHasBeenSet = true; m_executionType = std::move(value); } /** *The type of execution that was used determine compliance.
*/ inline void SetExecutionType(const char* value) { m_executionTypeHasBeenSet = true; m_executionType.assign(value); } /** *The type of execution that was used determine compliance.
*/ inline AwsSsmComplianceSummary& WithExecutionType(const Aws::String& value) { SetExecutionType(value); return *this;} /** *The type of execution that was used determine compliance.
*/ inline AwsSsmComplianceSummary& WithExecutionType(Aws::String&& value) { SetExecutionType(std::move(value)); return *this;} /** *The type of execution that was used determine compliance.
*/ inline AwsSsmComplianceSummary& WithExecutionType(const char* value) { SetExecutionType(value); return *this;} /** *For the patch items that are noncompliant, the number of items that have a
* severity of CRITICAL
.
For the patch items that are noncompliant, the number of items that have a
* severity of CRITICAL
.
For the patch items that are noncompliant, the number of items that have a
* severity of CRITICAL
.
For the patch items that are noncompliant, the number of items that have a
* severity of CRITICAL
.
For the patches that are compliant, the number that have a severity of
* INFORMATIONAL
.
For the patches that are compliant, the number that have a severity of
* INFORMATIONAL
.
For the patches that are compliant, the number that have a severity of
* INFORMATIONAL
.
For the patches that are compliant, the number that have a severity of
* INFORMATIONAL
.
For the patches that are noncompliant, the number that have a severity of
* INFORMATIONAL
.
For the patches that are noncompliant, the number that have a severity of
* INFORMATIONAL
.
For the patches that are noncompliant, the number that have a severity of
* INFORMATIONAL
.
For the patches that are noncompliant, the number that have a severity of
* INFORMATIONAL
.
For the patches that are compliant, the number that have a severity of
* UNSPECIFIED
.
For the patches that are compliant, the number that have a severity of
* UNSPECIFIED
.
For the patches that are compliant, the number that have a severity of
* UNSPECIFIED
.
For the patches that are compliant, the number that have a severity of
* UNSPECIFIED
.
For the patches that are noncompliant, the number that have a severity of
* LOW
.
For the patches that are noncompliant, the number that have a severity of
* LOW
.
For the patches that are noncompliant, the number that have a severity of
* LOW
.
For the patches that are noncompliant, the number that have a severity of
* LOW
.
For the patches that are noncompliant, the number that have a severity of
* HIGH
.
For the patches that are noncompliant, the number that have a severity of
* HIGH
.
For the patches that are noncompliant, the number that have a severity of
* HIGH
.
For the patches that are noncompliant, the number that have a severity of
* HIGH
.
For the patches that are compliant, the number that have a severity of
* LOW
.
For the patches that are compliant, the number that have a severity of
* LOW
.
For the patches that are compliant, the number that have a severity of
* LOW
.
For the patches that are compliant, the number that have a severity of
* LOW
.
The type of resource for which the compliance was determined. For
* AwsSsmPatchCompliance
, ComplianceType
is
* Patch
.
The type of resource for which the compliance was determined. For
* AwsSsmPatchCompliance
, ComplianceType
is
* Patch
.
The type of resource for which the compliance was determined. For
* AwsSsmPatchCompliance
, ComplianceType
is
* Patch
.
The type of resource for which the compliance was determined. For
* AwsSsmPatchCompliance
, ComplianceType
is
* Patch
.
The type of resource for which the compliance was determined. For
* AwsSsmPatchCompliance
, ComplianceType
is
* Patch
.
The type of resource for which the compliance was determined. For
* AwsSsmPatchCompliance
, ComplianceType
is
* Patch
.
The type of resource for which the compliance was determined. For
* AwsSsmPatchCompliance
, ComplianceType
is
* Patch
.
The type of resource for which the compliance was determined. For
* AwsSsmPatchCompliance
, ComplianceType
is
* Patch
.
The identifier of the patch baseline. The patch baseline lists the patches * that are approved for installation.
*/ inline const Aws::String& GetPatchBaselineId() const{ return m_patchBaselineId; } /** *The identifier of the patch baseline. The patch baseline lists the patches * that are approved for installation.
*/ inline bool PatchBaselineIdHasBeenSet() const { return m_patchBaselineIdHasBeenSet; } /** *The identifier of the patch baseline. The patch baseline lists the patches * that are approved for installation.
*/ inline void SetPatchBaselineId(const Aws::String& value) { m_patchBaselineIdHasBeenSet = true; m_patchBaselineId = value; } /** *The identifier of the patch baseline. The patch baseline lists the patches * that are approved for installation.
*/ inline void SetPatchBaselineId(Aws::String&& value) { m_patchBaselineIdHasBeenSet = true; m_patchBaselineId = std::move(value); } /** *The identifier of the patch baseline. The patch baseline lists the patches * that are approved for installation.
*/ inline void SetPatchBaselineId(const char* value) { m_patchBaselineIdHasBeenSet = true; m_patchBaselineId.assign(value); } /** *The identifier of the patch baseline. The patch baseline lists the patches * that are approved for installation.
*/ inline AwsSsmComplianceSummary& WithPatchBaselineId(const Aws::String& value) { SetPatchBaselineId(value); return *this;} /** *The identifier of the patch baseline. The patch baseline lists the patches * that are approved for installation.
*/ inline AwsSsmComplianceSummary& WithPatchBaselineId(Aws::String&& value) { SetPatchBaselineId(std::move(value)); return *this;} /** *The identifier of the patch baseline. The patch baseline lists the patches * that are approved for installation.
*/ inline AwsSsmComplianceSummary& WithPatchBaselineId(const char* value) { SetPatchBaselineId(value); return *this;} /** *The highest severity for the patches. Valid values are as follows:
CRITICAL
HIGH
MEDIUM
LOW
INFORMATIONAL
UNSPECIFIED
*
The highest severity for the patches. Valid values are as follows:
CRITICAL
HIGH
MEDIUM
LOW
INFORMATIONAL
UNSPECIFIED
*
The highest severity for the patches. Valid values are as follows:
CRITICAL
HIGH
MEDIUM
LOW
INFORMATIONAL
UNSPECIFIED
*
The highest severity for the patches. Valid values are as follows:
CRITICAL
HIGH
MEDIUM
LOW
INFORMATIONAL
UNSPECIFIED
*
The highest severity for the patches. Valid values are as follows:
CRITICAL
HIGH
MEDIUM
LOW
INFORMATIONAL
UNSPECIFIED
*
The highest severity for the patches. Valid values are as follows:
CRITICAL
HIGH
MEDIUM
LOW
INFORMATIONAL
UNSPECIFIED
*
The highest severity for the patches. Valid values are as follows:
CRITICAL
HIGH
MEDIUM
LOW
INFORMATIONAL
UNSPECIFIED
*
The highest severity for the patches. Valid values are as follows:
CRITICAL
HIGH
MEDIUM
LOW
INFORMATIONAL
UNSPECIFIED
*
For the patches that are noncompliant, the number that have a severity of
* MEDIUM
.
For the patches that are noncompliant, the number that have a severity of
* MEDIUM
.
For the patches that are noncompliant, the number that have a severity of
* MEDIUM
.
For the patches that are noncompliant, the number that have a severity of
* MEDIUM
.
For the patches that are noncompliant, the number that have a severity of
* UNSPECIFIED
.
For the patches that are noncompliant, the number that have a severity of
* UNSPECIFIED
.
For the patches that are noncompliant, the number that have a severity of
* UNSPECIFIED
.
For the patches that are noncompliant, the number that have a severity of
* UNSPECIFIED
.
The identifier of the patch group for which compliance was determined. A * patch group uses tags to group EC2 instances that should have the same patch * compliance.
*/ inline const Aws::String& GetPatchGroup() const{ return m_patchGroup; } /** *The identifier of the patch group for which compliance was determined. A * patch group uses tags to group EC2 instances that should have the same patch * compliance.
*/ inline bool PatchGroupHasBeenSet() const { return m_patchGroupHasBeenSet; } /** *The identifier of the patch group for which compliance was determined. A * patch group uses tags to group EC2 instances that should have the same patch * compliance.
*/ inline void SetPatchGroup(const Aws::String& value) { m_patchGroupHasBeenSet = true; m_patchGroup = value; } /** *The identifier of the patch group for which compliance was determined. A * patch group uses tags to group EC2 instances that should have the same patch * compliance.
*/ inline void SetPatchGroup(Aws::String&& value) { m_patchGroupHasBeenSet = true; m_patchGroup = std::move(value); } /** *The identifier of the patch group for which compliance was determined. A * patch group uses tags to group EC2 instances that should have the same patch * compliance.
*/ inline void SetPatchGroup(const char* value) { m_patchGroupHasBeenSet = true; m_patchGroup.assign(value); } /** *The identifier of the patch group for which compliance was determined. A * patch group uses tags to group EC2 instances that should have the same patch * compliance.
*/ inline AwsSsmComplianceSummary& WithPatchGroup(const Aws::String& value) { SetPatchGroup(value); return *this;} /** *The identifier of the patch group for which compliance was determined. A * patch group uses tags to group EC2 instances that should have the same patch * compliance.
*/ inline AwsSsmComplianceSummary& WithPatchGroup(Aws::String&& value) { SetPatchGroup(std::move(value)); return *this;} /** *The identifier of the patch group for which compliance was determined. A * patch group uses tags to group EC2 instances that should have the same patch * compliance.
*/ inline AwsSsmComplianceSummary& WithPatchGroup(const char* value) { SetPatchGroup(value); return *this;} private: Aws::String m_status; bool m_statusHasBeenSet = false; int m_compliantCriticalCount; bool m_compliantCriticalCountHasBeenSet = false; int m_compliantHighCount; bool m_compliantHighCountHasBeenSet = false; int m_compliantMediumCount; bool m_compliantMediumCountHasBeenSet = false; Aws::String m_executionType; bool m_executionTypeHasBeenSet = false; int m_nonCompliantCriticalCount; bool m_nonCompliantCriticalCountHasBeenSet = false; int m_compliantInformationalCount; bool m_compliantInformationalCountHasBeenSet = false; int m_nonCompliantInformationalCount; bool m_nonCompliantInformationalCountHasBeenSet = false; int m_compliantUnspecifiedCount; bool m_compliantUnspecifiedCountHasBeenSet = false; int m_nonCompliantLowCount; bool m_nonCompliantLowCountHasBeenSet = false; int m_nonCompliantHighCount; bool m_nonCompliantHighCountHasBeenSet = false; int m_compliantLowCount; bool m_compliantLowCountHasBeenSet = false; Aws::String m_complianceType; bool m_complianceTypeHasBeenSet = false; Aws::String m_patchBaselineId; bool m_patchBaselineIdHasBeenSet = false; Aws::String m_overallSeverity; bool m_overallSeverityHasBeenSet = false; int m_nonCompliantMediumCount; bool m_nonCompliantMediumCountHasBeenSet = false; int m_nonCompliantUnspecifiedCount; bool m_nonCompliantUnspecifiedCountHasBeenSet = false; Aws::String m_patchGroup; bool m_patchGroupHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws