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/AccountJoinedMethod.h>
11#include <aws/organizations/model/AccountState.h>
12#include <aws/organizations/model/AccountStatus.h>
23namespace Organizations {
34 AWS_ORGANIZATIONS_API
Account() =
default;
47 template <
typename IdT = Aws::String>
49 m_idHasBeenSet =
true;
50 m_id = std::forward<IdT>(value);
52 template <
typename IdT = Aws::String>
54 SetId(std::forward<IdT>(value));
69 template <
typename ArnT = Aws::String>
71 m_arnHasBeenSet =
true;
72 m_arn = std::forward<ArnT>(value);
74 template <
typename ArnT = Aws::String>
76 SetArn(std::forward<ArnT>(value));
89 template <
typename EmailT = Aws::String>
91 m_emailHasBeenSet =
true;
92 m_email = std::forward<EmailT>(value);
94 template <
typename EmailT = Aws::String>
96 SetEmail(std::forward<EmailT>(value));
110 template <
typename NameT = Aws::String>
112 m_nameHasBeenSet =
true;
113 m_name = std::forward<NameT>(value);
115 template <
typename NameT = Aws::String>
117 SetName(std::forward<NameT>(value));
136 m_statusHasBeenSet =
true;
158 m_stateHasBeenSet =
true;
174 m_joinedMethodHasBeenSet =
true;
175 m_joinedMethod = value;
189 template <
typename JoinedTimestampT = Aws::Utils::DateTime>
191 m_joinedTimestampHasBeenSet =
true;
192 m_joinedTimestamp = std::forward<JoinedTimestampT>(value);
194 template <
typename JoinedTimestampT = Aws::Utils::DateTime>
216 bool m_idHasBeenSet =
false;
217 bool m_arnHasBeenSet =
false;
218 bool m_emailHasBeenSet =
false;
219 bool m_nameHasBeenSet =
false;
220 bool m_statusHasBeenSet =
false;
221 bool m_stateHasBeenSet =
false;
222 bool m_joinedMethodHasBeenSet =
false;
223 bool m_joinedTimestampHasBeenSet =
false;
AccountStatus GetStatus() const
Account & WithEmail(EmailT &&value)
void SetArn(ArnT &&value)
Account & WithJoinedMethod(AccountJoinedMethod value)
void SetName(NameT &&value)
bool ArnHasBeenSet() const
Account & WithArn(ArnT &&value)
const Aws::String & GetArn() const
const Aws::String & GetId() const
bool EmailHasBeenSet() const
bool JoinedMethodHasBeenSet() const
void SetJoinedTimestamp(JoinedTimestampT &&value)
bool IdHasBeenSet() const
AWS_ORGANIZATIONS_API Account(Aws::Utils::Json::JsonView jsonValue)
Account & WithState(AccountState value)
void SetJoinedMethod(AccountJoinedMethod value)
Account & WithJoinedTimestamp(JoinedTimestampT &&value)
Account & WithName(NameT &&value)
void SetState(AccountState value)
AWS_ORGANIZATIONS_API Account & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(AccountStatus value)
bool JoinedTimestampHasBeenSet() const
const Aws::String & GetEmail() const
AWS_ORGANIZATIONS_API Account()=default
bool NameHasBeenSet() const
const Aws::Utils::DateTime & GetJoinedTimestamp() const
AccountState GetState() const
Account & WithStatus(AccountStatus value)
AccountJoinedMethod GetJoinedMethod() const
Account & WithId(IdT &&value)
bool StateHasBeenSet() const
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEmail(EmailT &&value)
bool StatusHasBeenSet() const
const Aws::String & GetName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue