/** * 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 Lightsail { namespace Model { class GetDomainResult { public: AWS_LIGHTSAIL_API GetDomainResult(); AWS_LIGHTSAIL_API GetDomainResult(const Aws::AmazonWebServiceResult& result); AWS_LIGHTSAIL_API GetDomainResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

An array of key-value pairs containing information about your get domain * request.

*/ inline const Domain& GetDomain() const{ return m_domain; } /** *

An array of key-value pairs containing information about your get domain * request.

*/ inline void SetDomain(const Domain& value) { m_domain = value; } /** *

An array of key-value pairs containing information about your get domain * request.

*/ inline void SetDomain(Domain&& value) { m_domain = std::move(value); } /** *

An array of key-value pairs containing information about your get domain * request.

*/ inline GetDomainResult& WithDomain(const Domain& value) { SetDomain(value); return *this;} /** *

An array of key-value pairs containing information about your get domain * request.

*/ inline GetDomainResult& WithDomain(Domain&& value) { SetDomain(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 GetDomainResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetDomainResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetDomainResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Domain m_domain; Aws::String m_requestId; }; } // namespace Model } // namespace Lightsail } // namespace Aws