/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An organization Config rule that has information about Config rules that
* Config creates in member accounts.See Also:
AWS
* API Reference
The name that you assign to organization Config rule.
*/ inline const Aws::String& GetOrganizationConfigRuleName() const{ return m_organizationConfigRuleName; } /** *The name that you assign to organization Config rule.
*/ inline bool OrganizationConfigRuleNameHasBeenSet() const { return m_organizationConfigRuleNameHasBeenSet; } /** *The name that you assign to organization Config rule.
*/ inline void SetOrganizationConfigRuleName(const Aws::String& value) { m_organizationConfigRuleNameHasBeenSet = true; m_organizationConfigRuleName = value; } /** *The name that you assign to organization Config rule.
*/ inline void SetOrganizationConfigRuleName(Aws::String&& value) { m_organizationConfigRuleNameHasBeenSet = true; m_organizationConfigRuleName = std::move(value); } /** *The name that you assign to organization Config rule.
*/ inline void SetOrganizationConfigRuleName(const char* value) { m_organizationConfigRuleNameHasBeenSet = true; m_organizationConfigRuleName.assign(value); } /** *The name that you assign to organization Config rule.
*/ inline OrganizationConfigRule& WithOrganizationConfigRuleName(const Aws::String& value) { SetOrganizationConfigRuleName(value); return *this;} /** *The name that you assign to organization Config rule.
*/ inline OrganizationConfigRule& WithOrganizationConfigRuleName(Aws::String&& value) { SetOrganizationConfigRuleName(std::move(value)); return *this;} /** *The name that you assign to organization Config rule.
*/ inline OrganizationConfigRule& WithOrganizationConfigRuleName(const char* value) { SetOrganizationConfigRuleName(value); return *this;} /** *Amazon Resource Name (ARN) of organization Config rule.
*/ inline const Aws::String& GetOrganizationConfigRuleArn() const{ return m_organizationConfigRuleArn; } /** *Amazon Resource Name (ARN) of organization Config rule.
*/ inline bool OrganizationConfigRuleArnHasBeenSet() const { return m_organizationConfigRuleArnHasBeenSet; } /** *Amazon Resource Name (ARN) of organization Config rule.
*/ inline void SetOrganizationConfigRuleArn(const Aws::String& value) { m_organizationConfigRuleArnHasBeenSet = true; m_organizationConfigRuleArn = value; } /** *Amazon Resource Name (ARN) of organization Config rule.
*/ inline void SetOrganizationConfigRuleArn(Aws::String&& value) { m_organizationConfigRuleArnHasBeenSet = true; m_organizationConfigRuleArn = std::move(value); } /** *Amazon Resource Name (ARN) of organization Config rule.
*/ inline void SetOrganizationConfigRuleArn(const char* value) { m_organizationConfigRuleArnHasBeenSet = true; m_organizationConfigRuleArn.assign(value); } /** *Amazon Resource Name (ARN) of organization Config rule.
*/ inline OrganizationConfigRule& WithOrganizationConfigRuleArn(const Aws::String& value) { SetOrganizationConfigRuleArn(value); return *this;} /** *Amazon Resource Name (ARN) of organization Config rule.
*/ inline OrganizationConfigRule& WithOrganizationConfigRuleArn(Aws::String&& value) { SetOrganizationConfigRuleArn(std::move(value)); return *this;} /** *Amazon Resource Name (ARN) of organization Config rule.
*/ inline OrganizationConfigRule& WithOrganizationConfigRuleArn(const char* value) { SetOrganizationConfigRuleArn(value); return *this;} /** *An OrganizationManagedRuleMetadata
object.
An OrganizationManagedRuleMetadata
object.
An OrganizationManagedRuleMetadata
object.
An OrganizationManagedRuleMetadata
object.
An OrganizationManagedRuleMetadata
object.
An OrganizationManagedRuleMetadata
object.
An OrganizationCustomRuleMetadata
object.
An OrganizationCustomRuleMetadata
object.
An OrganizationCustomRuleMetadata
object.
An OrganizationCustomRuleMetadata
object.
An OrganizationCustomRuleMetadata
object.
An OrganizationCustomRuleMetadata
object.
A comma-separated list of accounts excluded from organization Config * rule.
*/ inline const Aws::VectorA comma-separated list of accounts excluded from organization Config * rule.
*/ inline bool ExcludedAccountsHasBeenSet() const { return m_excludedAccountsHasBeenSet; } /** *A comma-separated list of accounts excluded from organization Config * rule.
*/ inline void SetExcludedAccounts(const Aws::VectorA comma-separated list of accounts excluded from organization Config * rule.
*/ inline void SetExcludedAccounts(Aws::VectorA comma-separated list of accounts excluded from organization Config * rule.
*/ inline OrganizationConfigRule& WithExcludedAccounts(const Aws::VectorA comma-separated list of accounts excluded from organization Config * rule.
*/ inline OrganizationConfigRule& WithExcludedAccounts(Aws::VectorA comma-separated list of accounts excluded from organization Config * rule.
*/ inline OrganizationConfigRule& AddExcludedAccounts(const Aws::String& value) { m_excludedAccountsHasBeenSet = true; m_excludedAccounts.push_back(value); return *this; } /** *A comma-separated list of accounts excluded from organization Config * rule.
*/ inline OrganizationConfigRule& AddExcludedAccounts(Aws::String&& value) { m_excludedAccountsHasBeenSet = true; m_excludedAccounts.push_back(std::move(value)); return *this; } /** *A comma-separated list of accounts excluded from organization Config * rule.
*/ inline OrganizationConfigRule& AddExcludedAccounts(const char* value) { m_excludedAccountsHasBeenSet = true; m_excludedAccounts.push_back(value); return *this; } /** *The timestamp of the last update.
*/ inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; } /** *The timestamp of the last update.
*/ inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; } /** *The timestamp of the last update.
*/ inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; } /** *The timestamp of the last update.
*/ inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); } /** *The timestamp of the last update.
*/ inline OrganizationConfigRule& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;} /** *The timestamp of the last update.
*/ inline OrganizationConfigRule& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;} /** *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.
*/ inline const OrganizationCustomPolicyRuleMetadataNoPolicy& GetOrganizationCustomPolicyRuleMetadata() const{ return m_organizationCustomPolicyRuleMetadata; } /** *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.
*/ inline bool OrganizationCustomPolicyRuleMetadataHasBeenSet() const { return m_organizationCustomPolicyRuleMetadataHasBeenSet; } /** *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.
*/ inline void SetOrganizationCustomPolicyRuleMetadata(const OrganizationCustomPolicyRuleMetadataNoPolicy& value) { m_organizationCustomPolicyRuleMetadataHasBeenSet = true; m_organizationCustomPolicyRuleMetadata = value; } /** *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.
*/ inline void SetOrganizationCustomPolicyRuleMetadata(OrganizationCustomPolicyRuleMetadataNoPolicy&& value) { m_organizationCustomPolicyRuleMetadataHasBeenSet = true; m_organizationCustomPolicyRuleMetadata = std::move(value); } /** *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.
*/ inline OrganizationConfigRule& WithOrganizationCustomPolicyRuleMetadata(const OrganizationCustomPolicyRuleMetadataNoPolicy& value) { SetOrganizationCustomPolicyRuleMetadata(value); return *this;} /** *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.
*/ inline OrganizationConfigRule& WithOrganizationCustomPolicyRuleMetadata(OrganizationCustomPolicyRuleMetadataNoPolicy&& value) { SetOrganizationCustomPolicyRuleMetadata(std::move(value)); return *this;} private: Aws::String m_organizationConfigRuleName; bool m_organizationConfigRuleNameHasBeenSet = false; Aws::String m_organizationConfigRuleArn; bool m_organizationConfigRuleArnHasBeenSet = false; OrganizationManagedRuleMetadata m_organizationManagedRuleMetadata; bool m_organizationManagedRuleMetadataHasBeenSet = false; OrganizationCustomRuleMetadata m_organizationCustomRuleMetadata; bool m_organizationCustomRuleMetadataHasBeenSet = false; Aws::Vector