/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the request to list user pools.See Also:
AWS
* API Reference
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 bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *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_nextTokenHasBeenSet = true; 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_nextTokenHasBeenSet = true; 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_nextTokenHasBeenSet = true; 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 ListUserPoolsRequest& 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 ListUserPoolsRequest& 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 ListUserPoolsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *The maximum number of results you want the request to return when listing the * user pools.
*/ inline int GetMaxResults() const{ return m_maxResults; } /** *The maximum number of results you want the request to return when listing the * user pools.
*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *The maximum number of results you want the request to return when listing the * user pools.
*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *The maximum number of results you want the request to return when listing the * user pools.
*/ inline ListUserPoolsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws