/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include organization managed rule metadata such as resource type and ID of Amazon
* Web Services resource along with the rule identifier. It also provides the
* frequency with which you want Config to run evaluations for the rule if the
* trigger type is periodic.See Also:
AWS
* API Reference
The description that you provide for your organization Config rule.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description that you provide for your organization Config rule.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description that you provide for your organization Config rule.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description that you provide for your organization Config rule.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description that you provide for your organization Config rule.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description that you provide for your organization Config rule.
*/ inline OrganizationManagedRuleMetadata& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description that you provide for your organization Config rule.
*/ inline OrganizationManagedRuleMetadata& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description that you provide for your organization Config rule.
*/ inline OrganizationManagedRuleMetadata& WithDescription(const char* value) { SetDescription(value); return *this;} /** *For organization config managed rules, a predefined identifier from a list.
* For example, IAM_PASSWORD_POLICY
is a managed rule. To reference a
* managed rule, see Using
* Config managed rules.
For organization config managed rules, a predefined identifier from a list.
* For example, IAM_PASSWORD_POLICY
is a managed rule. To reference a
* managed rule, see Using
* Config managed rules.
For organization config managed rules, a predefined identifier from a list.
* For example, IAM_PASSWORD_POLICY
is a managed rule. To reference a
* managed rule, see Using
* Config managed rules.
For organization config managed rules, a predefined identifier from a list.
* For example, IAM_PASSWORD_POLICY
is a managed rule. To reference a
* managed rule, see Using
* Config managed rules.
For organization config managed rules, a predefined identifier from a list.
* For example, IAM_PASSWORD_POLICY
is a managed rule. To reference a
* managed rule, see Using
* Config managed rules.
For organization config managed rules, a predefined identifier from a list.
* For example, IAM_PASSWORD_POLICY
is a managed rule. To reference a
* managed rule, see Using
* Config managed rules.
For organization config managed rules, a predefined identifier from a list.
* For example, IAM_PASSWORD_POLICY
is a managed rule. To reference a
* managed rule, see Using
* Config managed rules.
For organization config managed rules, a predefined identifier from a list.
* For example, IAM_PASSWORD_POLICY
is a managed rule. To reference a
* managed rule, see Using
* Config managed rules.
A string, in JSON format, that is passed to your organization Config rule * Lambda function.
*/ inline const Aws::String& GetInputParameters() const{ return m_inputParameters; } /** *A string, in JSON format, that is passed to your organization Config rule * Lambda function.
*/ inline bool InputParametersHasBeenSet() const { return m_inputParametersHasBeenSet; } /** *A string, in JSON format, that is passed to your organization Config rule * Lambda function.
*/ inline void SetInputParameters(const Aws::String& value) { m_inputParametersHasBeenSet = true; m_inputParameters = value; } /** *A string, in JSON format, that is passed to your organization Config rule * Lambda function.
*/ inline void SetInputParameters(Aws::String&& value) { m_inputParametersHasBeenSet = true; m_inputParameters = std::move(value); } /** *A string, in JSON format, that is passed to your organization Config rule * Lambda function.
*/ inline void SetInputParameters(const char* value) { m_inputParametersHasBeenSet = true; m_inputParameters.assign(value); } /** *A string, in JSON format, that is passed to your organization Config rule * Lambda function.
*/ inline OrganizationManagedRuleMetadata& WithInputParameters(const Aws::String& value) { SetInputParameters(value); return *this;} /** *A string, in JSON format, that is passed to your organization Config rule * Lambda function.
*/ inline OrganizationManagedRuleMetadata& WithInputParameters(Aws::String&& value) { SetInputParameters(std::move(value)); return *this;} /** *A string, in JSON format, that is passed to your organization Config rule * Lambda function.
*/ inline OrganizationManagedRuleMetadata& WithInputParameters(const char* value) { SetInputParameters(value); return *this;} /** *The maximum frequency with which Config runs evaluations for a rule. This is * for an Config managed rule that is triggered at a periodic frequency.
*By default, rules with a periodic trigger are evaluated every 24 hours. To
* change the frequency, specify a valid value for the
* MaximumExecutionFrequency
parameter.
The maximum frequency with which Config runs evaluations for a rule. This is * for an Config managed rule that is triggered at a periodic frequency.
*By default, rules with a periodic trigger are evaluated every 24 hours. To
* change the frequency, specify a valid value for the
* MaximumExecutionFrequency
parameter.
The maximum frequency with which Config runs evaluations for a rule. This is * for an Config managed rule that is triggered at a periodic frequency.
*By default, rules with a periodic trigger are evaluated every 24 hours. To
* change the frequency, specify a valid value for the
* MaximumExecutionFrequency
parameter.
The maximum frequency with which Config runs evaluations for a rule. This is * for an Config managed rule that is triggered at a periodic frequency.
*By default, rules with a periodic trigger are evaluated every 24 hours. To
* change the frequency, specify a valid value for the
* MaximumExecutionFrequency
parameter.
The maximum frequency with which Config runs evaluations for a rule. This is * for an Config managed rule that is triggered at a periodic frequency.
*By default, rules with a periodic trigger are evaluated every 24 hours. To
* change the frequency, specify a valid value for the
* MaximumExecutionFrequency
parameter.
The maximum frequency with which Config runs evaluations for a rule. This is * for an Config managed rule that is triggered at a periodic frequency.
*By default, rules with a periodic trigger are evaluated every 24 hours. To
* change the frequency, specify a valid value for the
* MaximumExecutionFrequency
parameter.
The type of the Amazon Web Services resource that was evaluated.
*/ inline const Aws::VectorThe type of the Amazon Web Services resource that was evaluated.
*/ inline bool ResourceTypesScopeHasBeenSet() const { return m_resourceTypesScopeHasBeenSet; } /** *The type of the Amazon Web Services resource that was evaluated.
*/ inline void SetResourceTypesScope(const Aws::VectorThe type of the Amazon Web Services resource that was evaluated.
*/ inline void SetResourceTypesScope(Aws::VectorThe type of the Amazon Web Services resource that was evaluated.
*/ inline OrganizationManagedRuleMetadata& WithResourceTypesScope(const Aws::VectorThe type of the Amazon Web Services resource that was evaluated.
*/ inline OrganizationManagedRuleMetadata& WithResourceTypesScope(Aws::VectorThe type of the Amazon Web Services resource that was evaluated.
*/ inline OrganizationManagedRuleMetadata& AddResourceTypesScope(const Aws::String& value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope.push_back(value); return *this; } /** *The type of the Amazon Web Services resource that was evaluated.
*/ inline OrganizationManagedRuleMetadata& AddResourceTypesScope(Aws::String&& value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope.push_back(std::move(value)); return *this; } /** *The type of the Amazon Web Services resource that was evaluated.
*/ inline OrganizationManagedRuleMetadata& AddResourceTypesScope(const char* value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope.push_back(value); return *this; } /** *The ID of the Amazon Web Services resource that was evaluated.
*/ inline const Aws::String& GetResourceIdScope() const{ return m_resourceIdScope; } /** *The ID of the Amazon Web Services resource that was evaluated.
*/ inline bool ResourceIdScopeHasBeenSet() const { return m_resourceIdScopeHasBeenSet; } /** *The ID of the Amazon Web Services resource that was evaluated.
*/ inline void SetResourceIdScope(const Aws::String& value) { m_resourceIdScopeHasBeenSet = true; m_resourceIdScope = value; } /** *The ID of the Amazon Web Services resource that was evaluated.
*/ inline void SetResourceIdScope(Aws::String&& value) { m_resourceIdScopeHasBeenSet = true; m_resourceIdScope = std::move(value); } /** *The ID of the Amazon Web Services resource that was evaluated.
*/ inline void SetResourceIdScope(const char* value) { m_resourceIdScopeHasBeenSet = true; m_resourceIdScope.assign(value); } /** *The ID of the Amazon Web Services resource that was evaluated.
*/ inline OrganizationManagedRuleMetadata& WithResourceIdScope(const Aws::String& value) { SetResourceIdScope(value); return *this;} /** *The ID of the Amazon Web Services resource that was evaluated.
*/ inline OrganizationManagedRuleMetadata& WithResourceIdScope(Aws::String&& value) { SetResourceIdScope(std::move(value)); return *this;} /** *The ID of the Amazon Web Services resource that was evaluated.
*/ inline OrganizationManagedRuleMetadata& WithResourceIdScope(const char* value) { SetResourceIdScope(value); return *this;} /** *One part of a key-value pair that make up a tag. A key is a general label * that acts like a category for more specific tag values.
*/ inline const Aws::String& GetTagKeyScope() const{ return m_tagKeyScope; } /** *One part of a key-value pair that make up a tag. A key is a general label * that acts like a category for more specific tag values.
*/ inline bool TagKeyScopeHasBeenSet() const { return m_tagKeyScopeHasBeenSet; } /** *One part of a key-value pair that make up a tag. A key is a general label * that acts like a category for more specific tag values.
*/ inline void SetTagKeyScope(const Aws::String& value) { m_tagKeyScopeHasBeenSet = true; m_tagKeyScope = value; } /** *One part of a key-value pair that make up a tag. A key is a general label * that acts like a category for more specific tag values.
*/ inline void SetTagKeyScope(Aws::String&& value) { m_tagKeyScopeHasBeenSet = true; m_tagKeyScope = std::move(value); } /** *One part of a key-value pair that make up a tag. A key is a general label * that acts like a category for more specific tag values.
*/ inline void SetTagKeyScope(const char* value) { m_tagKeyScopeHasBeenSet = true; m_tagKeyScope.assign(value); } /** *One part of a key-value pair that make up a tag. A key is a general label * that acts like a category for more specific tag values.
*/ inline OrganizationManagedRuleMetadata& WithTagKeyScope(const Aws::String& value) { SetTagKeyScope(value); return *this;} /** *One part of a key-value pair that make up a tag. A key is a general label * that acts like a category for more specific tag values.
*/ inline OrganizationManagedRuleMetadata& WithTagKeyScope(Aws::String&& value) { SetTagKeyScope(std::move(value)); return *this;} /** *One part of a key-value pair that make up a tag. A key is a general label * that acts like a category for more specific tag values.
*/ inline OrganizationManagedRuleMetadata& WithTagKeyScope(const char* value) { SetTagKeyScope(value); return *this;} /** *The optional part of a key-value pair that make up a tag. A value acts as a * descriptor within a tag category (key).
*/ inline const Aws::String& GetTagValueScope() const{ return m_tagValueScope; } /** *The optional part of a key-value pair that make up a tag. A value acts as a * descriptor within a tag category (key).
*/ inline bool TagValueScopeHasBeenSet() const { return m_tagValueScopeHasBeenSet; } /** *The optional part of a key-value pair that make up a tag. A value acts as a * descriptor within a tag category (key).
*/ inline void SetTagValueScope(const Aws::String& value) { m_tagValueScopeHasBeenSet = true; m_tagValueScope = value; } /** *The optional part of a key-value pair that make up a tag. A value acts as a * descriptor within a tag category (key).
*/ inline void SetTagValueScope(Aws::String&& value) { m_tagValueScopeHasBeenSet = true; m_tagValueScope = std::move(value); } /** *The optional part of a key-value pair that make up a tag. A value acts as a * descriptor within a tag category (key).
*/ inline void SetTagValueScope(const char* value) { m_tagValueScopeHasBeenSet = true; m_tagValueScope.assign(value); } /** *The optional part of a key-value pair that make up a tag. A value acts as a * descriptor within a tag category (key).
*/ inline OrganizationManagedRuleMetadata& WithTagValueScope(const Aws::String& value) { SetTagValueScope(value); return *this;} /** *The optional part of a key-value pair that make up a tag. A value acts as a * descriptor within a tag category (key).
*/ inline OrganizationManagedRuleMetadata& WithTagValueScope(Aws::String&& value) { SetTagValueScope(std::move(value)); return *this;} /** *The optional part of a key-value pair that make up a tag. A value acts as a * descriptor within a tag category (key).
*/ inline OrganizationManagedRuleMetadata& WithTagValueScope(const char* value) { SetTagValueScope(value); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_ruleIdentifier; bool m_ruleIdentifierHasBeenSet = false; Aws::String m_inputParameters; bool m_inputParametersHasBeenSet = false; MaximumExecutionFrequency m_maximumExecutionFrequency; bool m_maximumExecutionFrequencyHasBeenSet = false; Aws::Vector