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 {
44 template <
typename TimePeriodT = DateInterval>
46 m_timePeriodHasBeenSet =
true;
47 m_timePeriod = std::forward<TimePeriodT>(value);
49 template <
typename TimePeriodT = DateInterval>
70 m_metricHasBeenSet =
true;
89 m_granularityHasBeenSet =
true;
90 m_granularity = value;
120 template <
typename FilterT = Expression>
122 m_filterHasBeenSet =
true;
123 m_filter = std::forward<FilterT>(value);
125 template <
typename FilterT = Expression>
142 template <
typename BillingViewArnT = Aws::String>
144 m_billingViewArnHasBeenSet =
true;
145 m_billingViewArn = std::forward<BillingViewArnT>(value);
147 template <
typename BillingViewArnT = Aws::String>
165 m_predictionIntervalLevelHasBeenSet =
true;
166 m_predictionIntervalLevel = value;
184 int m_predictionIntervalLevel{0};
185 bool m_timePeriodHasBeenSet =
false;
186 bool m_metricHasBeenSet =
false;
187 bool m_granularityHasBeenSet =
false;
188 bool m_filterHasBeenSet =
false;
189 bool m_billingViewArnHasBeenSet =
false;
190 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