7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/workmail/WorkMail_EXPORTS.h>
15template <
typename RESULT_TYPE>
16class AmazonWebServiceResult;
36 template <
typename OrganizationIdT = Aws::String>
38 m_organizationIdHasBeenSet =
true;
39 m_organizationId = std::forward<OrganizationIdT>(value);
41 template <
typename OrganizationIdT = Aws::String>
53 template <
typename AliasT = Aws::String>
55 m_aliasHasBeenSet =
true;
56 m_alias = std::forward<AliasT>(value);
58 template <
typename AliasT = Aws::String>
60 SetAlias(std::forward<AliasT>(value));
70 template <
typename StateT = Aws::String>
72 m_stateHasBeenSet =
true;
73 m_state = std::forward<StateT>(value);
75 template <
typename StateT = Aws::String>
77 SetState(std::forward<StateT>(value));
88 template <
typename DirectoryIdT = Aws::String>
90 m_directoryIdHasBeenSet =
true;
91 m_directoryId = std::forward<DirectoryIdT>(value);
93 template <
typename DirectoryIdT = Aws::String>
105 template <
typename DirectoryTypeT = Aws::String>
107 m_directoryTypeHasBeenSet =
true;
108 m_directoryType = std::forward<DirectoryTypeT>(value);
110 template <
typename DirectoryTypeT = Aws::String>
122 template <
typename DefaultMailDomainT = Aws::String>
124 m_defaultMailDomainHasBeenSet =
true;
125 m_defaultMailDomain = std::forward<DefaultMailDomainT>(value);
127 template <
typename DefaultMailDomainT = Aws::String>
140 template <
typename CompletedDateT = Aws::Utils::DateTime>
142 m_completedDateHasBeenSet =
true;
143 m_completedDate = std::forward<CompletedDateT>(value);
145 template <
typename CompletedDateT = Aws::Utils::DateTime>
158 template <
typename ErrorMessageT = Aws::String>
160 m_errorMessageHasBeenSet =
true;
161 m_errorMessage = std::forward<ErrorMessageT>(value);
163 template <
typename ErrorMessageT = Aws::String>
175 template <
typename ARNT = Aws::String>
177 m_aRNHasBeenSet =
true;
178 m_aRN = std::forward<ARNT>(value);
180 template <
typename ARNT = Aws::String>
182 SetARN(std::forward<ARNT>(value));
193 template <
typename MigrationAdminT = Aws::String>
195 m_migrationAdminHasBeenSet =
true;
196 m_migrationAdmin = std::forward<MigrationAdminT>(value);
198 template <
typename MigrationAdminT = Aws::String>
211 m_interoperabilityEnabledHasBeenSet =
true;
212 m_interoperabilityEnabled = value;
223 template <
typename RequestIdT = Aws::String>
225 m_requestIdHasBeenSet =
true;
226 m_requestId = std::forward<RequestIdT>(value);
228 template <
typename RequestIdT = Aws::String>
257 bool m_interoperabilityEnabled{
false};
261 bool m_organizationIdHasBeenSet =
false;
262 bool m_aliasHasBeenSet =
false;
263 bool m_stateHasBeenSet =
false;
264 bool m_directoryIdHasBeenSet =
false;
265 bool m_directoryTypeHasBeenSet =
false;
266 bool m_defaultMailDomainHasBeenSet =
false;
267 bool m_completedDateHasBeenSet =
false;
268 bool m_errorMessageHasBeenSet =
false;
269 bool m_aRNHasBeenSet =
false;
270 bool m_migrationAdminHasBeenSet =
false;
271 bool m_interoperabilityEnabledHasBeenSet =
false;
272 bool m_requestIdHasBeenSet =
false;
DescribeOrganizationResult & WithMigrationAdmin(MigrationAdminT &&value)
DescribeOrganizationResult & WithDirectoryId(DirectoryIdT &&value)
AWS_WORKMAIL_API DescribeOrganizationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetDirectoryType(DirectoryTypeT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetAlias(AliasT &&value)
const Aws::Utils::DateTime & GetCompletedDate() const
const Aws::String & GetAlias() const
void SetDefaultMailDomain(DefaultMailDomainT &&value)
DescribeOrganizationResult & WithOrganizationId(OrganizationIdT &&value)
const Aws::String & GetDirectoryId() const
void SetMigrationAdmin(MigrationAdminT &&value)
AWS_WORKMAIL_API DescribeOrganizationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetARN() const
DescribeOrganizationResult & WithErrorMessage(ErrorMessageT &&value)
const Aws::String & GetMigrationAdmin() const
const Aws::String & GetRequestId() const
void SetErrorMessage(ErrorMessageT &&value)
AWS_WORKMAIL_API DescribeOrganizationResult()=default
DescribeOrganizationResult & WithState(StateT &&value)
DescribeOrganizationResult & WithInteroperabilityEnabled(bool value)
DescribeOrganizationResult & WithRequestId(RequestIdT &&value)
DescribeOrganizationResult & WithDirectoryType(DirectoryTypeT &&value)
void SetCompletedDate(CompletedDateT &&value)
void SetARN(ARNT &&value)
void SetInteroperabilityEnabled(bool value)
DescribeOrganizationResult & WithCompletedDate(CompletedDateT &&value)
const Aws::String & GetState() const
DescribeOrganizationResult & WithAlias(AliasT &&value)
const Aws::String & GetDirectoryType() const
void SetOrganizationId(OrganizationIdT &&value)
const Aws::String & GetOrganizationId() const
bool GetInteroperabilityEnabled() const
void SetRequestId(RequestIdT &&value)
DescribeOrganizationResult & WithARN(ARNT &&value)
void SetState(StateT &&value)
DescribeOrganizationResult & WithDefaultMailDomain(DefaultMailDomainT &&value)
const Aws::String & GetErrorMessage() const
const Aws::String & GetDefaultMailDomain() const
void SetDirectoryId(DirectoryIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue