/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A framework consists of one or more controls. Each control has its own
* control scope. The control scope can include one or more resource types, a
* combination of a tag key and value, or a combination of one resource type and
* one resource ID. If no scope is specified, evaluations for the rule are
* triggered when any resource in your recording group changes in
* configuration. To set a control scope that includes all of a
* particular resource, leave the ControlScope
empty or do not pass it
* when calling CreateFramework
.See Also:
AWS
* API Reference
The ID of the only Amazon Web Services resource that you want your control * scope to contain.
*/ inline const Aws::VectorThe ID of the only Amazon Web Services resource that you want your control * scope to contain.
*/ inline bool ComplianceResourceIdsHasBeenSet() const { return m_complianceResourceIdsHasBeenSet; } /** *The ID of the only Amazon Web Services resource that you want your control * scope to contain.
*/ inline void SetComplianceResourceIds(const Aws::VectorThe ID of the only Amazon Web Services resource that you want your control * scope to contain.
*/ inline void SetComplianceResourceIds(Aws::VectorThe ID of the only Amazon Web Services resource that you want your control * scope to contain.
*/ inline ControlScope& WithComplianceResourceIds(const Aws::VectorThe ID of the only Amazon Web Services resource that you want your control * scope to contain.
*/ inline ControlScope& WithComplianceResourceIds(Aws::VectorThe ID of the only Amazon Web Services resource that you want your control * scope to contain.
*/ inline ControlScope& AddComplianceResourceIds(const Aws::String& value) { m_complianceResourceIdsHasBeenSet = true; m_complianceResourceIds.push_back(value); return *this; } /** *The ID of the only Amazon Web Services resource that you want your control * scope to contain.
*/ inline ControlScope& AddComplianceResourceIds(Aws::String&& value) { m_complianceResourceIdsHasBeenSet = true; m_complianceResourceIds.push_back(std::move(value)); return *this; } /** *The ID of the only Amazon Web Services resource that you want your control * scope to contain.
*/ inline ControlScope& AddComplianceResourceIds(const char* value) { m_complianceResourceIdsHasBeenSet = true; m_complianceResourceIds.push_back(value); return *this; } /** *Describes whether the control scope includes one or more types of resources,
* such as EFS
or RDS
.
Describes whether the control scope includes one or more types of resources,
* such as EFS
or RDS
.
Describes whether the control scope includes one or more types of resources,
* such as EFS
or RDS
.
Describes whether the control scope includes one or more types of resources,
* such as EFS
or RDS
.
Describes whether the control scope includes one or more types of resources,
* such as EFS
or RDS
.
Describes whether the control scope includes one or more types of resources,
* such as EFS
or RDS
.
Describes whether the control scope includes one or more types of resources,
* such as EFS
or RDS
.
Describes whether the control scope includes one or more types of resources,
* such as EFS
or RDS
.
Describes whether the control scope includes one or more types of resources,
* such as EFS
or RDS
.
The tag key-value pair applied to those Amazon Web Services resources that
* you want to trigger an evaluation for a rule. A maximum of one key-value pair
* can be provided. The tag value is optional, but it cannot be an empty string.
* The structure to assign a tag is:
* [{"Key":"string","Value":"string"}]
.
The tag key-value pair applied to those Amazon Web Services resources that
* you want to trigger an evaluation for a rule. A maximum of one key-value pair
* can be provided. The tag value is optional, but it cannot be an empty string.
* The structure to assign a tag is:
* [{"Key":"string","Value":"string"}]
.
The tag key-value pair applied to those Amazon Web Services resources that
* you want to trigger an evaluation for a rule. A maximum of one key-value pair
* can be provided. The tag value is optional, but it cannot be an empty string.
* The structure to assign a tag is:
* [{"Key":"string","Value":"string"}]
.
The tag key-value pair applied to those Amazon Web Services resources that
* you want to trigger an evaluation for a rule. A maximum of one key-value pair
* can be provided. The tag value is optional, but it cannot be an empty string.
* The structure to assign a tag is:
* [{"Key":"string","Value":"string"}]
.
The tag key-value pair applied to those Amazon Web Services resources that
* you want to trigger an evaluation for a rule. A maximum of one key-value pair
* can be provided. The tag value is optional, but it cannot be an empty string.
* The structure to assign a tag is:
* [{"Key":"string","Value":"string"}]
.
The tag key-value pair applied to those Amazon Web Services resources that
* you want to trigger an evaluation for a rule. A maximum of one key-value pair
* can be provided. The tag value is optional, but it cannot be an empty string.
* The structure to assign a tag is:
* [{"Key":"string","Value":"string"}]
.
The tag key-value pair applied to those Amazon Web Services resources that
* you want to trigger an evaluation for a rule. A maximum of one key-value pair
* can be provided. The tag value is optional, but it cannot be an empty string.
* The structure to assign a tag is:
* [{"Key":"string","Value":"string"}]
.
The tag key-value pair applied to those Amazon Web Services resources that
* you want to trigger an evaluation for a rule. A maximum of one key-value pair
* can be provided. The tag value is optional, but it cannot be an empty string.
* The structure to assign a tag is:
* [{"Key":"string","Value":"string"}]
.
The tag key-value pair applied to those Amazon Web Services resources that
* you want to trigger an evaluation for a rule. A maximum of one key-value pair
* can be provided. The tag value is optional, but it cannot be an empty string.
* The structure to assign a tag is:
* [{"Key":"string","Value":"string"}]
.
The tag key-value pair applied to those Amazon Web Services resources that
* you want to trigger an evaluation for a rule. A maximum of one key-value pair
* can be provided. The tag value is optional, but it cannot be an empty string.
* The structure to assign a tag is:
* [{"Key":"string","Value":"string"}]
.
The tag key-value pair applied to those Amazon Web Services resources that
* you want to trigger an evaluation for a rule. A maximum of one key-value pair
* can be provided. The tag value is optional, but it cannot be an empty string.
* The structure to assign a tag is:
* [{"Key":"string","Value":"string"}]
.
The tag key-value pair applied to those Amazon Web Services resources that
* you want to trigger an evaluation for a rule. A maximum of one key-value pair
* can be provided. The tag value is optional, but it cannot be an empty string.
* The structure to assign a tag is:
* [{"Key":"string","Value":"string"}]
.
The tag key-value pair applied to those Amazon Web Services resources that
* you want to trigger an evaluation for a rule. A maximum of one key-value pair
* can be provided. The tag value is optional, but it cannot be an empty string.
* The structure to assign a tag is:
* [{"Key":"string","Value":"string"}]
.