/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace LocationService { namespace Model { /** */ class AWS_LOCATIONSERVICE_API ListRouteCalculatorsRequest : public LocationServiceRequest { public: ListRouteCalculatorsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListRouteCalculators"; } Aws::String SerializePayload() const override; /** *

An optional maximum number of results returned in a single call.

*

Default Value: 100

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

An optional maximum number of results returned in a single call.

*

Default Value: 100

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

An optional maximum number of results returned in a single call.

*

Default Value: 100

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

An optional maximum number of results returned in a single call.

*

Default Value: 100

*/ inline ListRouteCalculatorsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

The pagination token specifying which page of results to return in the * response. If no token is provided, the default page is the first page.

*

Default Value: null

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

The pagination token specifying which page of results to return in the * response. If no token is provided, the default page is the first page.

*

Default Value: null

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

The pagination token specifying which page of results to return in the * response. If no token is provided, the default page is the first page.

*

Default Value: null

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

The pagination token specifying which page of results to return in the * response. If no token is provided, the default page is the first page.

*

Default Value: null

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

The pagination token specifying which page of results to return in the * response. If no token is provided, the default page is the first page.

*

Default Value: null

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

The pagination token specifying which page of results to return in the * response. If no token is provided, the default page is the first page.

*

Default Value: null

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

The pagination token specifying which page of results to return in the * response. If no token is provided, the default page is the first page.

*

Default Value: null

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

The pagination token specifying which page of results to return in the * response. If no token is provided, the default page is the first page.

*

Default Value: null

*/ inline ListRouteCalculatorsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: int m_maxResults; bool m_maxResultsHasBeenSet; Aws::String m_nextToken; bool m_nextTokenHasBeenSet; }; } // namespace Model } // namespace LocationService } // namespace Aws