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
56 template<
typename IdT = Aws::String>
57 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
58 template<
typename IdT = Aws::String>
68 template<
typename AccountNameT = Aws::String>
69 void SetAccountName(AccountNameT&& value) { m_accountNameHasBeenSet =
true; m_accountName = std::forward<AccountNameT>(value); }
70 template<
typename AccountNameT = Aws::String>
91 template<
typename RequestedTimestampT = Aws::Utils::DateTime>
92 void SetRequestedTimestamp(RequestedTimestampT&& value) { m_requestedTimestampHasBeenSet =
true; m_requestedTimestamp = std::forward<RequestedTimestampT>(value); }
93 template<
typename RequestedTimestampT = Aws::Utils::DateTime>
103 template<
typename CompletedTimestampT = Aws::Utils::DateTime>
104 void SetCompletedTimestamp(CompletedTimestampT&& value) { m_completedTimestampHasBeenSet =
true; m_completedTimestamp = std::forward<CompletedTimestampT>(value); }
105 template<
typename CompletedTimestampT = Aws::Utils::DateTime>
117 template<
typename AccountIdT = Aws::String>
118 void SetAccountId(AccountIdT&& value) { m_accountIdHasBeenSet =
true; m_accountId = std::forward<AccountIdT>(value); }
119 template<
typename AccountIdT = Aws::String>
130 template<
typename GovCloudAccountIdT = Aws::String>
131 void SetGovCloudAccountId(GovCloudAccountIdT&& value) { m_govCloudAccountIdHasBeenSet =
true; m_govCloudAccountId = std::forward<GovCloudAccountIdT>(value); }
132 template<
typename GovCloudAccountIdT = Aws::String>
181 bool m_idHasBeenSet =
false;
184 bool m_accountNameHasBeenSet =
false;
187 bool m_stateHasBeenSet =
false;
190 bool m_requestedTimestampHasBeenSet =
false;
193 bool m_completedTimestampHasBeenSet =
false;
196 bool m_accountIdHasBeenSet =
false;
199 bool m_govCloudAccountIdHasBeenSet =
false;
202 bool m_failureReasonHasBeenSet =
false;
void SetRequestedTimestamp(RequestedTimestampT &&value)
bool CompletedTimestampHasBeenSet() const
CreateAccountState GetState() const
CreateAccountStatus & WithCompletedTimestamp(CompletedTimestampT &&value)
bool AccountNameHasBeenSet() const
void SetAccountName(AccountNameT &&value)
AWS_ORGANIZATIONS_API CreateAccountStatus()=default
const Aws::String & GetGovCloudAccountId() const
CreateAccountStatus & WithState(CreateAccountState value)
const Aws::Utils::DateTime & GetRequestedTimestamp() const
void SetAccountId(AccountIdT &&value)
bool GovCloudAccountIdHasBeenSet() const
CreateAccountStatus & WithAccountId(AccountIdT &&value)
const Aws::String & GetAccountName() const
void SetFailureReason(CreateAccountFailureReason value)
AWS_ORGANIZATIONS_API CreateAccountStatus(Aws::Utils::Json::JsonView jsonValue)
bool FailureReasonHasBeenSet() const
CreateAccountStatus & WithRequestedTimestamp(RequestedTimestampT &&value)
bool RequestedTimestampHasBeenSet() const
CreateAccountStatus & WithFailureReason(CreateAccountFailureReason value)
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
bool StateHasBeenSet() const
CreateAccountStatus & WithGovCloudAccountId(GovCloudAccountIdT &&value)
void SetGovCloudAccountId(GovCloudAccountIdT &&value)
const Aws::String & GetAccountId() const
bool IdHasBeenSet() const
const Aws::Utils::DateTime & GetCompletedTimestamp() const
const Aws::String & GetId() const
void SetState(CreateAccountState value)
CreateAccountFailureReason GetFailureReason() const
bool AccountIdHasBeenSet() const
CreateAccountStatus & WithAccountName(AccountNameT &&value)
CreateAccountStatus & WithId(IdT &&value)
AWS_ORGANIZATIONS_API CreateAccountStatus & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCompletedTimestamp(CompletedTimestampT &&value)
CreateAccountFailureReason
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue