AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
NumericalAggregationFunction.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/PercentileAggregation.h>
9#include <aws/quicksight/model/SimpleNumericalAggregationFunction.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
29 public:
30 AWS_QUICKSIGHT_API NumericalAggregationFunction() = default;
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
51 inline SimpleNumericalAggregationFunction GetSimpleNumericalAggregation() const { return m_simpleNumericalAggregation; }
52 inline bool SimpleNumericalAggregationHasBeenSet() const { return m_simpleNumericalAggregationHasBeenSet; }
54 m_simpleNumericalAggregationHasBeenSet = true;
55 m_simpleNumericalAggregation = value;
56 }
59 return *this;
60 }
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) {
72 m_percentileAggregationHasBeenSet = true;
73 m_percentileAggregation = std::forward<PercentileAggregationT>(value);
74 }
75 template <typename PercentileAggregationT = PercentileAggregation>
77 SetPercentileAggregation(std::forward<PercentileAggregationT>(value));
78 return *this;
79 }
81 private:
83
84 PercentileAggregation m_percentileAggregation;
85 bool m_simpleNumericalAggregationHasBeenSet = false;
86 bool m_percentileAggregationHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace QuickSight
91} // 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