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/Granularity.h>
11#include <aws/ce/model/Expression.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/ce/model/GroupDefinition.h>
158 inline void SetNextPageToken(
const char* value) { m_nextPageTokenHasBeenSet =
true; m_nextPageToken.assign(value); }
166 bool m_timePeriodHasBeenSet =
false;
169 bool m_granularityHasBeenSet =
false;
172 bool m_filterHasBeenSet =
false;
175 bool m_metricsHasBeenSet =
false;
178 bool m_groupByHasBeenSet =
false;
181 bool m_nextPageTokenHasBeenSet =
false;
GetCostAndUsageRequest & AddGroupBy(GroupDefinition &&value)
GetCostAndUsageRequest & WithGranularity(const Granularity &value)
GetCostAndUsageRequest & WithFilter(const Expression &value)
const Granularity & GetGranularity() const
bool TimePeriodHasBeenSet() const
void SetTimePeriod(const DateInterval &value)
GetCostAndUsageRequest & WithNextPageToken(const Aws::String &value)
void SetFilter(Expression &&value)
GetCostAndUsageRequest & WithTimePeriod(const DateInterval &value)
GetCostAndUsageRequest & WithMetrics(const Aws::Vector< Aws::String > &value)
AWS_COSTEXPLORER_API GetCostAndUsageRequest()
GetCostAndUsageRequest & WithGroupBy(const Aws::Vector< GroupDefinition > &value)
bool FilterHasBeenSet() const
GetCostAndUsageRequest & AddGroupBy(const GroupDefinition &value)
bool NextPageTokenHasBeenSet() const
void SetGroupBy(Aws::Vector< GroupDefinition > &&value)
const DateInterval & GetTimePeriod() const
void SetNextPageToken(const char *value)
void SetNextPageToken(const Aws::String &value)
bool GranularityHasBeenSet() const
void SetFilter(const Expression &value)
AWS_COSTEXPLORER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetGroupBy(const Aws::Vector< GroupDefinition > &value)
void SetGranularity(Granularity &&value)
GetCostAndUsageRequest & WithNextPageToken(Aws::String &&value)
GetCostAndUsageRequest & AddMetrics(const char *value)
GetCostAndUsageRequest & WithFilter(Expression &&value)
GetCostAndUsageRequest & AddMetrics(Aws::String &&value)
const Aws::Vector< Aws::String > & GetMetrics() const
void SetGranularity(const Granularity &value)
void SetMetrics(Aws::Vector< Aws::String > &&value)
GetCostAndUsageRequest & WithGranularity(Granularity &&value)
bool GroupByHasBeenSet() const
void SetTimePeriod(DateInterval &&value)
GetCostAndUsageRequest & AddMetrics(const Aws::String &value)
void SetNextPageToken(Aws::String &&value)
const Aws::Vector< GroupDefinition > & GetGroupBy() const
bool MetricsHasBeenSet() const
const Aws::String & GetNextPageToken() const
void SetMetrics(const Aws::Vector< Aws::String > &value)
GetCostAndUsageRequest & WithGroupBy(Aws::Vector< GroupDefinition > &&value)
GetCostAndUsageRequest & WithTimePeriod(DateInterval &&value)
const Expression & GetFilter() const
AWS_COSTEXPLORER_API Aws::String SerializePayload() const override
GetCostAndUsageRequest & WithMetrics(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
GetCostAndUsageRequest & WithNextPageToken(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector