/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include List all the AvailabilityConfiguration
's for the given WorkMail
* organization.See Also:
AWS
* API Reference
Displays the domain to which the provider applies.
*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *Displays the domain to which the provider applies.
*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *Displays the domain to which the provider applies.
*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *Displays the domain to which the provider applies.
*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *Displays the domain to which the provider applies.
*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *Displays the domain to which the provider applies.
*/ inline AvailabilityConfiguration& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *Displays the domain to which the provider applies.
*/ inline AvailabilityConfiguration& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *Displays the domain to which the provider applies.
*/ inline AvailabilityConfiguration& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *Displays the provider type that applies to this domain.
*/ inline const AvailabilityProviderType& GetProviderType() const{ return m_providerType; } /** *Displays the provider type that applies to this domain.
*/ inline bool ProviderTypeHasBeenSet() const { return m_providerTypeHasBeenSet; } /** *Displays the provider type that applies to this domain.
*/ inline void SetProviderType(const AvailabilityProviderType& value) { m_providerTypeHasBeenSet = true; m_providerType = value; } /** *Displays the provider type that applies to this domain.
*/ inline void SetProviderType(AvailabilityProviderType&& value) { m_providerTypeHasBeenSet = true; m_providerType = std::move(value); } /** *Displays the provider type that applies to this domain.
*/ inline AvailabilityConfiguration& WithProviderType(const AvailabilityProviderType& value) { SetProviderType(value); return *this;} /** *Displays the provider type that applies to this domain.
*/ inline AvailabilityConfiguration& WithProviderType(AvailabilityProviderType&& value) { SetProviderType(std::move(value)); return *this;} /** *If ProviderType
is EWS
, then this field contains
* RedactedEwsAvailabilityProvider
. Otherwise, it is not required.
If ProviderType
is EWS
, then this field contains
* RedactedEwsAvailabilityProvider
. Otherwise, it is not required.
If ProviderType
is EWS
, then this field contains
* RedactedEwsAvailabilityProvider
. Otherwise, it is not required.
If ProviderType
is EWS
, then this field contains
* RedactedEwsAvailabilityProvider
. Otherwise, it is not required.
If ProviderType
is EWS
, then this field contains
* RedactedEwsAvailabilityProvider
. Otherwise, it is not required.
If ProviderType
is EWS
, then this field contains
* RedactedEwsAvailabilityProvider
. Otherwise, it is not required.
If ProviderType is LAMBDA
then this field contains
* LambdaAvailabilityProvider
. Otherwise, it is not required.
If ProviderType is LAMBDA
then this field contains
* LambdaAvailabilityProvider
. Otherwise, it is not required.
If ProviderType is LAMBDA
then this field contains
* LambdaAvailabilityProvider
. Otherwise, it is not required.
If ProviderType is LAMBDA
then this field contains
* LambdaAvailabilityProvider
. Otherwise, it is not required.
If ProviderType is LAMBDA
then this field contains
* LambdaAvailabilityProvider
. Otherwise, it is not required.
If ProviderType is LAMBDA
then this field contains
* LambdaAvailabilityProvider
. Otherwise, it is not required.
The date and time at which the availability configuration was created.
*/ inline const Aws::Utils::DateTime& GetDateCreated() const{ return m_dateCreated; } /** *The date and time at which the availability configuration was created.
*/ inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; } /** *The date and time at which the availability configuration was created.
*/ inline void SetDateCreated(const Aws::Utils::DateTime& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; } /** *The date and time at which the availability configuration was created.
*/ inline void SetDateCreated(Aws::Utils::DateTime&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); } /** *The date and time at which the availability configuration was created.
*/ inline AvailabilityConfiguration& WithDateCreated(const Aws::Utils::DateTime& value) { SetDateCreated(value); return *this;} /** *The date and time at which the availability configuration was created.
*/ inline AvailabilityConfiguration& WithDateCreated(Aws::Utils::DateTime&& value) { SetDateCreated(std::move(value)); return *this;} /** *The date and time at which the availability configuration was last * modified.
*/ inline const Aws::Utils::DateTime& GetDateModified() const{ return m_dateModified; } /** *The date and time at which the availability configuration was last * modified.
*/ inline bool DateModifiedHasBeenSet() const { return m_dateModifiedHasBeenSet; } /** *The date and time at which the availability configuration was last * modified.
*/ inline void SetDateModified(const Aws::Utils::DateTime& value) { m_dateModifiedHasBeenSet = true; m_dateModified = value; } /** *The date and time at which the availability configuration was last * modified.
*/ inline void SetDateModified(Aws::Utils::DateTime&& value) { m_dateModifiedHasBeenSet = true; m_dateModified = std::move(value); } /** *The date and time at which the availability configuration was last * modified.
*/ inline AvailabilityConfiguration& WithDateModified(const Aws::Utils::DateTime& value) { SetDateModified(value); return *this;} /** *The date and time at which the availability configuration was last * modified.
*/ inline AvailabilityConfiguration& WithDateModified(Aws::Utils::DateTime&& value) { SetDateModified(std::move(value)); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; AvailabilityProviderType m_providerType; bool m_providerTypeHasBeenSet = false; RedactedEwsAvailabilityProvider m_ewsProvider; bool m_ewsProviderHasBeenSet = false; LambdaAvailabilityProvider m_lambdaProvider; bool m_lambdaProviderHasBeenSet = false; Aws::Utils::DateTime m_dateCreated; bool m_dateCreatedHasBeenSet = false; Aws::Utils::DateTime m_dateModified; bool m_dateModifiedHasBeenSet = false; }; } // namespace Model } // namespace WorkMail } // namespace Aws