/** * 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 { /** *

Represents the response to describe the user pool.

See Also:

* AWS * API Reference

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

The container of metadata returned by the server to describe the pool.

*/ inline const UserPoolType& GetUserPool() const{ return m_userPool; } /** *

The container of metadata returned by the server to describe the pool.

*/ inline void SetUserPool(const UserPoolType& value) { m_userPool = value; } /** *

The container of metadata returned by the server to describe the pool.

*/ inline void SetUserPool(UserPoolType&& value) { m_userPool = std::move(value); } /** *

The container of metadata returned by the server to describe the pool.

*/ inline DescribeUserPoolResult& WithUserPool(const UserPoolType& value) { SetUserPool(value); return *this;} /** *

The container of metadata returned by the server to describe the pool.

*/ inline DescribeUserPoolResult& WithUserPool(UserPoolType&& value) { SetUserPool(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 DescribeUserPoolResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeUserPoolResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeUserPoolResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: UserPoolType m_userPool; Aws::String m_requestId; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws