AWS SDK for C++  1.9.73
AWS SDK for C++
Public Member Functions | List of all members
Aws::Organizations::Model::CreateAccountStatus Class Reference

#include <CreateAccountStatus.h>

Public Member Functions

 CreateAccountStatus ()
 
 CreateAccountStatus (Aws::Utils::Json::JsonView jsonValue)
 
CreateAccountStatusoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetId () const
 
bool IdHasBeenSet () const
 
void SetId (const Aws::String &value)
 
void SetId (Aws::String &&value)
 
void SetId (const char *value)
 
CreateAccountStatusWithId (const Aws::String &value)
 
CreateAccountStatusWithId (Aws::String &&value)
 
CreateAccountStatusWithId (const char *value)
 
const Aws::StringGetAccountName () const
 
bool AccountNameHasBeenSet () const
 
void SetAccountName (const Aws::String &value)
 
void SetAccountName (Aws::String &&value)
 
void SetAccountName (const char *value)
 
CreateAccountStatusWithAccountName (const Aws::String &value)
 
CreateAccountStatusWithAccountName (Aws::String &&value)
 
CreateAccountStatusWithAccountName (const char *value)
 
const CreateAccountStateGetState () const
 
bool StateHasBeenSet () const
 
void SetState (const CreateAccountState &value)
 
void SetState (CreateAccountState &&value)
 
CreateAccountStatusWithState (const CreateAccountState &value)
 
CreateAccountStatusWithState (CreateAccountState &&value)
 
const Aws::Utils::DateTimeGetRequestedTimestamp () const
 
bool RequestedTimestampHasBeenSet () const
 
void SetRequestedTimestamp (const Aws::Utils::DateTime &value)
 
void SetRequestedTimestamp (Aws::Utils::DateTime &&value)
 
CreateAccountStatusWithRequestedTimestamp (const Aws::Utils::DateTime &value)
 
CreateAccountStatusWithRequestedTimestamp (Aws::Utils::DateTime &&value)
 
const Aws::Utils::DateTimeGetCompletedTimestamp () const
 
bool CompletedTimestampHasBeenSet () const
 
void SetCompletedTimestamp (const Aws::Utils::DateTime &value)
 
void SetCompletedTimestamp (Aws::Utils::DateTime &&value)
 
CreateAccountStatusWithCompletedTimestamp (const Aws::Utils::DateTime &value)
 
CreateAccountStatusWithCompletedTimestamp (Aws::Utils::DateTime &&value)
 
const Aws::StringGetAccountId () const
 
bool AccountIdHasBeenSet () const
 
void SetAccountId (const Aws::String &value)
 
void SetAccountId (Aws::String &&value)
 
void SetAccountId (const char *value)
 
CreateAccountStatusWithAccountId (const Aws::String &value)
 
CreateAccountStatusWithAccountId (Aws::String &&value)
 
CreateAccountStatusWithAccountId (const char *value)
 
const Aws::StringGetGovCloudAccountId () const
 
bool GovCloudAccountIdHasBeenSet () const
 
void SetGovCloudAccountId (const Aws::String &value)
 
void SetGovCloudAccountId (Aws::String &&value)
 
void SetGovCloudAccountId (const char *value)
 
CreateAccountStatusWithGovCloudAccountId (const Aws::String &value)
 
CreateAccountStatusWithGovCloudAccountId (Aws::String &&value)
 
CreateAccountStatusWithGovCloudAccountId (const char *value)
 
const CreateAccountFailureReasonGetFailureReason () const
 
bool FailureReasonHasBeenSet () const
 
void SetFailureReason (const CreateAccountFailureReason &value)
 
void SetFailureReason (CreateAccountFailureReason &&value)
 
CreateAccountStatusWithFailureReason (const CreateAccountFailureReason &value)
 
CreateAccountStatusWithFailureReason (CreateAccountFailureReason &&value)
 

Detailed Description

Contains the status about a CreateAccount or CreateGovCloudAccount request to create an AWS account or an AWS GovCloud (US) account in an organization.

See Also:

AWS API Reference

Definition at line 36 of file CreateAccountStatus.h.

Constructor & Destructor Documentation

◆ CreateAccountStatus() [1/2]

Aws::Organizations::Model::CreateAccountStatus::CreateAccountStatus ( )

◆ CreateAccountStatus() [2/2]

Aws::Organizations::Model::CreateAccountStatus::CreateAccountStatus ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AccountIdHasBeenSet()

bool Aws::Organizations::Model::CreateAccountStatus::AccountIdHasBeenSet ( ) const
inline

If the account was created successfully, the unique identifier (ID) of the new account.

The regex pattern for an account ID string requires exactly 12 digits.

Definition at line 264 of file CreateAccountStatus.h.

◆ AccountNameHasBeenSet()

bool Aws::Organizations::Model::CreateAccountStatus::AccountNameHasBeenSet ( ) const
inline

The account name given to the account when it was created.

Definition at line 126 of file CreateAccountStatus.h.

◆ CompletedTimestampHasBeenSet()

bool Aws::Organizations::Model::CreateAccountStatus::CompletedTimestampHasBeenSet ( ) const
inline

The date and time that the account was created and the request completed.

Definition at line 229 of file CreateAccountStatus.h.

◆ FailureReasonHasBeenSet()

bool Aws::Organizations::Model::CreateAccountStatus::FailureReasonHasBeenSet ( ) const
inline

If the request failed, a description of the reason for the failure.

  • ACCOUNT_LIMIT_EXCEEDED: The account couldn't be created because you reached the limit on the number of accounts in your organization.

  • CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.

  • EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.

  • FAILED_BUSINESS_VALIDATION: The AWS account that owns your organization failed to receive business license validation.

  • GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the AWS GovCloud (US) Region could not be created because this Region already includes an account with that email address.

  • IDENTITY_INVALID_BUSINESS_VALIDATION: The AWS account that owns your organization can't complete business license validation because it doesn't have valid identity data.

  • INVALID_ADDRESS: The account could not be created because the address you provided is not valid.

  • INVALID_EMAIL: The account could not be created because the email address you provided is not valid.

  • INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the problem persists, contact AWS Customer Support.

  • MISSING_BUSINESS_VALIDATION: The AWS account that owns your organization has not received Business Validation.

  • MISSING_PAYMENT_INSTRUMENT: You must configure the management account with a valid payment method, such as a credit card.

  • PENDING_BUSINESS_VALIDATION: The AWS account that owns your organization is still in the process of completing business license validation.

  • UNKNOWN_BUSINESS_VALIDATION: The AWS account that owns your organization has an unknown issue with business license validation.

Definition at line 416 of file CreateAccountStatus.h.

◆ GetAccountId()

const Aws::String& Aws::Organizations::Model::CreateAccountStatus::GetAccountId ( ) const
inline

If the account was created successfully, the unique identifier (ID) of the new account.

The regex pattern for an account ID string requires exactly 12 digits.

Definition at line 257 of file CreateAccountStatus.h.

◆ GetAccountName()

const Aws::String& Aws::Organizations::Model::CreateAccountStatus::GetAccountName ( ) const
inline

The account name given to the account when it was created.

Definition at line 121 of file CreateAccountStatus.h.

◆ GetCompletedTimestamp()

const Aws::Utils::DateTime& Aws::Organizations::Model::CreateAccountStatus::GetCompletedTimestamp ( ) const
inline

The date and time that the account was created and the request completed.

Definition at line 224 of file CreateAccountStatus.h.

◆ GetFailureReason()

const CreateAccountFailureReason& Aws::Organizations::Model::CreateAccountStatus::GetFailureReason ( ) const
inline

If the request failed, a description of the reason for the failure.

  • ACCOUNT_LIMIT_EXCEEDED: The account couldn't be created because you reached the limit on the number of accounts in your organization.

  • CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.

  • EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.

  • FAILED_BUSINESS_VALIDATION: The AWS account that owns your organization failed to receive business license validation.

  • GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the AWS GovCloud (US) Region could not be created because this Region already includes an account with that email address.

  • IDENTITY_INVALID_BUSINESS_VALIDATION: The AWS account that owns your organization can't complete business license validation because it doesn't have valid identity data.

  • INVALID_ADDRESS: The account could not be created because the address you provided is not valid.

  • INVALID_EMAIL: The account could not be created because the email address you provided is not valid.

  • INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the problem persists, contact AWS Customer Support.

  • MISSING_BUSINESS_VALIDATION: The AWS account that owns your organization has not received Business Validation.

  • MISSING_PAYMENT_INSTRUMENT: You must configure the management account with a valid payment method, such as a credit card.

  • PENDING_BUSINESS_VALIDATION: The AWS account that owns your organization is still in the process of completing business license validation.

  • UNKNOWN_BUSINESS_VALIDATION: The AWS account that owns your organization has an unknown issue with business license validation.

Definition at line 386 of file CreateAccountStatus.h.

◆ GetGovCloudAccountId()

const Aws::String& Aws::Organizations::Model::CreateAccountStatus::GetGovCloudAccountId ( ) const
inline

If the account was created successfully, the unique identifier (ID) of the new account in the AWS GovCloud (US) Region.

Definition at line 313 of file CreateAccountStatus.h.

◆ GetId()

const Aws::String& Aws::Organizations::Model::CreateAccountStatus::GetId ( ) const
inline

The unique identifier (ID) that references this request. You get this value from the response of the initial CreateAccount request to create the account.

The regex pattern for a create account request ID string requires "car-" followed by from 8 to 32 lowercase letters or digits.

Definition at line 52 of file CreateAccountStatus.h.

◆ GetRequestedTimestamp()

const Aws::Utils::DateTime& Aws::Organizations::Model::CreateAccountStatus::GetRequestedTimestamp ( ) const
inline

The date and time that the request was made for the account creation.

Definition at line 193 of file CreateAccountStatus.h.

◆ GetState()

const CreateAccountState& Aws::Organizations::Model::CreateAccountStatus::GetState ( ) const
inline

The status of the asynchronous request to create an AWS account.

Definition at line 162 of file CreateAccountStatus.h.

◆ GovCloudAccountIdHasBeenSet()

bool Aws::Organizations::Model::CreateAccountStatus::GovCloudAccountIdHasBeenSet ( ) const
inline

If the account was created successfully, the unique identifier (ID) of the new account in the AWS GovCloud (US) Region.

Definition at line 319 of file CreateAccountStatus.h.

◆ IdHasBeenSet()

bool Aws::Organizations::Model::CreateAccountStatus::IdHasBeenSet ( ) const
inline

The unique identifier (ID) that references this request. You get this value from the response of the initial CreateAccount request to create the account.

The regex pattern for a create account request ID string requires "car-" followed by from 8 to 32 lowercase letters or digits.

Definition at line 61 of file CreateAccountStatus.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Organizations::Model::CreateAccountStatus::Jsonize ( ) const

◆ operator=()

CreateAccountStatus& Aws::Organizations::Model::CreateAccountStatus::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ RequestedTimestampHasBeenSet()

bool Aws::Organizations::Model::CreateAccountStatus::RequestedTimestampHasBeenSet ( ) const
inline

The date and time that the request was made for the account creation.

Definition at line 198 of file CreateAccountStatus.h.

◆ SetAccountId() [1/3]

void Aws::Organizations::Model::CreateAccountStatus::SetAccountId ( Aws::String &&  value)
inline

If the account was created successfully, the unique identifier (ID) of the new account.

The regex pattern for an account ID string requires exactly 12 digits.

Definition at line 278 of file CreateAccountStatus.h.

◆ SetAccountId() [2/3]

void Aws::Organizations::Model::CreateAccountStatus::SetAccountId ( const Aws::String value)
inline

If the account was created successfully, the unique identifier (ID) of the new account.

The regex pattern for an account ID string requires exactly 12 digits.

Definition at line 271 of file CreateAccountStatus.h.

◆ SetAccountId() [3/3]

void Aws::Organizations::Model::CreateAccountStatus::SetAccountId ( const char *  value)
inline

If the account was created successfully, the unique identifier (ID) of the new account.

The regex pattern for an account ID string requires exactly 12 digits.

Definition at line 285 of file CreateAccountStatus.h.

◆ SetAccountName() [1/3]

void Aws::Organizations::Model::CreateAccountStatus::SetAccountName ( Aws::String &&  value)
inline

The account name given to the account when it was created.

Definition at line 136 of file CreateAccountStatus.h.

◆ SetAccountName() [2/3]

void Aws::Organizations::Model::CreateAccountStatus::SetAccountName ( const Aws::String value)
inline

The account name given to the account when it was created.

Definition at line 131 of file CreateAccountStatus.h.

◆ SetAccountName() [3/3]

void Aws::Organizations::Model::CreateAccountStatus::SetAccountName ( const char *  value)
inline

The account name given to the account when it was created.

Definition at line 141 of file CreateAccountStatus.h.

◆ SetCompletedTimestamp() [1/2]

void Aws::Organizations::Model::CreateAccountStatus::SetCompletedTimestamp ( Aws::Utils::DateTime &&  value)
inline

The date and time that the account was created and the request completed.

Definition at line 239 of file CreateAccountStatus.h.

◆ SetCompletedTimestamp() [2/2]

void Aws::Organizations::Model::CreateAccountStatus::SetCompletedTimestamp ( const Aws::Utils::DateTime value)
inline

The date and time that the account was created and the request completed.

Definition at line 234 of file CreateAccountStatus.h.

◆ SetFailureReason() [1/2]

void Aws::Organizations::Model::CreateAccountStatus::SetFailureReason ( const CreateAccountFailureReason value)
inline

If the request failed, a description of the reason for the failure.

  • ACCOUNT_LIMIT_EXCEEDED: The account couldn't be created because you reached the limit on the number of accounts in your organization.

  • CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.

  • EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.

  • FAILED_BUSINESS_VALIDATION: The AWS account that owns your organization failed to receive business license validation.

  • GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the AWS GovCloud (US) Region could not be created because this Region already includes an account with that email address.

  • IDENTITY_INVALID_BUSINESS_VALIDATION: The AWS account that owns your organization can't complete business license validation because it doesn't have valid identity data.

  • INVALID_ADDRESS: The account could not be created because the address you provided is not valid.

  • INVALID_EMAIL: The account could not be created because the email address you provided is not valid.

  • INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the problem persists, contact AWS Customer Support.

  • MISSING_BUSINESS_VALIDATION: The AWS account that owns your organization has not received Business Validation.

  • MISSING_PAYMENT_INSTRUMENT: You must configure the management account with a valid payment method, such as a credit card.

  • PENDING_BUSINESS_VALIDATION: The AWS account that owns your organization is still in the process of completing business license validation.

  • UNKNOWN_BUSINESS_VALIDATION: The AWS account that owns your organization has an unknown issue with business license validation.

Definition at line 446 of file CreateAccountStatus.h.

◆ SetFailureReason() [2/2]

void Aws::Organizations::Model::CreateAccountStatus::SetFailureReason ( CreateAccountFailureReason &&  value)
inline

If the request failed, a description of the reason for the failure.

  • ACCOUNT_LIMIT_EXCEEDED: The account couldn't be created because you reached the limit on the number of accounts in your organization.

  • CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.

  • EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.

  • FAILED_BUSINESS_VALIDATION: The AWS account that owns your organization failed to receive business license validation.

  • GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the AWS GovCloud (US) Region could not be created because this Region already includes an account with that email address.

  • IDENTITY_INVALID_BUSINESS_VALIDATION: The AWS account that owns your organization can't complete business license validation because it doesn't have valid identity data.

  • INVALID_ADDRESS: The account could not be created because the address you provided is not valid.

  • INVALID_EMAIL: The account could not be created because the email address you provided is not valid.

  • INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the problem persists, contact AWS Customer Support.

  • MISSING_BUSINESS_VALIDATION: The AWS account that owns your organization has not received Business Validation.

  • MISSING_PAYMENT_INSTRUMENT: You must configure the management account with a valid payment method, such as a credit card.

  • PENDING_BUSINESS_VALIDATION: The AWS account that owns your organization is still in the process of completing business license validation.

  • UNKNOWN_BUSINESS_VALIDATION: The AWS account that owns your organization has an unknown issue with business license validation.

Definition at line 476 of file CreateAccountStatus.h.

◆ SetGovCloudAccountId() [1/3]

void Aws::Organizations::Model::CreateAccountStatus::SetGovCloudAccountId ( Aws::String &&  value)
inline

If the account was created successfully, the unique identifier (ID) of the new account in the AWS GovCloud (US) Region.

Definition at line 331 of file CreateAccountStatus.h.

◆ SetGovCloudAccountId() [2/3]

void Aws::Organizations::Model::CreateAccountStatus::SetGovCloudAccountId ( const Aws::String value)
inline

If the account was created successfully, the unique identifier (ID) of the new account in the AWS GovCloud (US) Region.

Definition at line 325 of file CreateAccountStatus.h.

◆ SetGovCloudAccountId() [3/3]

void Aws::Organizations::Model::CreateAccountStatus::SetGovCloudAccountId ( const char *  value)
inline

If the account was created successfully, the unique identifier (ID) of the new account in the AWS GovCloud (US) Region.

Definition at line 337 of file CreateAccountStatus.h.

◆ SetId() [1/3]

void Aws::Organizations::Model::CreateAccountStatus::SetId ( Aws::String &&  value)
inline

The unique identifier (ID) that references this request. You get this value from the response of the initial CreateAccount request to create the account.

The regex pattern for a create account request ID string requires "car-" followed by from 8 to 32 lowercase letters or digits.

Definition at line 79 of file CreateAccountStatus.h.

◆ SetId() [2/3]

void Aws::Organizations::Model::CreateAccountStatus::SetId ( const Aws::String value)
inline

The unique identifier (ID) that references this request. You get this value from the response of the initial CreateAccount request to create the account.

The regex pattern for a create account request ID string requires "car-" followed by from 8 to 32 lowercase letters or digits.

Definition at line 70 of file CreateAccountStatus.h.

◆ SetId() [3/3]

void Aws::Organizations::Model::CreateAccountStatus::SetId ( const char *  value)
inline

The unique identifier (ID) that references this request. You get this value from the response of the initial CreateAccount request to create the account.

The regex pattern for a create account request ID string requires "car-" followed by from 8 to 32 lowercase letters or digits.

Definition at line 88 of file CreateAccountStatus.h.

◆ SetRequestedTimestamp() [1/2]

void Aws::Organizations::Model::CreateAccountStatus::SetRequestedTimestamp ( Aws::Utils::DateTime &&  value)
inline

The date and time that the request was made for the account creation.

Definition at line 208 of file CreateAccountStatus.h.

◆ SetRequestedTimestamp() [2/2]

void Aws::Organizations::Model::CreateAccountStatus::SetRequestedTimestamp ( const Aws::Utils::DateTime value)
inline

The date and time that the request was made for the account creation.

Definition at line 203 of file CreateAccountStatus.h.

◆ SetState() [1/2]

void Aws::Organizations::Model::CreateAccountStatus::SetState ( const CreateAccountState value)
inline

The status of the asynchronous request to create an AWS account.

Definition at line 172 of file CreateAccountStatus.h.

◆ SetState() [2/2]

void Aws::Organizations::Model::CreateAccountStatus::SetState ( CreateAccountState &&  value)
inline

The status of the asynchronous request to create an AWS account.

Definition at line 177 of file CreateAccountStatus.h.

◆ StateHasBeenSet()

bool Aws::Organizations::Model::CreateAccountStatus::StateHasBeenSet ( ) const
inline

The status of the asynchronous request to create an AWS account.

Definition at line 167 of file CreateAccountStatus.h.

◆ WithAccountId() [1/3]

CreateAccountStatus& Aws::Organizations::Model::CreateAccountStatus::WithAccountId ( Aws::String &&  value)
inline

If the account was created successfully, the unique identifier (ID) of the new account.

The regex pattern for an account ID string requires exactly 12 digits.

Definition at line 299 of file CreateAccountStatus.h.

◆ WithAccountId() [2/3]

CreateAccountStatus& Aws::Organizations::Model::CreateAccountStatus::WithAccountId ( const Aws::String value)
inline

If the account was created successfully, the unique identifier (ID) of the new account.

The regex pattern for an account ID string requires exactly 12 digits.

Definition at line 292 of file CreateAccountStatus.h.

◆ WithAccountId() [3/3]

CreateAccountStatus& Aws::Organizations::Model::CreateAccountStatus::WithAccountId ( const char *  value)
inline

If the account was created successfully, the unique identifier (ID) of the new account.

The regex pattern for an account ID string requires exactly 12 digits.

Definition at line 306 of file CreateAccountStatus.h.

◆ WithAccountName() [1/3]

CreateAccountStatus& Aws::Organizations::Model::CreateAccountStatus::WithAccountName ( Aws::String &&  value)
inline

The account name given to the account when it was created.

Definition at line 151 of file CreateAccountStatus.h.

◆ WithAccountName() [2/3]

CreateAccountStatus& Aws::Organizations::Model::CreateAccountStatus::WithAccountName ( const Aws::String value)
inline

The account name given to the account when it was created.

Definition at line 146 of file CreateAccountStatus.h.

◆ WithAccountName() [3/3]

CreateAccountStatus& Aws::Organizations::Model::CreateAccountStatus::WithAccountName ( const char *  value)
inline

The account name given to the account when it was created.

Definition at line 156 of file CreateAccountStatus.h.

◆ WithCompletedTimestamp() [1/2]

CreateAccountStatus& Aws::Organizations::Model::CreateAccountStatus::WithCompletedTimestamp ( Aws::Utils::DateTime &&  value)
inline

The date and time that the account was created and the request completed.

Definition at line 249 of file CreateAccountStatus.h.

◆ WithCompletedTimestamp() [2/2]

CreateAccountStatus& Aws::Organizations::Model::CreateAccountStatus::WithCompletedTimestamp ( const Aws::Utils::DateTime value)
inline

The date and time that the account was created and the request completed.

Definition at line 244 of file CreateAccountStatus.h.

◆ WithFailureReason() [1/2]

CreateAccountStatus& Aws::Organizations::Model::CreateAccountStatus::WithFailureReason ( const CreateAccountFailureReason value)
inline

If the request failed, a description of the reason for the failure.

  • ACCOUNT_LIMIT_EXCEEDED: The account couldn't be created because you reached the limit on the number of accounts in your organization.

  • CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.

  • EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.

  • FAILED_BUSINESS_VALIDATION: The AWS account that owns your organization failed to receive business license validation.

  • GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the AWS GovCloud (US) Region could not be created because this Region already includes an account with that email address.

  • IDENTITY_INVALID_BUSINESS_VALIDATION: The AWS account that owns your organization can't complete business license validation because it doesn't have valid identity data.

  • INVALID_ADDRESS: The account could not be created because the address you provided is not valid.

  • INVALID_EMAIL: The account could not be created because the email address you provided is not valid.

  • INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the problem persists, contact AWS Customer Support.

  • MISSING_BUSINESS_VALIDATION: The AWS account that owns your organization has not received Business Validation.

  • MISSING_PAYMENT_INSTRUMENT: You must configure the management account with a valid payment method, such as a credit card.

  • PENDING_BUSINESS_VALIDATION: The AWS account that owns your organization is still in the process of completing business license validation.

  • UNKNOWN_BUSINESS_VALIDATION: The AWS account that owns your organization has an unknown issue with business license validation.

Definition at line 506 of file CreateAccountStatus.h.

◆ WithFailureReason() [2/2]

CreateAccountStatus& Aws::Organizations::Model::CreateAccountStatus::WithFailureReason ( CreateAccountFailureReason &&  value)
inline

If the request failed, a description of the reason for the failure.

  • ACCOUNT_LIMIT_EXCEEDED: The account couldn't be created because you reached the limit on the number of accounts in your organization.

  • CONCURRENT_ACCOUNT_MODIFICATION: You already submitted a request with the same information.

  • EMAIL_ALREADY_EXISTS: The account could not be created because another AWS account with that email address already exists.

  • FAILED_BUSINESS_VALIDATION: The AWS account that owns your organization failed to receive business license validation.

  • GOVCLOUD_ACCOUNT_ALREADY_EXISTS: The account in the AWS GovCloud (US) Region could not be created because this Region already includes an account with that email address.

  • IDENTITY_INVALID_BUSINESS_VALIDATION: The AWS account that owns your organization can't complete business license validation because it doesn't have valid identity data.

  • INVALID_ADDRESS: The account could not be created because the address you provided is not valid.

  • INVALID_EMAIL: The account could not be created because the email address you provided is not valid.

  • INTERNAL_FAILURE: The account could not be created because of an internal failure. Try again later. If the problem persists, contact AWS Customer Support.

  • MISSING_BUSINESS_VALIDATION: The AWS account that owns your organization has not received Business Validation.

  • MISSING_PAYMENT_INSTRUMENT: You must configure the management account with a valid payment method, such as a credit card.

  • PENDING_BUSINESS_VALIDATION: The AWS account that owns your organization is still in the process of completing business license validation.

  • UNKNOWN_BUSINESS_VALIDATION: The AWS account that owns your organization has an unknown issue with business license validation.

Definition at line 536 of file CreateAccountStatus.h.

◆ WithGovCloudAccountId() [1/3]

CreateAccountStatus& Aws::Organizations::Model::CreateAccountStatus::WithGovCloudAccountId ( Aws::String &&  value)
inline

If the account was created successfully, the unique identifier (ID) of the new account in the AWS GovCloud (US) Region.

Definition at line 349 of file CreateAccountStatus.h.

◆ WithGovCloudAccountId() [2/3]

CreateAccountStatus& Aws::Organizations::Model::CreateAccountStatus::WithGovCloudAccountId ( const Aws::String value)
inline

If the account was created successfully, the unique identifier (ID) of the new account in the AWS GovCloud (US) Region.

Definition at line 343 of file CreateAccountStatus.h.

◆ WithGovCloudAccountId() [3/3]

CreateAccountStatus& Aws::Organizations::Model::CreateAccountStatus::WithGovCloudAccountId ( const char *  value)
inline

If the account was created successfully, the unique identifier (ID) of the new account in the AWS GovCloud (US) Region.

Definition at line 355 of file CreateAccountStatus.h.

◆ WithId() [1/3]

CreateAccountStatus& Aws::Organizations::Model::CreateAccountStatus::WithId ( Aws::String &&  value)
inline

The unique identifier (ID) that references this request. You get this value from the response of the initial CreateAccount request to create the account.

The regex pattern for a create account request ID string requires "car-" followed by from 8 to 32 lowercase letters or digits.

Definition at line 106 of file CreateAccountStatus.h.

◆ WithId() [2/3]

CreateAccountStatus& Aws::Organizations::Model::CreateAccountStatus::WithId ( const Aws::String value)
inline

The unique identifier (ID) that references this request. You get this value from the response of the initial CreateAccount request to create the account.

The regex pattern for a create account request ID string requires "car-" followed by from 8 to 32 lowercase letters or digits.

Definition at line 97 of file CreateAccountStatus.h.

◆ WithId() [3/3]

CreateAccountStatus& Aws::Organizations::Model::CreateAccountStatus::WithId ( const char *  value)
inline

The unique identifier (ID) that references this request. You get this value from the response of the initial CreateAccount request to create the account.

The regex pattern for a create account request ID string requires "car-" followed by from 8 to 32 lowercase letters or digits.

Definition at line 115 of file CreateAccountStatus.h.

◆ WithRequestedTimestamp() [1/2]

CreateAccountStatus& Aws::Organizations::Model::CreateAccountStatus::WithRequestedTimestamp ( Aws::Utils::DateTime &&  value)
inline

The date and time that the request was made for the account creation.

Definition at line 218 of file CreateAccountStatus.h.

◆ WithRequestedTimestamp() [2/2]

CreateAccountStatus& Aws::Organizations::Model::CreateAccountStatus::WithRequestedTimestamp ( const Aws::Utils::DateTime value)
inline

The date and time that the request was made for the account creation.

Definition at line 213 of file CreateAccountStatus.h.

◆ WithState() [1/2]

CreateAccountStatus& Aws::Organizations::Model::CreateAccountStatus::WithState ( const CreateAccountState value)
inline

The status of the asynchronous request to create an AWS account.

Definition at line 182 of file CreateAccountStatus.h.

◆ WithState() [2/2]

CreateAccountStatus& Aws::Organizations::Model::CreateAccountStatus::WithState ( CreateAccountState &&  value)
inline

The status of the asynchronous request to create an AWS account.

Definition at line 187 of file CreateAccountStatus.h.


The documentation for this class was generated from the following file: