/** * 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 table options for a table visual.

See Also:

AWS * API Reference

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

The orientation (vertical, horizontal) for a table.

*/ inline const TableOrientation& GetOrientation() const{ return m_orientation; } /** *

The orientation (vertical, horizontal) for a table.

*/ inline bool OrientationHasBeenSet() const { return m_orientationHasBeenSet; } /** *

The orientation (vertical, horizontal) for a table.

*/ inline void SetOrientation(const TableOrientation& value) { m_orientationHasBeenSet = true; m_orientation = value; } /** *

The orientation (vertical, horizontal) for a table.

*/ inline void SetOrientation(TableOrientation&& value) { m_orientationHasBeenSet = true; m_orientation = std::move(value); } /** *

The orientation (vertical, horizontal) for a table.

*/ inline TableOptions& WithOrientation(const TableOrientation& value) { SetOrientation(value); return *this;} /** *

The orientation (vertical, horizontal) for a table.

*/ inline TableOptions& WithOrientation(TableOrientation&& value) { SetOrientation(std::move(value)); return *this;} /** *

The table cell style of a table header.

*/ inline const TableCellStyle& GetHeaderStyle() const{ return m_headerStyle; } /** *

The table cell style of a table header.

*/ inline bool HeaderStyleHasBeenSet() const { return m_headerStyleHasBeenSet; } /** *

The table cell style of a table header.

*/ inline void SetHeaderStyle(const TableCellStyle& value) { m_headerStyleHasBeenSet = true; m_headerStyle = value; } /** *

The table cell style of a table header.

*/ inline void SetHeaderStyle(TableCellStyle&& value) { m_headerStyleHasBeenSet = true; m_headerStyle = std::move(value); } /** *

The table cell style of a table header.

*/ inline TableOptions& WithHeaderStyle(const TableCellStyle& value) { SetHeaderStyle(value); return *this;} /** *

The table cell style of a table header.

*/ inline TableOptions& WithHeaderStyle(TableCellStyle&& value) { SetHeaderStyle(std::move(value)); return *this;} /** *

The table cell style of table cells.

*/ inline const TableCellStyle& GetCellStyle() const{ return m_cellStyle; } /** *

The table cell style of table cells.

*/ inline bool CellStyleHasBeenSet() const { return m_cellStyleHasBeenSet; } /** *

The table cell style of table cells.

*/ inline void SetCellStyle(const TableCellStyle& value) { m_cellStyleHasBeenSet = true; m_cellStyle = value; } /** *

The table cell style of table cells.

*/ inline void SetCellStyle(TableCellStyle&& value) { m_cellStyleHasBeenSet = true; m_cellStyle = std::move(value); } /** *

The table cell style of table cells.

*/ inline TableOptions& WithCellStyle(const TableCellStyle& value) { SetCellStyle(value); return *this;} /** *

The table cell style of table cells.

*/ inline TableOptions& WithCellStyle(TableCellStyle&& value) { SetCellStyle(std::move(value)); return *this;} /** *

The row alternate color options (widget status, row alternate colors) for a * table.

*/ inline const RowAlternateColorOptions& GetRowAlternateColorOptions() const{ return m_rowAlternateColorOptions; } /** *

The row alternate color options (widget status, row alternate colors) for a * table.

*/ inline bool RowAlternateColorOptionsHasBeenSet() const { return m_rowAlternateColorOptionsHasBeenSet; } /** *

The row alternate color options (widget status, row alternate colors) for a * table.

*/ inline void SetRowAlternateColorOptions(const RowAlternateColorOptions& value) { m_rowAlternateColorOptionsHasBeenSet = true; m_rowAlternateColorOptions = value; } /** *

The row alternate color options (widget status, row alternate colors) for a * table.

*/ inline void SetRowAlternateColorOptions(RowAlternateColorOptions&& value) { m_rowAlternateColorOptionsHasBeenSet = true; m_rowAlternateColorOptions = std::move(value); } /** *

The row alternate color options (widget status, row alternate colors) for a * table.

*/ inline TableOptions& WithRowAlternateColorOptions(const RowAlternateColorOptions& value) { SetRowAlternateColorOptions(value); return *this;} /** *

The row alternate color options (widget status, row alternate colors) for a * table.

*/ inline TableOptions& WithRowAlternateColorOptions(RowAlternateColorOptions&& value) { SetRowAlternateColorOptions(std::move(value)); return *this;} private: TableOrientation m_orientation; bool m_orientationHasBeenSet = false; TableCellStyle m_headerStyle; bool m_headerStyleHasBeenSet = false; TableCellStyle m_cellStyle; bool m_cellStyleHasBeenSet = false; RowAlternateColorOptions m_rowAlternateColorOptions; bool m_rowAlternateColorOptionsHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws