/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The representation of an organization.See Also:
AWS
* API Reference
The identifier associated with the organization.
*/ inline const Aws::String& GetOrganizationId() const{ return m_organizationId; } /** *The identifier associated with the organization.
*/ inline bool OrganizationIdHasBeenSet() const { return m_organizationIdHasBeenSet; } /** *The identifier associated with the organization.
*/ inline void SetOrganizationId(const Aws::String& value) { m_organizationIdHasBeenSet = true; m_organizationId = value; } /** *The identifier associated with the organization.
*/ inline void SetOrganizationId(Aws::String&& value) { m_organizationIdHasBeenSet = true; m_organizationId = std::move(value); } /** *The identifier associated with the organization.
*/ inline void SetOrganizationId(const char* value) { m_organizationIdHasBeenSet = true; m_organizationId.assign(value); } /** *The identifier associated with the organization.
*/ inline OrganizationSummary& WithOrganizationId(const Aws::String& value) { SetOrganizationId(value); return *this;} /** *The identifier associated with the organization.
*/ inline OrganizationSummary& WithOrganizationId(Aws::String&& value) { SetOrganizationId(std::move(value)); return *this;} /** *The identifier associated with the organization.
*/ inline OrganizationSummary& WithOrganizationId(const char* value) { SetOrganizationId(value); return *this;} /** *The alias associated with the organization.
*/ inline const Aws::String& GetAlias() const{ return m_alias; } /** *The alias associated with the organization.
*/ inline bool AliasHasBeenSet() const { return m_aliasHasBeenSet; } /** *The alias associated with the organization.
*/ inline void SetAlias(const Aws::String& value) { m_aliasHasBeenSet = true; m_alias = value; } /** *The alias associated with the organization.
*/ inline void SetAlias(Aws::String&& value) { m_aliasHasBeenSet = true; m_alias = std::move(value); } /** *The alias associated with the organization.
*/ inline void SetAlias(const char* value) { m_aliasHasBeenSet = true; m_alias.assign(value); } /** *The alias associated with the organization.
*/ inline OrganizationSummary& WithAlias(const Aws::String& value) { SetAlias(value); return *this;} /** *The alias associated with the organization.
*/ inline OrganizationSummary& WithAlias(Aws::String&& value) { SetAlias(std::move(value)); return *this;} /** *The alias associated with the organization.
*/ inline OrganizationSummary& WithAlias(const char* value) { SetAlias(value); return *this;} /** *The default email domain associated with the organization.
*/ inline const Aws::String& GetDefaultMailDomain() const{ return m_defaultMailDomain; } /** *The default email domain associated with the organization.
*/ inline bool DefaultMailDomainHasBeenSet() const { return m_defaultMailDomainHasBeenSet; } /** *The default email domain associated with the organization.
*/ inline void SetDefaultMailDomain(const Aws::String& value) { m_defaultMailDomainHasBeenSet = true; m_defaultMailDomain = value; } /** *The default email domain associated with the organization.
*/ inline void SetDefaultMailDomain(Aws::String&& value) { m_defaultMailDomainHasBeenSet = true; m_defaultMailDomain = std::move(value); } /** *The default email domain associated with the organization.
*/ inline void SetDefaultMailDomain(const char* value) { m_defaultMailDomainHasBeenSet = true; m_defaultMailDomain.assign(value); } /** *The default email domain associated with the organization.
*/ inline OrganizationSummary& WithDefaultMailDomain(const Aws::String& value) { SetDefaultMailDomain(value); return *this;} /** *The default email domain associated with the organization.
*/ inline OrganizationSummary& WithDefaultMailDomain(Aws::String&& value) { SetDefaultMailDomain(std::move(value)); return *this;} /** *The default email domain associated with the organization.
*/ inline OrganizationSummary& WithDefaultMailDomain(const char* value) { SetDefaultMailDomain(value); return *this;} /** *The error message associated with the organization. It is only present if * unexpected behavior has occurred with regards to the organization. It provides * insight or solutions regarding unexpected behavior.
*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *The error message associated with the organization. It is only present if * unexpected behavior has occurred with regards to the organization. It provides * insight or solutions regarding unexpected behavior.
*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *The error message associated with the organization. It is only present if * unexpected behavior has occurred with regards to the organization. It provides * insight or solutions regarding unexpected behavior.
*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *The error message associated with the organization. It is only present if * unexpected behavior has occurred with regards to the organization. It provides * insight or solutions regarding unexpected behavior.
*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *The error message associated with the organization. It is only present if * unexpected behavior has occurred with regards to the organization. It provides * insight or solutions regarding unexpected behavior.
*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *The error message associated with the organization. It is only present if * unexpected behavior has occurred with regards to the organization. It provides * insight or solutions regarding unexpected behavior.
*/ inline OrganizationSummary& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *The error message associated with the organization. It is only present if * unexpected behavior has occurred with regards to the organization. It provides * insight or solutions regarding unexpected behavior.
*/ inline OrganizationSummary& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *The error message associated with the organization. It is only present if * unexpected behavior has occurred with regards to the organization. It provides * insight or solutions regarding unexpected behavior.
*/ inline OrganizationSummary& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} /** *The state associated with the organization.
*/ inline const Aws::String& GetState() const{ return m_state; } /** *The state associated with the organization.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state associated with the organization.
*/ inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state associated with the organization.
*/ inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state associated with the organization.
*/ inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); } /** *The state associated with the organization.
*/ inline OrganizationSummary& WithState(const Aws::String& value) { SetState(value); return *this;} /** *The state associated with the organization.
*/ inline OrganizationSummary& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;} /** *The state associated with the organization.
*/ inline OrganizationSummary& WithState(const char* value) { SetState(value); return *this;} private: Aws::String m_organizationId; bool m_organizationIdHasBeenSet = false; Aws::String m_alias; bool m_aliasHasBeenSet = false; Aws::String m_defaultMailDomain; bool m_defaultMailDomainHasBeenSet = false; Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; Aws::String m_state; bool m_stateHasBeenSet = false; }; } // namespace Model } // namespace WorkMail } // namespace Aws