/** * 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 from the server from a request to describe the user * pool client.

See Also:

AWS * API Reference

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

The user pool client from a server response to describe the user pool * client.

*/ inline const UserPoolClientType& GetUserPoolClient() const{ return m_userPoolClient; } /** *

The user pool client from a server response to describe the user pool * client.

*/ inline void SetUserPoolClient(const UserPoolClientType& value) { m_userPoolClient = value; } /** *

The user pool client from a server response to describe the user pool * client.

*/ inline void SetUserPoolClient(UserPoolClientType&& value) { m_userPoolClient = std::move(value); } /** *

The user pool client from a server response to describe the user pool * client.

*/ inline DescribeUserPoolClientResult& WithUserPoolClient(const UserPoolClientType& value) { SetUserPoolClient(value); return *this;} /** *

The user pool client from a server response to describe the user pool * client.

*/ inline DescribeUserPoolClientResult& WithUserPoolClient(UserPoolClientType&& value) { SetUserPoolClient(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 DescribeUserPoolClientResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeUserPoolClientResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeUserPoolClientResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: UserPoolClientType m_userPoolClient; Aws::String m_requestId; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws