AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
ReferenceLineDynamicDataConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/AggregationFunction.h>
9#include <aws/quicksight/model/ColumnIdentifier.h>
10#include <aws/quicksight/model/NumericalAggregationFunction.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
31 public:
32 AWS_QUICKSIGHT_API ReferenceLineDynamicDataConfiguration() = default;
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const ColumnIdentifier& GetColumn() const { return m_column; }
42 inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
43 template <typename ColumnT = ColumnIdentifier>
44 void SetColumn(ColumnT&& value) {
45 m_columnHasBeenSet = true;
46 m_column = std::forward<ColumnT>(value);
47 }
48 template <typename ColumnT = ColumnIdentifier>
50 SetColumn(std::forward<ColumnT>(value));
51 return *this;
52 }
54
56
59 inline const AggregationFunction& GetMeasureAggregationFunction() const { return m_measureAggregationFunction; }
60 inline bool MeasureAggregationFunctionHasBeenSet() const { return m_measureAggregationFunctionHasBeenSet; }
61 template <typename MeasureAggregationFunctionT = AggregationFunction>
62 void SetMeasureAggregationFunction(MeasureAggregationFunctionT&& value) {
63 m_measureAggregationFunctionHasBeenSet = true;
64 m_measureAggregationFunction = std::forward<MeasureAggregationFunctionT>(value);
65 }
66 template <typename MeasureAggregationFunctionT = AggregationFunction>
68 SetMeasureAggregationFunction(std::forward<MeasureAggregationFunctionT>(value));
69 return *this;
70 }
72
74
77 inline const NumericalAggregationFunction& GetCalculation() const { return m_calculation; }
78 inline bool CalculationHasBeenSet() const { return m_calculationHasBeenSet; }
79 template <typename CalculationT = NumericalAggregationFunction>
80 void SetCalculation(CalculationT&& value) {
81 m_calculationHasBeenSet = true;
82 m_calculation = std::forward<CalculationT>(value);
83 }
84 template <typename CalculationT = NumericalAggregationFunction>
86 SetCalculation(std::forward<CalculationT>(value));
87 return *this;
88 }
90 private:
91 ColumnIdentifier m_column;
92
93 AggregationFunction m_measureAggregationFunction;
94
95 NumericalAggregationFunction m_calculation;
96 bool m_columnHasBeenSet = false;
97 bool m_measureAggregationFunctionHasBeenSet = false;
98 bool m_calculationHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace QuickSight
103} // namespace Aws
ReferenceLineDynamicDataConfiguration & WithCalculation(CalculationT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ReferenceLineDynamicDataConfiguration & WithMeasureAggregationFunction(MeasureAggregationFunctionT &&value)
AWS_QUICKSIGHT_API ReferenceLineDynamicDataConfiguration(Aws::Utils::Json::JsonView jsonValue)
ReferenceLineDynamicDataConfiguration & WithColumn(ColumnT &&value)
AWS_QUICKSIGHT_API ReferenceLineDynamicDataConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue