/** * 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 ApiGatewayV2 { namespace Model { /** */ class GetVpcLinksRequest : public ApiGatewayV2Request { public: AWS_APIGATEWAYV2_API GetVpcLinksRequest(); // 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 "GetVpcLinks"; } AWS_APIGATEWAYV2_API Aws::String SerializePayload() const override; AWS_APIGATEWAYV2_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The maximum number of elements to be returned for this resource.

*/ inline const Aws::String& GetMaxResults() const{ return m_maxResults; } /** *

The maximum number of elements to be returned for this resource.

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

The maximum number of elements to be returned for this resource.

*/ inline void SetMaxResults(const Aws::String& value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

The maximum number of elements to be returned for this resource.

*/ inline void SetMaxResults(Aws::String&& value) { m_maxResultsHasBeenSet = true; m_maxResults = std::move(value); } /** *

The maximum number of elements to be returned for this resource.

*/ inline void SetMaxResults(const char* value) { m_maxResultsHasBeenSet = true; m_maxResults.assign(value); } /** *

The maximum number of elements to be returned for this resource.

*/ inline GetVpcLinksRequest& WithMaxResults(const Aws::String& value) { SetMaxResults(value); return *this;} /** *

The maximum number of elements to be returned for this resource.

*/ inline GetVpcLinksRequest& WithMaxResults(Aws::String&& value) { SetMaxResults(std::move(value)); return *this;} /** *

The maximum number of elements to be returned for this resource.

*/ inline GetVpcLinksRequest& WithMaxResults(const char* value) { SetMaxResults(value); return *this;} /** *

The next page of elements from this collection. Not valid for the last * element of the collection.

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

The next page of elements from this collection. Not valid for the last * element of the collection.

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

The next page of elements from this collection. Not valid for the last * element of the collection.

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

The next page of elements from this collection. Not valid for the last * element of the collection.

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

The next page of elements from this collection. Not valid for the last * element of the collection.

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

The next page of elements from this collection. Not valid for the last * element of the collection.

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

The next page of elements from this collection. Not valid for the last * element of the collection.

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

The next page of elements from this collection. Not valid for the last * element of the collection.

*/ inline GetVpcLinksRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::String m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace ApiGatewayV2 } // namespace Aws