/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ConfigService { namespace Model { /** *

An object that specifies metadata for your organization's Config Custom * Policy rule. The metadata includes 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 initiate Config to evaluate Amazon Web Services resources against a * rule.

See Also:

AWS * API Reference

*/ class OrganizationCustomPolicyRuleMetadata { public: AWS_CONFIGSERVICE_API OrganizationCustomPolicyRuleMetadata(); AWS_CONFIGSERVICE_API OrganizationCustomPolicyRuleMetadata(Aws::Utils::Json::JsonView jsonValue); AWS_CONFIGSERVICE_API OrganizationCustomPolicyRuleMetadata& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 OrganizationCustomPolicyRuleMetadata& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description that you provide for your organization Config Custom Policy * rule.

*/ inline OrganizationCustomPolicyRuleMetadata& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description that you provide for your organization Config Custom Policy * rule.

*/ inline OrganizationCustomPolicyRuleMetadata& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The type of notification that initiates Config to run an evaluation for a * rule. For Config Custom Policy rules, Config supports change-initiated * notification types:

  • * ConfigurationItemChangeNotification - Initiates an evaluation when * Config delivers a configuration item as a result of a resource change.

  • *
  • OversizedConfigurationItemChangeNotification - Initiates * 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.

*/ inline const Aws::Vector& GetOrganizationConfigRuleTriggerTypes() const{ return m_organizationConfigRuleTriggerTypes; } /** *

The type of notification that initiates Config to run an evaluation for a * rule. For Config Custom Policy rules, Config supports change-initiated * notification types:

  • * ConfigurationItemChangeNotification - Initiates an evaluation when * Config delivers a configuration item as a result of a resource change.

  • *
  • OversizedConfigurationItemChangeNotification - Initiates * 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.

*/ inline bool OrganizationConfigRuleTriggerTypesHasBeenSet() const { return m_organizationConfigRuleTriggerTypesHasBeenSet; } /** *

The type of notification that initiates Config to run an evaluation for a * rule. For Config Custom Policy rules, Config supports change-initiated * notification types:

  • * ConfigurationItemChangeNotification - Initiates an evaluation when * Config delivers a configuration item as a result of a resource change.

  • *
  • OversizedConfigurationItemChangeNotification - Initiates * 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.

*/ inline void SetOrganizationConfigRuleTriggerTypes(const Aws::Vector& value) { m_organizationConfigRuleTriggerTypesHasBeenSet = true; m_organizationConfigRuleTriggerTypes = value; } /** *

The type of notification that initiates Config to run an evaluation for a * rule. For Config Custom Policy rules, Config supports change-initiated * notification types:

  • * ConfigurationItemChangeNotification - Initiates an evaluation when * Config delivers a configuration item as a result of a resource change.

  • *
  • OversizedConfigurationItemChangeNotification - Initiates * 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.

*/ inline void SetOrganizationConfigRuleTriggerTypes(Aws::Vector&& value) { m_organizationConfigRuleTriggerTypesHasBeenSet = true; m_organizationConfigRuleTriggerTypes = std::move(value); } /** *

The type of notification that initiates Config to run an evaluation for a * rule. For Config Custom Policy rules, Config supports change-initiated * notification types:

  • * ConfigurationItemChangeNotification - Initiates an evaluation when * Config delivers a configuration item as a result of a resource change.

  • *
  • OversizedConfigurationItemChangeNotification - Initiates * 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.

*/ inline OrganizationCustomPolicyRuleMetadata& WithOrganizationConfigRuleTriggerTypes(const Aws::Vector& value) { SetOrganizationConfigRuleTriggerTypes(value); return *this;} /** *

The type of notification that initiates Config to run an evaluation for a * rule. For Config Custom Policy rules, Config supports change-initiated * notification types:

  • * ConfigurationItemChangeNotification - Initiates an evaluation when * Config delivers a configuration item as a result of a resource change.

  • *
  • OversizedConfigurationItemChangeNotification - Initiates * 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.

*/ inline OrganizationCustomPolicyRuleMetadata& WithOrganizationConfigRuleTriggerTypes(Aws::Vector&& value) { SetOrganizationConfigRuleTriggerTypes(std::move(value)); return *this;} /** *

The type of notification that initiates Config to run an evaluation for a * rule. For Config Custom Policy rules, Config supports change-initiated * notification types:

  • * ConfigurationItemChangeNotification - Initiates an evaluation when * Config delivers a configuration item as a result of a resource change.

  • *
  • OversizedConfigurationItemChangeNotification - Initiates * 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.

*/ inline OrganizationCustomPolicyRuleMetadata& AddOrganizationConfigRuleTriggerTypes(const OrganizationConfigRuleTriggerTypeNoSN& value) { m_organizationConfigRuleTriggerTypesHasBeenSet = true; m_organizationConfigRuleTriggerTypes.push_back(value); return *this; } /** *

The type of notification that initiates Config to run an evaluation for a * rule. For Config Custom Policy rules, Config supports change-initiated * notification types:

  • * ConfigurationItemChangeNotification - Initiates an evaluation when * Config delivers a configuration item as a result of a resource change.

  • *
  • OversizedConfigurationItemChangeNotification - Initiates * 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.

*/ inline OrganizationCustomPolicyRuleMetadata& AddOrganizationConfigRuleTriggerTypes(OrganizationConfigRuleTriggerTypeNoSN&& value) { m_organizationConfigRuleTriggerTypesHasBeenSet = true; m_organizationConfigRuleTriggerTypes.push_back(std::move(value)); return *this; } /** *

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 OrganizationCustomPolicyRuleMetadata& 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 OrganizationCustomPolicyRuleMetadata& 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 OrganizationCustomPolicyRuleMetadata& 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 OrganizationCustomPolicyRuleMetadata& 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 OrganizationCustomPolicyRuleMetadata& WithMaximumExecutionFrequency(MaximumExecutionFrequency&& value) { SetMaximumExecutionFrequency(std::move(value)); return *this;} /** *

The type of the Amazon Web Services resource that was evaluated.

*/ inline const Aws::Vector& GetResourceTypesScope() const{ return m_resourceTypesScope; } /** *

The 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::Vector& value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope = value; } /** *

The type of the Amazon Web Services resource that was evaluated.

*/ inline void SetResourceTypesScope(Aws::Vector&& value) { m_resourceTypesScopeHasBeenSet = true; m_resourceTypesScope = std::move(value); } /** *

The type of the Amazon Web Services resource that was evaluated.

*/ inline OrganizationCustomPolicyRuleMetadata& WithResourceTypesScope(const Aws::Vector& value) { SetResourceTypesScope(value); return *this;} /** *

The type of the Amazon Web Services resource that was evaluated.

*/ inline OrganizationCustomPolicyRuleMetadata& WithResourceTypesScope(Aws::Vector&& value) { SetResourceTypesScope(std::move(value)); return *this;} /** *

The type of the Amazon Web Services resource that was evaluated.

*/ inline OrganizationCustomPolicyRuleMetadata& 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 OrganizationCustomPolicyRuleMetadata& 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 OrganizationCustomPolicyRuleMetadata& 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 OrganizationCustomPolicyRuleMetadata& WithResourceIdScope(const Aws::String& value) { SetResourceIdScope(value); return *this;} /** *

The ID of the Amazon Web Services resource that was evaluated.

*/ inline OrganizationCustomPolicyRuleMetadata& WithResourceIdScope(Aws::String&& value) { SetResourceIdScope(std::move(value)); return *this;} /** *

The ID of the Amazon Web Services resource that was evaluated.

*/ inline OrganizationCustomPolicyRuleMetadata& 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 OrganizationCustomPolicyRuleMetadata& 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 OrganizationCustomPolicyRuleMetadata& 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 OrganizationCustomPolicyRuleMetadata& 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 OrganizationCustomPolicyRuleMetadata& 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 OrganizationCustomPolicyRuleMetadata& 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 OrganizationCustomPolicyRuleMetadata& 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 OrganizationCustomPolicyRuleMetadata& 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 OrganizationCustomPolicyRuleMetadata& 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 OrganizationCustomPolicyRuleMetadata& WithPolicyRuntime(const char* value) { SetPolicyRuntime(value); return *this;} /** *

The policy definition containing the logic for your organization Config * Custom Policy rule.

*/ inline const Aws::String& GetPolicyText() const{ return m_policyText; } /** *

The policy definition containing the logic for your organization Config * Custom Policy rule.

*/ inline bool PolicyTextHasBeenSet() const { return m_policyTextHasBeenSet; } /** *

The policy definition containing the logic for your organization Config * Custom Policy rule.

*/ inline void SetPolicyText(const Aws::String& value) { m_policyTextHasBeenSet = true; m_policyText = value; } /** *

The policy definition containing the logic for your organization Config * Custom Policy rule.

*/ inline void SetPolicyText(Aws::String&& value) { m_policyTextHasBeenSet = true; m_policyText = std::move(value); } /** *

The policy definition containing the logic for your organization Config * Custom Policy rule.

*/ inline void SetPolicyText(const char* value) { m_policyTextHasBeenSet = true; m_policyText.assign(value); } /** *

The policy definition containing the logic for your organization Config * Custom Policy rule.

*/ inline OrganizationCustomPolicyRuleMetadata& WithPolicyText(const Aws::String& value) { SetPolicyText(value); return *this;} /** *

The policy definition containing the logic for your organization Config * Custom Policy rule.

*/ inline OrganizationCustomPolicyRuleMetadata& WithPolicyText(Aws::String&& value) { SetPolicyText(std::move(value)); return *this;} /** *

The policy definition containing the logic for your organization Config * Custom Policy rule.

*/ inline OrganizationCustomPolicyRuleMetadata& WithPolicyText(const char* value) { SetPolicyText(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::Vector& GetDebugLogDeliveryAccounts() const{ return m_debugLogDeliveryAccounts; } /** *

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 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::Vector& value) { m_debugLogDeliveryAccountsHasBeenSet = true; m_debugLogDeliveryAccounts = value; } /** *

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(Aws::Vector&& value) { m_debugLogDeliveryAccountsHasBeenSet = true; m_debugLogDeliveryAccounts = std::move(value); } /** *

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 OrganizationCustomPolicyRuleMetadata& WithDebugLogDeliveryAccounts(const Aws::Vector& value) { SetDebugLogDeliveryAccounts(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 OrganizationCustomPolicyRuleMetadata& WithDebugLogDeliveryAccounts(Aws::Vector&& value) { SetDebugLogDeliveryAccounts(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 OrganizationCustomPolicyRuleMetadata& 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 OrganizationCustomPolicyRuleMetadata& 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 OrganizationCustomPolicyRuleMetadata& 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 m_organizationConfigRuleTriggerTypes; bool m_organizationConfigRuleTriggerTypesHasBeenSet = false; Aws::String m_inputParameters; bool m_inputParametersHasBeenSet = false; MaximumExecutionFrequency m_maximumExecutionFrequency; bool m_maximumExecutionFrequencyHasBeenSet = false; Aws::Vector m_resourceTypesScope; bool m_resourceTypesScopeHasBeenSet = false; Aws::String m_resourceIdScope; bool m_resourceIdScopeHasBeenSet = false; Aws::String m_tagKeyScope; bool m_tagKeyScopeHasBeenSet = false; Aws::String m_tagValueScope; bool m_tagValueScopeHasBeenSet = false; Aws::String m_policyRuntime; bool m_policyRuntimeHasBeenSet = false; Aws::String m_policyText; bool m_policyTextHasBeenSet = false; Aws::Vector m_debugLogDeliveryAccounts; bool m_debugLogDeliveryAccountsHasBeenSet = false; }; } // namespace Model } // namespace ConfigService } // namespace Aws