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

Options that determine the layout and display options of a chart's small * multiples.

See Also:

AWS * API Reference

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

Sets the maximum number of visible rows to display in the grid of small * multiples panels.

The default value is Auto, which * automatically adjusts the rows in the grid to fit the overall layout and size of * the given chart.

*/ inline long long GetMaxVisibleRows() const{ return m_maxVisibleRows; } /** *

Sets the maximum number of visible rows to display in the grid of small * multiples panels.

The default value is Auto, which * automatically adjusts the rows in the grid to fit the overall layout and size of * the given chart.

*/ inline bool MaxVisibleRowsHasBeenSet() const { return m_maxVisibleRowsHasBeenSet; } /** *

Sets the maximum number of visible rows to display in the grid of small * multiples panels.

The default value is Auto, which * automatically adjusts the rows in the grid to fit the overall layout and size of * the given chart.

*/ inline void SetMaxVisibleRows(long long value) { m_maxVisibleRowsHasBeenSet = true; m_maxVisibleRows = value; } /** *

Sets the maximum number of visible rows to display in the grid of small * multiples panels.

The default value is Auto, which * automatically adjusts the rows in the grid to fit the overall layout and size of * the given chart.

*/ inline SmallMultiplesOptions& WithMaxVisibleRows(long long value) { SetMaxVisibleRows(value); return *this;} /** *

Sets the maximum number of visible columns to display in the grid of small * multiples panels.

The default is Auto, which automatically * adjusts the columns in the grid to fit the overall layout and size of the given * chart.

*/ inline long long GetMaxVisibleColumns() const{ return m_maxVisibleColumns; } /** *

Sets the maximum number of visible columns to display in the grid of small * multiples panels.

The default is Auto, which automatically * adjusts the columns in the grid to fit the overall layout and size of the given * chart.

*/ inline bool MaxVisibleColumnsHasBeenSet() const { return m_maxVisibleColumnsHasBeenSet; } /** *

Sets the maximum number of visible columns to display in the grid of small * multiples panels.

The default is Auto, which automatically * adjusts the columns in the grid to fit the overall layout and size of the given * chart.

*/ inline void SetMaxVisibleColumns(long long value) { m_maxVisibleColumnsHasBeenSet = true; m_maxVisibleColumns = value; } /** *

Sets the maximum number of visible columns to display in the grid of small * multiples panels.

The default is Auto, which automatically * adjusts the columns in the grid to fit the overall layout and size of the given * chart.

*/ inline SmallMultiplesOptions& WithMaxVisibleColumns(long long value) { SetMaxVisibleColumns(value); return *this;} /** *

Configures the display options for each small multiples panel.

*/ inline const PanelConfiguration& GetPanelConfiguration() const{ return m_panelConfiguration; } /** *

Configures the display options for each small multiples panel.

*/ inline bool PanelConfigurationHasBeenSet() const { return m_panelConfigurationHasBeenSet; } /** *

Configures the display options for each small multiples panel.

*/ inline void SetPanelConfiguration(const PanelConfiguration& value) { m_panelConfigurationHasBeenSet = true; m_panelConfiguration = value; } /** *

Configures the display options for each small multiples panel.

*/ inline void SetPanelConfiguration(PanelConfiguration&& value) { m_panelConfigurationHasBeenSet = true; m_panelConfiguration = std::move(value); } /** *

Configures the display options for each small multiples panel.

*/ inline SmallMultiplesOptions& WithPanelConfiguration(const PanelConfiguration& value) { SetPanelConfiguration(value); return *this;} /** *

Configures the display options for each small multiples panel.

*/ inline SmallMultiplesOptions& WithPanelConfiguration(PanelConfiguration&& value) { SetPanelConfiguration(std::move(value)); return *this;} /** *

The properties of a small multiples X axis.

*/ inline const SmallMultiplesAxisProperties& GetXAxis() const{ return m_xAxis; } /** *

The properties of a small multiples X axis.

*/ inline bool XAxisHasBeenSet() const { return m_xAxisHasBeenSet; } /** *

The properties of a small multiples X axis.

*/ inline void SetXAxis(const SmallMultiplesAxisProperties& value) { m_xAxisHasBeenSet = true; m_xAxis = value; } /** *

The properties of a small multiples X axis.

*/ inline void SetXAxis(SmallMultiplesAxisProperties&& value) { m_xAxisHasBeenSet = true; m_xAxis = std::move(value); } /** *

The properties of a small multiples X axis.

*/ inline SmallMultiplesOptions& WithXAxis(const SmallMultiplesAxisProperties& value) { SetXAxis(value); return *this;} /** *

The properties of a small multiples X axis.

*/ inline SmallMultiplesOptions& WithXAxis(SmallMultiplesAxisProperties&& value) { SetXAxis(std::move(value)); return *this;} /** *

The properties of a small multiples Y axis.

*/ inline const SmallMultiplesAxisProperties& GetYAxis() const{ return m_yAxis; } /** *

The properties of a small multiples Y axis.

*/ inline bool YAxisHasBeenSet() const { return m_yAxisHasBeenSet; } /** *

The properties of a small multiples Y axis.

*/ inline void SetYAxis(const SmallMultiplesAxisProperties& value) { m_yAxisHasBeenSet = true; m_yAxis = value; } /** *

The properties of a small multiples Y axis.

*/ inline void SetYAxis(SmallMultiplesAxisProperties&& value) { m_yAxisHasBeenSet = true; m_yAxis = std::move(value); } /** *

The properties of a small multiples Y axis.

*/ inline SmallMultiplesOptions& WithYAxis(const SmallMultiplesAxisProperties& value) { SetYAxis(value); return *this;} /** *

The properties of a small multiples Y axis.

*/ inline SmallMultiplesOptions& WithYAxis(SmallMultiplesAxisProperties&& value) { SetYAxis(std::move(value)); return *this;} private: long long m_maxVisibleRows; bool m_maxVisibleRowsHasBeenSet = false; long long m_maxVisibleColumns; bool m_maxVisibleColumnsHasBeenSet = false; PanelConfiguration m_panelConfiguration; bool m_panelConfigurationHasBeenSet = false; SmallMultiplesAxisProperties m_xAxis; bool m_xAxisHasBeenSet = false; SmallMultiplesAxisProperties m_yAxis; bool m_yAxisHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws