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

The RetrieveDomainAuthCode response includes the following * element.

See Also:

AWS * API Reference

*/ class AWS_ROUTE53DOMAINS_API RetrieveDomainAuthCodeResult { public: RetrieveDomainAuthCodeResult(); RetrieveDomainAuthCodeResult(const Aws::AmazonWebServiceResult& result); RetrieveDomainAuthCodeResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The authorization code for the domain.

*/ inline const Aws::String& GetAuthCode() const{ return m_authCode; } /** *

The authorization code for the domain.

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

The authorization code for the domain.

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

The authorization code for the domain.

*/ inline void SetAuthCode(const char* value) { m_authCode.assign(value); } /** *

The authorization code for the domain.

*/ inline RetrieveDomainAuthCodeResult& WithAuthCode(const Aws::String& value) { SetAuthCode(value); return *this;} /** *

The authorization code for the domain.

*/ inline RetrieveDomainAuthCodeResult& WithAuthCode(Aws::String&& value) { SetAuthCode(std::move(value)); return *this;} /** *

The authorization code for the domain.

*/ inline RetrieveDomainAuthCodeResult& WithAuthCode(const char* value) { SetAuthCode(value); return *this;} private: Aws::String m_authCode; }; } // namespace Model } // namespace Route53Domains } // namespace Aws