7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/CostExplorerRequest.h>
9#include <aws/ce/model/DateInterval.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/ce/model/Granularity.h>
12#include <aws/ce/model/Expression.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/ce/model/SortDefinition.h>
15#include <aws/ce/model/GroupDefinition.h>
52 template<
typename TimePeriodT = DateInterval>
53 void SetTimePeriod(TimePeriodT&& value) { m_timePeriodHasBeenSet =
true; m_timePeriod = std::forward<TimePeriodT>(value); }
54 template<
typename TimePeriodT = DateInterval>
65 template<
typename GroupByT = Aws::Vector<GroupDefinition>>
66 void SetGroupBy(GroupByT&& value) { m_groupByHasBeenSet =
true; m_groupBy = std::forward<GroupByT>(value); }
67 template<
typename GroupByT = Aws::Vector<GroupDefinition>>
69 template<
typename GroupByT = GroupDefinition>
100 template<
typename FilterT = Expression>
101 void SetFilter(FilterT&& value) { m_filterHasBeenSet =
true; m_filter = std::forward<FilterT>(value); }
102 template<
typename FilterT = Expression>
113 template<
typename MetricsT = Aws::Vector<Aws::String>>
114 void SetMetrics(MetricsT&& value) { m_metricsHasBeenSet =
true; m_metrics = std::forward<MetricsT>(value); }
115 template<
typename MetricsT = Aws::Vector<Aws::String>>
117 template<
typename MetricsT = Aws::String>
129 template<
typename NextTokenT = Aws::String>
130 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
131 template<
typename NextTokenT = Aws::String>
142 inline void SetMaxResults(
int value) { m_maxResultsHasBeenSet =
true; m_maxResults = value; }
160 template<
typename SortByT = SortDefinition>
161 void SetSortBy(SortByT&& value) { m_sortByHasBeenSet =
true; m_sortBy = std::forward<SortByT>(value); }
162 template<
typename SortByT = SortDefinition>
168 bool m_timePeriodHasBeenSet =
false;
171 bool m_groupByHasBeenSet =
false;
174 bool m_granularityHasBeenSet =
false;
177 bool m_filterHasBeenSet =
false;
180 bool m_metricsHasBeenSet =
false;
183 bool m_nextTokenHasBeenSet =
false;
186 bool m_maxResultsHasBeenSet =
false;
188 SortDefinition m_sortBy;
189 bool m_sortByHasBeenSet =
false;
AWS_COSTEXPLORER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetFilter(FilterT &&value)
void SetMaxResults(int value)
const DateInterval & GetTimePeriod() const
const Aws::Vector< Aws::String > & GetMetrics() const
AWS_COSTEXPLORER_API GetSavingsPlansCoverageRequest()=default
bool TimePeriodHasBeenSet() const
void SetGroupBy(GroupByT &&value)
void SetSortBy(SortByT &&value)
void SetGranularity(Granularity value)
const SortDefinition & GetSortBy() const
bool MaxResultsHasBeenSet() const
bool GroupByHasBeenSet() const
GetSavingsPlansCoverageRequest & WithFilter(FilterT &&value)
bool SortByHasBeenSet() const
GetSavingsPlansCoverageRequest & WithMetrics(MetricsT &&value)
bool MetricsHasBeenSet() const
GetSavingsPlansCoverageRequest & WithMaxResults(int value)
GetSavingsPlansCoverageRequest & WithNextToken(NextTokenT &&value)
GetSavingsPlansCoverageRequest & AddGroupBy(GroupByT &&value)
GetSavingsPlansCoverageRequest & WithGranularity(Granularity value)
const Aws::Vector< GroupDefinition > & GetGroupBy() const
GetSavingsPlansCoverageRequest & AddMetrics(MetricsT &&value)
bool NextTokenHasBeenSet() const
Granularity GetGranularity() const
bool GranularityHasBeenSet() const
void SetMetrics(MetricsT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetNextToken() const
void SetNextToken(NextTokenT &&value)
int GetMaxResults() const
GetSavingsPlansCoverageRequest & WithSortBy(SortByT &&value)
const Expression & GetFilter() const
GetSavingsPlansCoverageRequest & WithTimePeriod(TimePeriodT &&value)
void SetTimePeriod(TimePeriodT &&value)
GetSavingsPlansCoverageRequest & WithGroupBy(GroupByT &&value)
bool FilterHasBeenSet() const
AWS_COSTEXPLORER_API Aws::String SerializePayload() const override
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