/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Route53Domains { namespace Model { class GetContactReachabilityStatusResult { public: AWS_ROUTE53DOMAINS_API GetContactReachabilityStatusResult(); AWS_ROUTE53DOMAINS_API GetContactReachabilityStatusResult(const Aws::AmazonWebServiceResult& result); AWS_ROUTE53DOMAINS_API GetContactReachabilityStatusResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The domain name for which you requested the reachability status.

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

The domain name for which you requested the reachability status.

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

The domain name for which you requested the reachability status.

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

The domain name for which you requested the reachability status.

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

The domain name for which you requested the reachability status.

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

The domain name for which you requested the reachability status.

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

The domain name for which you requested the reachability status.

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

Whether the registrant contact has responded. Values include the * following:

PENDING

We sent the confirmation email and * haven't received a response yet.

DONE

We sent the * email and got confirmation from the registrant contact.

*
EXPIRED

The time limit expired before the registrant contact * responded.

*/ inline const ReachabilityStatus& GetStatus() const{ return m_status; } /** *

Whether the registrant contact has responded. Values include the * following:

PENDING

We sent the confirmation email and * haven't received a response yet.

DONE

We sent the * email and got confirmation from the registrant contact.

*
EXPIRED

The time limit expired before the registrant contact * responded.

*/ inline void SetStatus(const ReachabilityStatus& value) { m_status = value; } /** *

Whether the registrant contact has responded. Values include the * following:

PENDING

We sent the confirmation email and * haven't received a response yet.

DONE

We sent the * email and got confirmation from the registrant contact.

*
EXPIRED

The time limit expired before the registrant contact * responded.

*/ inline void SetStatus(ReachabilityStatus&& value) { m_status = std::move(value); } /** *

Whether the registrant contact has responded. Values include the * following:

PENDING

We sent the confirmation email and * haven't received a response yet.

DONE

We sent the * email and got confirmation from the registrant contact.

*
EXPIRED

The time limit expired before the registrant contact * responded.

*/ inline GetContactReachabilityStatusResult& WithStatus(const ReachabilityStatus& value) { SetStatus(value); return *this;} /** *

Whether the registrant contact has responded. Values include the * following:

PENDING

We sent the confirmation email and * haven't received a response yet.

DONE

We sent the * email and got confirmation from the registrant contact.

*
EXPIRED

The time limit expired before the registrant contact * responded.

*/ inline GetContactReachabilityStatusResult& WithStatus(ReachabilityStatus&& value) { SetStatus(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetContactReachabilityStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetContactReachabilityStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetContactReachabilityStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_domainName; ReachabilityStatus m_status; Aws::String m_requestId; }; } // namespace Model } // namespace Route53Domains } // namespace Aws