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

The configuration of a FunnelChartVisual.

See * Also:

AWS * API Reference

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

The field well configuration of a FunnelChartVisual.

*/ inline const FunnelChartFieldWells& GetFieldWells() const{ return m_fieldWells; } /** *

The field well configuration of a FunnelChartVisual.

*/ inline bool FieldWellsHasBeenSet() const { return m_fieldWellsHasBeenSet; } /** *

The field well configuration of a FunnelChartVisual.

*/ inline void SetFieldWells(const FunnelChartFieldWells& value) { m_fieldWellsHasBeenSet = true; m_fieldWells = value; } /** *

The field well configuration of a FunnelChartVisual.

*/ inline void SetFieldWells(FunnelChartFieldWells&& value) { m_fieldWellsHasBeenSet = true; m_fieldWells = std::move(value); } /** *

The field well configuration of a FunnelChartVisual.

*/ inline FunnelChartConfiguration& WithFieldWells(const FunnelChartFieldWells& value) { SetFieldWells(value); return *this;} /** *

The field well configuration of a FunnelChartVisual.

*/ inline FunnelChartConfiguration& WithFieldWells(FunnelChartFieldWells&& value) { SetFieldWells(std::move(value)); return *this;} /** *

The sort configuration of a FunnelChartVisual.

*/ inline const FunnelChartSortConfiguration& GetSortConfiguration() const{ return m_sortConfiguration; } /** *

The sort configuration of a FunnelChartVisual.

*/ inline bool SortConfigurationHasBeenSet() const { return m_sortConfigurationHasBeenSet; } /** *

The sort configuration of a FunnelChartVisual.

*/ inline void SetSortConfiguration(const FunnelChartSortConfiguration& value) { m_sortConfigurationHasBeenSet = true; m_sortConfiguration = value; } /** *

The sort configuration of a FunnelChartVisual.

*/ inline void SetSortConfiguration(FunnelChartSortConfiguration&& value) { m_sortConfigurationHasBeenSet = true; m_sortConfiguration = std::move(value); } /** *

The sort configuration of a FunnelChartVisual.

*/ inline FunnelChartConfiguration& WithSortConfiguration(const FunnelChartSortConfiguration& value) { SetSortConfiguration(value); return *this;} /** *

The sort configuration of a FunnelChartVisual.

*/ inline FunnelChartConfiguration& WithSortConfiguration(FunnelChartSortConfiguration&& value) { SetSortConfiguration(std::move(value)); return *this;} /** *

The label options of the categories that are displayed in a * FunnelChartVisual.

*/ inline const ChartAxisLabelOptions& GetCategoryLabelOptions() const{ return m_categoryLabelOptions; } /** *

The label options of the categories that are displayed in a * FunnelChartVisual.

*/ inline bool CategoryLabelOptionsHasBeenSet() const { return m_categoryLabelOptionsHasBeenSet; } /** *

The label options of the categories that are displayed in a * FunnelChartVisual.

*/ inline void SetCategoryLabelOptions(const ChartAxisLabelOptions& value) { m_categoryLabelOptionsHasBeenSet = true; m_categoryLabelOptions = value; } /** *

The label options of the categories that are displayed in a * FunnelChartVisual.

*/ inline void SetCategoryLabelOptions(ChartAxisLabelOptions&& value) { m_categoryLabelOptionsHasBeenSet = true; m_categoryLabelOptions = std::move(value); } /** *

The label options of the categories that are displayed in a * FunnelChartVisual.

*/ inline FunnelChartConfiguration& WithCategoryLabelOptions(const ChartAxisLabelOptions& value) { SetCategoryLabelOptions(value); return *this;} /** *

The label options of the categories that are displayed in a * FunnelChartVisual.

*/ inline FunnelChartConfiguration& WithCategoryLabelOptions(ChartAxisLabelOptions&& value) { SetCategoryLabelOptions(std::move(value)); return *this;} /** *

The label options for the values that are displayed in a * FunnelChartVisual.

*/ inline const ChartAxisLabelOptions& GetValueLabelOptions() const{ return m_valueLabelOptions; } /** *

The label options for the values that are displayed in a * FunnelChartVisual.

*/ inline bool ValueLabelOptionsHasBeenSet() const { return m_valueLabelOptionsHasBeenSet; } /** *

The label options for the values that are displayed in a * FunnelChartVisual.

*/ inline void SetValueLabelOptions(const ChartAxisLabelOptions& value) { m_valueLabelOptionsHasBeenSet = true; m_valueLabelOptions = value; } /** *

The label options for the values that are displayed in a * FunnelChartVisual.

*/ inline void SetValueLabelOptions(ChartAxisLabelOptions&& value) { m_valueLabelOptionsHasBeenSet = true; m_valueLabelOptions = std::move(value); } /** *

The label options for the values that are displayed in a * FunnelChartVisual.

*/ inline FunnelChartConfiguration& WithValueLabelOptions(const ChartAxisLabelOptions& value) { SetValueLabelOptions(value); return *this;} /** *

The label options for the values that are displayed in a * FunnelChartVisual.

*/ inline FunnelChartConfiguration& WithValueLabelOptions(ChartAxisLabelOptions&& value) { SetValueLabelOptions(std::move(value)); return *this;} /** *

The tooltip configuration of a FunnelChartVisual.

*/ inline const TooltipOptions& GetTooltip() const{ return m_tooltip; } /** *

The tooltip configuration of a FunnelChartVisual.

*/ inline bool TooltipHasBeenSet() const { return m_tooltipHasBeenSet; } /** *

The tooltip configuration of a FunnelChartVisual.

*/ inline void SetTooltip(const TooltipOptions& value) { m_tooltipHasBeenSet = true; m_tooltip = value; } /** *

The tooltip configuration of a FunnelChartVisual.

*/ inline void SetTooltip(TooltipOptions&& value) { m_tooltipHasBeenSet = true; m_tooltip = std::move(value); } /** *

The tooltip configuration of a FunnelChartVisual.

*/ inline FunnelChartConfiguration& WithTooltip(const TooltipOptions& value) { SetTooltip(value); return *this;} /** *

The tooltip configuration of a FunnelChartVisual.

*/ inline FunnelChartConfiguration& WithTooltip(TooltipOptions&& value) { SetTooltip(std::move(value)); return *this;} /** *

The options that determine the presentation of the data labels.

*/ inline const FunnelChartDataLabelOptions& GetDataLabelOptions() const{ return m_dataLabelOptions; } /** *

The options that determine the presentation of the data labels.

*/ inline bool DataLabelOptionsHasBeenSet() const { return m_dataLabelOptionsHasBeenSet; } /** *

The options that determine the presentation of the data labels.

*/ inline void SetDataLabelOptions(const FunnelChartDataLabelOptions& value) { m_dataLabelOptionsHasBeenSet = true; m_dataLabelOptions = value; } /** *

The options that determine the presentation of the data labels.

*/ inline void SetDataLabelOptions(FunnelChartDataLabelOptions&& value) { m_dataLabelOptionsHasBeenSet = true; m_dataLabelOptions = std::move(value); } /** *

The options that determine the presentation of the data labels.

*/ inline FunnelChartConfiguration& WithDataLabelOptions(const FunnelChartDataLabelOptions& value) { SetDataLabelOptions(value); return *this;} /** *

The options that determine the presentation of the data labels.

*/ inline FunnelChartConfiguration& WithDataLabelOptions(FunnelChartDataLabelOptions&& value) { SetDataLabelOptions(std::move(value)); return *this;} /** *

The visual palette configuration of a FunnelChartVisual.

*/ inline const VisualPalette& GetVisualPalette() const{ return m_visualPalette; } /** *

The visual palette configuration of a FunnelChartVisual.

*/ inline bool VisualPaletteHasBeenSet() const { return m_visualPaletteHasBeenSet; } /** *

The visual palette configuration of a FunnelChartVisual.

*/ inline void SetVisualPalette(const VisualPalette& value) { m_visualPaletteHasBeenSet = true; m_visualPalette = value; } /** *

The visual palette configuration of a FunnelChartVisual.

*/ inline void SetVisualPalette(VisualPalette&& value) { m_visualPaletteHasBeenSet = true; m_visualPalette = std::move(value); } /** *

The visual palette configuration of a FunnelChartVisual.

*/ inline FunnelChartConfiguration& WithVisualPalette(const VisualPalette& value) { SetVisualPalette(value); return *this;} /** *

The visual palette configuration of a FunnelChartVisual.

*/ inline FunnelChartConfiguration& WithVisualPalette(VisualPalette&& value) { SetVisualPalette(std::move(value)); return *this;} private: FunnelChartFieldWells m_fieldWells; bool m_fieldWellsHasBeenSet = false; FunnelChartSortConfiguration m_sortConfiguration; bool m_sortConfigurationHasBeenSet = false; ChartAxisLabelOptions m_categoryLabelOptions; bool m_categoryLabelOptionsHasBeenSet = false; ChartAxisLabelOptions m_valueLabelOptions; bool m_valueLabelOptionsHasBeenSet = false; TooltipOptions m_tooltip; bool m_tooltipHasBeenSet = false; FunnelChartDataLabelOptions m_dataLabelOptions; bool m_dataLabelOptionsHasBeenSet = false; VisualPalette m_visualPalette; bool m_visualPaletteHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws