/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

The label options for an axis on a chart.

See Also:

AWS * API Reference

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

The visibility of an axis label on a chart. Choose one of the following * options:

  • VISIBLE: Shows the axis.

  • *

    HIDDEN: Hides the axis.

*/ inline const Visibility& GetVisibility() const{ return m_visibility; } /** *

The visibility of an axis label on a chart. Choose one of the following * options:

  • VISIBLE: Shows the axis.

  • *

    HIDDEN: Hides the axis.

*/ inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; } /** *

The visibility of an axis label on a chart. Choose one of the following * options:

  • VISIBLE: Shows the axis.

  • *

    HIDDEN: Hides the axis.

*/ inline void SetVisibility(const Visibility& value) { m_visibilityHasBeenSet = true; m_visibility = value; } /** *

The visibility of an axis label on a chart. Choose one of the following * options:

  • VISIBLE: Shows the axis.

  • *

    HIDDEN: Hides the axis.

*/ inline void SetVisibility(Visibility&& value) { m_visibilityHasBeenSet = true; m_visibility = std::move(value); } /** *

The visibility of an axis label on a chart. Choose one of the following * options:

  • VISIBLE: Shows the axis.

  • *

    HIDDEN: Hides the axis.

*/ inline ChartAxisLabelOptions& WithVisibility(const Visibility& value) { SetVisibility(value); return *this;} /** *

The visibility of an axis label on a chart. Choose one of the following * options:

  • VISIBLE: Shows the axis.

  • *

    HIDDEN: Hides the axis.

*/ inline ChartAxisLabelOptions& WithVisibility(Visibility&& value) { SetVisibility(std::move(value)); return *this;} /** *

The visibility configuration of the sort icon on a chart's axis label.

*/ inline const Visibility& GetSortIconVisibility() const{ return m_sortIconVisibility; } /** *

The visibility configuration of the sort icon on a chart's axis label.

*/ inline bool SortIconVisibilityHasBeenSet() const { return m_sortIconVisibilityHasBeenSet; } /** *

The visibility configuration of the sort icon on a chart's axis label.

*/ inline void SetSortIconVisibility(const Visibility& value) { m_sortIconVisibilityHasBeenSet = true; m_sortIconVisibility = value; } /** *

The visibility configuration of the sort icon on a chart's axis label.

*/ inline void SetSortIconVisibility(Visibility&& value) { m_sortIconVisibilityHasBeenSet = true; m_sortIconVisibility = std::move(value); } /** *

The visibility configuration of the sort icon on a chart's axis label.

*/ inline ChartAxisLabelOptions& WithSortIconVisibility(const Visibility& value) { SetSortIconVisibility(value); return *this;} /** *

The visibility configuration of the sort icon on a chart's axis label.

*/ inline ChartAxisLabelOptions& WithSortIconVisibility(Visibility&& value) { SetSortIconVisibility(std::move(value)); return *this;} /** *

The label options for a chart axis.

*/ inline const Aws::Vector& GetAxisLabelOptions() const{ return m_axisLabelOptions; } /** *

The label options for a chart axis.

*/ inline bool AxisLabelOptionsHasBeenSet() const { return m_axisLabelOptionsHasBeenSet; } /** *

The label options for a chart axis.

*/ inline void SetAxisLabelOptions(const Aws::Vector& value) { m_axisLabelOptionsHasBeenSet = true; m_axisLabelOptions = value; } /** *

The label options for a chart axis.

*/ inline void SetAxisLabelOptions(Aws::Vector&& value) { m_axisLabelOptionsHasBeenSet = true; m_axisLabelOptions = std::move(value); } /** *

The label options for a chart axis.

*/ inline ChartAxisLabelOptions& WithAxisLabelOptions(const Aws::Vector& value) { SetAxisLabelOptions(value); return *this;} /** *

The label options for a chart axis.

*/ inline ChartAxisLabelOptions& WithAxisLabelOptions(Aws::Vector&& value) { SetAxisLabelOptions(std::move(value)); return *this;} /** *

The label options for a chart axis.

*/ inline ChartAxisLabelOptions& AddAxisLabelOptions(const AxisLabelOptions& value) { m_axisLabelOptionsHasBeenSet = true; m_axisLabelOptions.push_back(value); return *this; } /** *

The label options for a chart axis.

*/ inline ChartAxisLabelOptions& AddAxisLabelOptions(AxisLabelOptions&& value) { m_axisLabelOptionsHasBeenSet = true; m_axisLabelOptions.push_back(std::move(value)); return *this; } private: Visibility m_visibility; bool m_visibilityHasBeenSet = false; Visibility m_sortIconVisibility; bool m_sortIconVisibilityHasBeenSet = false; Aws::Vector m_axisLabelOptions; bool m_axisLabelOptionsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws