7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/AggType.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/quicksight/model/TopicTimeGranularity.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetAggregation(
AggType&& value) { m_aggregationHasBeenSet =
true; m_aggregation = std::move(value); }
94 inline void SetPeriodField(
const char* value) { m_periodFieldHasBeenSet =
true; m_periodField.assign(value); }
102 bool m_aggregationHasBeenSet =
false;
105 bool m_aggregationFunctionParametersHasBeenSet =
false;
108 bool m_periodHasBeenSet =
false;
111 bool m_periodFieldHasBeenSet =
false;
void SetAggregationFunctionParameters(Aws::Map< Aws::String, Aws::String > &&value)
AggFunction & WithPeriod(TopicTimeGranularity &&value)
AggFunction & WithPeriodField(const Aws::String &value)
const AggType & GetAggregation() const
void SetAggregation(AggType &&value)
AWS_QUICKSIGHT_API AggFunction & operator=(Aws::Utils::Json::JsonView jsonValue)
AggFunction & WithAggregationFunctionParameters(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetAggregationFunctionParameters() const
AggFunction & AddAggregationFunctionParameters(const Aws::String &key, const Aws::String &value)
void SetPeriodField(const char *value)
AggFunction & WithAggregation(const AggType &value)
void SetPeriodField(Aws::String &&value)
AggFunction & AddAggregationFunctionParameters(const char *key, Aws::String &&value)
void SetPeriod(TopicTimeGranularity &&value)
void SetPeriodField(const Aws::String &value)
AggFunction & AddAggregationFunctionParameters(const char *key, const char *value)
void SetAggregationFunctionParameters(const Aws::Map< Aws::String, Aws::String > &value)
AggFunction & WithPeriod(const TopicTimeGranularity &value)
const Aws::String & GetPeriodField() const
AWS_QUICKSIGHT_API AggFunction()
AWS_QUICKSIGHT_API AggFunction(Aws::Utils::Json::JsonView jsonValue)
bool AggregationHasBeenSet() const
bool PeriodFieldHasBeenSet() const
AggFunction & AddAggregationFunctionParameters(Aws::String &&key, const Aws::String &value)
bool PeriodHasBeenSet() const
AggFunction & WithAggregation(AggType &&value)
AggFunction & AddAggregationFunctionParameters(Aws::String &&key, const char *value)
AggFunction & AddAggregationFunctionParameters(const Aws::String &key, Aws::String &&value)
AggFunction & AddAggregationFunctionParameters(Aws::String &&key, Aws::String &&value)
void SetAggregation(const AggType &value)
void SetPeriod(const TopicTimeGranularity &value)
AggFunction & WithPeriodField(const char *value)
AggFunction & WithAggregationFunctionParameters(Aws::Map< Aws::String, Aws::String > &&value)
AggFunction & WithPeriodField(Aws::String &&value)
const TopicTimeGranularity & GetPeriod() const
bool AggregationFunctionParametersHasBeenSet() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue