/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Request structure used to request projects list in AWS Mobile Hub.
* See Also:
AWS
* API Reference
Maximum number of records to list in a single response.
*/ inline int GetMaxResults() const{ return m_maxResults; } /** *Maximum number of records to list in a single response.
*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *Maximum number of records to list in a single response.
*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *Maximum number of records to list in a single response.
*/ inline ListProjectsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *Pagination token. Set to null to start listing projects from start. If * non-null pagination token is returned in a result, then pass its value in here * in another request to list more projects.
*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *Pagination token. Set to null to start listing projects from start. If * non-null pagination token is returned in a result, then pass its value in here * in another request to list more projects.
*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *Pagination token. Set to null to start listing projects from start. If * non-null pagination token is returned in a result, then pass its value in here * in another request to list more projects.
*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *Pagination token. Set to null to start listing projects from start. If * non-null pagination token is returned in a result, then pass its value in here * in another request to list more projects.
*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *Pagination token. Set to null to start listing projects from start. If * non-null pagination token is returned in a result, then pass its value in here * in another request to list more projects.
*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *Pagination token. Set to null to start listing projects from start. If * non-null pagination token is returned in a result, then pass its value in here * in another request to list more projects.
*/ inline ListProjectsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *Pagination token. Set to null to start listing projects from start. If * non-null pagination token is returned in a result, then pass its value in here * in another request to list more projects.
*/ inline ListProjectsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *Pagination token. Set to null to start listing projects from start. If * non-null pagination token is returned in a result, then pass its value in here * in another request to list more projects.
*/ inline ListProjectsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace Mobile } // namespace Aws