/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Route53Domains { namespace Model { /** *

Information about one suggested domain name.

See Also:

AWS * API Reference

*/ class DomainSuggestion { public: AWS_ROUTE53DOMAINS_API DomainSuggestion(); AWS_ROUTE53DOMAINS_API DomainSuggestion(Aws::Utils::Json::JsonView jsonValue); AWS_ROUTE53DOMAINS_API DomainSuggestion& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_ROUTE53DOMAINS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A suggested domain name.

*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *

A suggested domain name.

*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *

A suggested domain name.

*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *

A suggested domain name.

*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *

A suggested domain name.

*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *

A suggested domain name.

*/ inline DomainSuggestion& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

A suggested domain name.

*/ inline DomainSuggestion& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *

A suggested domain name.

*/ inline DomainSuggestion& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *

Whether the domain name is available for registering.

You can * register only the domains that are designated as AVAILABLE.

*

Valid values:

AVAILABLE

The domain name is * available.

AVAILABLE_RESERVED

The domain name is * reserved under specific conditions.

AVAILABLE_PREORDER
*

The domain name is available and can be preordered.

*
DONT_KNOW

The TLD registry didn't reply with a definitive * answer about whether the domain name is available. Route 53 can return this * response for a variety of reasons, for example, the registry is performing * maintenance. Try again later.

PENDING

The TLD * registry didn't return a response in the expected amount of time. When the * response is delayed, it usually takes just a few extra seconds. You can resubmit * the request immediately.

RESERVED

The domain name has * been reserved for another person or organization.

UNAVAILABLE
*

The domain name is not available.

UNAVAILABLE_PREMIUM
*

The domain name is not available.

*
UNAVAILABLE_RESTRICTED

The domain name is forbidden.

*
*/ inline const Aws::String& GetAvailability() const{ return m_availability; } /** *

Whether the domain name is available for registering.

You can * register only the domains that are designated as AVAILABLE.

*

Valid values:

AVAILABLE

The domain name is * available.

AVAILABLE_RESERVED

The domain name is * reserved under specific conditions.

AVAILABLE_PREORDER
*

The domain name is available and can be preordered.

*
DONT_KNOW

The TLD registry didn't reply with a definitive * answer about whether the domain name is available. Route 53 can return this * response for a variety of reasons, for example, the registry is performing * maintenance. Try again later.

PENDING

The TLD * registry didn't return a response in the expected amount of time. When the * response is delayed, it usually takes just a few extra seconds. You can resubmit * the request immediately.

RESERVED

The domain name has * been reserved for another person or organization.

UNAVAILABLE
*

The domain name is not available.

UNAVAILABLE_PREMIUM
*

The domain name is not available.

*
UNAVAILABLE_RESTRICTED

The domain name is forbidden.

*
*/ inline bool AvailabilityHasBeenSet() const { return m_availabilityHasBeenSet; } /** *

Whether the domain name is available for registering.

You can * register only the domains that are designated as AVAILABLE.

*

Valid values:

AVAILABLE

The domain name is * available.

AVAILABLE_RESERVED

The domain name is * reserved under specific conditions.

AVAILABLE_PREORDER
*

The domain name is available and can be preordered.

*
DONT_KNOW

The TLD registry didn't reply with a definitive * answer about whether the domain name is available. Route 53 can return this * response for a variety of reasons, for example, the registry is performing * maintenance. Try again later.

PENDING

The TLD * registry didn't return a response in the expected amount of time. When the * response is delayed, it usually takes just a few extra seconds. You can resubmit * the request immediately.

RESERVED

The domain name has * been reserved for another person or organization.

UNAVAILABLE
*

The domain name is not available.

UNAVAILABLE_PREMIUM
*

The domain name is not available.

*
UNAVAILABLE_RESTRICTED

The domain name is forbidden.

*
*/ inline void SetAvailability(const Aws::String& value) { m_availabilityHasBeenSet = true; m_availability = value; } /** *

Whether the domain name is available for registering.

You can * register only the domains that are designated as AVAILABLE.

*

Valid values:

AVAILABLE

The domain name is * available.

AVAILABLE_RESERVED

The domain name is * reserved under specific conditions.

AVAILABLE_PREORDER
*

The domain name is available and can be preordered.

*
DONT_KNOW

The TLD registry didn't reply with a definitive * answer about whether the domain name is available. Route 53 can return this * response for a variety of reasons, for example, the registry is performing * maintenance. Try again later.

PENDING

The TLD * registry didn't return a response in the expected amount of time. When the * response is delayed, it usually takes just a few extra seconds. You can resubmit * the request immediately.

RESERVED

The domain name has * been reserved for another person or organization.

UNAVAILABLE
*

The domain name is not available.

UNAVAILABLE_PREMIUM
*

The domain name is not available.

*
UNAVAILABLE_RESTRICTED

The domain name is forbidden.

*
*/ inline void SetAvailability(Aws::String&& value) { m_availabilityHasBeenSet = true; m_availability = std::move(value); } /** *

Whether the domain name is available for registering.

You can * register only the domains that are designated as AVAILABLE.

*

Valid values:

AVAILABLE

The domain name is * available.

AVAILABLE_RESERVED

The domain name is * reserved under specific conditions.

AVAILABLE_PREORDER
*

The domain name is available and can be preordered.

*
DONT_KNOW

The TLD registry didn't reply with a definitive * answer about whether the domain name is available. Route 53 can return this * response for a variety of reasons, for example, the registry is performing * maintenance. Try again later.

PENDING

The TLD * registry didn't return a response in the expected amount of time. When the * response is delayed, it usually takes just a few extra seconds. You can resubmit * the request immediately.

RESERVED

The domain name has * been reserved for another person or organization.

UNAVAILABLE
*

The domain name is not available.

UNAVAILABLE_PREMIUM
*

The domain name is not available.

*
UNAVAILABLE_RESTRICTED

The domain name is forbidden.

*
*/ inline void SetAvailability(const char* value) { m_availabilityHasBeenSet = true; m_availability.assign(value); } /** *

Whether the domain name is available for registering.

You can * register only the domains that are designated as AVAILABLE.

*

Valid values:

AVAILABLE

The domain name is * available.

AVAILABLE_RESERVED

The domain name is * reserved under specific conditions.

AVAILABLE_PREORDER
*

The domain name is available and can be preordered.

*
DONT_KNOW

The TLD registry didn't reply with a definitive * answer about whether the domain name is available. Route 53 can return this * response for a variety of reasons, for example, the registry is performing * maintenance. Try again later.

PENDING

The TLD * registry didn't return a response in the expected amount of time. When the * response is delayed, it usually takes just a few extra seconds. You can resubmit * the request immediately.

RESERVED

The domain name has * been reserved for another person or organization.

UNAVAILABLE
*

The domain name is not available.

UNAVAILABLE_PREMIUM
*

The domain name is not available.

*
UNAVAILABLE_RESTRICTED

The domain name is forbidden.

*
*/ inline DomainSuggestion& WithAvailability(const Aws::String& value) { SetAvailability(value); return *this;} /** *

Whether the domain name is available for registering.

You can * register only the domains that are designated as AVAILABLE.

*

Valid values:

AVAILABLE

The domain name is * available.

AVAILABLE_RESERVED

The domain name is * reserved under specific conditions.

AVAILABLE_PREORDER
*

The domain name is available and can be preordered.

*
DONT_KNOW

The TLD registry didn't reply with a definitive * answer about whether the domain name is available. Route 53 can return this * response for a variety of reasons, for example, the registry is performing * maintenance. Try again later.

PENDING

The TLD * registry didn't return a response in the expected amount of time. When the * response is delayed, it usually takes just a few extra seconds. You can resubmit * the request immediately.

RESERVED

The domain name has * been reserved for another person or organization.

UNAVAILABLE
*

The domain name is not available.

UNAVAILABLE_PREMIUM
*

The domain name is not available.

*
UNAVAILABLE_RESTRICTED

The domain name is forbidden.

*
*/ inline DomainSuggestion& WithAvailability(Aws::String&& value) { SetAvailability(std::move(value)); return *this;} /** *

Whether the domain name is available for registering.

You can * register only the domains that are designated as AVAILABLE.

*

Valid values:

AVAILABLE

The domain name is * available.

AVAILABLE_RESERVED

The domain name is * reserved under specific conditions.

AVAILABLE_PREORDER
*

The domain name is available and can be preordered.

*
DONT_KNOW

The TLD registry didn't reply with a definitive * answer about whether the domain name is available. Route 53 can return this * response for a variety of reasons, for example, the registry is performing * maintenance. Try again later.

PENDING

The TLD * registry didn't return a response in the expected amount of time. When the * response is delayed, it usually takes just a few extra seconds. You can resubmit * the request immediately.

RESERVED

The domain name has * been reserved for another person or organization.

UNAVAILABLE
*

The domain name is not available.

UNAVAILABLE_PREMIUM
*

The domain name is not available.

*
UNAVAILABLE_RESTRICTED

The domain name is forbidden.

*
*/ inline DomainSuggestion& WithAvailability(const char* value) { SetAvailability(value); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::String m_availability; bool m_availabilityHasBeenSet = false; }; } // namespace Model } // namespace Route53Domains } // namespace Aws