AWS SDK for C++
AWS SDK for C++ Version 1.11.767
Main Page
Related Pages
Namespaces
Classes
Modules
Search
Loading...
Searching...
No Matches
generated
src
aws-cpp-sdk-apigateway
include
aws
apigateway
model
GetUsagePlansPaginationTraits.h
1
6
#pragma once
7
#include <aws/apigateway/APIGatewayServiceClientModel.h>
8
#include <aws/apigateway/APIGateway_EXPORTS.h>
9
#include <aws/apigateway/model/GetUsagePlansRequest.h>
10
#include <aws/apigateway/model/GetUsagePlansResult.h>
11
12
namespace
Aws
{
13
namespace
APIGateway {
14
namespace
Pagination {
15
16
template
<
typename
Client = APIGatewayClient>
17
struct
GetUsagePlansPaginationTraits
{
18
using
RequestType
=
Model::GetUsagePlansRequest
;
19
using
ResultType
=
Model::GetUsagePlansResult
;
20
using
OutcomeType
=
Model::GetUsagePlansOutcome
;
21
using
ClientType
= Client;
22
23
static
OutcomeType
Invoke
(Client* client,
const
RequestType
& request) {
return
client->GetUsagePlans(request); }
24
25
static
bool
HasMoreResults
(
const
ResultType
& result) {
return
!result.
GetPosition
().empty(); }
26
27
static
void
SetNextRequest
(
const
ResultType
& result,
RequestType
& request) { request.
SetPosition
(result.
GetPosition
()); }
28
};
29
30
}
// namespace Pagination
31
}
// namespace APIGateway
32
}
// namespace Aws
Aws::APIGateway::Model::GetUsagePlansRequest
Definition
GetUsagePlansRequest.h:26
Aws::APIGateway::Model::GetUsagePlansRequest::SetPosition
void SetPosition(PositionT &&value)
Definition
GetUsagePlansRequest.h:47
Aws::APIGateway::Model::GetUsagePlansResult
Definition
GetUsagePlansResult.h:32
Aws::APIGateway::Model::GetUsagePlansResult::GetPosition
const Aws::String & GetPosition() const
Definition
GetUsagePlansResult.h:40
Aws::Utils::Outcome
Aws::APIGateway::Model::GetUsagePlansOutcome
Aws::Utils::Outcome< GetUsagePlansResult, APIGatewayError > GetUsagePlansOutcome
Definition
APIGatewayServiceClientModel.h:377
Aws
Aws::APIGateway::Pagination::GetUsagePlansPaginationTraits
Definition
GetUsagePlansPaginationTraits.h:17
Aws::APIGateway::Pagination::GetUsagePlansPaginationTraits::ClientType
Client ClientType
Definition
GetUsagePlansPaginationTraits.h:21
Aws::APIGateway::Pagination::GetUsagePlansPaginationTraits::SetNextRequest
static void SetNextRequest(const ResultType &result, RequestType &request)
Definition
GetUsagePlansPaginationTraits.h:27
Aws::APIGateway::Pagination::GetUsagePlansPaginationTraits::Invoke
static OutcomeType Invoke(Client *client, const RequestType &request)
Definition
GetUsagePlansPaginationTraits.h:23
Aws::APIGateway::Pagination::GetUsagePlansPaginationTraits::HasMoreResults
static bool HasMoreResults(const ResultType &result)
Definition
GetUsagePlansPaginationTraits.h:25
Generated by
1.9.8
Privacy |
Site terms |
Cookie preferences