/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 that lists user pool * clients.

See Also:

AWS * API Reference

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

The user pool clients in the response that lists user pool clients.

*/ inline const Aws::Vector& GetUserPoolClients() const{ return m_userPoolClients; } /** *

The user pool clients in the response that lists user pool clients.

*/ inline void SetUserPoolClients(const Aws::Vector& value) { m_userPoolClients = value; } /** *

The user pool clients in the response that lists user pool clients.

*/ inline void SetUserPoolClients(Aws::Vector&& value) { m_userPoolClients = std::move(value); } /** *

The user pool clients in the response that lists user pool clients.

*/ inline ListUserPoolClientsResult& WithUserPoolClients(const Aws::Vector& value) { SetUserPoolClients(value); return *this;} /** *

The user pool clients in the response that lists user pool clients.

*/ inline ListUserPoolClientsResult& WithUserPoolClients(Aws::Vector&& value) { SetUserPoolClients(std::move(value)); return *this;} /** *

The user pool clients in the response that lists user pool clients.

*/ inline ListUserPoolClientsResult& AddUserPoolClients(const UserPoolClientDescription& value) { m_userPoolClients.push_back(value); return *this; } /** *

The user pool clients in the response that lists user pool clients.

*/ inline ListUserPoolClientsResult& AddUserPoolClients(UserPoolClientDescription&& value) { m_userPoolClients.push_back(std::move(value)); return *this; } /** *

An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.

*/ inline ListUserPoolClientsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.

*/ inline ListUserPoolClientsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

An identifier that was returned from the previous call to this operation, * which can be used to return the next set of items in the list.

*/ inline ListUserPoolClientsResult& WithNextToken(const char* value) { SetNextToken(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 ListUserPoolClientsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListUserPoolClientsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListUserPoolClientsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_userPoolClients; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws