/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The RetrieveDomainAuthCode response includes the following
* element.See Also:
AWS
* API Reference
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;} 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 RetrieveDomainAuthCodeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline RetrieveDomainAuthCodeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline RetrieveDomainAuthCodeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_authCode; Aws::String m_requestId; }; } // namespace Model } // namespace Route53Domains } // namespace Aws