/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include organization custom rule metadata such as resource type, resource ID of
* Amazon Web Services resource, Lambda function ARN, and organization trigger
* types that trigger Config to evaluate your Amazon Web Services resources against
* a rule. 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 OrganizationCustomRuleMetadata& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description that you provide for your organization Config rule.
*/ inline OrganizationCustomRuleMetadata& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description that you provide for your organization Config rule.
*/ inline OrganizationCustomRuleMetadata& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The lambda function ARN.
*/ inline const Aws::String& GetLambdaFunctionArn() const{ return m_lambdaFunctionArn; } /** *The lambda function ARN.
*/ inline bool LambdaFunctionArnHasBeenSet() const { return m_lambdaFunctionArnHasBeenSet; } /** *The lambda function ARN.
*/ inline void SetLambdaFunctionArn(const Aws::String& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = value; } /** *The lambda function ARN.
*/ inline void SetLambdaFunctionArn(Aws::String&& value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn = std::move(value); } /** *The lambda function ARN.
*/ inline void SetLambdaFunctionArn(const char* value) { m_lambdaFunctionArnHasBeenSet = true; m_lambdaFunctionArn.assign(value); } /** *The lambda function ARN.
*/ inline OrganizationCustomRuleMetadata& WithLambdaFunctionArn(const Aws::String& value) { SetLambdaFunctionArn(value); return *this;} /** *The lambda function ARN.
*/ inline OrganizationCustomRuleMetadata& WithLambdaFunctionArn(Aws::String&& value) { SetLambdaFunctionArn(std::move(value)); return *this;} /** *The lambda function ARN.
*/ inline OrganizationCustomRuleMetadata& WithLambdaFunctionArn(const char* value) { SetLambdaFunctionArn(value); return *this;} /** *The type of notification that triggers Config to run an evaluation for a * rule. You can specify the following 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.
* ScheduledNotification
- Triggers a periodic evaluation at the
* frequency specified for MaximumExecutionFrequency
.
The type of notification that triggers Config to run an evaluation for a * rule. You can specify the following 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.
* ScheduledNotification
- Triggers a periodic evaluation at the
* frequency specified for MaximumExecutionFrequency
.
The type of notification that triggers Config to run an evaluation for a * rule. You can specify the following 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.
* ScheduledNotification
- Triggers a periodic evaluation at the
* frequency specified for MaximumExecutionFrequency
.
The type of notification that triggers Config to run an evaluation for a * rule. You can specify the following 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.
* ScheduledNotification
- Triggers a periodic evaluation at the
* frequency specified for MaximumExecutionFrequency
.
The type of notification that triggers Config to run an evaluation for a * rule. You can specify the following 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.
* ScheduledNotification
- Triggers a periodic evaluation at the
* frequency specified for MaximumExecutionFrequency
.
The type of notification that triggers Config to run an evaluation for a * rule. You can specify the following 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.
* ScheduledNotification
- Triggers a periodic evaluation at the
* frequency specified for MaximumExecutionFrequency
.
The type of notification that triggers Config to run an evaluation for a * rule. You can specify the following 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.
* ScheduledNotification
- Triggers a periodic evaluation at the
* frequency specified for MaximumExecutionFrequency
.
The type of notification that triggers Config to run an evaluation for a * rule. You can specify the following 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.
* ScheduledNotification
- Triggers a periodic evaluation at the
* frequency specified for MaximumExecutionFrequency
.
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 OrganizationCustomRuleMetadata& 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 OrganizationCustomRuleMetadata& 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 OrganizationCustomRuleMetadata& WithInputParameters(const char* value) { SetInputParameters(value); return *this;} /** *The maximum frequency with which Config runs evaluations for a rule. Your * custom rule is triggered when Config delivers the configuration snapshot. For * more information, see ConfigSnapshotDeliveryProperties.
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. Your * custom rule is triggered when Config delivers the configuration snapshot. For * more information, see ConfigSnapshotDeliveryProperties.
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. Your * custom rule is triggered when Config delivers the configuration snapshot. For * more information, see ConfigSnapshotDeliveryProperties.
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. Your * custom rule is triggered when Config delivers the configuration snapshot. For * more information, see ConfigSnapshotDeliveryProperties.
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. Your * custom rule is triggered when Config delivers the configuration snapshot. For * more information, see ConfigSnapshotDeliveryProperties.
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. Your * custom rule is triggered when Config delivers the configuration snapshot. For * more information, see ConfigSnapshotDeliveryProperties.
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 OrganizationCustomRuleMetadata& WithResourceTypesScope(const Aws::VectorThe type of the Amazon Web Services resource that was evaluated.
*/ inline OrganizationCustomRuleMetadata& WithResourceTypesScope(Aws::VectorThe type of the Amazon Web Services resource that was evaluated.
*/ inline OrganizationCustomRuleMetadata& 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 OrganizationCustomRuleMetadata& 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 OrganizationCustomRuleMetadata& 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 OrganizationCustomRuleMetadata& WithResourceIdScope(const Aws::String& value) { SetResourceIdScope(value); return *this;} /** *The ID of the Amazon Web Services resource that was evaluated.
*/ inline OrganizationCustomRuleMetadata& WithResourceIdScope(Aws::String&& value) { SetResourceIdScope(std::move(value)); return *this;} /** *The ID of the Amazon Web Services resource that was evaluated.
*/ inline OrganizationCustomRuleMetadata& 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 OrganizationCustomRuleMetadata& 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 OrganizationCustomRuleMetadata& 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 OrganizationCustomRuleMetadata& 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 OrganizationCustomRuleMetadata& 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 OrganizationCustomRuleMetadata& 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 OrganizationCustomRuleMetadata& WithTagValueScope(const char* value) { SetTagValueScope(value); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_lambdaFunctionArn; bool m_lambdaFunctionArnHasBeenSet = false; Aws::Vector