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

Conditional formatting options for a * PivotTableVisual.

See Also:

AWS * API Reference

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

The cell conditional formatting option for a table.

*/ inline const TableCellConditionalFormatting& GetCell() const{ return m_cell; } /** *

The cell conditional formatting option for a table.

*/ inline bool CellHasBeenSet() const { return m_cellHasBeenSet; } /** *

The cell conditional formatting option for a table.

*/ inline void SetCell(const TableCellConditionalFormatting& value) { m_cellHasBeenSet = true; m_cell = value; } /** *

The cell conditional formatting option for a table.

*/ inline void SetCell(TableCellConditionalFormatting&& value) { m_cellHasBeenSet = true; m_cell = std::move(value); } /** *

The cell conditional formatting option for a table.

*/ inline TableConditionalFormattingOption& WithCell(const TableCellConditionalFormatting& value) { SetCell(value); return *this;} /** *

The cell conditional formatting option for a table.

*/ inline TableConditionalFormattingOption& WithCell(TableCellConditionalFormatting&& value) { SetCell(std::move(value)); return *this;} /** *

The row conditional formatting option for a table.

*/ inline const TableRowConditionalFormatting& GetRow() const{ return m_row; } /** *

The row conditional formatting option for a table.

*/ inline bool RowHasBeenSet() const { return m_rowHasBeenSet; } /** *

The row conditional formatting option for a table.

*/ inline void SetRow(const TableRowConditionalFormatting& value) { m_rowHasBeenSet = true; m_row = value; } /** *

The row conditional formatting option for a table.

*/ inline void SetRow(TableRowConditionalFormatting&& value) { m_rowHasBeenSet = true; m_row = std::move(value); } /** *

The row conditional formatting option for a table.

*/ inline TableConditionalFormattingOption& WithRow(const TableRowConditionalFormatting& value) { SetRow(value); return *this;} /** *

The row conditional formatting option for a table.

*/ inline TableConditionalFormattingOption& WithRow(TableRowConditionalFormatting&& value) { SetRow(std::move(value)); return *this;} private: TableCellConditionalFormatting m_cell; bool m_cellHasBeenSet = false; TableRowConditionalFormatting m_row; bool m_rowHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws