/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include metadata for your organization Config Custom Policy rule including the
* runtime system in use, which accounts have debug logging enabled, and other
* custom rule metadata such as resource type, resource ID of Amazon Web Services
* resource, and organization trigger types that trigger Config to evaluate Amazon
* Web Services resources against a rule.See Also:
AWS
* API Reference
The description that you provide for your organization Config Custom Policy * rule.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description that you provide for your organization Config Custom Policy * rule.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description that you provide for your organization Config Custom Policy * rule.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description that you provide for your organization Config Custom Policy * rule.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description that you provide for your organization Config Custom Policy * rule.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description that you provide for your organization Config Custom Policy * rule.
*/ inline OrganizationCustomPolicyRuleMetadataNoPolicy& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description that you provide for your organization Config Custom Policy * rule.
*/ inline OrganizationCustomPolicyRuleMetadataNoPolicy& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description that you provide for your organization Config Custom Policy * rule.
*/ inline OrganizationCustomPolicyRuleMetadataNoPolicy& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The type of notification that triggers Config to run an evaluation for a * rule. For Config Custom Policy rules, Config supports change triggered * notification types:
* ConfigurationItemChangeNotification
- Triggers an evaluation when
* Config delivers a configuration item as a result of a resource change.
OversizedConfigurationItemChangeNotification
- Triggers an
* evaluation when Config delivers an oversized configuration item. Config may
* generate this notification type when a resource changes and the notification
* exceeds the maximum size allowed by Amazon SNS.
The type of notification that triggers Config to run an evaluation for a * rule. For Config Custom Policy rules, Config supports change triggered * notification types:
* ConfigurationItemChangeNotification
- Triggers an evaluation when
* Config delivers a configuration item as a result of a resource change.
OversizedConfigurationItemChangeNotification
- Triggers an
* evaluation when Config delivers an oversized configuration item. Config may
* generate this notification type when a resource changes and the notification
* exceeds the maximum size allowed by Amazon SNS.
The type of notification that triggers Config to run an evaluation for a * rule. For Config Custom Policy rules, Config supports change triggered * notification types:
* ConfigurationItemChangeNotification
- Triggers an evaluation when
* Config delivers a configuration item as a result of a resource change.
OversizedConfigurationItemChangeNotification
- Triggers an
* evaluation when Config delivers an oversized configuration item. Config may
* generate this notification type when a resource changes and the notification
* exceeds the maximum size allowed by Amazon SNS.
The type of notification that triggers Config to run an evaluation for a * rule. For Config Custom Policy rules, Config supports change triggered * notification types:
* ConfigurationItemChangeNotification
- Triggers an evaluation when
* Config delivers a configuration item as a result of a resource change.
OversizedConfigurationItemChangeNotification
- Triggers an
* evaluation when Config delivers an oversized configuration item. Config may
* generate this notification type when a resource changes and the notification
* exceeds the maximum size allowed by Amazon SNS.
The type of notification that triggers Config to run an evaluation for a * rule. For Config Custom Policy rules, Config supports change triggered * notification types:
* ConfigurationItemChangeNotification
- Triggers an evaluation when
* Config delivers a configuration item as a result of a resource change.
OversizedConfigurationItemChangeNotification
- Triggers an
* evaluation when Config delivers an oversized configuration item. Config may
* generate this notification type when a resource changes and the notification
* exceeds the maximum size allowed by Amazon SNS.
The type of notification that triggers Config to run an evaluation for a * rule. For Config Custom Policy rules, Config supports change triggered * notification types:
* ConfigurationItemChangeNotification
- Triggers an evaluation when
* Config delivers a configuration item as a result of a resource change.
OversizedConfigurationItemChangeNotification
- Triggers an
* evaluation when Config delivers an oversized configuration item. Config may
* generate this notification type when a resource changes and the notification
* exceeds the maximum size allowed by Amazon SNS.
The type of notification that triggers Config to run an evaluation for a * rule. For Config Custom Policy rules, Config supports change triggered * notification types:
* ConfigurationItemChangeNotification
- Triggers an evaluation when
* Config delivers a configuration item as a result of a resource change.
OversizedConfigurationItemChangeNotification
- Triggers an
* evaluation when Config delivers an oversized configuration item. Config may
* generate this notification type when a resource changes and the notification
* exceeds the maximum size allowed by Amazon SNS.
The type of notification that triggers Config to run an evaluation for a * rule. For Config Custom Policy rules, Config supports change triggered * notification types:
* ConfigurationItemChangeNotification
- Triggers an evaluation when
* Config delivers a configuration item as a result of a resource change.
OversizedConfigurationItemChangeNotification
- Triggers an
* evaluation when Config delivers an oversized configuration item. Config may
* generate this notification type when a resource changes and the notification
* exceeds the maximum size allowed by Amazon SNS.
A string, in JSON format, that is passed to your organization Config Custom * Policy rule.
*/ inline const Aws::String& GetInputParameters() const{ return m_inputParameters; } /** *A string, in JSON format, that is passed to your organization Config Custom * Policy rule.
*/ inline bool InputParametersHasBeenSet() const { return m_inputParametersHasBeenSet; } /** *A string, in JSON format, that is passed to your organization Config Custom * Policy rule.
*/ 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 Custom * Policy rule.
*/ 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 Custom * Policy rule.
*/ 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 Custom * Policy rule.
*/ inline OrganizationCustomPolicyRuleMetadataNoPolicy& WithInputParameters(const Aws::String& value) { SetInputParameters(value); return *this;} /** *A string, in JSON format, that is passed to your organization Config Custom * Policy rule.
*/ inline OrganizationCustomPolicyRuleMetadataNoPolicy& WithInputParameters(Aws::String&& value) { SetInputParameters(std::move(value)); return *this;} /** *A string, in JSON format, that is passed to your organization Config Custom * Policy rule.
*/ inline OrganizationCustomPolicyRuleMetadataNoPolicy& WithInputParameters(const char* value) { SetInputParameters(value); return *this;} /** *The maximum frequency with which Config runs evaluations for a rule. Your * Config Custom Policy rule is triggered when Config delivers the configuration * snapshot. For more information, see ConfigSnapshotDeliveryProperties.
*/ inline const MaximumExecutionFrequency& GetMaximumExecutionFrequency() const{ return m_maximumExecutionFrequency; } /** *The maximum frequency with which Config runs evaluations for a rule. Your * Config Custom Policy rule is triggered when Config delivers the configuration * snapshot. For more information, see ConfigSnapshotDeliveryProperties.
*/ inline bool MaximumExecutionFrequencyHasBeenSet() const { return m_maximumExecutionFrequencyHasBeenSet; } /** *The maximum frequency with which Config runs evaluations for a rule. Your * Config Custom Policy rule is triggered when Config delivers the configuration * snapshot. For more information, see ConfigSnapshotDeliveryProperties.
*/ inline void SetMaximumExecutionFrequency(const MaximumExecutionFrequency& value) { m_maximumExecutionFrequencyHasBeenSet = true; m_maximumExecutionFrequency = value; } /** *The maximum frequency with which Config runs evaluations for a rule. Your * Config Custom Policy rule is triggered when Config delivers the configuration * snapshot. For more information, see ConfigSnapshotDeliveryProperties.
*/ inline void SetMaximumExecutionFrequency(MaximumExecutionFrequency&& value) { m_maximumExecutionFrequencyHasBeenSet = true; m_maximumExecutionFrequency = std::move(value); } /** *The maximum frequency with which Config runs evaluations for a rule. Your * Config Custom Policy rule is triggered when Config delivers the configuration * snapshot. For more information, see ConfigSnapshotDeliveryProperties.
*/ inline OrganizationCustomPolicyRuleMetadataNoPolicy& WithMaximumExecutionFrequency(const MaximumExecutionFrequency& value) { SetMaximumExecutionFrequency(value); return *this;} /** *The maximum frequency with which Config runs evaluations for a rule. Your * Config Custom Policy rule is triggered when Config delivers the configuration * snapshot. For more information, see ConfigSnapshotDeliveryProperties.
*/ inline OrganizationCustomPolicyRuleMetadataNoPolicy& WithMaximumExecutionFrequency(MaximumExecutionFrequency&& value) { SetMaximumExecutionFrequency(std::move(value)); return *this;} /** *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 OrganizationCustomPolicyRuleMetadataNoPolicy& WithResourceTypesScope(const Aws::VectorThe type of the Amazon Web Services resource that was evaluated.
*/ inline OrganizationCustomPolicyRuleMetadataNoPolicy& WithResourceTypesScope(Aws::VectorThe type of the Amazon Web Services resource that was evaluated.
*/ inline OrganizationCustomPolicyRuleMetadataNoPolicy& 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 OrganizationCustomPolicyRuleMetadataNoPolicy& 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 OrganizationCustomPolicyRuleMetadataNoPolicy& 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 OrganizationCustomPolicyRuleMetadataNoPolicy& WithResourceIdScope(const Aws::String& value) { SetResourceIdScope(value); return *this;} /** *The ID of the Amazon Web Services resource that was evaluated.
*/ inline OrganizationCustomPolicyRuleMetadataNoPolicy& WithResourceIdScope(Aws::String&& value) { SetResourceIdScope(std::move(value)); return *this;} /** *The ID of the Amazon Web Services resource that was evaluated.
*/ inline OrganizationCustomPolicyRuleMetadataNoPolicy& 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 OrganizationCustomPolicyRuleMetadataNoPolicy& 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 OrganizationCustomPolicyRuleMetadataNoPolicy& 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 OrganizationCustomPolicyRuleMetadataNoPolicy& 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 OrganizationCustomPolicyRuleMetadataNoPolicy& 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 OrganizationCustomPolicyRuleMetadataNoPolicy& 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 OrganizationCustomPolicyRuleMetadataNoPolicy& WithTagValueScope(const char* value) { SetTagValueScope(value); return *this;} /** *The runtime system for your organization Config Custom Policy rules. Guard is * a policy-as-code language that allows you to write policies that are enforced by * Config Custom Policy rules. For more information about Guard, see the Guard GitHub * Repository.
*/ inline const Aws::String& GetPolicyRuntime() const{ return m_policyRuntime; } /** *The runtime system for your organization Config Custom Policy rules. Guard is * a policy-as-code language that allows you to write policies that are enforced by * Config Custom Policy rules. For more information about Guard, see the Guard GitHub * Repository.
*/ inline bool PolicyRuntimeHasBeenSet() const { return m_policyRuntimeHasBeenSet; } /** *The runtime system for your organization Config Custom Policy rules. Guard is * a policy-as-code language that allows you to write policies that are enforced by * Config Custom Policy rules. For more information about Guard, see the Guard GitHub * Repository.
*/ inline void SetPolicyRuntime(const Aws::String& value) { m_policyRuntimeHasBeenSet = true; m_policyRuntime = value; } /** *The runtime system for your organization Config Custom Policy rules. Guard is * a policy-as-code language that allows you to write policies that are enforced by * Config Custom Policy rules. For more information about Guard, see the Guard GitHub * Repository.
*/ inline void SetPolicyRuntime(Aws::String&& value) { m_policyRuntimeHasBeenSet = true; m_policyRuntime = std::move(value); } /** *The runtime system for your organization Config Custom Policy rules. Guard is * a policy-as-code language that allows you to write policies that are enforced by * Config Custom Policy rules. For more information about Guard, see the Guard GitHub * Repository.
*/ inline void SetPolicyRuntime(const char* value) { m_policyRuntimeHasBeenSet = true; m_policyRuntime.assign(value); } /** *The runtime system for your organization Config Custom Policy rules. Guard is * a policy-as-code language that allows you to write policies that are enforced by * Config Custom Policy rules. For more information about Guard, see the Guard GitHub * Repository.
*/ inline OrganizationCustomPolicyRuleMetadataNoPolicy& WithPolicyRuntime(const Aws::String& value) { SetPolicyRuntime(value); return *this;} /** *The runtime system for your organization Config Custom Policy rules. Guard is * a policy-as-code language that allows you to write policies that are enforced by * Config Custom Policy rules. For more information about Guard, see the Guard GitHub * Repository.
*/ inline OrganizationCustomPolicyRuleMetadataNoPolicy& WithPolicyRuntime(Aws::String&& value) { SetPolicyRuntime(std::move(value)); return *this;} /** *The runtime system for your organization Config Custom Policy rules. Guard is * a policy-as-code language that allows you to write policies that are enforced by * Config Custom Policy rules. For more information about Guard, see the Guard GitHub * Repository.
*/ inline OrganizationCustomPolicyRuleMetadataNoPolicy& WithPolicyRuntime(const char* value) { SetPolicyRuntime(value); return *this;} /** *A list of accounts that you can enable debug logging for your organization * Config Custom Policy rule. List is null when debug logging is enabled for all * accounts.
*/ inline const Aws::VectorA list of accounts that you can enable debug logging for your organization * Config Custom Policy rule. List is null when debug logging is enabled for all * accounts.
*/ inline bool DebugLogDeliveryAccountsHasBeenSet() const { return m_debugLogDeliveryAccountsHasBeenSet; } /** *A list of accounts that you can enable debug logging for your organization * Config Custom Policy rule. List is null when debug logging is enabled for all * accounts.
*/ inline void SetDebugLogDeliveryAccounts(const Aws::VectorA list of accounts that you can enable debug logging for your organization * Config Custom Policy rule. List is null when debug logging is enabled for all * accounts.
*/ inline void SetDebugLogDeliveryAccounts(Aws::VectorA list of accounts that you can enable debug logging for your organization * Config Custom Policy rule. List is null when debug logging is enabled for all * accounts.
*/ inline OrganizationCustomPolicyRuleMetadataNoPolicy& WithDebugLogDeliveryAccounts(const Aws::VectorA list of accounts that you can enable debug logging for your organization * Config Custom Policy rule. List is null when debug logging is enabled for all * accounts.
*/ inline OrganizationCustomPolicyRuleMetadataNoPolicy& WithDebugLogDeliveryAccounts(Aws::VectorA list of accounts that you can enable debug logging for your organization * Config Custom Policy rule. List is null when debug logging is enabled for all * accounts.
*/ inline OrganizationCustomPolicyRuleMetadataNoPolicy& AddDebugLogDeliveryAccounts(const Aws::String& value) { m_debugLogDeliveryAccountsHasBeenSet = true; m_debugLogDeliveryAccounts.push_back(value); return *this; } /** *A list of accounts that you can enable debug logging for your organization * Config Custom Policy rule. List is null when debug logging is enabled for all * accounts.
*/ inline OrganizationCustomPolicyRuleMetadataNoPolicy& AddDebugLogDeliveryAccounts(Aws::String&& value) { m_debugLogDeliveryAccountsHasBeenSet = true; m_debugLogDeliveryAccounts.push_back(std::move(value)); return *this; } /** *A list of accounts that you can enable debug logging for your organization * Config Custom Policy rule. List is null when debug logging is enabled for all * accounts.
*/ inline OrganizationCustomPolicyRuleMetadataNoPolicy& AddDebugLogDeliveryAccounts(const char* value) { m_debugLogDeliveryAccountsHasBeenSet = true; m_debugLogDeliveryAccounts.push_back(value); return *this; } private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector