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

The display options for the axis label.

See Also:

AWS * API Reference

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

The tick label options of an axis.

*/ inline const AxisTickLabelOptions& GetTickLabelOptions() const{ return m_tickLabelOptions; } /** *

The tick label options of an axis.

*/ inline bool TickLabelOptionsHasBeenSet() const { return m_tickLabelOptionsHasBeenSet; } /** *

The tick label options of an axis.

*/ inline void SetTickLabelOptions(const AxisTickLabelOptions& value) { m_tickLabelOptionsHasBeenSet = true; m_tickLabelOptions = value; } /** *

The tick label options of an axis.

*/ inline void SetTickLabelOptions(AxisTickLabelOptions&& value) { m_tickLabelOptionsHasBeenSet = true; m_tickLabelOptions = std::move(value); } /** *

The tick label options of an axis.

*/ inline AxisDisplayOptions& WithTickLabelOptions(const AxisTickLabelOptions& value) { SetTickLabelOptions(value); return *this;} /** *

The tick label options of an axis.

*/ inline AxisDisplayOptions& WithTickLabelOptions(AxisTickLabelOptions&& value) { SetTickLabelOptions(std::move(value)); return *this;} /** *

Determines whether or not the axis line is visible.

*/ inline const Visibility& GetAxisLineVisibility() const{ return m_axisLineVisibility; } /** *

Determines whether or not the axis line is visible.

*/ inline bool AxisLineVisibilityHasBeenSet() const { return m_axisLineVisibilityHasBeenSet; } /** *

Determines whether or not the axis line is visible.

*/ inline void SetAxisLineVisibility(const Visibility& value) { m_axisLineVisibilityHasBeenSet = true; m_axisLineVisibility = value; } /** *

Determines whether or not the axis line is visible.

*/ inline void SetAxisLineVisibility(Visibility&& value) { m_axisLineVisibilityHasBeenSet = true; m_axisLineVisibility = std::move(value); } /** *

Determines whether or not the axis line is visible.

*/ inline AxisDisplayOptions& WithAxisLineVisibility(const Visibility& value) { SetAxisLineVisibility(value); return *this;} /** *

Determines whether or not the axis line is visible.

*/ inline AxisDisplayOptions& WithAxisLineVisibility(Visibility&& value) { SetAxisLineVisibility(std::move(value)); return *this;} /** *

Determines whether or not the grid line is visible.

*/ inline const Visibility& GetGridLineVisibility() const{ return m_gridLineVisibility; } /** *

Determines whether or not the grid line is visible.

*/ inline bool GridLineVisibilityHasBeenSet() const { return m_gridLineVisibilityHasBeenSet; } /** *

Determines whether or not the grid line is visible.

*/ inline void SetGridLineVisibility(const Visibility& value) { m_gridLineVisibilityHasBeenSet = true; m_gridLineVisibility = value; } /** *

Determines whether or not the grid line is visible.

*/ inline void SetGridLineVisibility(Visibility&& value) { m_gridLineVisibilityHasBeenSet = true; m_gridLineVisibility = std::move(value); } /** *

Determines whether or not the grid line is visible.

*/ inline AxisDisplayOptions& WithGridLineVisibility(const Visibility& value) { SetGridLineVisibility(value); return *this;} /** *

Determines whether or not the grid line is visible.

*/ inline AxisDisplayOptions& WithGridLineVisibility(Visibility&& value) { SetGridLineVisibility(std::move(value)); return *this;} /** *

The data options for an axis.

*/ inline const AxisDataOptions& GetDataOptions() const{ return m_dataOptions; } /** *

The data options for an axis.

*/ inline bool DataOptionsHasBeenSet() const { return m_dataOptionsHasBeenSet; } /** *

The data options for an axis.

*/ inline void SetDataOptions(const AxisDataOptions& value) { m_dataOptionsHasBeenSet = true; m_dataOptions = value; } /** *

The data options for an axis.

*/ inline void SetDataOptions(AxisDataOptions&& value) { m_dataOptionsHasBeenSet = true; m_dataOptions = std::move(value); } /** *

The data options for an axis.

*/ inline AxisDisplayOptions& WithDataOptions(const AxisDataOptions& value) { SetDataOptions(value); return *this;} /** *

The data options for an axis.

*/ inline AxisDisplayOptions& WithDataOptions(AxisDataOptions&& value) { SetDataOptions(std::move(value)); return *this;} /** *

The scroll bar options for an axis.

*/ inline const ScrollBarOptions& GetScrollbarOptions() const{ return m_scrollbarOptions; } /** *

The scroll bar options for an axis.

*/ inline bool ScrollbarOptionsHasBeenSet() const { return m_scrollbarOptionsHasBeenSet; } /** *

The scroll bar options for an axis.

*/ inline void SetScrollbarOptions(const ScrollBarOptions& value) { m_scrollbarOptionsHasBeenSet = true; m_scrollbarOptions = value; } /** *

The scroll bar options for an axis.

*/ inline void SetScrollbarOptions(ScrollBarOptions&& value) { m_scrollbarOptionsHasBeenSet = true; m_scrollbarOptions = std::move(value); } /** *

The scroll bar options for an axis.

*/ inline AxisDisplayOptions& WithScrollbarOptions(const ScrollBarOptions& value) { SetScrollbarOptions(value); return *this;} /** *

The scroll bar options for an axis.

*/ inline AxisDisplayOptions& WithScrollbarOptions(ScrollBarOptions&& value) { SetScrollbarOptions(std::move(value)); return *this;} /** *

The offset value that determines the starting placement of the axis within a * visual's bounds.

*/ inline const Aws::String& GetAxisOffset() const{ return m_axisOffset; } /** *

The offset value that determines the starting placement of the axis within a * visual's bounds.

*/ inline bool AxisOffsetHasBeenSet() const { return m_axisOffsetHasBeenSet; } /** *

The offset value that determines the starting placement of the axis within a * visual's bounds.

*/ inline void SetAxisOffset(const Aws::String& value) { m_axisOffsetHasBeenSet = true; m_axisOffset = value; } /** *

The offset value that determines the starting placement of the axis within a * visual's bounds.

*/ inline void SetAxisOffset(Aws::String&& value) { m_axisOffsetHasBeenSet = true; m_axisOffset = std::move(value); } /** *

The offset value that determines the starting placement of the axis within a * visual's bounds.

*/ inline void SetAxisOffset(const char* value) { m_axisOffsetHasBeenSet = true; m_axisOffset.assign(value); } /** *

The offset value that determines the starting placement of the axis within a * visual's bounds.

*/ inline AxisDisplayOptions& WithAxisOffset(const Aws::String& value) { SetAxisOffset(value); return *this;} /** *

The offset value that determines the starting placement of the axis within a * visual's bounds.

*/ inline AxisDisplayOptions& WithAxisOffset(Aws::String&& value) { SetAxisOffset(std::move(value)); return *this;} /** *

The offset value that determines the starting placement of the axis within a * visual's bounds.

*/ inline AxisDisplayOptions& WithAxisOffset(const char* value) { SetAxisOffset(value); return *this;} private: AxisTickLabelOptions m_tickLabelOptions; bool m_tickLabelOptionsHasBeenSet = false; Visibility m_axisLineVisibility; bool m_axisLineVisibilityHasBeenSet = false; Visibility m_gridLineVisibility; bool m_gridLineVisibilityHasBeenSet = false; AxisDataOptions m_dataOptions; bool m_dataOptionsHasBeenSet = false; ScrollBarOptions m_scrollbarOptions; bool m_scrollbarOptionsHasBeenSet = false; Aws::String m_axisOffset; bool m_axisOffsetHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws