7#include <aws/cost-optimization-hub/CostOptimizationHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cost-optimization-hub/model/SummaryMetricsResult.h>
11#include <aws/cost-optimization-hub/model/RecommendationSummary.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
26namespace CostOptimizationHub
52 template<
typename ItemsT = Aws::Vector<RecommendationSummary>>
53 void SetItems(ItemsT&& value) { m_itemsHasBeenSet =
true; m_items = std::forward<ItemsT>(value); }
54 template<
typename ItemsT = Aws::Vector<RecommendationSummary>>
56 template<
typename ItemsT = RecommendationSummary>
65 template<
typename GroupByT = Aws::String>
66 void SetGroupBy(GroupByT&& value) { m_groupByHasBeenSet =
true; m_groupBy = std::forward<GroupByT>(value); }
67 template<
typename GroupByT = Aws::String>
76 template<
typename CurrencyCodeT = Aws::String>
77 void SetCurrencyCode(CurrencyCodeT&& value) { m_currencyCodeHasBeenSet =
true; m_currencyCode = std::forward<CurrencyCodeT>(value); }
78 template<
typename CurrencyCodeT = Aws::String>
88 template<
typename MetricsT = SummaryMetricsResult>
89 void SetMetrics(MetricsT&& value) { m_metricsHasBeenSet =
true; m_metrics = std::forward<MetricsT>(value); }
90 template<
typename MetricsT = SummaryMetricsResult>
99 template<
typename NextTokenT = Aws::String>
100 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
101 template<
typename NextTokenT = Aws::String>
108 template<
typename RequestIdT = Aws::String>
109 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
110 template<
typename RequestIdT = Aws::String>
115 double m_estimatedTotalDedupedSavings{0.0};
116 bool m_estimatedTotalDedupedSavingsHasBeenSet =
false;
119 bool m_itemsHasBeenSet =
false;
122 bool m_groupByHasBeenSet =
false;
125 bool m_currencyCodeHasBeenSet =
false;
127 SummaryMetricsResult m_metrics;
128 bool m_metricsHasBeenSet =
false;
131 bool m_nextTokenHasBeenSet =
false;
134 bool m_requestIdHasBeenSet =
false;
const SummaryMetricsResult & GetMetrics() const
const Aws::String & GetRequestId() const
AWS_COSTOPTIMIZATIONHUB_API ListRecommendationSummariesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetNextToken() const
ListRecommendationSummariesResult & AddItems(ItemsT &&value)
ListRecommendationSummariesResult & WithNextToken(NextTokenT &&value)
void SetGroupBy(GroupByT &&value)
void SetCurrencyCode(CurrencyCodeT &&value)
double GetEstimatedTotalDedupedSavings() const
ListRecommendationSummariesResult & WithCurrencyCode(CurrencyCodeT &&value)
void SetItems(ItemsT &&value)
ListRecommendationSummariesResult & WithEstimatedTotalDedupedSavings(double value)
void SetNextToken(NextTokenT &&value)
void SetMetrics(MetricsT &&value)
AWS_COSTOPTIMIZATIONHUB_API ListRecommendationSummariesResult()=default
void SetRequestId(RequestIdT &&value)
ListRecommendationSummariesResult & WithItems(ItemsT &&value)
const Aws::String & GetGroupBy() const
ListRecommendationSummariesResult & WithRequestId(RequestIdT &&value)
AWS_COSTOPTIMIZATIONHUB_API ListRecommendationSummariesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< RecommendationSummary > & GetItems() const
ListRecommendationSummariesResult & WithMetrics(MetricsT &&value)
const Aws::String & GetCurrencyCode() const
void SetEstimatedTotalDedupedSavings(double value)
ListRecommendationSummariesResult & WithGroupBy(GroupByT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue