/** * 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 scatter plot.

See Also:

AWS * API Reference

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

The field wells of the visual.

*/ inline const ScatterPlotFieldWells& 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 ScatterPlotFieldWells& value) { m_fieldWellsHasBeenSet = true; m_fieldWells = value; } /** *

The field wells of the visual.

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

The field wells of the visual.

*/ inline ScatterPlotConfiguration& WithFieldWells(const ScatterPlotFieldWells& value) { SetFieldWells(value); return *this;} /** *

The field wells of the visual.

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

The label options (label text, label visibility, and sort icon visibility) of * the scatter plot's x-axis.

*/ inline const ChartAxisLabelOptions& GetXAxisLabelOptions() const{ return m_xAxisLabelOptions; } /** *

The label options (label text, label visibility, and sort icon visibility) of * the scatter plot's x-axis.

*/ inline bool XAxisLabelOptionsHasBeenSet() const { return m_xAxisLabelOptionsHasBeenSet; } /** *

The label options (label text, label visibility, and sort icon visibility) of * the scatter plot's x-axis.

*/ inline void SetXAxisLabelOptions(const ChartAxisLabelOptions& value) { m_xAxisLabelOptionsHasBeenSet = true; m_xAxisLabelOptions = value; } /** *

The label options (label text, label visibility, and sort icon visibility) of * the scatter plot's x-axis.

*/ inline void SetXAxisLabelOptions(ChartAxisLabelOptions&& value) { m_xAxisLabelOptionsHasBeenSet = true; m_xAxisLabelOptions = std::move(value); } /** *

The label options (label text, label visibility, and sort icon visibility) of * the scatter plot's x-axis.

*/ inline ScatterPlotConfiguration& WithXAxisLabelOptions(const ChartAxisLabelOptions& value) { SetXAxisLabelOptions(value); return *this;} /** *

The label options (label text, label visibility, and sort icon visibility) of * the scatter plot's x-axis.

*/ inline ScatterPlotConfiguration& WithXAxisLabelOptions(ChartAxisLabelOptions&& value) { SetXAxisLabelOptions(std::move(value)); return *this;} /** *

The label display options (grid line, range, scale, and axis step) of the * scatter plot's x-axis.

*/ inline const AxisDisplayOptions& GetXAxisDisplayOptions() const{ return m_xAxisDisplayOptions; } /** *

The label display options (grid line, range, scale, and axis step) of the * scatter plot's x-axis.

*/ inline bool XAxisDisplayOptionsHasBeenSet() const { return m_xAxisDisplayOptionsHasBeenSet; } /** *

The label display options (grid line, range, scale, and axis step) of the * scatter plot's x-axis.

*/ inline void SetXAxisDisplayOptions(const AxisDisplayOptions& value) { m_xAxisDisplayOptionsHasBeenSet = true; m_xAxisDisplayOptions = value; } /** *

The label display options (grid line, range, scale, and axis step) of the * scatter plot's x-axis.

*/ inline void SetXAxisDisplayOptions(AxisDisplayOptions&& value) { m_xAxisDisplayOptionsHasBeenSet = true; m_xAxisDisplayOptions = std::move(value); } /** *

The label display options (grid line, range, scale, and axis step) of the * scatter plot's x-axis.

*/ inline ScatterPlotConfiguration& WithXAxisDisplayOptions(const AxisDisplayOptions& value) { SetXAxisDisplayOptions(value); return *this;} /** *

The label display options (grid line, range, scale, and axis step) of the * scatter plot's x-axis.

*/ inline ScatterPlotConfiguration& WithXAxisDisplayOptions(AxisDisplayOptions&& value) { SetXAxisDisplayOptions(std::move(value)); return *this;} /** *

The label options (label text, label visibility, and sort icon visibility) of * the scatter plot's y-axis.

*/ inline const ChartAxisLabelOptions& GetYAxisLabelOptions() const{ return m_yAxisLabelOptions; } /** *

The label options (label text, label visibility, and sort icon visibility) of * the scatter plot's y-axis.

*/ inline bool YAxisLabelOptionsHasBeenSet() const { return m_yAxisLabelOptionsHasBeenSet; } /** *

The label options (label text, label visibility, and sort icon visibility) of * the scatter plot's y-axis.

*/ inline void SetYAxisLabelOptions(const ChartAxisLabelOptions& value) { m_yAxisLabelOptionsHasBeenSet = true; m_yAxisLabelOptions = value; } /** *

The label options (label text, label visibility, and sort icon visibility) of * the scatter plot's y-axis.

*/ inline void SetYAxisLabelOptions(ChartAxisLabelOptions&& value) { m_yAxisLabelOptionsHasBeenSet = true; m_yAxisLabelOptions = std::move(value); } /** *

The label options (label text, label visibility, and sort icon visibility) of * the scatter plot's y-axis.

*/ inline ScatterPlotConfiguration& WithYAxisLabelOptions(const ChartAxisLabelOptions& value) { SetYAxisLabelOptions(value); return *this;} /** *

The label options (label text, label visibility, and sort icon visibility) of * the scatter plot's y-axis.

*/ inline ScatterPlotConfiguration& WithYAxisLabelOptions(ChartAxisLabelOptions&& value) { SetYAxisLabelOptions(std::move(value)); return *this;} /** *

The label display options (grid line, range, scale, and axis step) of the * scatter plot's y-axis.

*/ inline const AxisDisplayOptions& GetYAxisDisplayOptions() const{ return m_yAxisDisplayOptions; } /** *

The label display options (grid line, range, scale, and axis step) of the * scatter plot's y-axis.

*/ inline bool YAxisDisplayOptionsHasBeenSet() const { return m_yAxisDisplayOptionsHasBeenSet; } /** *

The label display options (grid line, range, scale, and axis step) of the * scatter plot's y-axis.

*/ inline void SetYAxisDisplayOptions(const AxisDisplayOptions& value) { m_yAxisDisplayOptionsHasBeenSet = true; m_yAxisDisplayOptions = value; } /** *

The label display options (grid line, range, scale, and axis step) of the * scatter plot's y-axis.

*/ inline void SetYAxisDisplayOptions(AxisDisplayOptions&& value) { m_yAxisDisplayOptionsHasBeenSet = true; m_yAxisDisplayOptions = std::move(value); } /** *

The label display options (grid line, range, scale, and axis step) of the * scatter plot's y-axis.

*/ inline ScatterPlotConfiguration& WithYAxisDisplayOptions(const AxisDisplayOptions& value) { SetYAxisDisplayOptions(value); return *this;} /** *

The label display options (grid line, range, scale, and axis step) of the * scatter plot's y-axis.

*/ inline ScatterPlotConfiguration& WithYAxisDisplayOptions(AxisDisplayOptions&& value) { SetYAxisDisplayOptions(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 ScatterPlotConfiguration& WithLegend(const LegendOptions& value) { SetLegend(value); return *this;} /** *

The legend display setup of the visual.

*/ inline ScatterPlotConfiguration& 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 ScatterPlotConfiguration& WithDataLabels(const DataLabelOptions& value) { SetDataLabels(value); return *this;} /** *

The options that determine if visual data labels are displayed.

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

The legend display setup of the visual.

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

The legend display setup of the visual.

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

The legend display setup of the visual.

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

The legend display setup of the visual.

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

The legend display setup of the visual.

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

The legend display setup of the visual.

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

The palette (chart color) display setup of the visual.

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

The palette (chart color) display setup of the visual.

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

The palette (chart color) display setup of the visual.

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

The palette (chart color) display setup of the visual.

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

The palette (chart color) display setup of the visual.

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

The palette (chart color) display setup of the visual.

*/ inline ScatterPlotConfiguration& WithVisualPalette(VisualPalette&& value) { SetVisualPalette(std::move(value)); return *this;} private: ScatterPlotFieldWells m_fieldWells; bool m_fieldWellsHasBeenSet = false; ChartAxisLabelOptions m_xAxisLabelOptions; bool m_xAxisLabelOptionsHasBeenSet = false; AxisDisplayOptions m_xAxisDisplayOptions; bool m_xAxisDisplayOptionsHasBeenSet = false; ChartAxisLabelOptions m_yAxisLabelOptions; bool m_yAxisLabelOptionsHasBeenSet = false; AxisDisplayOptions m_yAxisDisplayOptions; bool m_yAxisDisplayOptionsHasBeenSet = false; LegendOptions m_legend; bool m_legendHasBeenSet = false; DataLabelOptions m_dataLabels; bool m_dataLabelsHasBeenSet = false; TooltipOptions m_tooltip; bool m_tooltipHasBeenSet = false; VisualPalette m_visualPalette; bool m_visualPaletteHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws