7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/organizations/OrganizationsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/organizations/model/IAMUserAccessToBilling.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/organizations/model/Tag.h>
17namespace Organizations
60 template<
typename EmailT = Aws::String>
61 void SetEmail(EmailT&& value) { m_emailHasBeenSet =
true; m_email = std::forward<EmailT>(value); }
62 template<
typename EmailT = Aws::String>
72 template<
typename AccountNameT = Aws::String>
73 void SetAccountName(AccountNameT&& value) { m_accountNameHasBeenSet =
true; m_accountName = std::forward<AccountNameT>(value); }
74 template<
typename AccountNameT = Aws::String>
100 template<
typename RoleNameT = Aws::String>
101 void SetRoleName(RoleNameT&& value) { m_roleNameHasBeenSet =
true; m_roleName = std::forward<RoleNameT>(value); }
102 template<
typename RoleNameT = Aws::String>
139 template<
typename TagsT = Aws::Vector<Tag>>
140 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
141 template<
typename TagsT = Aws::Vector<Tag>>
143 template<
typename TagsT = Tag>
149 bool m_emailHasBeenSet =
false;
152 bool m_accountNameHasBeenSet =
false;
155 bool m_roleNameHasBeenSet =
false;
158 bool m_iamUserAccessToBillingHasBeenSet =
false;
161 bool m_tagsHasBeenSet =
false;
bool RoleNameHasBeenSet() const
bool IamUserAccessToBillingHasBeenSet() const
void SetEmail(EmailT &&value)
bool EmailHasBeenSet() const
CreateAccountRequest & WithAccountName(AccountNameT &&value)
CreateAccountRequest & WithRoleName(RoleNameT &&value)
const Aws::String & GetRoleName() const
bool TagsHasBeenSet() const
AWS_ORGANIZATIONS_API Aws::String SerializePayload() const override
void SetAccountName(AccountNameT &&value)
const Aws::String & GetAccountName() const
CreateAccountRequest & WithEmail(EmailT &&value)
void SetTags(TagsT &&value)
IAMUserAccessToBilling GetIamUserAccessToBilling() const
CreateAccountRequest & WithTags(TagsT &&value)
AWS_ORGANIZATIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateAccountRequest & AddTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
bool AccountNameHasBeenSet() const
void SetIamUserAccessToBilling(IAMUserAccessToBilling value)
const Aws::String & GetEmail() const
const Aws::Vector< Tag > & GetTags() const
CreateAccountRequest & WithIamUserAccessToBilling(IAMUserAccessToBilling value)
void SetRoleName(RoleNameT &&value)
AWS_ORGANIZATIONS_API CreateAccountRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector