7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/organizations/Organizations_EXPORTS.h>
11#include <aws/organizations/model/AccountJoinedMethod.h>
12#include <aws/organizations/model/AccountState.h>
13#include <aws/organizations/model/AccountStatus.h>
24namespace Organizations {
35 AWS_ORGANIZATIONS_API
Account() =
default;
48 template <
typename IdT = Aws::String>
50 m_idHasBeenSet =
true;
51 m_id = std::forward<IdT>(value);
53 template <
typename IdT = Aws::String>
55 SetId(std::forward<IdT>(value));
70 template <
typename ArnT = Aws::String>
72 m_arnHasBeenSet =
true;
73 m_arn = std::forward<ArnT>(value);
75 template <
typename ArnT = Aws::String>
77 SetArn(std::forward<ArnT>(value));
90 template <
typename EmailT = Aws::String>
92 m_emailHasBeenSet =
true;
93 m_email = std::forward<EmailT>(value);
95 template <
typename EmailT = Aws::String>
97 SetEmail(std::forward<EmailT>(value));
111 template <
typename NameT = Aws::String>
113 m_nameHasBeenSet =
true;
114 m_name = std::forward<NameT>(value);
116 template <
typename NameT = Aws::String>
118 SetName(std::forward<NameT>(value));
137 m_statusHasBeenSet =
true;
159 m_stateHasBeenSet =
true;
174 template <
typename PathsT = Aws::Vector<Aws::String>>
176 m_pathsHasBeenSet =
true;
177 m_paths = std::forward<PathsT>(value);
179 template <
typename PathsT = Aws::Vector<Aws::String>>
181 SetPaths(std::forward<PathsT>(value));
184 template <
typename PathsT = Aws::String>
186 m_pathsHasBeenSet =
true;
187 m_paths.emplace_back(std::forward<PathsT>(value));
199 m_joinedMethodHasBeenSet =
true;
200 m_joinedMethod = value;
214 template <
typename JoinedTimestampT = Aws::Utils::DateTime>
216 m_joinedTimestampHasBeenSet =
true;
217 m_joinedTimestamp = std::forward<JoinedTimestampT>(value);
219 template <
typename JoinedTimestampT = Aws::Utils::DateTime>
243 bool m_idHasBeenSet =
false;
244 bool m_arnHasBeenSet =
false;
245 bool m_emailHasBeenSet =
false;
246 bool m_nameHasBeenSet =
false;
247 bool m_statusHasBeenSet =
false;
248 bool m_stateHasBeenSet =
false;
249 bool m_pathsHasBeenSet =
false;
250 bool m_joinedMethodHasBeenSet =
false;
251 bool m_joinedTimestampHasBeenSet =
false;
const Aws::Vector< Aws::String > & GetPaths() const
AccountStatus GetStatus() const
Account & WithEmail(EmailT &&value)
bool PathsHasBeenSet() const
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
Account & WithPaths(PathsT &&value)
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
void SetPaths(PathsT &&value)
Account & AddPaths(PathsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue