/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains general information about a domain.See Also:
AWS API
* Reference
The name of the domain. This name is unique within the account.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the domain. This name is unique within the account.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the domain. This name is unique within the account.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the domain. This name is unique within the account.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the domain. This name is unique within the account.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the domain. This name is unique within the account.
*/ inline DomainInfo& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the domain. This name is unique within the account.
*/ inline DomainInfo& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the domain. This name is unique within the account.
*/ inline DomainInfo& WithName(const char* value) { SetName(value); return *this;} /** *The status of the domain:
REGISTERED
– The
* domain is properly registered and available. You can use this domain for
* registering types and creating new workflow executions.
* DEPRECATED
– The domain was deprecated using
* DeprecateDomain, but is still in use. You should not create new workflow
* executions in this domain.
The status of the domain:
REGISTERED
– The
* domain is properly registered and available. You can use this domain for
* registering types and creating new workflow executions.
* DEPRECATED
– The domain was deprecated using
* DeprecateDomain, but is still in use. You should not create new workflow
* executions in this domain.
The status of the domain:
REGISTERED
– The
* domain is properly registered and available. You can use this domain for
* registering types and creating new workflow executions.
* DEPRECATED
– The domain was deprecated using
* DeprecateDomain, but is still in use. You should not create new workflow
* executions in this domain.
The status of the domain:
REGISTERED
– The
* domain is properly registered and available. You can use this domain for
* registering types and creating new workflow executions.
* DEPRECATED
– The domain was deprecated using
* DeprecateDomain, but is still in use. You should not create new workflow
* executions in this domain.
The status of the domain:
REGISTERED
– The
* domain is properly registered and available. You can use this domain for
* registering types and creating new workflow executions.
* DEPRECATED
– The domain was deprecated using
* DeprecateDomain, but is still in use. You should not create new workflow
* executions in this domain.
The status of the domain:
REGISTERED
– The
* domain is properly registered and available. You can use this domain for
* registering types and creating new workflow executions.
* DEPRECATED
– The domain was deprecated using
* DeprecateDomain, but is still in use. You should not create new workflow
* executions in this domain.
The description of the domain provided through RegisterDomain.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the domain provided through RegisterDomain.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the domain provided through RegisterDomain.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the domain provided through RegisterDomain.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the domain provided through RegisterDomain.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the domain provided through RegisterDomain.
*/ inline DomainInfo& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the domain provided through RegisterDomain.
*/ inline DomainInfo& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the domain provided through RegisterDomain.
*/ inline DomainInfo& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The ARN of the domain.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN of the domain.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN of the domain.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN of the domain.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN of the domain.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN of the domain.
*/ inline DomainInfo& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN of the domain.
*/ inline DomainInfo& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN of the domain.
*/ inline DomainInfo& WithArn(const char* value) { SetArn(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; RegistrationStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; }; } // namespace Model } // namespace SWF } // namespace Aws