/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Defines the basic information about a patch baseline override.See
* Also:
AWS
* API Reference
The operating system rule used by the patch baseline override.
*/ inline const OperatingSystem& GetOperatingSystem() const{ return m_operatingSystem; } /** *The operating system rule used by the patch baseline override.
*/ inline bool OperatingSystemHasBeenSet() const { return m_operatingSystemHasBeenSet; } /** *The operating system rule used by the patch baseline override.
*/ inline void SetOperatingSystem(const OperatingSystem& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = value; } /** *The operating system rule used by the patch baseline override.
*/ inline void SetOperatingSystem(OperatingSystem&& value) { m_operatingSystemHasBeenSet = true; m_operatingSystem = std::move(value); } /** *The operating system rule used by the patch baseline override.
*/ inline BaselineOverride& WithOperatingSystem(const OperatingSystem& value) { SetOperatingSystem(value); return *this;} /** *The operating system rule used by the patch baseline override.
*/ inline BaselineOverride& WithOperatingSystem(OperatingSystem&& value) { SetOperatingSystem(std::move(value)); return *this;} inline const PatchFilterGroup& GetGlobalFilters() const{ return m_globalFilters; } inline bool GlobalFiltersHasBeenSet() const { return m_globalFiltersHasBeenSet; } inline void SetGlobalFilters(const PatchFilterGroup& value) { m_globalFiltersHasBeenSet = true; m_globalFilters = value; } inline void SetGlobalFilters(PatchFilterGroup&& value) { m_globalFiltersHasBeenSet = true; m_globalFilters = std::move(value); } inline BaselineOverride& WithGlobalFilters(const PatchFilterGroup& value) { SetGlobalFilters(value); return *this;} inline BaselineOverride& WithGlobalFilters(PatchFilterGroup&& value) { SetGlobalFilters(std::move(value)); return *this;} inline const PatchRuleGroup& GetApprovalRules() const{ return m_approvalRules; } inline bool ApprovalRulesHasBeenSet() const { return m_approvalRulesHasBeenSet; } inline void SetApprovalRules(const PatchRuleGroup& value) { m_approvalRulesHasBeenSet = true; m_approvalRules = value; } inline void SetApprovalRules(PatchRuleGroup&& value) { m_approvalRulesHasBeenSet = true; m_approvalRules = std::move(value); } inline BaselineOverride& WithApprovalRules(const PatchRuleGroup& value) { SetApprovalRules(value); return *this;} inline BaselineOverride& WithApprovalRules(PatchRuleGroup&& value) { SetApprovalRules(std::move(value)); return *this;} /** *A list of explicitly approved patches for the baseline.
For * information about accepted formats for lists of approved patches and rejected * patches, see About * package name formats for approved and rejected patch lists in the Amazon * Web Services Systems Manager User Guide.
*/ inline const Aws::VectorA list of explicitly approved patches for the baseline.
For * information about accepted formats for lists of approved patches and rejected * patches, see About * package name formats for approved and rejected patch lists in the Amazon * Web Services Systems Manager User Guide.
*/ inline bool ApprovedPatchesHasBeenSet() const { return m_approvedPatchesHasBeenSet; } /** *A list of explicitly approved patches for the baseline.
For * information about accepted formats for lists of approved patches and rejected * patches, see About * package name formats for approved and rejected patch lists in the Amazon * Web Services Systems Manager User Guide.
*/ inline void SetApprovedPatches(const Aws::VectorA list of explicitly approved patches for the baseline.
For * information about accepted formats for lists of approved patches and rejected * patches, see About * package name formats for approved and rejected patch lists in the Amazon * Web Services Systems Manager User Guide.
*/ inline void SetApprovedPatches(Aws::VectorA list of explicitly approved patches for the baseline.
For * information about accepted formats for lists of approved patches and rejected * patches, see About * package name formats for approved and rejected patch lists in the Amazon * Web Services Systems Manager User Guide.
*/ inline BaselineOverride& WithApprovedPatches(const Aws::VectorA list of explicitly approved patches for the baseline.
For * information about accepted formats for lists of approved patches and rejected * patches, see About * package name formats for approved and rejected patch lists in the Amazon * Web Services Systems Manager User Guide.
*/ inline BaselineOverride& WithApprovedPatches(Aws::VectorA list of explicitly approved patches for the baseline.
For * information about accepted formats for lists of approved patches and rejected * patches, see About * package name formats for approved and rejected patch lists in the Amazon * Web Services Systems Manager User Guide.
*/ inline BaselineOverride& AddApprovedPatches(const Aws::String& value) { m_approvedPatchesHasBeenSet = true; m_approvedPatches.push_back(value); return *this; } /** *A list of explicitly approved patches for the baseline.
For * information about accepted formats for lists of approved patches and rejected * patches, see About * package name formats for approved and rejected patch lists in the Amazon * Web Services Systems Manager User Guide.
*/ inline BaselineOverride& AddApprovedPatches(Aws::String&& value) { m_approvedPatchesHasBeenSet = true; m_approvedPatches.push_back(std::move(value)); return *this; } /** *A list of explicitly approved patches for the baseline.
For * information about accepted formats for lists of approved patches and rejected * patches, see About * package name formats for approved and rejected patch lists in the Amazon * Web Services Systems Manager User Guide.
*/ inline BaselineOverride& AddApprovedPatches(const char* value) { m_approvedPatchesHasBeenSet = true; m_approvedPatches.push_back(value); return *this; } /** *Defines the compliance level for approved patches. When an approved patch is * reported as missing, this value describes the severity of the compliance * violation.
*/ inline const PatchComplianceLevel& GetApprovedPatchesComplianceLevel() const{ return m_approvedPatchesComplianceLevel; } /** *Defines the compliance level for approved patches. When an approved patch is * reported as missing, this value describes the severity of the compliance * violation.
*/ inline bool ApprovedPatchesComplianceLevelHasBeenSet() const { return m_approvedPatchesComplianceLevelHasBeenSet; } /** *Defines the compliance level for approved patches. When an approved patch is * reported as missing, this value describes the severity of the compliance * violation.
*/ inline void SetApprovedPatchesComplianceLevel(const PatchComplianceLevel& value) { m_approvedPatchesComplianceLevelHasBeenSet = true; m_approvedPatchesComplianceLevel = value; } /** *Defines the compliance level for approved patches. When an approved patch is * reported as missing, this value describes the severity of the compliance * violation.
*/ inline void SetApprovedPatchesComplianceLevel(PatchComplianceLevel&& value) { m_approvedPatchesComplianceLevelHasBeenSet = true; m_approvedPatchesComplianceLevel = std::move(value); } /** *Defines the compliance level for approved patches. When an approved patch is * reported as missing, this value describes the severity of the compliance * violation.
*/ inline BaselineOverride& WithApprovedPatchesComplianceLevel(const PatchComplianceLevel& value) { SetApprovedPatchesComplianceLevel(value); return *this;} /** *Defines the compliance level for approved patches. When an approved patch is * reported as missing, this value describes the severity of the compliance * violation.
*/ inline BaselineOverride& WithApprovedPatchesComplianceLevel(PatchComplianceLevel&& value) { SetApprovedPatchesComplianceLevel(std::move(value)); return *this;} /** *A list of explicitly rejected patches for the baseline.
For * information about accepted formats for lists of approved patches and rejected * patches, see About * package name formats for approved and rejected patch lists in the Amazon * Web Services Systems Manager User Guide.
*/ inline const Aws::VectorA list of explicitly rejected patches for the baseline.
For * information about accepted formats for lists of approved patches and rejected * patches, see About * package name formats for approved and rejected patch lists in the Amazon * Web Services Systems Manager User Guide.
*/ inline bool RejectedPatchesHasBeenSet() const { return m_rejectedPatchesHasBeenSet; } /** *A list of explicitly rejected patches for the baseline.
For * information about accepted formats for lists of approved patches and rejected * patches, see About * package name formats for approved and rejected patch lists in the Amazon * Web Services Systems Manager User Guide.
*/ inline void SetRejectedPatches(const Aws::VectorA list of explicitly rejected patches for the baseline.
For * information about accepted formats for lists of approved patches and rejected * patches, see About * package name formats for approved and rejected patch lists in the Amazon * Web Services Systems Manager User Guide.
*/ inline void SetRejectedPatches(Aws::VectorA list of explicitly rejected patches for the baseline.
For * information about accepted formats for lists of approved patches and rejected * patches, see About * package name formats for approved and rejected patch lists in the Amazon * Web Services Systems Manager User Guide.
*/ inline BaselineOverride& WithRejectedPatches(const Aws::VectorA list of explicitly rejected patches for the baseline.
For * information about accepted formats for lists of approved patches and rejected * patches, see About * package name formats for approved and rejected patch lists in the Amazon * Web Services Systems Manager User Guide.
*/ inline BaselineOverride& WithRejectedPatches(Aws::VectorA list of explicitly rejected patches for the baseline.
For * information about accepted formats for lists of approved patches and rejected * patches, see About * package name formats for approved and rejected patch lists in the Amazon * Web Services Systems Manager User Guide.
*/ inline BaselineOverride& AddRejectedPatches(const Aws::String& value) { m_rejectedPatchesHasBeenSet = true; m_rejectedPatches.push_back(value); return *this; } /** *A list of explicitly rejected patches for the baseline.
For * information about accepted formats for lists of approved patches and rejected * patches, see About * package name formats for approved and rejected patch lists in the Amazon * Web Services Systems Manager User Guide.
*/ inline BaselineOverride& AddRejectedPatches(Aws::String&& value) { m_rejectedPatchesHasBeenSet = true; m_rejectedPatches.push_back(std::move(value)); return *this; } /** *A list of explicitly rejected patches for the baseline.
For * information about accepted formats for lists of approved patches and rejected * patches, see About * package name formats for approved and rejected patch lists in the Amazon * Web Services Systems Manager User Guide.
*/ inline BaselineOverride& AddRejectedPatches(const char* value) { m_rejectedPatchesHasBeenSet = true; m_rejectedPatches.push_back(value); return *this; } /** *The action for Patch Manager to take on patches included in the
* RejectedPackages
list. A patch can be allowed only if it is a
* dependency of another package, or blocked entirely along with packages that
* include it as a dependency.
The action for Patch Manager to take on patches included in the
* RejectedPackages
list. A patch can be allowed only if it is a
* dependency of another package, or blocked entirely along with packages that
* include it as a dependency.
The action for Patch Manager to take on patches included in the
* RejectedPackages
list. A patch can be allowed only if it is a
* dependency of another package, or blocked entirely along with packages that
* include it as a dependency.
The action for Patch Manager to take on patches included in the
* RejectedPackages
list. A patch can be allowed only if it is a
* dependency of another package, or blocked entirely along with packages that
* include it as a dependency.
The action for Patch Manager to take on patches included in the
* RejectedPackages
list. A patch can be allowed only if it is a
* dependency of another package, or blocked entirely along with packages that
* include it as a dependency.
The action for Patch Manager to take on patches included in the
* RejectedPackages
list. A patch can be allowed only if it is a
* dependency of another package, or blocked entirely along with packages that
* include it as a dependency.
Indicates whether the list of approved patches includes non-security updates
* that should be applied to the managed nodes. The default value is
* false
. Applies to Linux managed nodes only.
Indicates whether the list of approved patches includes non-security updates
* that should be applied to the managed nodes. The default value is
* false
. Applies to Linux managed nodes only.
Indicates whether the list of approved patches includes non-security updates
* that should be applied to the managed nodes. The default value is
* false
. Applies to Linux managed nodes only.
Indicates whether the list of approved patches includes non-security updates
* that should be applied to the managed nodes. The default value is
* false
. Applies to Linux managed nodes only.
Information about the patches to use to update the managed nodes, including * target operating systems and source repositories. Applies to Linux managed nodes * only.
*/ inline const Aws::VectorInformation about the patches to use to update the managed nodes, including * target operating systems and source repositories. Applies to Linux managed nodes * only.
*/ inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; } /** *Information about the patches to use to update the managed nodes, including * target operating systems and source repositories. Applies to Linux managed nodes * only.
*/ inline void SetSources(const Aws::VectorInformation about the patches to use to update the managed nodes, including * target operating systems and source repositories. Applies to Linux managed nodes * only.
*/ inline void SetSources(Aws::VectorInformation about the patches to use to update the managed nodes, including * target operating systems and source repositories. Applies to Linux managed nodes * only.
*/ inline BaselineOverride& WithSources(const Aws::VectorInformation about the patches to use to update the managed nodes, including * target operating systems and source repositories. Applies to Linux managed nodes * only.
*/ inline BaselineOverride& WithSources(Aws::VectorInformation about the patches to use to update the managed nodes, including * target operating systems and source repositories. Applies to Linux managed nodes * only.
*/ inline BaselineOverride& AddSources(const PatchSource& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; } /** *Information about the patches to use to update the managed nodes, including * target operating systems and source repositories. Applies to Linux managed nodes * only.
*/ inline BaselineOverride& AddSources(PatchSource&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; } private: OperatingSystem m_operatingSystem; bool m_operatingSystemHasBeenSet = false; PatchFilterGroup m_globalFilters; bool m_globalFiltersHasBeenSet = false; PatchRuleGroup m_approvalRules; bool m_approvalRulesHasBeenSet = false; Aws::Vector