7#include <aws/ce/CostExplorer_EXPORTS.h>
8#include <aws/ce/CostExplorerRequest.h>
9#include <aws/ce/model/DateInterval.h>
10#include <aws/ce/model/Metric.h>
11#include <aws/ce/model/Granularity.h>
12#include <aws/ce/model/Expression.h>
66 inline void SetMetric(
const Metric& value) { m_metricHasBeenSet =
true; m_metric = value; }
67 inline void SetMetric(
Metric&& value) { m_metricHasBeenSet =
true; m_metric = std::move(value); }
131 bool m_timePeriodHasBeenSet =
false;
134 bool m_metricHasBeenSet =
false;
137 bool m_granularityHasBeenSet =
false;
140 bool m_filterHasBeenSet =
false;
142 int m_predictionIntervalLevel;
143 bool m_predictionIntervalLevelHasBeenSet =
false;
GetCostForecastRequest & WithTimePeriod(const DateInterval &value)
bool MetricHasBeenSet() const
GetCostForecastRequest & WithMetric(Metric &&value)
GetCostForecastRequest & WithFilter(const Expression &value)
void SetTimePeriod(DateInterval &&value)
void SetMetric(Metric &&value)
GetCostForecastRequest & WithFilter(Expression &&value)
bool GranularityHasBeenSet() const
AWS_COSTEXPLORER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Granularity & GetGranularity() const
void SetGranularity(Granularity &&value)
const Expression & GetFilter() const
virtual const char * GetServiceRequestName() const override
AWS_COSTEXPLORER_API GetCostForecastRequest()
GetCostForecastRequest & WithTimePeriod(DateInterval &&value)
void SetPredictionIntervalLevel(int value)
GetCostForecastRequest & WithGranularity(const Granularity &value)
bool TimePeriodHasBeenSet() const
bool FilterHasBeenSet() const
void SetFilter(const Expression &value)
GetCostForecastRequest & WithGranularity(Granularity &&value)
GetCostForecastRequest & WithPredictionIntervalLevel(int value)
AWS_COSTEXPLORER_API Aws::String SerializePayload() const override
GetCostForecastRequest & WithMetric(const Metric &value)
void SetMetric(const Metric &value)
bool PredictionIntervalLevelHasBeenSet() const
void SetFilter(Expression &&value)
void SetTimePeriod(const DateInterval &value)
void SetGranularity(const Granularity &value)
const DateInterval & GetTimePeriod() const
const Metric & GetMetric() const
int GetPredictionIntervalLevel() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String