7#include <aws/workmail/WorkMail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 template<
typename OrganizationIdT = Aws::String>
47 void SetOrganizationId(OrganizationIdT&& value) { m_organizationIdHasBeenSet =
true; m_organizationId = std::forward<OrganizationIdT>(value); }
48 template<
typename OrganizationIdT = Aws::String>
58 template<
typename AliasT = Aws::String>
59 void SetAlias(AliasT&& value) { m_aliasHasBeenSet =
true; m_alias = std::forward<AliasT>(value); }
60 template<
typename AliasT = Aws::String>
70 template<
typename DefaultMailDomainT = Aws::String>
71 void SetDefaultMailDomain(DefaultMailDomainT&& value) { m_defaultMailDomainHasBeenSet =
true; m_defaultMailDomain = std::forward<DefaultMailDomainT>(value); }
72 template<
typename DefaultMailDomainT = Aws::String>
84 template<
typename ErrorMessageT = Aws::String>
85 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet =
true; m_errorMessage = std::forward<ErrorMessageT>(value); }
86 template<
typename ErrorMessageT = Aws::String>
96 template<
typename StateT = Aws::String>
97 void SetState(StateT&& value) { m_stateHasBeenSet =
true; m_state = std::forward<StateT>(value); }
98 template<
typename StateT = Aws::String>
104 bool m_organizationIdHasBeenSet =
false;
107 bool m_aliasHasBeenSet =
false;
110 bool m_defaultMailDomainHasBeenSet =
false;
113 bool m_errorMessageHasBeenSet =
false;
116 bool m_stateHasBeenSet =
false;
const Aws::String & GetErrorMessage() const
const Aws::String & GetOrganizationId() const
const Aws::String & GetAlias() const
OrganizationSummary & WithAlias(AliasT &&value)
OrganizationSummary & WithErrorMessage(ErrorMessageT &&value)
AWS_WORKMAIL_API Aws::Utils::Json::JsonValue Jsonize() const
bool ErrorMessageHasBeenSet() const
void SetOrganizationId(OrganizationIdT &&value)
bool AliasHasBeenSet() const
const Aws::String & GetState() const
void SetAlias(AliasT &&value)
void SetErrorMessage(ErrorMessageT &&value)
AWS_WORKMAIL_API OrganizationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
bool DefaultMailDomainHasBeenSet() const
bool OrganizationIdHasBeenSet() const
bool StateHasBeenSet() const
OrganizationSummary & WithDefaultMailDomain(DefaultMailDomainT &&value)
OrganizationSummary & WithState(StateT &&value)
AWS_WORKMAIL_API OrganizationSummary()=default
const Aws::String & GetDefaultMailDomain() const
void SetDefaultMailDomain(DefaultMailDomainT &&value)
OrganizationSummary & WithOrganizationId(OrganizationIdT &&value)
void SetState(StateT &&value)
AWS_WORKMAIL_API OrganizationSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue