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>
67 inline void SetMetric(
const Metric& value) { m_metricHasBeenSet =
true; m_metric = value; }
68 inline void SetMetric(
Metric&& value) { m_metricHasBeenSet =
true; m_metric = std::move(value); }
132 bool m_timePeriodHasBeenSet =
false;
135 bool m_metricHasBeenSet =
false;
138 bool m_granularityHasBeenSet =
false;
141 bool m_filterHasBeenSet =
false;
143 int m_predictionIntervalLevel;
144 bool m_predictionIntervalLevelHasBeenSet =
false;
void SetPredictionIntervalLevel(int value)
const Granularity & GetGranularity() const
GetUsageForecastRequest & WithTimePeriod(DateInterval &&value)
GetUsageForecastRequest & WithTimePeriod(const DateInterval &value)
bool TimePeriodHasBeenSet() const
GetUsageForecastRequest & WithMetric(Metric &&value)
void SetGranularity(const Granularity &value)
const Metric & GetMetric() const
virtual const char * GetServiceRequestName() const override
void SetMetric(Metric &&value)
void SetFilter(Expression &&value)
const DateInterval & GetTimePeriod() const
AWS_COSTEXPLORER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetUsageForecastRequest & WithMetric(const Metric &value)
void SetTimePeriod(const DateInterval &value)
void SetMetric(const Metric &value)
GetUsageForecastRequest & WithPredictionIntervalLevel(int value)
bool MetricHasBeenSet() const
const Expression & GetFilter() const
AWS_COSTEXPLORER_API Aws::String SerializePayload() const override
GetUsageForecastRequest & WithGranularity(Granularity &&value)
GetUsageForecastRequest & WithFilter(Expression &&value)
void SetGranularity(Granularity &&value)
GetUsageForecastRequest & WithGranularity(const Granularity &value)
void SetFilter(const Expression &value)
bool FilterHasBeenSet() const
AWS_COSTEXPLORER_API GetUsageForecastRequest()
GetUsageForecastRequest & WithFilter(const Expression &value)
bool GranularityHasBeenSet() const
bool PredictionIntervalLevelHasBeenSet() const
int GetPredictionIntervalLevel() const
void SetTimePeriod(DateInterval &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String