AWS SDK for C++
AWS SDK for C++ Version 1.11.761
Main Page
Related Pages
Namespaces
Classes
Modules
Search
Loading...
Searching...
No Matches
generated
src
aws-cpp-sdk-synthetics
include
aws
synthetics
model
GetCanaryRunsPaginationTraits.h
1
6
#pragma once
7
#include <aws/synthetics/SyntheticsServiceClientModel.h>
8
#include <aws/synthetics/Synthetics_EXPORTS.h>
9
#include <aws/synthetics/model/GetCanaryRunsRequest.h>
10
#include <aws/synthetics/model/GetCanaryRunsResult.h>
11
12
namespace
Aws
{
13
namespace
Synthetics {
14
namespace
Pagination {
15
16
template
<
typename
Client = SyntheticsClient>
17
struct
GetCanaryRunsPaginationTraits
{
18
using
RequestType
=
Model::GetCanaryRunsRequest
;
19
using
ResultType
=
Model::GetCanaryRunsResult
;
20
using
OutcomeType
=
Model::GetCanaryRunsOutcome
;
21
using
ClientType
= Client;
22
23
static
OutcomeType
Invoke
(Client* client,
const
RequestType
& request) {
return
client->GetCanaryRuns(request); }
24
25
static
bool
HasMoreResults
(
const
ResultType
& result) {
return
!result.
GetNextToken
().empty(); }
26
27
static
void
SetNextRequest
(
const
ResultType
& result,
RequestType
& request) { request.
SetNextToken
(result.
GetNextToken
()); }
28
};
29
30
}
// namespace Pagination
31
}
// namespace Synthetics
32
}
// namespace Aws
Aws::Synthetics::Model::GetCanaryRunsRequest
Definition
GetCanaryRunsRequest.h:20
Aws::Synthetics::Model::GetCanaryRunsRequest::SetNextToken
void SetNextToken(NextTokenT &&value)
Definition
GetCanaryRunsRequest.h:61
Aws::Synthetics::Model::GetCanaryRunsResult
Definition
GetCanaryRunsResult.h:26
Aws::Synthetics::Model::GetCanaryRunsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition
GetCanaryRunsResult.h:62
Aws::Utils::Outcome
Aws::Synthetics::Model::GetCanaryRunsOutcome
Aws::Utils::Outcome< GetCanaryRunsResult, SyntheticsError > GetCanaryRunsOutcome
Definition
SyntheticsServiceClientModel.h:116
Aws
Aws::Synthetics::Pagination::GetCanaryRunsPaginationTraits
Definition
GetCanaryRunsPaginationTraits.h:17
Aws::Synthetics::Pagination::GetCanaryRunsPaginationTraits::SetNextRequest
static void SetNextRequest(const ResultType &result, RequestType &request)
Definition
GetCanaryRunsPaginationTraits.h:27
Aws::Synthetics::Pagination::GetCanaryRunsPaginationTraits::ClientType
Client ClientType
Definition
GetCanaryRunsPaginationTraits.h:21
Aws::Synthetics::Pagination::GetCanaryRunsPaginationTraits::Invoke
static OutcomeType Invoke(Client *client, const RequestType &request)
Definition
GetCanaryRunsPaginationTraits.h:23
Aws::Synthetics::Pagination::GetCanaryRunsPaginationTraits::HasMoreResults
static bool HasMoreResults(const ResultType &result)
Definition
GetCanaryRunsPaginationTraits.h:25
Generated by
1.9.8
Privacy |
Site terms |
Cookie preferences