AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetColumn(const ColumnIdentifier& value) { m_columnHasBeenSet = true; m_column = value; }
50 inline void SetColumn(ColumnIdentifier&& value) { m_columnHasBeenSet = true; m_column = std::move(value); }
51 inline ReferenceLineDynamicDataConfiguration& WithColumn(const ColumnIdentifier& value) { SetColumn(value); return *this;}
52 inline ReferenceLineDynamicDataConfiguration& WithColumn(ColumnIdentifier&& value) { SetColumn(std::move(value)); return *this;}
54
56
59 inline const AggregationFunction& GetMeasureAggregationFunction() const{ return m_measureAggregationFunction; }
60 inline bool MeasureAggregationFunctionHasBeenSet() const { return m_measureAggregationFunctionHasBeenSet; }
61 inline void SetMeasureAggregationFunction(const AggregationFunction& value) { m_measureAggregationFunctionHasBeenSet = true; m_measureAggregationFunction = value; }
62 inline void SetMeasureAggregationFunction(AggregationFunction&& value) { m_measureAggregationFunctionHasBeenSet = true; m_measureAggregationFunction = std::move(value); }
66
68
71 inline const NumericalAggregationFunction& GetCalculation() const{ return m_calculation; }
72 inline bool CalculationHasBeenSet() const { return m_calculationHasBeenSet; }
73 inline void SetCalculation(const NumericalAggregationFunction& value) { m_calculationHasBeenSet = true; m_calculation = value; }
74 inline void SetCalculation(NumericalAggregationFunction&& value) { m_calculationHasBeenSet = true; m_calculation = std::move(value); }
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
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ReferenceLineDynamicDataConfiguration & WithMeasureAggregationFunction(AggregationFunction &&value)
ReferenceLineDynamicDataConfiguration & WithCalculation(const NumericalAggregationFunction &value)
ReferenceLineDynamicDataConfiguration & WithColumn(const ColumnIdentifier &value)
ReferenceLineDynamicDataConfiguration & WithMeasureAggregationFunction(const AggregationFunction &value)
ReferenceLineDynamicDataConfiguration & WithCalculation(NumericalAggregationFunction &&value)
AWS_QUICKSIGHT_API ReferenceLineDynamicDataConfiguration(Aws::Utils::Json::JsonView jsonValue)
ReferenceLineDynamicDataConfiguration & WithColumn(ColumnIdentifier &&value)
AWS_QUICKSIGHT_API ReferenceLineDynamicDataConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue