/** * 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 #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 BoxPlotVisual.

See Also:

* AWS * API Reference

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

The field wells of the visual.

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

The field wells of the visual.

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

The field wells of the visual.

*/ inline BoxPlotChartConfiguration& WithFieldWells(const BoxPlotFieldWells& value) { SetFieldWells(value); return *this;} /** *

The field wells of the visual.

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

The sort configuration of a BoxPlotVisual.

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

The sort configuration of a BoxPlotVisual.

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

The sort configuration of a BoxPlotVisual.

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

The sort configuration of a BoxPlotVisual.

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

The sort configuration of a BoxPlotVisual.

*/ inline BoxPlotChartConfiguration& WithSortConfiguration(const BoxPlotSortConfiguration& value) { SetSortConfiguration(value); return *this;} /** *

The sort configuration of a BoxPlotVisual.

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

The box plot chart options for a box plot visual

*/ inline const BoxPlotOptions& GetBoxPlotOptions() const{ return m_boxPlotOptions; } /** *

The box plot chart options for a box plot visual

*/ inline bool BoxPlotOptionsHasBeenSet() const { return m_boxPlotOptionsHasBeenSet; } /** *

The box plot chart options for a box plot visual

*/ inline void SetBoxPlotOptions(const BoxPlotOptions& value) { m_boxPlotOptionsHasBeenSet = true; m_boxPlotOptions = value; } /** *

The box plot chart options for a box plot visual

*/ inline void SetBoxPlotOptions(BoxPlotOptions&& value) { m_boxPlotOptionsHasBeenSet = true; m_boxPlotOptions = std::move(value); } /** *

The box plot chart options for a box plot visual

*/ inline BoxPlotChartConfiguration& WithBoxPlotOptions(const BoxPlotOptions& value) { SetBoxPlotOptions(value); return *this;} /** *

The box plot chart options for a box plot visual

*/ inline BoxPlotChartConfiguration& WithBoxPlotOptions(BoxPlotOptions&& value) { SetBoxPlotOptions(std::move(value)); return *this;} /** *

The label display options (grid line, range, scale, axis step) of a box plot * category.

*/ inline const AxisDisplayOptions& GetCategoryAxis() const{ return m_categoryAxis; } /** *

The label display options (grid line, range, scale, axis step) of a box plot * category.

*/ inline bool CategoryAxisHasBeenSet() const { return m_categoryAxisHasBeenSet; } /** *

The label display options (grid line, range, scale, axis step) of a box plot * category.

*/ inline void SetCategoryAxis(const AxisDisplayOptions& value) { m_categoryAxisHasBeenSet = true; m_categoryAxis = value; } /** *

The label display options (grid line, range, scale, axis step) of a box plot * category.

*/ inline void SetCategoryAxis(AxisDisplayOptions&& value) { m_categoryAxisHasBeenSet = true; m_categoryAxis = std::move(value); } /** *

The label display options (grid line, range, scale, axis step) of a box plot * category.

*/ inline BoxPlotChartConfiguration& WithCategoryAxis(const AxisDisplayOptions& value) { SetCategoryAxis(value); return *this;} /** *

The label display options (grid line, range, scale, axis step) of a box plot * category.

*/ inline BoxPlotChartConfiguration& WithCategoryAxis(AxisDisplayOptions&& value) { SetCategoryAxis(std::move(value)); return *this;} /** *

The label options (label text, label visibility and sort Icon visibility) of * a box plot category.

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

The label options (label text, label visibility and sort Icon visibility) of * a box plot category.

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

The label options (label text, label visibility and sort Icon visibility) of * a box plot category.

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

The label options (label text, label visibility and sort Icon visibility) of * a box plot category.

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

The label options (label text, label visibility and sort Icon visibility) of * a box plot category.

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

The label options (label text, label visibility and sort Icon visibility) of * a box plot category.

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

The label display options (grid line, range, scale, axis step) of a box plot * category.

*/ inline const AxisDisplayOptions& GetPrimaryYAxisDisplayOptions() const{ return m_primaryYAxisDisplayOptions; } /** *

The label display options (grid line, range, scale, axis step) of a box plot * category.

*/ inline bool PrimaryYAxisDisplayOptionsHasBeenSet() const { return m_primaryYAxisDisplayOptionsHasBeenSet; } /** *

The label display options (grid line, range, scale, axis step) of a box plot * category.

*/ inline void SetPrimaryYAxisDisplayOptions(const AxisDisplayOptions& value) { m_primaryYAxisDisplayOptionsHasBeenSet = true; m_primaryYAxisDisplayOptions = value; } /** *

The label display options (grid line, range, scale, axis step) of a box plot * category.

*/ inline void SetPrimaryYAxisDisplayOptions(AxisDisplayOptions&& value) { m_primaryYAxisDisplayOptionsHasBeenSet = true; m_primaryYAxisDisplayOptions = std::move(value); } /** *

The label display options (grid line, range, scale, axis step) of a box plot * category.

*/ inline BoxPlotChartConfiguration& WithPrimaryYAxisDisplayOptions(const AxisDisplayOptions& value) { SetPrimaryYAxisDisplayOptions(value); return *this;} /** *

The label display options (grid line, range, scale, axis step) of a box plot * category.

*/ inline BoxPlotChartConfiguration& WithPrimaryYAxisDisplayOptions(AxisDisplayOptions&& value) { SetPrimaryYAxisDisplayOptions(std::move(value)); return *this;} /** *

The label options (label text, label visibility and sort icon visibility) of * a box plot value.

*/ inline const ChartAxisLabelOptions& GetPrimaryYAxisLabelOptions() const{ return m_primaryYAxisLabelOptions; } /** *

The label options (label text, label visibility and sort icon visibility) of * a box plot value.

*/ inline bool PrimaryYAxisLabelOptionsHasBeenSet() const { return m_primaryYAxisLabelOptionsHasBeenSet; } /** *

The label options (label text, label visibility and sort icon visibility) of * a box plot value.

*/ inline void SetPrimaryYAxisLabelOptions(const ChartAxisLabelOptions& value) { m_primaryYAxisLabelOptionsHasBeenSet = true; m_primaryYAxisLabelOptions = value; } /** *

The label options (label text, label visibility and sort icon visibility) of * a box plot value.

*/ inline void SetPrimaryYAxisLabelOptions(ChartAxisLabelOptions&& value) { m_primaryYAxisLabelOptionsHasBeenSet = true; m_primaryYAxisLabelOptions = std::move(value); } /** *

The label options (label text, label visibility and sort icon visibility) of * a box plot value.

*/ inline BoxPlotChartConfiguration& WithPrimaryYAxisLabelOptions(const ChartAxisLabelOptions& value) { SetPrimaryYAxisLabelOptions(value); return *this;} /** *

The label options (label text, label visibility and sort icon visibility) of * a box plot value.

*/ inline BoxPlotChartConfiguration& WithPrimaryYAxisLabelOptions(ChartAxisLabelOptions&& value) { SetPrimaryYAxisLabelOptions(std::move(value)); return *this;} inline const LegendOptions& GetLegend() const{ return m_legend; } inline bool LegendHasBeenSet() const { return m_legendHasBeenSet; } inline void SetLegend(const LegendOptions& value) { m_legendHasBeenSet = true; m_legend = value; } inline void SetLegend(LegendOptions&& value) { m_legendHasBeenSet = true; m_legend = std::move(value); } inline BoxPlotChartConfiguration& WithLegend(const LegendOptions& value) { SetLegend(value); return *this;} inline BoxPlotChartConfiguration& WithLegend(LegendOptions&& value) { SetLegend(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 BoxPlotChartConfiguration& WithTooltip(const TooltipOptions& value) { SetTooltip(value); return *this;} /** *

The tooltip display setup of the visual.

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

The reference line setup of the visual.

*/ inline const Aws::Vector& GetReferenceLines() const{ return m_referenceLines; } /** *

The reference line setup of the visual.

*/ inline bool ReferenceLinesHasBeenSet() const { return m_referenceLinesHasBeenSet; } /** *

The reference line setup of the visual.

*/ inline void SetReferenceLines(const Aws::Vector& value) { m_referenceLinesHasBeenSet = true; m_referenceLines = value; } /** *

The reference line setup of the visual.

*/ inline void SetReferenceLines(Aws::Vector&& value) { m_referenceLinesHasBeenSet = true; m_referenceLines = std::move(value); } /** *

The reference line setup of the visual.

*/ inline BoxPlotChartConfiguration& WithReferenceLines(const Aws::Vector& value) { SetReferenceLines(value); return *this;} /** *

The reference line setup of the visual.

*/ inline BoxPlotChartConfiguration& WithReferenceLines(Aws::Vector&& value) { SetReferenceLines(std::move(value)); return *this;} /** *

The reference line setup of the visual.

*/ inline BoxPlotChartConfiguration& AddReferenceLines(const ReferenceLine& value) { m_referenceLinesHasBeenSet = true; m_referenceLines.push_back(value); return *this; } /** *

The reference line setup of the visual.

*/ inline BoxPlotChartConfiguration& AddReferenceLines(ReferenceLine&& value) { m_referenceLinesHasBeenSet = true; m_referenceLines.push_back(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 BoxPlotChartConfiguration& WithVisualPalette(const VisualPalette& value) { SetVisualPalette(value); return *this;} /** *

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

*/ inline BoxPlotChartConfiguration& WithVisualPalette(VisualPalette&& value) { SetVisualPalette(std::move(value)); return *this;} private: BoxPlotFieldWells m_fieldWells; bool m_fieldWellsHasBeenSet = false; BoxPlotSortConfiguration m_sortConfiguration; bool m_sortConfigurationHasBeenSet = false; BoxPlotOptions m_boxPlotOptions; bool m_boxPlotOptionsHasBeenSet = false; AxisDisplayOptions m_categoryAxis; bool m_categoryAxisHasBeenSet = false; ChartAxisLabelOptions m_categoryLabelOptions; bool m_categoryLabelOptionsHasBeenSet = false; AxisDisplayOptions m_primaryYAxisDisplayOptions; bool m_primaryYAxisDisplayOptionsHasBeenSet = false; ChartAxisLabelOptions m_primaryYAxisLabelOptions; bool m_primaryYAxisLabelOptionsHasBeenSet = false; LegendOptions m_legend; bool m_legendHasBeenSet = false; TooltipOptions m_tooltip; bool m_tooltipHasBeenSet = false; Aws::Vector m_referenceLines; bool m_referenceLinesHasBeenSet = false; VisualPalette m_visualPalette; bool m_visualPaletteHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws