/** * 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 Http { class URI; } //namespace Http namespace AppMesh { namespace Model { /** *

See Also:

AWS * API Reference

*/ class ListMeshesRequest : public AppMeshRequest { public: AWS_APPMESH_API ListMeshesRequest(); // 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 "ListMeshes"; } AWS_APPMESH_API Aws::String SerializePayload() const override; AWS_APPMESH_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The maximum number of results returned by ListMeshes in * paginated output. When you use this parameter, ListMeshes returns * only limit results in a single page along with a * nextToken response element. You can see the remaining results of * the initial request by sending another ListMeshes request with the * returned nextToken value. This value can be between 1 and 100. If * you don't use this parameter, ListMeshes returns up to 100 results * and a nextToken value if applicable.

*/ inline int GetLimit() const{ return m_limit; } /** *

The maximum number of results returned by ListMeshes in * paginated output. When you use this parameter, ListMeshes returns * only limit results in a single page along with a * nextToken response element. You can see the remaining results of * the initial request by sending another ListMeshes request with the * returned nextToken value. This value can be between 1 and 100. If * you don't use this parameter, ListMeshes returns up to 100 results * and a nextToken value if applicable.

*/ inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; } /** *

The maximum number of results returned by ListMeshes in * paginated output. When you use this parameter, ListMeshes returns * only limit results in a single page along with a * nextToken response element. You can see the remaining results of * the initial request by sending another ListMeshes request with the * returned nextToken value. This value can be between 1 and 100. If * you don't use this parameter, ListMeshes returns up to 100 results * and a nextToken value if applicable.

*/ inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; } /** *

The maximum number of results returned by ListMeshes in * paginated output. When you use this parameter, ListMeshes returns * only limit results in a single page along with a * nextToken response element. You can see the remaining results of * the initial request by sending another ListMeshes request with the * returned nextToken value. This value can be between 1 and 100. If * you don't use this parameter, ListMeshes returns up to 100 results * and a nextToken value if applicable.

*/ inline ListMeshesRequest& WithLimit(int value) { SetLimit(value); return *this;} /** *

The nextToken value returned from a previous paginated * ListMeshes request where limit was used and the * results exceeded the value of that parameter. Pagination continues from the end * of the previous results that returned the nextToken value.

*

This token should be treated as an opaque identifier that is used only * to retrieve the next items in a list and not for other programmatic * purposes.

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

The nextToken value returned from a previous paginated * ListMeshes request where limit was used and the * results exceeded the value of that parameter. Pagination continues from the end * of the previous results that returned the nextToken value.

*

This token should be treated as an opaque identifier that is used only * to retrieve the next items in a list and not for other programmatic * purposes.

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

The nextToken value returned from a previous paginated * ListMeshes request where limit was used and the * results exceeded the value of that parameter. Pagination continues from the end * of the previous results that returned the nextToken value.

*

This token should be treated as an opaque identifier that is used only * to retrieve the next items in a list and not for other programmatic * purposes.

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

The nextToken value returned from a previous paginated * ListMeshes request where limit was used and the * results exceeded the value of that parameter. Pagination continues from the end * of the previous results that returned the nextToken value.

*

This token should be treated as an opaque identifier that is used only * to retrieve the next items in a list and not for other programmatic * purposes.

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

The nextToken value returned from a previous paginated * ListMeshes request where limit was used and the * results exceeded the value of that parameter. Pagination continues from the end * of the previous results that returned the nextToken value.

*

This token should be treated as an opaque identifier that is used only * to retrieve the next items in a list and not for other programmatic * purposes.

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

The nextToken value returned from a previous paginated * ListMeshes request where limit was used and the * results exceeded the value of that parameter. Pagination continues from the end * of the previous results that returned the nextToken value.

*

This token should be treated as an opaque identifier that is used only * to retrieve the next items in a list and not for other programmatic * purposes.

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

The nextToken value returned from a previous paginated * ListMeshes request where limit was used and the * results exceeded the value of that parameter. Pagination continues from the end * of the previous results that returned the nextToken value.

*

This token should be treated as an opaque identifier that is used only * to retrieve the next items in a list and not for other programmatic * purposes.

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

The nextToken value returned from a previous paginated * ListMeshes request where limit was used and the * results exceeded the value of that parameter. Pagination continues from the end * of the previous results that returned the nextToken value.

*

This token should be treated as an opaque identifier that is used only * to retrieve the next items in a list and not for other programmatic * purposes.

*/ inline ListMeshesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: int m_limit; bool m_limitHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace AppMesh } // namespace Aws