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
53 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
54 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
71 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
72 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
88 inline void SetEmail(
const char* value) { m_emailHasBeenSet =
true; m_email.assign(value); }
105 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
149 bool m_idHasBeenSet =
false;
152 bool m_arnHasBeenSet =
false;
155 bool m_emailHasBeenSet =
false;
158 bool m_nameHasBeenSet =
false;
161 bool m_statusHasBeenSet =
false;
164 bool m_joinedMethodHasBeenSet =
false;
167 bool m_joinedTimestampHasBeenSet =
false;
void SetEmail(Aws::String &&value)
void SetArn(const char *value)
void SetId(Aws::String &&value)
Account & WithArn(const Aws::String &value)
Account & WithName(const char *value)
Account & WithEmail(Aws::String &&value)
bool ArnHasBeenSet() const
void SetJoinedTimestamp(const Aws::Utils::DateTime &value)
void SetId(const char *value)
const Aws::String & GetArn() const
const Aws::String & GetId() const
void SetName(Aws::String &&value)
Account & WithJoinedTimestamp(Aws::Utils::DateTime &&value)
Account & WithEmail(const Aws::String &value)
bool EmailHasBeenSet() const
bool JoinedMethodHasBeenSet() const
bool IdHasBeenSet() const
Account & WithArn(Aws::String &&value)
AWS_ORGANIZATIONS_API Account(Aws::Utils::Json::JsonView jsonValue)
Account & WithStatus(const AccountStatus &value)
void SetName(const char *value)
Account & WithJoinedMethod(AccountJoinedMethod &&value)
void SetStatus(const AccountStatus &value)
Account & WithId(const char *value)
Account & WithStatus(AccountStatus &&value)
void SetEmail(const Aws::String &value)
AWS_ORGANIZATIONS_API Account & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEmail(const char *value)
void SetJoinedMethod(const AccountJoinedMethod &value)
bool JoinedTimestampHasBeenSet() const
void SetStatus(AccountStatus &&value)
const Aws::String & GetEmail() const
Account & WithJoinedMethod(const AccountJoinedMethod &value)
Account & WithName(const Aws::String &value)
bool NameHasBeenSet() const
const Aws::Utils::DateTime & GetJoinedTimestamp() const
void SetArn(Aws::String &&value)
void SetJoinedMethod(AccountJoinedMethod &&value)
void SetArn(const Aws::String &value)
void SetName(const Aws::String &value)
Account & WithJoinedTimestamp(const Aws::Utils::DateTime &value)
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetJoinedTimestamp(Aws::Utils::DateTime &&value)
bool StatusHasBeenSet() const
const AccountJoinedMethod & GetJoinedMethod() const
Account & WithId(const Aws::String &value)
const Aws::String & GetName() const
Account & WithEmail(const char *value)
Account & WithName(Aws::String &&value)
Account & WithId(Aws::String &&value)
const AccountStatus & GetStatus() const
Account & WithArn(const char *value)
AWS_ORGANIZATIONS_API Account()
void SetId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue