AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ReferenceLineDynamicDataConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ColumnIdentifier.h>
9#include <aws/quicksight/model/AggregationFunction.h>
10#include <aws/quicksight/model/NumericalAggregationFunction.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QUICKSIGHT_API ReferenceLineDynamicDataConfiguration() = default;
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const ColumnIdentifier& GetColumn() const { return m_column; }
48 inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
49 template<typename ColumnT = ColumnIdentifier>
50 void SetColumn(ColumnT&& value) { m_columnHasBeenSet = true; m_column = std::forward<ColumnT>(value); }
51 template<typename ColumnT = ColumnIdentifier>
52 ReferenceLineDynamicDataConfiguration& WithColumn(ColumnT&& value) { SetColumn(std::forward<ColumnT>(value)); return *this;}
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) { m_measureAggregationFunctionHasBeenSet = true; m_measureAggregationFunction = std::forward<MeasureAggregationFunctionT>(value); }
63 template<typename MeasureAggregationFunctionT = AggregationFunction>
64 ReferenceLineDynamicDataConfiguration& WithMeasureAggregationFunction(MeasureAggregationFunctionT&& value) { SetMeasureAggregationFunction(std::forward<MeasureAggregationFunctionT>(value)); return *this;}
66
68
71 inline const NumericalAggregationFunction& GetCalculation() const { return m_calculation; }
72 inline bool CalculationHasBeenSet() const { return m_calculationHasBeenSet; }
73 template<typename CalculationT = NumericalAggregationFunction>
74 void SetCalculation(CalculationT&& value) { m_calculationHasBeenSet = true; m_calculation = std::forward<CalculationT>(value); }
75 template<typename CalculationT = NumericalAggregationFunction>
76 ReferenceLineDynamicDataConfiguration& WithCalculation(CalculationT&& value) { SetCalculation(std::forward<CalculationT>(value)); return *this;}
78 private:
79
80 ColumnIdentifier m_column;
81 bool m_columnHasBeenSet = false;
82
83 AggregationFunction m_measureAggregationFunction;
84 bool m_measureAggregationFunctionHasBeenSet = false;
85
86 NumericalAggregationFunction m_calculation;
87 bool m_calculationHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace QuickSight
92} // 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