AWS SDK for C++
AWS SDK for C++ Version 1.11.751
Main Page
Related Pages
Namespaces
Classes
Modules
Search
Loading...
Searching...
No Matches
generated
src
aws-cpp-sdk-ce
include
aws
ce
model
GetRightsizingRecommendationPaginationTraits.h
1
6
#pragma once
7
#include <aws/ce/CostExplorerServiceClientModel.h>
8
#include <aws/ce/CostExplorer_EXPORTS.h>
9
#include <aws/ce/model/GetRightsizingRecommendationRequest.h>
10
#include <aws/ce/model/GetRightsizingRecommendationResult.h>
11
12
namespace
Aws
{
13
namespace
CostExplorer {
14
namespace
Pagination {
15
16
template
<
typename
Client = CostExplorerClient>
17
struct
GetRightsizingRecommendationPaginationTraits
{
18
using
RequestType
=
Model::GetRightsizingRecommendationRequest
;
19
using
ResultType
=
Model::GetRightsizingRecommendationResult
;
20
using
OutcomeType
=
Model::GetRightsizingRecommendationOutcome
;
21
using
ClientType
= Client;
22
23
static
OutcomeType
Invoke
(Client* client,
const
RequestType
& request) {
return
client->GetRightsizingRecommendation(request); }
24
25
static
bool
HasMoreResults
(
const
ResultType
& result) {
return
!result.
GetNextPageToken
().empty(); }
26
27
static
void
SetNextRequest
(
const
ResultType
& result,
RequestType
& request) { request.
SetNextPageToken
(result.
GetNextPageToken
()); }
28
};
29
30
}
// namespace Pagination
31
}
// namespace CostExplorer
32
}
// namespace Aws
Aws::CostExplorer::Model::GetRightsizingRecommendationRequest
Definition
GetRightsizingRecommendationRequest.h:21
Aws::CostExplorer::Model::GetRightsizingRecommendationRequest::SetNextPageToken
void SetNextPageToken(NextPageTokenT &&value)
Definition
GetRightsizingRecommendationRequest.h:117
Aws::CostExplorer::Model::GetRightsizingRecommendationResult
Definition
GetRightsizingRecommendationResult.h:28
Aws::CostExplorer::Model::GetRightsizingRecommendationResult::GetNextPageToken
const Aws::String & GetNextPageToken() const
Definition
GetRightsizingRecommendationResult.h:96
Aws::Utils::Outcome
Aws::CostExplorer::Model::GetRightsizingRecommendationOutcome
Aws::Utils::Outcome< GetRightsizingRecommendationResult, CostExplorerError > GetRightsizingRecommendationOutcome
Definition
CostExplorerServiceClientModel.h:183
Aws
Aws::CostExplorer::Pagination::GetRightsizingRecommendationPaginationTraits
Definition
GetRightsizingRecommendationPaginationTraits.h:17
Aws::CostExplorer::Pagination::GetRightsizingRecommendationPaginationTraits::SetNextRequest
static void SetNextRequest(const ResultType &result, RequestType &request)
Definition
GetRightsizingRecommendationPaginationTraits.h:27
Aws::CostExplorer::Pagination::GetRightsizingRecommendationPaginationTraits::Invoke
static OutcomeType Invoke(Client *client, const RequestType &request)
Definition
GetRightsizingRecommendationPaginationTraits.h:23
Aws::CostExplorer::Pagination::GetRightsizingRecommendationPaginationTraits::HasMoreResults
static bool HasMoreResults(const ResultType &result)
Definition
GetRightsizingRecommendationPaginationTraits.h:25
Aws::CostExplorer::Pagination::GetRightsizingRecommendationPaginationTraits::ClientType
Client ClientType
Definition
GetRightsizingRecommendationPaginationTraits.h:21
Generated by
1.9.8
Privacy |
Site terms |
Cookie preferences