This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files

142 lines
4.7 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/apigatewayv2/ApiGatewayV2_EXPORTS.h>
#include <aws/apigatewayv2/ApiGatewayV2Request.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace Http
{
class URI;
} //namespace Http
namespace ApiGatewayV2
{
namespace Model
{
/**
*/
class AWS_APIGATEWAYV2_API GetApisRequest : public ApiGatewayV2Request
{
public:
GetApisRequest();
// 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 "GetApis"; }
Aws::String SerializePayload() const override;
void AddQueryStringParameters(Aws::Http::URI& uri) const override;
/**
* <p>The maximum number of elements to be returned for this resource.</p>
*/
inline const Aws::String& GetMaxResults() const{ return m_maxResults; }
/**
* <p>The maximum number of elements to be returned for this resource.</p>
*/
inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
/**
* <p>The maximum number of elements to be returned for this resource.</p>
*/
inline void SetMaxResults(const Aws::String& value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
/**
* <p>The maximum number of elements to be returned for this resource.</p>
*/
inline void SetMaxResults(Aws::String&& value) { m_maxResultsHasBeenSet = true; m_maxResults = std::move(value); }
/**
* <p>The maximum number of elements to be returned for this resource.</p>
*/
inline void SetMaxResults(const char* value) { m_maxResultsHasBeenSet = true; m_maxResults.assign(value); }
/**
* <p>The maximum number of elements to be returned for this resource.</p>
*/
inline GetApisRequest& WithMaxResults(const Aws::String& value) { SetMaxResults(value); return *this;}
/**
* <p>The maximum number of elements to be returned for this resource.</p>
*/
inline GetApisRequest& WithMaxResults(Aws::String&& value) { SetMaxResults(std::move(value)); return *this;}
/**
* <p>The maximum number of elements to be returned for this resource.</p>
*/
inline GetApisRequest& WithMaxResults(const char* value) { SetMaxResults(value); return *this;}
/**
* <p>The next page of elements from this collection. Not valid for the last
* element of the collection.</p>
*/
inline const Aws::String& GetNextToken() const{ return m_nextToken; }
/**
* <p>The next page of elements from this collection. Not valid for the last
* element of the collection.</p>
*/
inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
/**
* <p>The next page of elements from this collection. Not valid for the last
* element of the collection.</p>
*/
inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
/**
* <p>The next page of elements from this collection. Not valid for the last
* element of the collection.</p>
*/
inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
/**
* <p>The next page of elements from this collection. Not valid for the last
* element of the collection.</p>
*/
inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
/**
* <p>The next page of elements from this collection. Not valid for the last
* element of the collection.</p>
*/
inline GetApisRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
/**
* <p>The next page of elements from this collection. Not valid for the last
* element of the collection.</p>
*/
inline GetApisRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
/**
* <p>The next page of elements from this collection. Not valid for the last
* element of the collection.</p>
*/
inline GetApisRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
private:
Aws::String m_maxResults;
bool m_maxResultsHasBeenSet;
Aws::String m_nextToken;
bool m_nextTokenHasBeenSet;
};
} // namespace Model
} // namespace ApiGatewayV2
} // namespace Aws