7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/organizations/Organizations_EXPORTS.h>
10#include <aws/organizations/model/CreateAccountFailureReason.h>
11#include <aws/organizations/model/CreateAccountState.h>
22namespace Organizations {
50 template <
typename IdT = Aws::String>
52 m_idHasBeenSet =
true;
53 m_id = std::forward<IdT>(value);
55 template <
typename IdT = Aws::String>
57 SetId(std::forward<IdT>(value));
68 template <
typename AccountNameT = Aws::String>
70 m_accountNameHasBeenSet =
true;
71 m_accountName = std::forward<AccountNameT>(value);
73 template <
typename AccountNameT = Aws::String>
88 m_stateHasBeenSet =
true;
103 template <
typename RequestedTimestampT = Aws::Utils::DateTime>
105 m_requestedTimestampHasBeenSet =
true;
106 m_requestedTimestamp = std::forward<RequestedTimestampT>(value);
108 template <
typename RequestedTimestampT = Aws::Utils::DateTime>
121 template <
typename CompletedTimestampT = Aws::Utils::DateTime>
123 m_completedTimestampHasBeenSet =
true;
124 m_completedTimestamp = std::forward<CompletedTimestampT>(value);
126 template <
typename CompletedTimestampT = Aws::Utils::DateTime>
141 template <
typename AccountIdT = Aws::String>
143 m_accountIdHasBeenSet =
true;
144 m_accountId = std::forward<AccountIdT>(value);
146 template <
typename AccountIdT = Aws::String>
160 template <
typename GovCloudAccountIdT = Aws::String>
162 m_govCloudAccountIdHasBeenSet =
true;
163 m_govCloudAccountId = std::forward<GovCloudAccountIdT>(value);
165 template <
typename GovCloudAccountIdT = Aws::String>
212 m_failureReasonHasBeenSet =
true;
213 m_failureReason = value;
236 bool m_idHasBeenSet =
false;
237 bool m_accountNameHasBeenSet =
false;
238 bool m_stateHasBeenSet =
false;
239 bool m_requestedTimestampHasBeenSet =
false;
240 bool m_completedTimestampHasBeenSet =
false;
241 bool m_accountIdHasBeenSet =
false;
242 bool m_govCloudAccountIdHasBeenSet =
false;
243 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