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
51 inline void SetId(
Aws::String&& value) { m_idHasBeenSet =
true; m_id = std::move(value); }
52 inline void SetId(
const char* value) { m_idHasBeenSet =
true; m_id.assign(value); }
65 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
66 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
81 inline void SetEmail(
const char* value) { m_emailHasBeenSet =
true; m_email.assign(value); }
95 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
153 bool m_idHasBeenSet =
false;
156 bool m_arnHasBeenSet =
false;
159 bool m_emailHasBeenSet =
false;
162 bool m_nameHasBeenSet =
false;
165 bool m_statusHasBeenSet =
false;
168 bool m_joinedMethodHasBeenSet =
false;
171 bool m_joinedTimestampHasBeenSet =
false;
174 bool m_delegationEnabledDateHasBeenSet =
false;
void SetJoinedMethod(AccountJoinedMethod &&value)
void SetName(const char *value)
void SetDelegationEnabledDate(Aws::Utils::DateTime &&value)
DelegatedAdministrator & WithName(Aws::String &&value)
void SetEmail(Aws::String &&value)
DelegatedAdministrator & WithEmail(const char *value)
const Aws::String & GetEmail() const
DelegatedAdministrator & WithArn(const char *value)
DelegatedAdministrator & WithEmail(const Aws::String &value)
void SetName(Aws::String &&value)
DelegatedAdministrator & WithName(const char *value)
void SetStatus(const AccountStatus &value)
DelegatedAdministrator & WithDelegationEnabledDate(Aws::Utils::DateTime &&value)
const Aws::String & GetArn() const
DelegatedAdministrator & WithJoinedTimestamp(Aws::Utils::DateTime &&value)
bool NameHasBeenSet() const
const AccountStatus & GetStatus() const
DelegatedAdministrator & WithJoinedMethod(AccountJoinedMethod &&value)
void SetArn(const Aws::String &value)
const Aws::Utils::DateTime & GetJoinedTimestamp() const
AWS_ORGANIZATIONS_API DelegatedAdministrator()
DelegatedAdministrator & WithId(Aws::String &&value)
bool JoinedMethodHasBeenSet() const
void SetId(Aws::String &&value)
void SetArn(Aws::String &&value)
DelegatedAdministrator & WithJoinedMethod(const AccountJoinedMethod &value)
DelegatedAdministrator & WithArn(Aws::String &&value)
const Aws::String & GetId() const
DelegatedAdministrator & WithStatus(const AccountStatus &value)
void SetEmail(const char *value)
DelegatedAdministrator & WithId(const Aws::String &value)
bool IdHasBeenSet() const
bool StatusHasBeenSet() const
void SetEmail(const Aws::String &value)
void SetStatus(AccountStatus &&value)
bool DelegationEnabledDateHasBeenSet() const
void SetArn(const char *value)
void SetJoinedTimestamp(const Aws::Utils::DateTime &value)
bool JoinedTimestampHasBeenSet() const
const Aws::String & GetName() const
const AccountJoinedMethod & GetJoinedMethod() const
bool EmailHasBeenSet() const
void SetDelegationEnabledDate(const Aws::Utils::DateTime &value)
void SetId(const Aws::String &value)
void SetJoinedMethod(const AccountJoinedMethod &value)
DelegatedAdministrator & WithStatus(AccountStatus &&value)
void SetJoinedTimestamp(Aws::Utils::DateTime &&value)
DelegatedAdministrator & WithArn(const Aws::String &value)
DelegatedAdministrator & WithId(const char *value)
void SetName(const Aws::String &value)
void SetId(const char *value)
AWS_ORGANIZATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
DelegatedAdministrator & WithJoinedTimestamp(const Aws::Utils::DateTime &value)
AWS_ORGANIZATIONS_API DelegatedAdministrator & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ORGANIZATIONS_API DelegatedAdministrator(Aws::Utils::Json::JsonView jsonValue)
DelegatedAdministrator & WithDelegationEnabledDate(const Aws::Utils::DateTime &value)
bool ArnHasBeenSet() const
DelegatedAdministrator & WithName(const Aws::String &value)
DelegatedAdministrator & WithEmail(Aws::String &&value)
const Aws::Utils::DateTime & GetDelegationEnabledDate() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue