AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
57 inline const SimpleNumericalAggregationFunction& GetSimpleNumericalAggregation() const{ return m_simpleNumericalAggregation; }
58 inline bool SimpleNumericalAggregationHasBeenSet() const { return m_simpleNumericalAggregationHasBeenSet; }
59 inline void SetSimpleNumericalAggregation(const SimpleNumericalAggregationFunction& value) { m_simpleNumericalAggregationHasBeenSet = true; m_simpleNumericalAggregation = value; }
60 inline void SetSimpleNumericalAggregation(SimpleNumericalAggregationFunction&& value) { m_simpleNumericalAggregationHasBeenSet = true; m_simpleNumericalAggregation = std::move(value); }
64
66
70 inline const PercentileAggregation& GetPercentileAggregation() const{ return m_percentileAggregation; }
71 inline bool PercentileAggregationHasBeenSet() const { return m_percentileAggregationHasBeenSet; }
72 inline void SetPercentileAggregation(const PercentileAggregation& value) { m_percentileAggregationHasBeenSet = true; m_percentileAggregation = value; }
73 inline void SetPercentileAggregation(PercentileAggregation&& value) { m_percentileAggregationHasBeenSet = true; m_percentileAggregation = std::move(value); }
77 private:
78
79 SimpleNumericalAggregationFunction m_simpleNumericalAggregation;
80 bool m_simpleNumericalAggregationHasBeenSet = false;
81
82 PercentileAggregation m_percentileAggregation;
83 bool m_percentileAggregationHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace QuickSight
88} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
NumericalAggregationFunction & WithSimpleNumericalAggregation(const SimpleNumericalAggregationFunction &value)
void SetSimpleNumericalAggregation(const SimpleNumericalAggregationFunction &value)
AWS_QUICKSIGHT_API NumericalAggregationFunction(Aws::Utils::Json::JsonView jsonValue)
NumericalAggregationFunction & WithPercentileAggregation(PercentileAggregation &&value)
void SetPercentileAggregation(const PercentileAggregation &value)
void SetSimpleNumericalAggregation(SimpleNumericalAggregationFunction &&value)
const SimpleNumericalAggregationFunction & GetSimpleNumericalAggregation() const
NumericalAggregationFunction & WithPercentileAggregation(const PercentileAggregation &value)
NumericalAggregationFunction & WithSimpleNumericalAggregation(SimpleNumericalAggregationFunction &&value)
AWS_QUICKSIGHT_API NumericalAggregationFunction & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue