/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

The dynamic configuration of the reference line data * configuration.

See Also:

AWS * API Reference

*/ class ReferenceLineDynamicDataConfiguration { public: AWS_QUICKSIGHT_API ReferenceLineDynamicDataConfiguration(); AWS_QUICKSIGHT_API ReferenceLineDynamicDataConfiguration(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API ReferenceLineDynamicDataConfiguration& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The column that the dynamic data targets.

*/ inline const ColumnIdentifier& GetColumn() const{ return m_column; } /** *

The column that the dynamic data targets.

*/ inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; } /** *

The column that the dynamic data targets.

*/ inline void SetColumn(const ColumnIdentifier& value) { m_columnHasBeenSet = true; m_column = value; } /** *

The column that the dynamic data targets.

*/ inline void SetColumn(ColumnIdentifier&& value) { m_columnHasBeenSet = true; m_column = std::move(value); } /** *

The column that the dynamic data targets.

*/ inline ReferenceLineDynamicDataConfiguration& WithColumn(const ColumnIdentifier& value) { SetColumn(value); return *this;} /** *

The column that the dynamic data targets.

*/ inline ReferenceLineDynamicDataConfiguration& WithColumn(ColumnIdentifier&& value) { SetColumn(std::move(value)); return *this;} /** *

The aggregation function that is used in the dynamic data.

*/ inline const AggregationFunction& GetMeasureAggregationFunction() const{ return m_measureAggregationFunction; } /** *

The aggregation function that is used in the dynamic data.

*/ inline bool MeasureAggregationFunctionHasBeenSet() const { return m_measureAggregationFunctionHasBeenSet; } /** *

The aggregation function that is used in the dynamic data.

*/ inline void SetMeasureAggregationFunction(const AggregationFunction& value) { m_measureAggregationFunctionHasBeenSet = true; m_measureAggregationFunction = value; } /** *

The aggregation function that is used in the dynamic data.

*/ inline void SetMeasureAggregationFunction(AggregationFunction&& value) { m_measureAggregationFunctionHasBeenSet = true; m_measureAggregationFunction = std::move(value); } /** *

The aggregation function that is used in the dynamic data.

*/ inline ReferenceLineDynamicDataConfiguration& WithMeasureAggregationFunction(const AggregationFunction& value) { SetMeasureAggregationFunction(value); return *this;} /** *

The aggregation function that is used in the dynamic data.

*/ inline ReferenceLineDynamicDataConfiguration& WithMeasureAggregationFunction(AggregationFunction&& value) { SetMeasureAggregationFunction(std::move(value)); return *this;} /** *

The calculation that is used in the dynamic data.

*/ inline const NumericalAggregationFunction& GetCalculation() const{ return m_calculation; } /** *

The calculation that is used in the dynamic data.

*/ inline bool CalculationHasBeenSet() const { return m_calculationHasBeenSet; } /** *

The calculation that is used in the dynamic data.

*/ inline void SetCalculation(const NumericalAggregationFunction& value) { m_calculationHasBeenSet = true; m_calculation = value; } /** *

The calculation that is used in the dynamic data.

*/ inline void SetCalculation(NumericalAggregationFunction&& value) { m_calculationHasBeenSet = true; m_calculation = std::move(value); } /** *

The calculation that is used in the dynamic data.

*/ inline ReferenceLineDynamicDataConfiguration& WithCalculation(const NumericalAggregationFunction& value) { SetCalculation(value); return *this;} /** *

The calculation that is used in the dynamic data.

*/ inline ReferenceLineDynamicDataConfiguration& WithCalculation(NumericalAggregationFunction&& value) { SetCalculation(std::move(value)); return *this;} private: ColumnIdentifier m_column; bool m_columnHasBeenSet = false; AggregationFunction m_measureAggregationFunction; bool m_measureAggregationFunctionHasBeenSet = false; NumericalAggregationFunction m_calculation; bool m_calculationHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws