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

#include <CreateGovCloudAccountRequest.h>

+ Inheritance diagram for Aws::Organizations::Model::CreateGovCloudAccountRequest:

Public Member Functions

 CreateGovCloudAccountRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetEmail () const
 
bool EmailHasBeenSet () const
 
void SetEmail (const Aws::String &value)
 
void SetEmail (Aws::String &&value)
 
void SetEmail (const char *value)
 
CreateGovCloudAccountRequestWithEmail (const Aws::String &value)
 
CreateGovCloudAccountRequestWithEmail (Aws::String &&value)
 
CreateGovCloudAccountRequestWithEmail (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)
 
CreateGovCloudAccountRequestWithAccountName (const Aws::String &value)
 
CreateGovCloudAccountRequestWithAccountName (Aws::String &&value)
 
CreateGovCloudAccountRequestWithAccountName (const char *value)
 
const Aws::StringGetRoleName () const
 
bool RoleNameHasBeenSet () const
 
void SetRoleName (const Aws::String &value)
 
void SetRoleName (Aws::String &&value)
 
void SetRoleName (const char *value)
 
CreateGovCloudAccountRequestWithRoleName (const Aws::String &value)
 
CreateGovCloudAccountRequestWithRoleName (Aws::String &&value)
 
CreateGovCloudAccountRequestWithRoleName (const char *value)
 
const IAMUserAccessToBillingGetIamUserAccessToBilling () const
 
bool IamUserAccessToBillingHasBeenSet () const
 
void SetIamUserAccessToBilling (const IAMUserAccessToBilling &value)
 
void SetIamUserAccessToBilling (IAMUserAccessToBilling &&value)
 
CreateGovCloudAccountRequestWithIamUserAccessToBilling (const IAMUserAccessToBilling &value)
 
CreateGovCloudAccountRequestWithIamUserAccessToBilling (IAMUserAccessToBilling &&value)
 
const Aws::Vector< Tag > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< Tag > &value)
 
void SetTags (Aws::Vector< Tag > &&value)
 
CreateGovCloudAccountRequestWithTags (const Aws::Vector< Tag > &value)
 
CreateGovCloudAccountRequestWithTags (Aws::Vector< Tag > &&value)
 
CreateGovCloudAccountRequestAddTags (const Tag &value)
 
CreateGovCloudAccountRequestAddTags (Tag &&value)
 
- Public Member Functions inherited from Aws::Organizations::OrganizationsRequest
virtual ~OrganizationsRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 24 of file CreateGovCloudAccountRequest.h.

Constructor & Destructor Documentation

◆ CreateGovCloudAccountRequest()

Aws::Organizations::Model::CreateGovCloudAccountRequest::CreateGovCloudAccountRequest ( )

Member Function Documentation

◆ AccountNameHasBeenSet()

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

The friendly name of the member account.

Definition at line 145 of file CreateGovCloudAccountRequest.h.

◆ AddTags() [1/2]

CreateGovCloudAccountRequest& Aws::Organizations::Model::CreateGovCloudAccountRequest::AddTags ( const Tag value)
inline

A list of tags that you want to attach to the newly created account. These tags are attached to the commercial account associated with the GovCloud account, and not to the GovCloud account itself. To add tags to the actual GovCloud account, call the TagResource operation in the GovCloud region after the new GovCloud account exists.

For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to null. For more information about tagging, see Tagging AWS Organizations resources in the AWS Organizations User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags for an account, then the entire request fails and the account is not created.

Definition at line 551 of file CreateGovCloudAccountRequest.h.

◆ AddTags() [2/2]

CreateGovCloudAccountRequest& Aws::Organizations::Model::CreateGovCloudAccountRequest::AddTags ( Tag &&  value)
inline

A list of tags that you want to attach to the newly created account. These tags are attached to the commercial account associated with the GovCloud account, and not to the GovCloud account itself. To add tags to the actual GovCloud account, call the TagResource operation in the GovCloud region after the new GovCloud account exists.

For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to null. For more information about tagging, see Tagging AWS Organizations resources in the AWS Organizations User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags for an account, then the entire request fails and the account is not created.

Definition at line 568 of file CreateGovCloudAccountRequest.h.

◆ EmailHasBeenSet()

bool Aws::Organizations::Model::CreateGovCloudAccountRequest::EmailHasBeenSet ( ) const
inline

The email address of the owner to assign to the new member account in the commercial Region. This email address must not already be associated with another AWS account. You must use a valid email address to complete account creation. You can't access the root user of the account or remove an account that was created with an invalid email address. Like all request parameters for CreateGovCloudAccount, the request for the email address for the AWS GovCloud (US) account originates from the commercial Region, not from the AWS GovCloud (US) Region.

Definition at line 62 of file CreateGovCloudAccountRequest.h.

◆ GetAccountName()

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

The friendly name of the member account.

Definition at line 140 of file CreateGovCloudAccountRequest.h.

◆ GetEmail()

const Aws::String& Aws::Organizations::Model::CreateGovCloudAccountRequest::GetEmail ( ) const
inline

The email address of the owner to assign to the new member account in the commercial Region. This email address must not already be associated with another AWS account. You must use a valid email address to complete account creation. You can't access the root user of the account or remove an account that was created with an invalid email address. Like all request parameters for CreateGovCloudAccount, the request for the email address for the AWS GovCloud (US) account originates from the commercial Region, not from the AWS GovCloud (US) Region.

Definition at line 50 of file CreateGovCloudAccountRequest.h.

◆ GetIamUserAccessToBilling()

const IAMUserAccessToBilling& Aws::Organizations::Model::CreateGovCloudAccountRequest::GetIamUserAccessToBilling ( ) const
inline

If set to ALLOW, the new linked account in the commercial Region enables IAM users to access account billing information if they have the required permissions. If set to DENY, only the root user of the new account can access account billing information. For more information, see Activating Access to the Billing and Cost Management Console in the AWS Billing and Cost Management User Guide.

If you don't specify this parameter, the value defaults to ALLOW, and IAM users and roles with the required permissions can access billing information for the new account.

Definition at line 366 of file CreateGovCloudAccountRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::Organizations::Model::CreateGovCloudAccountRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

◆ GetRoleName()

const Aws::String& Aws::Organizations::Model::CreateGovCloudAccountRequest::GetRoleName ( ) const
inline

(Optional)

The name of an IAM role that AWS Organizations automatically preconfigures in the new member accounts in both the AWS GovCloud (US) Region and in the commercial Region. This role trusts the management account, allowing users in the management account to assume the role, as permitted by the management account administrator. The role has administrator permissions in the new member account.

If you don't specify this parameter, the role name defaults to OrganizationAccountAccessRole.

For more information about how to use this role to access the member account, see Accessing and Administering the Member Accounts in Your Organization in the AWS Organizations User Guide and steps 2 and 3 in Tutorial: Delegate Access Across AWS Accounts Using IAM Roles in the IAM User Guide.

The regex pattern that is used to validate this parameter. The pattern can include uppercase letters, lowercase letters, digits with no spaces, and any of the following characters: =,.-

Definition at line 198 of file CreateGovCloudAccountRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::Organizations::Model::CreateGovCloudAccountRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 33 of file CreateGovCloudAccountRequest.h.

◆ GetTags()

const Aws::Vector<Tag>& Aws::Organizations::Model::CreateGovCloudAccountRequest::GetTags ( ) const
inline

A list of tags that you want to attach to the newly created account. These tags are attached to the commercial account associated with the GovCloud account, and not to the GovCloud account itself. To add tags to the actual GovCloud account, call the TagResource operation in the GovCloud region after the new GovCloud account exists.

For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to null. For more information about tagging, see Tagging AWS Organizations resources in the AWS Organizations User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags for an account, then the entire request fails and the account is not created.

Definition at line 449 of file CreateGovCloudAccountRequest.h.

◆ IamUserAccessToBillingHasBeenSet()

bool Aws::Organizations::Model::CreateGovCloudAccountRequest::IamUserAccessToBillingHasBeenSet ( ) const
inline

If set to ALLOW, the new linked account in the commercial Region enables IAM users to access account billing information if they have the required permissions. If set to DENY, only the root user of the new account can access account billing information. For more information, see Activating Access to the Billing and Cost Management Console in the AWS Billing and Cost Management User Guide.

If you don't specify this parameter, the value defaults to ALLOW, and IAM users and roles with the required permissions can access billing information for the new account.

Definition at line 379 of file CreateGovCloudAccountRequest.h.

◆ RoleNameHasBeenSet()

bool Aws::Organizations::Model::CreateGovCloudAccountRequest::RoleNameHasBeenSet ( ) const
inline

(Optional)

The name of an IAM role that AWS Organizations automatically preconfigures in the new member accounts in both the AWS GovCloud (US) Region and in the commercial Region. This role trusts the management account, allowing users in the management account to assume the role, as permitted by the management account administrator. The role has administrator permissions in the new member account.

If you don't specify this parameter, the role name defaults to OrganizationAccountAccessRole.

For more information about how to use this role to access the member account, see Accessing and Administering the Member Accounts in Your Organization in the AWS Organizations User Guide and steps 2 and 3 in Tutorial: Delegate Access Across AWS Accounts Using IAM Roles in the IAM User Guide.

The regex pattern that is used to validate this parameter. The pattern can include uppercase letters, lowercase letters, digits with no spaces, and any of the following characters: =,.-

Definition at line 220 of file CreateGovCloudAccountRequest.h.

◆ SerializePayload()

Aws::String Aws::Organizations::Model::CreateGovCloudAccountRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ SetAccountName() [1/3]

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

The friendly name of the member account.

Definition at line 155 of file CreateGovCloudAccountRequest.h.

◆ SetAccountName() [2/3]

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

The friendly name of the member account.

Definition at line 150 of file CreateGovCloudAccountRequest.h.

◆ SetAccountName() [3/3]

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

The friendly name of the member account.

Definition at line 160 of file CreateGovCloudAccountRequest.h.

◆ SetEmail() [1/3]

void Aws::Organizations::Model::CreateGovCloudAccountRequest::SetEmail ( Aws::String &&  value)
inline

The email address of the owner to assign to the new member account in the commercial Region. This email address must not already be associated with another AWS account. You must use a valid email address to complete account creation. You can't access the root user of the account or remove an account that was created with an invalid email address. Like all request parameters for CreateGovCloudAccount, the request for the email address for the AWS GovCloud (US) account originates from the commercial Region, not from the AWS GovCloud (US) Region.

Definition at line 86 of file CreateGovCloudAccountRequest.h.

◆ SetEmail() [2/3]

void Aws::Organizations::Model::CreateGovCloudAccountRequest::SetEmail ( const Aws::String value)
inline

The email address of the owner to assign to the new member account in the commercial Region. This email address must not already be associated with another AWS account. You must use a valid email address to complete account creation. You can't access the root user of the account or remove an account that was created with an invalid email address. Like all request parameters for CreateGovCloudAccount, the request for the email address for the AWS GovCloud (US) account originates from the commercial Region, not from the AWS GovCloud (US) Region.

Definition at line 74 of file CreateGovCloudAccountRequest.h.

◆ SetEmail() [3/3]

void Aws::Organizations::Model::CreateGovCloudAccountRequest::SetEmail ( const char *  value)
inline

The email address of the owner to assign to the new member account in the commercial Region. This email address must not already be associated with another AWS account. You must use a valid email address to complete account creation. You can't access the root user of the account or remove an account that was created with an invalid email address. Like all request parameters for CreateGovCloudAccount, the request for the email address for the AWS GovCloud (US) account originates from the commercial Region, not from the AWS GovCloud (US) Region.

Definition at line 98 of file CreateGovCloudAccountRequest.h.

◆ SetIamUserAccessToBilling() [1/2]

void Aws::Organizations::Model::CreateGovCloudAccountRequest::SetIamUserAccessToBilling ( const IAMUserAccessToBilling value)
inline

If set to ALLOW, the new linked account in the commercial Region enables IAM users to access account billing information if they have the required permissions. If set to DENY, only the root user of the new account can access account billing information. For more information, see Activating Access to the Billing and Cost Management Console in the AWS Billing and Cost Management User Guide.

If you don't specify this parameter, the value defaults to ALLOW, and IAM users and roles with the required permissions can access billing information for the new account.

Definition at line 392 of file CreateGovCloudAccountRequest.h.

◆ SetIamUserAccessToBilling() [2/2]

void Aws::Organizations::Model::CreateGovCloudAccountRequest::SetIamUserAccessToBilling ( IAMUserAccessToBilling &&  value)
inline

If set to ALLOW, the new linked account in the commercial Region enables IAM users to access account billing information if they have the required permissions. If set to DENY, only the root user of the new account can access account billing information. For more information, see Activating Access to the Billing and Cost Management Console in the AWS Billing and Cost Management User Guide.

If you don't specify this parameter, the value defaults to ALLOW, and IAM users and roles with the required permissions can access billing information for the new account.

Definition at line 405 of file CreateGovCloudAccountRequest.h.

◆ SetRoleName() [1/3]

void Aws::Organizations::Model::CreateGovCloudAccountRequest::SetRoleName ( Aws::String &&  value)
inline

(Optional)

The name of an IAM role that AWS Organizations automatically preconfigures in the new member accounts in both the AWS GovCloud (US) Region and in the commercial Region. This role trusts the management account, allowing users in the management account to assume the role, as permitted by the management account administrator. The role has administrator permissions in the new member account.

If you don't specify this parameter, the role name defaults to OrganizationAccountAccessRole.

For more information about how to use this role to access the member account, see Accessing and Administering the Member Accounts in Your Organization in the AWS Organizations User Guide and steps 2 and 3 in Tutorial: Delegate Access Across AWS Accounts Using IAM Roles in the IAM User Guide.

The regex pattern that is used to validate this parameter. The pattern can include uppercase letters, lowercase letters, digits with no spaces, and any of the following characters: =,.-

Definition at line 264 of file CreateGovCloudAccountRequest.h.

◆ SetRoleName() [2/3]

void Aws::Organizations::Model::CreateGovCloudAccountRequest::SetRoleName ( const Aws::String value)
inline

(Optional)

The name of an IAM role that AWS Organizations automatically preconfigures in the new member accounts in both the AWS GovCloud (US) Region and in the commercial Region. This role trusts the management account, allowing users in the management account to assume the role, as permitted by the management account administrator. The role has administrator permissions in the new member account.

If you don't specify this parameter, the role name defaults to OrganizationAccountAccessRole.

For more information about how to use this role to access the member account, see Accessing and Administering the Member Accounts in Your Organization in the AWS Organizations User Guide and steps 2 and 3 in Tutorial: Delegate Access Across AWS Accounts Using IAM Roles in the IAM User Guide.

The regex pattern that is used to validate this parameter. The pattern can include uppercase letters, lowercase letters, digits with no spaces, and any of the following characters: =,.-

Definition at line 242 of file CreateGovCloudAccountRequest.h.

◆ SetRoleName() [3/3]

void Aws::Organizations::Model::CreateGovCloudAccountRequest::SetRoleName ( const char *  value)
inline

(Optional)

The name of an IAM role that AWS Organizations automatically preconfigures in the new member accounts in both the AWS GovCloud (US) Region and in the commercial Region. This role trusts the management account, allowing users in the management account to assume the role, as permitted by the management account administrator. The role has administrator permissions in the new member account.

If you don't specify this parameter, the role name defaults to OrganizationAccountAccessRole.

For more information about how to use this role to access the member account, see Accessing and Administering the Member Accounts in Your Organization in the AWS Organizations User Guide and steps 2 and 3 in Tutorial: Delegate Access Across AWS Accounts Using IAM Roles in the IAM User Guide.

The regex pattern that is used to validate this parameter. The pattern can include uppercase letters, lowercase letters, digits with no spaces, and any of the following characters: =,.-

Definition at line 286 of file CreateGovCloudAccountRequest.h.

◆ SetTags() [1/2]

void Aws::Organizations::Model::CreateGovCloudAccountRequest::SetTags ( Aws::Vector< Tag > &&  value)
inline

A list of tags that you want to attach to the newly created account. These tags are attached to the commercial account associated with the GovCloud account, and not to the GovCloud account itself. To add tags to the actual GovCloud account, call the TagResource operation in the GovCloud region after the new GovCloud account exists.

For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to null. For more information about tagging, see Tagging AWS Organizations resources in the AWS Organizations User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags for an account, then the entire request fails and the account is not created.

Definition at line 500 of file CreateGovCloudAccountRequest.h.

◆ SetTags() [2/2]

void Aws::Organizations::Model::CreateGovCloudAccountRequest::SetTags ( const Aws::Vector< Tag > &  value)
inline

A list of tags that you want to attach to the newly created account. These tags are attached to the commercial account associated with the GovCloud account, and not to the GovCloud account itself. To add tags to the actual GovCloud account, call the TagResource operation in the GovCloud region after the new GovCloud account exists.

For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to null. For more information about tagging, see Tagging AWS Organizations resources in the AWS Organizations User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags for an account, then the entire request fails and the account is not created.

Definition at line 483 of file CreateGovCloudAccountRequest.h.

◆ TagsHasBeenSet()

bool Aws::Organizations::Model::CreateGovCloudAccountRequest::TagsHasBeenSet ( ) const
inline

A list of tags that you want to attach to the newly created account. These tags are attached to the commercial account associated with the GovCloud account, and not to the GovCloud account itself. To add tags to the actual GovCloud account, call the TagResource operation in the GovCloud region after the new GovCloud account exists.

For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to null. For more information about tagging, see Tagging AWS Organizations resources in the AWS Organizations User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags for an account, then the entire request fails and the account is not created.

Definition at line 466 of file CreateGovCloudAccountRequest.h.

◆ WithAccountName() [1/3]

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

The friendly name of the member account.

Definition at line 170 of file CreateGovCloudAccountRequest.h.

◆ WithAccountName() [2/3]

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

The friendly name of the member account.

Definition at line 165 of file CreateGovCloudAccountRequest.h.

◆ WithAccountName() [3/3]

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

The friendly name of the member account.

Definition at line 175 of file CreateGovCloudAccountRequest.h.

◆ WithEmail() [1/3]

CreateGovCloudAccountRequest& Aws::Organizations::Model::CreateGovCloudAccountRequest::WithEmail ( Aws::String &&  value)
inline

The email address of the owner to assign to the new member account in the commercial Region. This email address must not already be associated with another AWS account. You must use a valid email address to complete account creation. You can't access the root user of the account or remove an account that was created with an invalid email address. Like all request parameters for CreateGovCloudAccount, the request for the email address for the AWS GovCloud (US) account originates from the commercial Region, not from the AWS GovCloud (US) Region.

Definition at line 122 of file CreateGovCloudAccountRequest.h.

◆ WithEmail() [2/3]

CreateGovCloudAccountRequest& Aws::Organizations::Model::CreateGovCloudAccountRequest::WithEmail ( const Aws::String value)
inline

The email address of the owner to assign to the new member account in the commercial Region. This email address must not already be associated with another AWS account. You must use a valid email address to complete account creation. You can't access the root user of the account or remove an account that was created with an invalid email address. Like all request parameters for CreateGovCloudAccount, the request for the email address for the AWS GovCloud (US) account originates from the commercial Region, not from the AWS GovCloud (US) Region.

Definition at line 110 of file CreateGovCloudAccountRequest.h.

◆ WithEmail() [3/3]

CreateGovCloudAccountRequest& Aws::Organizations::Model::CreateGovCloudAccountRequest::WithEmail ( const char *  value)
inline

The email address of the owner to assign to the new member account in the commercial Region. This email address must not already be associated with another AWS account. You must use a valid email address to complete account creation. You can't access the root user of the account or remove an account that was created with an invalid email address. Like all request parameters for CreateGovCloudAccount, the request for the email address for the AWS GovCloud (US) account originates from the commercial Region, not from the AWS GovCloud (US) Region.

Definition at line 134 of file CreateGovCloudAccountRequest.h.

◆ WithIamUserAccessToBilling() [1/2]

CreateGovCloudAccountRequest& Aws::Organizations::Model::CreateGovCloudAccountRequest::WithIamUserAccessToBilling ( const IAMUserAccessToBilling value)
inline

If set to ALLOW, the new linked account in the commercial Region enables IAM users to access account billing information if they have the required permissions. If set to DENY, only the root user of the new account can access account billing information. For more information, see Activating Access to the Billing and Cost Management Console in the AWS Billing and Cost Management User Guide.

If you don't specify this parameter, the value defaults to ALLOW, and IAM users and roles with the required permissions can access billing information for the new account.

Definition at line 418 of file CreateGovCloudAccountRequest.h.

◆ WithIamUserAccessToBilling() [2/2]

CreateGovCloudAccountRequest& Aws::Organizations::Model::CreateGovCloudAccountRequest::WithIamUserAccessToBilling ( IAMUserAccessToBilling &&  value)
inline

If set to ALLOW, the new linked account in the commercial Region enables IAM users to access account billing information if they have the required permissions. If set to DENY, only the root user of the new account can access account billing information. For more information, see Activating Access to the Billing and Cost Management Console in the AWS Billing and Cost Management User Guide.

If you don't specify this parameter, the value defaults to ALLOW, and IAM users and roles with the required permissions can access billing information for the new account.

Definition at line 431 of file CreateGovCloudAccountRequest.h.

◆ WithRoleName() [1/3]

CreateGovCloudAccountRequest& Aws::Organizations::Model::CreateGovCloudAccountRequest::WithRoleName ( Aws::String &&  value)
inline

(Optional)

The name of an IAM role that AWS Organizations automatically preconfigures in the new member accounts in both the AWS GovCloud (US) Region and in the commercial Region. This role trusts the management account, allowing users in the management account to assume the role, as permitted by the management account administrator. The role has administrator permissions in the new member account.

If you don't specify this parameter, the role name defaults to OrganizationAccountAccessRole.

For more information about how to use this role to access the member account, see Accessing and Administering the Member Accounts in Your Organization in the AWS Organizations User Guide and steps 2 and 3 in Tutorial: Delegate Access Across AWS Accounts Using IAM Roles in the IAM User Guide.

The regex pattern that is used to validate this parameter. The pattern can include uppercase letters, lowercase letters, digits with no spaces, and any of the following characters: =,.-

Definition at line 330 of file CreateGovCloudAccountRequest.h.

◆ WithRoleName() [2/3]

CreateGovCloudAccountRequest& Aws::Organizations::Model::CreateGovCloudAccountRequest::WithRoleName ( const Aws::String value)
inline

(Optional)

The name of an IAM role that AWS Organizations automatically preconfigures in the new member accounts in both the AWS GovCloud (US) Region and in the commercial Region. This role trusts the management account, allowing users in the management account to assume the role, as permitted by the management account administrator. The role has administrator permissions in the new member account.

If you don't specify this parameter, the role name defaults to OrganizationAccountAccessRole.

For more information about how to use this role to access the member account, see Accessing and Administering the Member Accounts in Your Organization in the AWS Organizations User Guide and steps 2 and 3 in Tutorial: Delegate Access Across AWS Accounts Using IAM Roles in the IAM User Guide.

The regex pattern that is used to validate this parameter. The pattern can include uppercase letters, lowercase letters, digits with no spaces, and any of the following characters: =,.-

Definition at line 308 of file CreateGovCloudAccountRequest.h.

◆ WithRoleName() [3/3]

CreateGovCloudAccountRequest& Aws::Organizations::Model::CreateGovCloudAccountRequest::WithRoleName ( const char *  value)
inline

(Optional)

The name of an IAM role that AWS Organizations automatically preconfigures in the new member accounts in both the AWS GovCloud (US) Region and in the commercial Region. This role trusts the management account, allowing users in the management account to assume the role, as permitted by the management account administrator. The role has administrator permissions in the new member account.

If you don't specify this parameter, the role name defaults to OrganizationAccountAccessRole.

For more information about how to use this role to access the member account, see Accessing and Administering the Member Accounts in Your Organization in the AWS Organizations User Guide and steps 2 and 3 in Tutorial: Delegate Access Across AWS Accounts Using IAM Roles in the IAM User Guide.

The regex pattern that is used to validate this parameter. The pattern can include uppercase letters, lowercase letters, digits with no spaces, and any of the following characters: =,.-

Definition at line 352 of file CreateGovCloudAccountRequest.h.

◆ WithTags() [1/2]

CreateGovCloudAccountRequest& Aws::Organizations::Model::CreateGovCloudAccountRequest::WithTags ( Aws::Vector< Tag > &&  value)
inline

A list of tags that you want to attach to the newly created account. These tags are attached to the commercial account associated with the GovCloud account, and not to the GovCloud account itself. To add tags to the actual GovCloud account, call the TagResource operation in the GovCloud region after the new GovCloud account exists.

For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to null. For more information about tagging, see Tagging AWS Organizations resources in the AWS Organizations User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags for an account, then the entire request fails and the account is not created.

Definition at line 534 of file CreateGovCloudAccountRequest.h.

◆ WithTags() [2/2]

CreateGovCloudAccountRequest& Aws::Organizations::Model::CreateGovCloudAccountRequest::WithTags ( const Aws::Vector< Tag > &  value)
inline

A list of tags that you want to attach to the newly created account. These tags are attached to the commercial account associated with the GovCloud account, and not to the GovCloud account itself. To add tags to the actual GovCloud account, call the TagResource operation in the GovCloud region after the new GovCloud account exists.

For each tag in the list, you must specify both a tag key and a value. You can set the value to an empty string, but you can't set it to null. For more information about tagging, see Tagging AWS Organizations resources in the AWS Organizations User Guide.

If any one of the tags is invalid or if you exceed the allowed number of tags for an account, then the entire request fails and the account is not created.

Definition at line 517 of file CreateGovCloudAccountRequest.h.


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