7#include <aws/organizations/Organizations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/organizations/model/AccountStatus.h>
10#include <aws/organizations/model/AccountJoinedMethod.h>
11#include <aws/core/utils/DateTime.h>
24namespace Organizations
38 AWS_ORGANIZATIONS_API
Account() =
default;
52 template<
typename IdT = Aws::String>
53 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
54 template<
typename IdT = Aws::String>
68 template<
typename ArnT = Aws::String>
69 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
70 template<
typename ArnT = Aws::String>
82 template<
typename EmailT = Aws::String>
83 void SetEmail(EmailT&& value) { m_emailHasBeenSet =
true; m_email = std::forward<EmailT>(value); }
84 template<
typename EmailT = Aws::String>
97 template<
typename NameT = Aws::String>
98 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
99 template<
typename NameT = Aws::String>
129 template<
typename JoinedTimestampT = Aws::Utils::DateTime>
130 void SetJoinedTimestamp(JoinedTimestampT&& value) { m_joinedTimestampHasBeenSet =
true; m_joinedTimestamp = std::forward<JoinedTimestampT>(value); }
131 template<
typename JoinedTimestampT = Aws::Utils::DateTime>
137 bool m_idHasBeenSet =
false;
140 bool m_arnHasBeenSet =
false;
143 bool m_emailHasBeenSet =
false;
146 bool m_nameHasBeenSet =
false;
149 bool m_statusHasBeenSet =
false;
152 bool m_joinedMethodHasBeenSet =
false;
155 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)
void SetJoinedMethod(AccountJoinedMethod value)
Account & WithJoinedTimestamp(JoinedTimestampT &&value)
Account & WithName(NameT &&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
Account & WithStatus(AccountStatus value)
AccountJoinedMethod GetJoinedMethod() const
Account & WithId(IdT &&value)
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