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

The configuration of a heat map.

See Also:

AWS * API Reference

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

The field wells of the visual.

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

The field wells of the visual.

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

The field wells of the visual.

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

The field wells of the visual.

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

The field wells of the visual.

*/ inline HeatMapConfiguration& WithFieldWells(const HeatMapFieldWells& value) { SetFieldWells(value); return *this;} /** *

The field wells of the visual.

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

The sort configuration of a heat map.

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

The sort configuration of a heat map.

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

The sort configuration of a heat map.

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

The sort configuration of a heat map.

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

The sort configuration of a heat map.

*/ inline HeatMapConfiguration& WithSortConfiguration(const HeatMapSortConfiguration& value) { SetSortConfiguration(value); return *this;} /** *

The sort configuration of a heat map.

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

The label options of the row that is displayed in a heat * map.

*/ inline const ChartAxisLabelOptions& GetRowLabelOptions() const{ return m_rowLabelOptions; } /** *

The label options of the row that is displayed in a heat * map.

*/ inline bool RowLabelOptionsHasBeenSet() const { return m_rowLabelOptionsHasBeenSet; } /** *

The label options of the row that is displayed in a heat * map.

*/ inline void SetRowLabelOptions(const ChartAxisLabelOptions& value) { m_rowLabelOptionsHasBeenSet = true; m_rowLabelOptions = value; } /** *

The label options of the row that is displayed in a heat * map.

*/ inline void SetRowLabelOptions(ChartAxisLabelOptions&& value) { m_rowLabelOptionsHasBeenSet = true; m_rowLabelOptions = std::move(value); } /** *

The label options of the row that is displayed in a heat * map.

*/ inline HeatMapConfiguration& WithRowLabelOptions(const ChartAxisLabelOptions& value) { SetRowLabelOptions(value); return *this;} /** *

The label options of the row that is displayed in a heat * map.

*/ inline HeatMapConfiguration& WithRowLabelOptions(ChartAxisLabelOptions&& value) { SetRowLabelOptions(std::move(value)); return *this;} /** *

The label options of the column that is displayed in a heat map.

*/ inline const ChartAxisLabelOptions& GetColumnLabelOptions() const{ return m_columnLabelOptions; } /** *

The label options of the column that is displayed in a heat map.

*/ inline bool ColumnLabelOptionsHasBeenSet() const { return m_columnLabelOptionsHasBeenSet; } /** *

The label options of the column that is displayed in a heat map.

*/ inline void SetColumnLabelOptions(const ChartAxisLabelOptions& value) { m_columnLabelOptionsHasBeenSet = true; m_columnLabelOptions = value; } /** *

The label options of the column that is displayed in a heat map.

*/ inline void SetColumnLabelOptions(ChartAxisLabelOptions&& value) { m_columnLabelOptionsHasBeenSet = true; m_columnLabelOptions = std::move(value); } /** *

The label options of the column that is displayed in a heat map.

*/ inline HeatMapConfiguration& WithColumnLabelOptions(const ChartAxisLabelOptions& value) { SetColumnLabelOptions(value); return *this;} /** *

The label options of the column that is displayed in a heat map.

*/ inline HeatMapConfiguration& WithColumnLabelOptions(ChartAxisLabelOptions&& value) { SetColumnLabelOptions(std::move(value)); return *this;} /** *

The color options (gradient color, point of divergence) in a heat map.

*/ inline const ColorScale& GetColorScale() const{ return m_colorScale; } /** *

The color options (gradient color, point of divergence) in a heat map.

*/ inline bool ColorScaleHasBeenSet() const { return m_colorScaleHasBeenSet; } /** *

The color options (gradient color, point of divergence) in a heat map.

*/ inline void SetColorScale(const ColorScale& value) { m_colorScaleHasBeenSet = true; m_colorScale = value; } /** *

The color options (gradient color, point of divergence) in a heat map.

*/ inline void SetColorScale(ColorScale&& value) { m_colorScaleHasBeenSet = true; m_colorScale = std::move(value); } /** *

The color options (gradient color, point of divergence) in a heat map.

*/ inline HeatMapConfiguration& WithColorScale(const ColorScale& value) { SetColorScale(value); return *this;} /** *

The color options (gradient color, point of divergence) in a heat map.

*/ inline HeatMapConfiguration& WithColorScale(ColorScale&& value) { SetColorScale(std::move(value)); return *this;} /** *

The legend display setup of the visual.

*/ inline const LegendOptions& GetLegend() const{ return m_legend; } /** *

The legend display setup of the visual.

*/ inline bool LegendHasBeenSet() const { return m_legendHasBeenSet; } /** *

The legend display setup of the visual.

*/ inline void SetLegend(const LegendOptions& value) { m_legendHasBeenSet = true; m_legend = value; } /** *

The legend display setup of the visual.

*/ inline void SetLegend(LegendOptions&& value) { m_legendHasBeenSet = true; m_legend = std::move(value); } /** *

The legend display setup of the visual.

*/ inline HeatMapConfiguration& WithLegend(const LegendOptions& value) { SetLegend(value); return *this;} /** *

The legend display setup of the visual.

*/ inline HeatMapConfiguration& WithLegend(LegendOptions&& value) { SetLegend(std::move(value)); return *this;} /** *

The options that determine if visual data labels are displayed.

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

The options that determine if visual data labels are displayed.

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

The options that determine if visual data labels are displayed.

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

The options that determine if visual data labels are displayed.

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

The options that determine if visual data labels are displayed.

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

The options that determine if visual data labels are displayed.

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

The tooltip display setup of the visual.

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

The tooltip display setup of the visual.

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

The tooltip display setup of the visual.

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

The tooltip display setup of the visual.

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

The tooltip display setup of the visual.

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

The tooltip display setup of the visual.

*/ inline HeatMapConfiguration& WithTooltip(TooltipOptions&& value) { SetTooltip(std::move(value)); return *this;} private: HeatMapFieldWells m_fieldWells; bool m_fieldWellsHasBeenSet = false; HeatMapSortConfiguration m_sortConfiguration; bool m_sortConfigurationHasBeenSet = false; ChartAxisLabelOptions m_rowLabelOptions; bool m_rowLabelOptionsHasBeenSet = false; ChartAxisLabelOptions m_columnLabelOptions; bool m_columnLabelOptionsHasBeenSet = false; ColorScale m_colorScale; bool m_colorScaleHasBeenSet = false; LegendOptions m_legend; bool m_legendHasBeenSet = false; DataLabelOptions m_dataLabels; bool m_dataLabelsHasBeenSet = false; TooltipOptions m_tooltip; bool m_tooltipHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws