7#include <aws/ce/CostExplorerRequest.h>
8#include <aws/ce/CostExplorer_EXPORTS.h>
9#include <aws/ce/model/DateInterval.h>
10#include <aws/ce/model/Expression.h>
11#include <aws/ce/model/Granularity.h>
12#include <aws/ce/model/Metric.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
18namespace CostExplorer {
50 template <
typename TimePeriodT = DateInterval>
52 m_timePeriodHasBeenSet =
true;
53 m_timePeriod = std::forward<TimePeriodT>(value);
55 template <
typename TimePeriodT = DateInterval>
71 m_metricHasBeenSet =
true;
90 m_granularityHasBeenSet =
true;
91 m_granularity = value;
121 template <
typename FilterT = Expression>
123 m_filterHasBeenSet =
true;
124 m_filter = std::forward<FilterT>(value);
126 template <
typename FilterT = Expression>
143 template <
typename BillingViewArnT = Aws::String>
145 m_billingViewArnHasBeenSet =
true;
146 m_billingViewArn = std::forward<BillingViewArnT>(value);
148 template <
typename BillingViewArnT = Aws::String>
166 m_predictionIntervalLevelHasBeenSet =
true;
167 m_predictionIntervalLevel = value;
185 int m_predictionIntervalLevel{0};
186 bool m_timePeriodHasBeenSet =
false;
187 bool m_metricHasBeenSet =
false;
188 bool m_granularityHasBeenSet =
false;
189 bool m_filterHasBeenSet =
false;
190 bool m_billingViewArnHasBeenSet =
false;
191 bool m_predictionIntervalLevelHasBeenSet =
false;
void SetPredictionIntervalLevel(int value)
bool TimePeriodHasBeenSet() const
const Aws::String & GetBillingViewArn() const
GetUsageForecastRequest & WithTimePeriod(TimePeriodT &&value)
void SetTimePeriod(TimePeriodT &&value)
virtual const char * GetServiceRequestName() const override
GetUsageForecastRequest & WithGranularity(Granularity value)
void SetGranularity(Granularity value)
const DateInterval & GetTimePeriod() const
AWS_COSTEXPLORER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool BillingViewArnHasBeenSet() const
AWS_COSTEXPLORER_API GetUsageForecastRequest()=default
GetUsageForecastRequest & WithPredictionIntervalLevel(int value)
bool MetricHasBeenSet() const
const Expression & GetFilter() const
AWS_COSTEXPLORER_API Aws::String SerializePayload() const override
Granularity GetGranularity() const
void SetMetric(Metric value)
GetUsageForecastRequest & WithFilter(FilterT &&value)
void SetBillingViewArn(BillingViewArnT &&value)
GetUsageForecastRequest & WithMetric(Metric value)
GetUsageForecastRequest & WithBillingViewArn(BillingViewArnT &&value)
void SetFilter(FilterT &&value)
bool FilterHasBeenSet() const
bool GranularityHasBeenSet() const
bool PredictionIntervalLevelHasBeenSet() const
int GetPredictionIntervalLevel() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String