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

A domain description object containing information about the domain.

*/ inline const DomainDescriptionType& GetDomainDescription() const{ return m_domainDescription; } /** *

A domain description object containing information about the domain.

*/ inline void SetDomainDescription(const DomainDescriptionType& value) { m_domainDescription = value; } /** *

A domain description object containing information about the domain.

*/ inline void SetDomainDescription(DomainDescriptionType&& value) { m_domainDescription = std::move(value); } /** *

A domain description object containing information about the domain.

*/ inline DescribeUserPoolDomainResult& WithDomainDescription(const DomainDescriptionType& value) { SetDomainDescription(value); return *this;} /** *

A domain description object containing information about the domain.

*/ inline DescribeUserPoolDomainResult& WithDomainDescription(DomainDescriptionType&& value) { SetDomainDescription(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 DescribeUserPoolDomainResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeUserPoolDomainResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeUserPoolDomainResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: DomainDescriptionType m_domainDescription; Aws::String m_requestId; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws