7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/organizations/model/CreateAccountState.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/organizations/model/CreateAccountFailureReason.h>
24namespace Organizations
57 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
58 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
72 inline void SetAccountName(
const char* value) { m_accountNameHasBeenSet =
true; m_accountName.assign(value); }
125 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
140 inline void SetGovCloudAccountId(
const char* value) { m_govCloudAccountIdHasBeenSet =
true; m_govCloudAccountId.assign(value); }
193 bool m_idHasBeenSet =
false;
196 bool m_accountNameHasBeenSet =
false;
199 bool m_stateHasBeenSet =
false;
202 bool m_requestedTimestampHasBeenSet =
false;
205 bool m_completedTimestampHasBeenSet =
false;
208 bool m_accountIdHasBeenSet =
false;
211 bool m_govCloudAccountIdHasBeenSet =
false;
214 bool m_failureReasonHasBeenSet =
false;
bool CompletedTimestampHasBeenSet() const
void SetState(const CreateAccountState &value)
CreateAccountStatus & WithCompletedTimestamp(const Aws::Utils::DateTime &value)
void SetFailureReason(CreateAccountFailureReason &&value)
CreateAccountStatus & WithState(const CreateAccountState &value)
CreateAccountStatus & WithFailureReason(CreateAccountFailureReason &&value)
CreateAccountStatus & WithId(const char *value)
CreateAccountStatus & WithGovCloudAccountId(const Aws::String &value)
bool AccountNameHasBeenSet() const
CreateAccountStatus & WithId(Aws::String &&value)
void SetId(const Aws::String &value)
const Aws::String & GetGovCloudAccountId() const
const Aws::Utils::DateTime & GetRequestedTimestamp() const
CreateAccountStatus & WithAccountId(const Aws::String &value)
CreateAccountStatus & WithGovCloudAccountId(Aws::String &&value)
void SetRequestedTimestamp(Aws::Utils::DateTime &&value)
bool GovCloudAccountIdHasBeenSet() const
void SetCompletedTimestamp(const Aws::Utils::DateTime &value)
void SetAccountName(const char *value)
CreateAccountStatus & WithState(CreateAccountState &&value)
const Aws::String & GetAccountName() const
AWS_ORGANIZATIONS_API CreateAccountStatus(Aws::Utils::Json::JsonView jsonValue)
void SetId(Aws::String &&value)
const CreateAccountFailureReason & GetFailureReason() const
bool FailureReasonHasBeenSet() const
AWS_ORGANIZATIONS_API CreateAccountStatus()
void SetAccountId(const Aws::String &value)
CreateAccountStatus & WithGovCloudAccountId(const char *value)
CreateAccountStatus & WithAccountName(const char *value)
bool RequestedTimestampHasBeenSet() const
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
CreateAccountStatus & WithRequestedTimestamp(Aws::Utils::DateTime &&value)
bool StateHasBeenSet() const
CreateAccountStatus & WithId(const Aws::String &value)
void SetAccountId(const char *value)
CreateAccountStatus & WithAccountId(Aws::String &&value)
void SetCompletedTimestamp(Aws::Utils::DateTime &&value)
const Aws::String & GetAccountId() const
CreateAccountStatus & WithCompletedTimestamp(Aws::Utils::DateTime &&value)
const CreateAccountState & GetState() const
void SetState(CreateAccountState &&value)
void SetAccountId(Aws::String &&value)
void SetGovCloudAccountId(const Aws::String &value)
bool IdHasBeenSet() const
CreateAccountStatus & WithAccountId(const char *value)
void SetFailureReason(const CreateAccountFailureReason &value)
const Aws::Utils::DateTime & GetCompletedTimestamp() const
CreateAccountStatus & WithAccountName(Aws::String &&value)
CreateAccountStatus & WithFailureReason(const CreateAccountFailureReason &value)
const Aws::String & GetId() const
void SetAccountName(Aws::String &&value)
void SetGovCloudAccountId(const char *value)
void SetGovCloudAccountId(Aws::String &&value)
CreateAccountStatus & WithRequestedTimestamp(const Aws::Utils::DateTime &value)
bool AccountIdHasBeenSet() const
void SetAccountName(const Aws::String &value)
void SetId(const char *value)
AWS_ORGANIZATIONS_API CreateAccountStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRequestedTimestamp(const Aws::Utils::DateTime &value)
CreateAccountStatus & WithAccountName(const Aws::String &value)
CreateAccountFailureReason
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue