AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DescribeClusterSnapshotsPaginationTraits.h
1
6#pragma once
7#include <aws/redshift/RedshiftServiceClientModel.h>
8#include <aws/redshift/Redshift_EXPORTS.h>
9#include <aws/redshift/model/DescribeClusterSnapshotsRequest.h>
10#include <aws/redshift/model/DescribeClusterSnapshotsResult.h>
11
12namespace Aws {
13namespace Redshift {
14namespace Pagination {
15
16template <typename Client = RedshiftClient>
21 using ClientType = Client;
22
23 static OutcomeType Invoke(Client* client, const RequestType& request) { return client->DescribeClusterSnapshots(request); }
24
25 static bool HasMoreResults(const ResultType& result) { return !result.GetMarker().empty(); }
26
27 static void SetNextRequest(const ResultType& result, RequestType& request) { request.SetMarker(result.GetMarker()); }
28};
29
30} // namespace Pagination
31} // namespace Redshift
32} // namespace Aws
Aws::Utils::Outcome< DescribeClusterSnapshotsResult, RedshiftError > DescribeClusterSnapshotsOutcome
static OutcomeType Invoke(Client *client, const RequestType &request)