7#include <aws/config/ConfigService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/config/model/OrganizationManagedRuleMetadata.h>
10#include <aws/config/model/OrganizationCustomRuleMetadata.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/config/model/OrganizationCustomPolicyRuleMetadataNoPolicy.h>
26namespace ConfigService
54 inline void SetOrganizationConfigRuleName(
const char* value) { m_organizationConfigRuleNameHasBeenSet =
true; m_organizationConfigRuleName.assign(value); }
68 inline void SetOrganizationConfigRuleArn(
const char* value) { m_organizationConfigRuleArnHasBeenSet =
true; m_organizationConfigRuleArn.assign(value); }
145 bool m_organizationConfigRuleNameHasBeenSet =
false;
148 bool m_organizationConfigRuleArnHasBeenSet =
false;
151 bool m_organizationManagedRuleMetadataHasBeenSet =
false;
154 bool m_organizationCustomRuleMetadataHasBeenSet =
false;
157 bool m_excludedAccountsHasBeenSet =
false;
160 bool m_lastUpdateTimeHasBeenSet =
false;
163 bool m_organizationCustomPolicyRuleMetadataHasBeenSet =
false;
OrganizationConfigRule & WithExcludedAccounts(Aws::Vector< Aws::String > &&value)
void SetOrganizationConfigRuleName(const char *value)
OrganizationConfigRule & AddExcludedAccounts(const Aws::String &value)
OrganizationConfigRule & WithOrganizationConfigRuleName(const char *value)
OrganizationConfigRule & WithOrganizationConfigRuleArn(const char *value)
bool OrganizationCustomPolicyRuleMetadataHasBeenSet() const
void SetOrganizationCustomPolicyRuleMetadata(const OrganizationCustomPolicyRuleMetadataNoPolicy &value)
void SetOrganizationManagedRuleMetadata(OrganizationManagedRuleMetadata &&value)
bool OrganizationConfigRuleNameHasBeenSet() const
void SetExcludedAccounts(Aws::Vector< Aws::String > &&value)
OrganizationConfigRule & WithOrganizationManagedRuleMetadata(OrganizationManagedRuleMetadata &&value)
OrganizationConfigRule & WithOrganizationCustomRuleMetadata(OrganizationCustomRuleMetadata &&value)
AWS_CONFIGSERVICE_API OrganizationConfigRule(Aws::Utils::Json::JsonView jsonValue)
OrganizationConfigRule & WithExcludedAccounts(const Aws::Vector< Aws::String > &value)
OrganizationConfigRule & AddExcludedAccounts(Aws::String &&value)
const OrganizationCustomRuleMetadata & GetOrganizationCustomRuleMetadata() const
OrganizationConfigRule & WithOrganizationConfigRuleName(const Aws::String &value)
OrganizationConfigRule & WithOrganizationCustomRuleMetadata(const OrganizationCustomRuleMetadata &value)
const Aws::Vector< Aws::String > & GetExcludedAccounts() const
bool OrganizationConfigRuleArnHasBeenSet() const
AWS_CONFIGSERVICE_API OrganizationConfigRule & operator=(Aws::Utils::Json::JsonView jsonValue)
OrganizationConfigRule & WithOrganizationManagedRuleMetadata(const OrganizationManagedRuleMetadata &value)
void SetOrganizationConfigRuleArn(const Aws::String &value)
AWS_CONFIGSERVICE_API OrganizationConfigRule()
AWS_CONFIGSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetLastUpdateTime() const
bool ExcludedAccountsHasBeenSet() const
bool OrganizationCustomRuleMetadataHasBeenSet() const
bool LastUpdateTimeHasBeenSet() const
OrganizationConfigRule & WithOrganizationConfigRuleName(Aws::String &&value)
OrganizationConfigRule & WithLastUpdateTime(Aws::Utils::DateTime &&value)
void SetOrganizationCustomRuleMetadata(OrganizationCustomRuleMetadata &&value)
void SetOrganizationConfigRuleArn(const char *value)
void SetOrganizationConfigRuleName(const Aws::String &value)
OrganizationConfigRule & AddExcludedAccounts(const char *value)
void SetLastUpdateTime(const Aws::Utils::DateTime &value)
void SetOrganizationManagedRuleMetadata(const OrganizationManagedRuleMetadata &value)
bool OrganizationManagedRuleMetadataHasBeenSet() const
void SetLastUpdateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetOrganizationConfigRuleArn() const
OrganizationConfigRule & WithOrganizationConfigRuleArn(Aws::String &&value)
void SetOrganizationConfigRuleArn(Aws::String &&value)
OrganizationConfigRule & WithOrganizationCustomPolicyRuleMetadata(OrganizationCustomPolicyRuleMetadataNoPolicy &&value)
OrganizationConfigRule & WithOrganizationConfigRuleArn(const Aws::String &value)
void SetExcludedAccounts(const Aws::Vector< Aws::String > &value)
void SetOrganizationConfigRuleName(Aws::String &&value)
const Aws::String & GetOrganizationConfigRuleName() const
OrganizationConfigRule & WithLastUpdateTime(const Aws::Utils::DateTime &value)
const OrganizationCustomPolicyRuleMetadataNoPolicy & GetOrganizationCustomPolicyRuleMetadata() const
const OrganizationManagedRuleMetadata & GetOrganizationManagedRuleMetadata() const
void SetOrganizationCustomRuleMetadata(const OrganizationCustomRuleMetadata &value)
OrganizationConfigRule & WithOrganizationCustomPolicyRuleMetadata(const OrganizationCustomPolicyRuleMetadataNoPolicy &value)
void SetOrganizationCustomPolicyRuleMetadata(OrganizationCustomPolicyRuleMetadataNoPolicy &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue