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>
13#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename TimePeriodT = DateInterval>
49 void SetTimePeriod(TimePeriodT&& value) { m_timePeriodHasBeenSet =
true; m_timePeriod = std::forward<TimePeriodT>(value); }
50 template<
typename TimePeriodT = DateInterval>
67 inline void SetMetric(
Metric value) { m_metricHasBeenSet =
true; m_metric = value; }
106 template<
typename FilterT = Expression>
107 void SetFilter(FilterT&& value) { m_filterHasBeenSet =
true; m_filter = std::forward<FilterT>(value); }
108 template<
typename FilterT = Expression>
122 template<
typename BillingViewArnT = Aws::String>
123 void SetBillingViewArn(BillingViewArnT&& value) { m_billingViewArnHasBeenSet =
true; m_billingViewArn = std::forward<BillingViewArnT>(value); }
124 template<
typename BillingViewArnT = Aws::String>
144 bool m_timePeriodHasBeenSet =
false;
147 bool m_metricHasBeenSet =
false;
150 bool m_granularityHasBeenSet =
false;
153 bool m_filterHasBeenSet =
false;
156 bool m_billingViewArnHasBeenSet =
false;
158 int m_predictionIntervalLevel{0};
159 bool m_predictionIntervalLevelHasBeenSet =
false;
bool MetricHasBeenSet() const
GetCostForecastRequest & WithBillingViewArn(BillingViewArnT &&value)
Granularity GetGranularity() const
bool GranularityHasBeenSet() const
AWS_COSTEXPLORER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetCostForecastRequest & WithMetric(Metric value)
const Expression & GetFilter() const
GetCostForecastRequest & WithTimePeriod(TimePeriodT &&value)
virtual const char * GetServiceRequestName() const override
void SetTimePeriod(TimePeriodT &&value)
void SetPredictionIntervalLevel(int value)
void SetMetric(Metric value)
const Aws::String & GetBillingViewArn() const
AWS_COSTEXPLORER_API GetCostForecastRequest()=default
bool TimePeriodHasBeenSet() const
bool FilterHasBeenSet() const
void SetBillingViewArn(BillingViewArnT &&value)
GetCostForecastRequest & WithGranularity(Granularity value)
GetCostForecastRequest & WithFilter(FilterT &&value)
GetCostForecastRequest & WithPredictionIntervalLevel(int value)
AWS_COSTEXPLORER_API Aws::String SerializePayload() const override
void SetFilter(FilterT &&value)
bool PredictionIntervalLevelHasBeenSet() const
void SetGranularity(Granularity value)
const DateInterval & GetTimePeriod() const
int GetPredictionIntervalLevel() const
bool BillingViewArnHasBeenSet() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String