AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AggregationFunction.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/NumericalAggregationFunction.h>
9#include <aws/quicksight/model/CategoricalAggregationFunction.h>
10#include <aws/quicksight/model/DateAggregationFunction.h>
11#include <aws/quicksight/model/AttributeAggregationFunction.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
37 {
38 public:
39 AWS_QUICKSIGHT_API AggregationFunction();
40 AWS_QUICKSIGHT_API AggregationFunction(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const NumericalAggregationFunction& GetNumericalAggregationFunction() const{ return m_numericalAggregationFunction; }
50 inline bool NumericalAggregationFunctionHasBeenSet() const { return m_numericalAggregationFunctionHasBeenSet; }
51 inline void SetNumericalAggregationFunction(const NumericalAggregationFunction& value) { m_numericalAggregationFunctionHasBeenSet = true; m_numericalAggregationFunction = value; }
52 inline void SetNumericalAggregationFunction(NumericalAggregationFunction&& value) { m_numericalAggregationFunctionHasBeenSet = true; m_numericalAggregationFunction = std::move(value); }
56
58
64 inline const CategoricalAggregationFunction& GetCategoricalAggregationFunction() const{ return m_categoricalAggregationFunction; }
65 inline bool CategoricalAggregationFunctionHasBeenSet() const { return m_categoricalAggregationFunctionHasBeenSet; }
66 inline void SetCategoricalAggregationFunction(const CategoricalAggregationFunction& value) { m_categoricalAggregationFunctionHasBeenSet = true; m_categoricalAggregationFunction = value; }
67 inline void SetCategoricalAggregationFunction(CategoricalAggregationFunction&& value) { m_categoricalAggregationFunctionHasBeenSet = true; m_categoricalAggregationFunction = std::move(value); }
71
73
80 inline const DateAggregationFunction& GetDateAggregationFunction() const{ return m_dateAggregationFunction; }
81 inline bool DateAggregationFunctionHasBeenSet() const { return m_dateAggregationFunctionHasBeenSet; }
82 inline void SetDateAggregationFunction(const DateAggregationFunction& value) { m_dateAggregationFunctionHasBeenSet = true; m_dateAggregationFunction = value; }
83 inline void SetDateAggregationFunction(DateAggregationFunction&& value) { m_dateAggregationFunctionHasBeenSet = true; m_dateAggregationFunction = std::move(value); }
87
89
92 inline const AttributeAggregationFunction& GetAttributeAggregationFunction() const{ return m_attributeAggregationFunction; }
93 inline bool AttributeAggregationFunctionHasBeenSet() const { return m_attributeAggregationFunctionHasBeenSet; }
94 inline void SetAttributeAggregationFunction(const AttributeAggregationFunction& value) { m_attributeAggregationFunctionHasBeenSet = true; m_attributeAggregationFunction = value; }
95 inline void SetAttributeAggregationFunction(AttributeAggregationFunction&& value) { m_attributeAggregationFunctionHasBeenSet = true; m_attributeAggregationFunction = std::move(value); }
99 private:
100
101 NumericalAggregationFunction m_numericalAggregationFunction;
102 bool m_numericalAggregationFunctionHasBeenSet = false;
103
104 CategoricalAggregationFunction m_categoricalAggregationFunction;
105 bool m_categoricalAggregationFunctionHasBeenSet = false;
106
107 DateAggregationFunction m_dateAggregationFunction;
108 bool m_dateAggregationFunctionHasBeenSet = false;
109
110 AttributeAggregationFunction m_attributeAggregationFunction;
111 bool m_attributeAggregationFunctionHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace QuickSight
116} // namespace Aws
void SetCategoricalAggregationFunction(CategoricalAggregationFunction &&value)
void SetCategoricalAggregationFunction(const CategoricalAggregationFunction &value)
const DateAggregationFunction & GetDateAggregationFunction() const
AWS_QUICKSIGHT_API AggregationFunction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDateAggregationFunction(DateAggregationFunction &&value)
void SetAttributeAggregationFunction(AttributeAggregationFunction &&value)
const CategoricalAggregationFunction & GetCategoricalAggregationFunction() const
AggregationFunction & WithCategoricalAggregationFunction(const CategoricalAggregationFunction &value)
AggregationFunction & WithNumericalAggregationFunction(NumericalAggregationFunction &&value)
const AttributeAggregationFunction & GetAttributeAggregationFunction() const
void SetNumericalAggregationFunction(NumericalAggregationFunction &&value)
AggregationFunction & WithAttributeAggregationFunction(const AttributeAggregationFunction &value)
AggregationFunction & WithDateAggregationFunction(DateAggregationFunction &&value)
AggregationFunction & WithCategoricalAggregationFunction(CategoricalAggregationFunction &&value)
AggregationFunction & WithDateAggregationFunction(const DateAggregationFunction &value)
void SetAttributeAggregationFunction(const AttributeAggregationFunction &value)
AWS_QUICKSIGHT_API AggregationFunction(Aws::Utils::Json::JsonView jsonValue)
AggregationFunction & WithNumericalAggregationFunction(const NumericalAggregationFunction &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AggregationFunction & WithAttributeAggregationFunction(AttributeAggregationFunction &&value)
void SetDateAggregationFunction(const DateAggregationFunction &value)
void SetNumericalAggregationFunction(const NumericalAggregationFunction &value)
const NumericalAggregationFunction & GetNumericalAggregationFunction() const
Aws::Utils::Json::JsonValue JsonValue