7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/AggType.h>
11#include <aws/quicksight/model/TopicTimeGranularity.h>
44 m_aggregationHasBeenSet =
true;
45 m_aggregation = value;
59 template <
typename AggregationFunctionParametersT = Aws::Map<Aws::String, Aws::String>>
61 m_aggregationFunctionParametersHasBeenSet =
true;
62 m_aggregationFunctionParameters = std::forward<AggregationFunctionParametersT>(value);
64 template <
typename AggregationFunctionParametersT = Aws::Map<Aws::String, Aws::String>>
69 template <
typename AggregationFunctionParametersKeyT = Aws::String,
typename AggregationFunctionParametersValueT = Aws::String>
71 m_aggregationFunctionParametersHasBeenSet =
true;
72 m_aggregationFunctionParameters.emplace(std::forward<AggregationFunctionParametersKeyT>(key),
73 std::forward<AggregationFunctionParametersValueT>(value));
85 m_periodHasBeenSet =
true;
100 template <
typename PeriodFieldT = Aws::String>
102 m_periodFieldHasBeenSet =
true;
103 m_periodField = std::forward<PeriodFieldT>(value);
105 template <
typename PeriodFieldT = Aws::String>
119 bool m_aggregationHasBeenSet =
false;
120 bool m_aggregationFunctionParametersHasBeenSet =
false;
121 bool m_periodHasBeenSet =
false;
122 bool m_periodFieldHasBeenSet =
false;
AggFunction & WithAggregation(AggType value)
AggFunction & AddAggregationFunctionParameters(AggregationFunctionParametersKeyT &&key, AggregationFunctionParametersValueT &&value)
AWS_QUICKSIGHT_API AggFunction & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetAggregationFunctionParameters() const
AggFunction & WithPeriod(TopicTimeGranularity value)
TopicTimeGranularity GetPeriod() const
void SetAggregationFunctionParameters(AggregationFunctionParametersT &&value)
void SetPeriodField(PeriodFieldT &&value)
const Aws::String & GetPeriodField() const
AWS_QUICKSIGHT_API AggFunction(Aws::Utils::Json::JsonView jsonValue)
bool AggregationHasBeenSet() const
void SetAggregation(AggType value)
bool PeriodFieldHasBeenSet() const
bool PeriodHasBeenSet() const
AggFunction & WithPeriodField(PeriodFieldT &&value)
AggFunction & WithAggregationFunctionParameters(AggregationFunctionParametersT &&value)
AWS_QUICKSIGHT_API AggFunction()=default
void SetPeriod(TopicTimeGranularity value)
bool AggregationFunctionParametersHasBeenSet() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AggType GetAggregation() 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