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
62 inline void SetEmail(
const char* value) { m_emailHasBeenSet =
true; m_email.assign(value); }
76 inline void SetAccountName(
const char* value) { m_accountNameHasBeenSet =
true; m_accountName.assign(value); }
106 inline void SetRoleName(
const char* value) { m_roleNameHasBeenSet =
true; m_roleName.assign(value); }
157 bool m_emailHasBeenSet =
false;
160 bool m_accountNameHasBeenSet =
false;
163 bool m_roleNameHasBeenSet =
false;
166 bool m_iamUserAccessToBillingHasBeenSet =
false;
169 bool m_tagsHasBeenSet =
false;
bool RoleNameHasBeenSet() const
void SetRoleName(Aws::String &&value)
CreateAccountRequest & WithEmail(Aws::String &&value)
bool IamUserAccessToBillingHasBeenSet() const
CreateAccountRequest & WithRoleName(const Aws::String &value)
bool EmailHasBeenSet() const
CreateAccountRequest & AddTags(const Tag &value)
const Aws::String & GetRoleName() const
bool TagsHasBeenSet() const
AWS_ORGANIZATIONS_API Aws::String SerializePayload() const override
CreateAccountRequest & WithIamUserAccessToBilling(IAMUserAccessToBilling &&value)
void SetEmail(const Aws::String &value)
void SetEmail(Aws::String &&value)
const Aws::String & GetAccountName() const
void SetTags(Aws::Vector< Tag > &&value)
CreateAccountRequest & WithEmail(const char *value)
void SetEmail(const char *value)
CreateAccountRequest & WithAccountName(Aws::String &&value)
void SetAccountName(const Aws::String &value)
AWS_ORGANIZATIONS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetIamUserAccessToBilling(const IAMUserAccessToBilling &value)
virtual const char * GetServiceRequestName() const override
bool AccountNameHasBeenSet() const
AWS_ORGANIZATIONS_API CreateAccountRequest()
CreateAccountRequest & WithEmail(const Aws::String &value)
void SetIamUserAccessToBilling(IAMUserAccessToBilling &&value)
CreateAccountRequest & WithTags(const Aws::Vector< Tag > &value)
const Aws::String & GetEmail() const
CreateAccountRequest & AddTags(Tag &&value)
const Aws::Vector< Tag > & GetTags() const
CreateAccountRequest & WithTags(Aws::Vector< Tag > &&value)
CreateAccountRequest & WithAccountName(const Aws::String &value)
void SetRoleName(const char *value)
CreateAccountRequest & WithRoleName(const char *value)
void SetAccountName(Aws::String &&value)
void SetTags(const Aws::Vector< Tag > &value)
void SetAccountName(const char *value)
CreateAccountRequest & WithIamUserAccessToBilling(const IAMUserAccessToBilling &value)
CreateAccountRequest & WithRoleName(Aws::String &&value)
CreateAccountRequest & WithAccountName(const char *value)
void SetRoleName(const Aws::String &value)
const IAMUserAccessToBilling & GetIamUserAccessToBilling() const
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