AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
NumericalAggregationFunction.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/SimpleNumericalAggregationFunction.h>
9#include <aws/quicksight/model/PercentileAggregation.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QUICKSIGHT_API NumericalAggregationFunction() = default;
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
57 inline SimpleNumericalAggregationFunction GetSimpleNumericalAggregation() const { return m_simpleNumericalAggregation; }
58 inline bool SimpleNumericalAggregationHasBeenSet() const { return m_simpleNumericalAggregationHasBeenSet; }
59 inline void SetSimpleNumericalAggregation(SimpleNumericalAggregationFunction value) { m_simpleNumericalAggregationHasBeenSet = true; m_simpleNumericalAggregation = value; }
62
64
68 inline const PercentileAggregation& GetPercentileAggregation() const { return m_percentileAggregation; }
69 inline bool PercentileAggregationHasBeenSet() const { return m_percentileAggregationHasBeenSet; }
70 template<typename PercentileAggregationT = PercentileAggregation>
71 void SetPercentileAggregation(PercentileAggregationT&& value) { m_percentileAggregationHasBeenSet = true; m_percentileAggregation = std::forward<PercentileAggregationT>(value); }
72 template<typename PercentileAggregationT = PercentileAggregation>
73 NumericalAggregationFunction& WithPercentileAggregation(PercentileAggregationT&& value) { SetPercentileAggregation(std::forward<PercentileAggregationT>(value)); return *this;}
75 private:
76
78 bool m_simpleNumericalAggregationHasBeenSet = false;
79
80 PercentileAggregation m_percentileAggregation;
81 bool m_percentileAggregationHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace QuickSight
86} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
NumericalAggregationFunction & WithPercentileAggregation(PercentileAggregationT &&value)
NumericalAggregationFunction & WithSimpleNumericalAggregation(SimpleNumericalAggregationFunction value)
SimpleNumericalAggregationFunction GetSimpleNumericalAggregation() const
void SetSimpleNumericalAggregation(SimpleNumericalAggregationFunction value)
AWS_QUICKSIGHT_API NumericalAggregationFunction(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API NumericalAggregationFunction()=default
AWS_QUICKSIGHT_API NumericalAggregationFunction & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue