7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
14template<
typename RESULT_TYPE>
15class AmazonWebServiceResult;
41 template<
typename OrganizationIdT = Aws::String>
42 void SetOrganizationId(OrganizationIdT&& value) { m_organizationIdHasBeenSet =
true; m_organizationId = std::forward<OrganizationIdT>(value); }
43 template<
typename OrganizationIdT = Aws::String>
52 template<
typename AliasT = Aws::String>
53 void SetAlias(AliasT&& value) { m_aliasHasBeenSet =
true; m_alias = std::forward<AliasT>(value); }
54 template<
typename AliasT = Aws::String>
63 template<
typename StateT = Aws::String>
64 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
65 template<
typename StateT = Aws::String>
75 template<
typename DirectoryIdT = Aws::String>
76 void SetDirectoryId(DirectoryIdT&& value) { m_directoryIdHasBeenSet =
true; m_directoryId = std::forward<DirectoryIdT>(value); }
77 template<
typename DirectoryIdT = Aws::String>
86 template<
typename DirectoryTypeT = Aws::String>
87 void SetDirectoryType(DirectoryTypeT&& value) { m_directoryTypeHasBeenSet =
true; m_directoryType = std::forward<DirectoryTypeT>(value); }
88 template<
typename DirectoryTypeT = Aws::String>
97 template<
typename DefaultMailDomainT = Aws::String>
98 void SetDefaultMailDomain(DefaultMailDomainT&& value) { m_defaultMailDomainHasBeenSet =
true; m_defaultMailDomain = std::forward<DefaultMailDomainT>(value); }
99 template<
typename DefaultMailDomainT = Aws::String>
109 template<
typename CompletedDateT = Aws::Utils::DateTime>
110 void SetCompletedDate(CompletedDateT&& value) { m_completedDateHasBeenSet =
true; m_completedDate = std::forward<CompletedDateT>(value); }
111 template<
typename CompletedDateT = Aws::Utils::DateTime>
121 template<
typename ErrorMessageT = Aws::String>
122 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
123 template<
typename ErrorMessageT = Aws::String>
132 template<
typename ARNT = Aws::String>
133 void SetARN(ARNT&& value) { m_aRNHasBeenSet =
true; m_aRN = std::forward<ARNT>(value); }
134 template<
typename ARNT = Aws::String>
144 template<
typename MigrationAdminT = Aws::String>
145 void SetMigrationAdmin(MigrationAdminT&& value) { m_migrationAdminHasBeenSet =
true; m_migrationAdmin = std::forward<MigrationAdminT>(value); }
146 template<
typename MigrationAdminT = Aws::String>
162 template<
typename RequestIdT = Aws::String>
163 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
164 template<
typename RequestIdT = Aws::String>
170 bool m_organizationIdHasBeenSet =
false;
173 bool m_aliasHasBeenSet =
false;
176 bool m_stateHasBeenSet =
false;
179 bool m_directoryIdHasBeenSet =
false;
182 bool m_directoryTypeHasBeenSet =
false;
185 bool m_defaultMailDomainHasBeenSet =
false;
188 bool m_completedDateHasBeenSet =
false;
191 bool m_errorMessageHasBeenSet =
false;
194 bool m_aRNHasBeenSet =
false;
197 bool m_migrationAdminHasBeenSet =
false;
199 bool m_interoperabilityEnabled{
false};
200 bool m_interoperabilityEnabledHasBeenSet =
false;
203 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)
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