/** * 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 namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

The configuration of a GaugeChartVisual.

See * Also:

AWS * API Reference

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

The field well configuration of a GaugeChartVisual.

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

The field well configuration of a GaugeChartVisual.

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

The field well configuration of a GaugeChartVisual.

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

The field well configuration of a GaugeChartVisual.

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

The field well configuration of a GaugeChartVisual.

*/ inline GaugeChartConfiguration& WithFieldWells(const GaugeChartFieldWells& value) { SetFieldWells(value); return *this;} /** *

The field well configuration of a GaugeChartVisual.

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

The options that determine the presentation of the * GaugeChartVisual.

*/ inline const GaugeChartOptions& GetGaugeChartOptions() const{ return m_gaugeChartOptions; } /** *

The options that determine the presentation of the * GaugeChartVisual.

*/ inline bool GaugeChartOptionsHasBeenSet() const { return m_gaugeChartOptionsHasBeenSet; } /** *

The options that determine the presentation of the * GaugeChartVisual.

*/ inline void SetGaugeChartOptions(const GaugeChartOptions& value) { m_gaugeChartOptionsHasBeenSet = true; m_gaugeChartOptions = value; } /** *

The options that determine the presentation of the * GaugeChartVisual.

*/ inline void SetGaugeChartOptions(GaugeChartOptions&& value) { m_gaugeChartOptionsHasBeenSet = true; m_gaugeChartOptions = std::move(value); } /** *

The options that determine the presentation of the * GaugeChartVisual.

*/ inline GaugeChartConfiguration& WithGaugeChartOptions(const GaugeChartOptions& value) { SetGaugeChartOptions(value); return *this;} /** *

The options that determine the presentation of the * GaugeChartVisual.

*/ inline GaugeChartConfiguration& WithGaugeChartOptions(GaugeChartOptions&& value) { SetGaugeChartOptions(std::move(value)); return *this;} /** *

The data label configuration of a GaugeChartVisual.

*/ inline const DataLabelOptions& GetDataLabels() const{ return m_dataLabels; } /** *

The data label configuration of a GaugeChartVisual.

*/ inline bool DataLabelsHasBeenSet() const { return m_dataLabelsHasBeenSet; } /** *

The data label configuration of a GaugeChartVisual.

*/ inline void SetDataLabels(const DataLabelOptions& value) { m_dataLabelsHasBeenSet = true; m_dataLabels = value; } /** *

The data label configuration of a GaugeChartVisual.

*/ inline void SetDataLabels(DataLabelOptions&& value) { m_dataLabelsHasBeenSet = true; m_dataLabels = std::move(value); } /** *

The data label configuration of a GaugeChartVisual.

*/ inline GaugeChartConfiguration& WithDataLabels(const DataLabelOptions& value) { SetDataLabels(value); return *this;} /** *

The data label configuration of a GaugeChartVisual.

*/ inline GaugeChartConfiguration& WithDataLabels(DataLabelOptions&& value) { SetDataLabels(std::move(value)); return *this;} /** *

The tooltip configuration of a GaugeChartVisual.

*/ inline const TooltipOptions& GetTooltipOptions() const{ return m_tooltipOptions; } /** *

The tooltip configuration of a GaugeChartVisual.

*/ inline bool TooltipOptionsHasBeenSet() const { return m_tooltipOptionsHasBeenSet; } /** *

The tooltip configuration of a GaugeChartVisual.

*/ inline void SetTooltipOptions(const TooltipOptions& value) { m_tooltipOptionsHasBeenSet = true; m_tooltipOptions = value; } /** *

The tooltip configuration of a GaugeChartVisual.

*/ inline void SetTooltipOptions(TooltipOptions&& value) { m_tooltipOptionsHasBeenSet = true; m_tooltipOptions = std::move(value); } /** *

The tooltip configuration of a GaugeChartVisual.

*/ inline GaugeChartConfiguration& WithTooltipOptions(const TooltipOptions& value) { SetTooltipOptions(value); return *this;} /** *

The tooltip configuration of a GaugeChartVisual.

*/ inline GaugeChartConfiguration& WithTooltipOptions(TooltipOptions&& value) { SetTooltipOptions(std::move(value)); return *this;} /** *

The visual palette configuration of a GaugeChartVisual.

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

The visual palette configuration of a GaugeChartVisual.

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

The visual palette configuration of a GaugeChartVisual.

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

The visual palette configuration of a GaugeChartVisual.

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

The visual palette configuration of a GaugeChartVisual.

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

The visual palette configuration of a GaugeChartVisual.

*/ inline GaugeChartConfiguration& WithVisualPalette(VisualPalette&& value) { SetVisualPalette(std::move(value)); return *this;} private: GaugeChartFieldWells m_fieldWells; bool m_fieldWellsHasBeenSet = false; GaugeChartOptions m_gaugeChartOptions; bool m_gaugeChartOptionsHasBeenSet = false; DataLabelOptions m_dataLabels; bool m_dataLabelsHasBeenSet = false; TooltipOptions m_tooltipOptions; bool m_tooltipOptionsHasBeenSet = false; VisualPalette m_visualPalette; bool m_visualPaletteHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws