AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
DescribeProjectVersionsPaginationTraits.h
1
6#pragma once
7#include <aws/rekognition/RekognitionServiceClientModel.h>
8#include <aws/rekognition/Rekognition_EXPORTS.h>
9#include <aws/rekognition/model/DescribeProjectVersionsRequest.h>
10#include <aws/rekognition/model/DescribeProjectVersionsResult.h>
11
12namespace Aws {
13namespace Rekognition {
14namespace Pagination {
15
16template <typename Client = RekognitionClient>
21 using ClientType = Client;
22
23 static OutcomeType Invoke(Client* client, const RequestType& request) { return client->DescribeProjectVersions(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 Rekognition
32} // namespace Aws
Aws::Utils::Outcome< DescribeProjectVersionsResult, RekognitionError > DescribeProjectVersionsOutcome