/** * 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 { /** *

A box plot.

For more information, see Using * box plots in the Amazon QuickSight User Guide.

See * Also:

AWS * API Reference

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

The unique identifier of a visual. This identifier must be unique within the * context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have visuals with the same identifiers..

*/ inline const Aws::String& GetVisualId() const{ return m_visualId; } /** *

The unique identifier of a visual. This identifier must be unique within the * context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have visuals with the same identifiers..

*/ inline bool VisualIdHasBeenSet() const { return m_visualIdHasBeenSet; } /** *

The unique identifier of a visual. This identifier must be unique within the * context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have visuals with the same identifiers..

*/ inline void SetVisualId(const Aws::String& value) { m_visualIdHasBeenSet = true; m_visualId = value; } /** *

The unique identifier of a visual. This identifier must be unique within the * context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have visuals with the same identifiers..

*/ inline void SetVisualId(Aws::String&& value) { m_visualIdHasBeenSet = true; m_visualId = std::move(value); } /** *

The unique identifier of a visual. This identifier must be unique within the * context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have visuals with the same identifiers..

*/ inline void SetVisualId(const char* value) { m_visualIdHasBeenSet = true; m_visualId.assign(value); } /** *

The unique identifier of a visual. This identifier must be unique within the * context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have visuals with the same identifiers..

*/ inline BoxPlotVisual& WithVisualId(const Aws::String& value) { SetVisualId(value); return *this;} /** *

The unique identifier of a visual. This identifier must be unique within the * context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have visuals with the same identifiers..

*/ inline BoxPlotVisual& WithVisualId(Aws::String&& value) { SetVisualId(std::move(value)); return *this;} /** *

The unique identifier of a visual. This identifier must be unique within the * context of a dashboard, template, or analysis. Two dashboards, analyses, or * templates can have visuals with the same identifiers..

*/ inline BoxPlotVisual& WithVisualId(const char* value) { SetVisualId(value); return *this;} /** *

The title that is displayed on the visual.

*/ inline const VisualTitleLabelOptions& GetTitle() const{ return m_title; } /** *

The title that is displayed on the visual.

*/ inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; } /** *

The title that is displayed on the visual.

*/ inline void SetTitle(const VisualTitleLabelOptions& value) { m_titleHasBeenSet = true; m_title = value; } /** *

The title that is displayed on the visual.

*/ inline void SetTitle(VisualTitleLabelOptions&& value) { m_titleHasBeenSet = true; m_title = std::move(value); } /** *

The title that is displayed on the visual.

*/ inline BoxPlotVisual& WithTitle(const VisualTitleLabelOptions& value) { SetTitle(value); return *this;} /** *

The title that is displayed on the visual.

*/ inline BoxPlotVisual& WithTitle(VisualTitleLabelOptions&& value) { SetTitle(std::move(value)); return *this;} /** *

The subtitle that is displayed on the visual.

*/ inline const VisualSubtitleLabelOptions& GetSubtitle() const{ return m_subtitle; } /** *

The subtitle that is displayed on the visual.

*/ inline bool SubtitleHasBeenSet() const { return m_subtitleHasBeenSet; } /** *

The subtitle that is displayed on the visual.

*/ inline void SetSubtitle(const VisualSubtitleLabelOptions& value) { m_subtitleHasBeenSet = true; m_subtitle = value; } /** *

The subtitle that is displayed on the visual.

*/ inline void SetSubtitle(VisualSubtitleLabelOptions&& value) { m_subtitleHasBeenSet = true; m_subtitle = std::move(value); } /** *

The subtitle that is displayed on the visual.

*/ inline BoxPlotVisual& WithSubtitle(const VisualSubtitleLabelOptions& value) { SetSubtitle(value); return *this;} /** *

The subtitle that is displayed on the visual.

*/ inline BoxPlotVisual& WithSubtitle(VisualSubtitleLabelOptions&& value) { SetSubtitle(std::move(value)); return *this;} /** *

The configuration settings of the visual.

*/ inline const BoxPlotChartConfiguration& GetChartConfiguration() const{ return m_chartConfiguration; } /** *

The configuration settings of the visual.

*/ inline bool ChartConfigurationHasBeenSet() const { return m_chartConfigurationHasBeenSet; } /** *

The configuration settings of the visual.

*/ inline void SetChartConfiguration(const BoxPlotChartConfiguration& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = value; } /** *

The configuration settings of the visual.

*/ inline void SetChartConfiguration(BoxPlotChartConfiguration&& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = std::move(value); } /** *

The configuration settings of the visual.

*/ inline BoxPlotVisual& WithChartConfiguration(const BoxPlotChartConfiguration& value) { SetChartConfiguration(value); return *this;} /** *

The configuration settings of the visual.

*/ inline BoxPlotVisual& WithChartConfiguration(BoxPlotChartConfiguration&& value) { SetChartConfiguration(std::move(value)); return *this;} /** *

The list of custom actions that are configured for a visual.

*/ inline const Aws::Vector& GetActions() const{ return m_actions; } /** *

The list of custom actions that are configured for a visual.

*/ inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; } /** *

The list of custom actions that are configured for a visual.

*/ inline void SetActions(const Aws::Vector& value) { m_actionsHasBeenSet = true; m_actions = value; } /** *

The list of custom actions that are configured for a visual.

*/ inline void SetActions(Aws::Vector&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); } /** *

The list of custom actions that are configured for a visual.

*/ inline BoxPlotVisual& WithActions(const Aws::Vector& value) { SetActions(value); return *this;} /** *

The list of custom actions that are configured for a visual.

*/ inline BoxPlotVisual& WithActions(Aws::Vector&& value) { SetActions(std::move(value)); return *this;} /** *

The list of custom actions that are configured for a visual.

*/ inline BoxPlotVisual& AddActions(const VisualCustomAction& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; } /** *

The list of custom actions that are configured for a visual.

*/ inline BoxPlotVisual& AddActions(VisualCustomAction&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; } /** *

The column hierarchy that is used during drill-downs and drill-ups.

*/ inline const Aws::Vector& GetColumnHierarchies() const{ return m_columnHierarchies; } /** *

The column hierarchy that is used during drill-downs and drill-ups.

*/ inline bool ColumnHierarchiesHasBeenSet() const { return m_columnHierarchiesHasBeenSet; } /** *

The column hierarchy that is used during drill-downs and drill-ups.

*/ inline void SetColumnHierarchies(const Aws::Vector& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies = value; } /** *

The column hierarchy that is used during drill-downs and drill-ups.

*/ inline void SetColumnHierarchies(Aws::Vector&& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies = std::move(value); } /** *

The column hierarchy that is used during drill-downs and drill-ups.

*/ inline BoxPlotVisual& WithColumnHierarchies(const Aws::Vector& value) { SetColumnHierarchies(value); return *this;} /** *

The column hierarchy that is used during drill-downs and drill-ups.

*/ inline BoxPlotVisual& WithColumnHierarchies(Aws::Vector&& value) { SetColumnHierarchies(std::move(value)); return *this;} /** *

The column hierarchy that is used during drill-downs and drill-ups.

*/ inline BoxPlotVisual& AddColumnHierarchies(const ColumnHierarchy& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies.push_back(value); return *this; } /** *

The column hierarchy that is used during drill-downs and drill-ups.

*/ inline BoxPlotVisual& AddColumnHierarchies(ColumnHierarchy&& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies.push_back(std::move(value)); return *this; } private: Aws::String m_visualId; bool m_visualIdHasBeenSet = false; VisualTitleLabelOptions m_title; bool m_titleHasBeenSet = false; VisualSubtitleLabelOptions m_subtitle; bool m_subtitleHasBeenSet = false; BoxPlotChartConfiguration m_chartConfiguration; bool m_chartConfigurationHasBeenSet = false; Aws::Vector m_actions; bool m_actionsHasBeenSet = false; Aws::Vector m_columnHierarchies; bool m_columnHierarchiesHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws