7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/cost-optimization-hub/CostOptimizationHubRequest.h>
9#include <aws/cost-optimization-hub/model/Filter.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/cost-optimization-hub/model/SummaryMetrics.h>
17namespace CostOptimizationHub
44 inline void SetFilter(
const Filter& value) { m_filterHasBeenSet =
true; m_filter = value; }
45 inline void SetFilter(
Filter&& value) { m_filterHasBeenSet =
true; m_filter = std::move(value); }
58 inline void SetGroupBy(
const char* value) { m_groupByHasBeenSet =
true; m_groupBy.assign(value); }
70 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
97 inline void SetNextToken(
const char* value) { m_nextTokenHasBeenSet =
true; m_nextToken.assign(value); }
105 bool m_filterHasBeenSet =
false;
108 bool m_groupByHasBeenSet =
false;
111 bool m_maxResultsHasBeenSet =
false;
114 bool m_metricsHasBeenSet =
false;
117 bool m_nextTokenHasBeenSet =
false;
AWS_COSTOPTIMIZATIONHUB_API Aws::String SerializePayload() const override
ListRecommendationSummariesRequest & WithNextToken(const char *value)
void SetNextToken(Aws::String &&value)
int GetMaxResults() const
bool NextTokenHasBeenSet() const
bool MetricsHasBeenSet() const
bool MaxResultsHasBeenSet() const
AWS_COSTOPTIMIZATIONHUB_API ListRecommendationSummariesRequest()
void SetGroupBy(Aws::String &&value)
const Aws::String & GetNextToken() const
ListRecommendationSummariesRequest & AddMetrics(SummaryMetrics &&value)
ListRecommendationSummariesRequest & WithMetrics(Aws::Vector< SummaryMetrics > &&value)
ListRecommendationSummariesRequest & WithGroupBy(const char *value)
const Aws::String & GetGroupBy() const
ListRecommendationSummariesRequest & WithGroupBy(Aws::String &&value)
bool FilterHasBeenSet() const
ListRecommendationSummariesRequest & AddMetrics(const SummaryMetrics &value)
virtual const char * GetServiceRequestName() const override
void SetNextToken(const Aws::String &value)
ListRecommendationSummariesRequest & WithMaxResults(int value)
ListRecommendationSummariesRequest & WithMetrics(const Aws::Vector< SummaryMetrics > &value)
void SetMetrics(Aws::Vector< SummaryMetrics > &&value)
void SetGroupBy(const char *value)
ListRecommendationSummariesRequest & WithFilter(const Filter &value)
void SetFilter(Filter &&value)
void SetMetrics(const Aws::Vector< SummaryMetrics > &value)
const Filter & GetFilter() const
AWS_COSTOPTIMIZATIONHUB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListRecommendationSummariesRequest & WithNextToken(const Aws::String &value)
void SetFilter(const Filter &value)
ListRecommendationSummariesRequest & WithFilter(Filter &&value)
ListRecommendationSummariesRequest & WithGroupBy(const Aws::String &value)
void SetNextToken(const char *value)
void SetGroupBy(const Aws::String &value)
bool GroupByHasBeenSet() const
ListRecommendationSummariesRequest & WithNextToken(Aws::String &&value)
const Aws::Vector< SummaryMetrics > & GetMetrics() const
void SetMaxResults(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector