/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 PivotTableConditionalFormattingOption { public: AWS_QUICKSIGHT_API PivotTableConditionalFormattingOption(); AWS_QUICKSIGHT_API PivotTableConditionalFormattingOption(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API PivotTableConditionalFormattingOption& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The cell conditional formatting option for a pivot table.

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

The cell conditional formatting option for a pivot table.

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

The cell conditional formatting option for a pivot table.

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

The cell conditional formatting option for a pivot table.

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

The cell conditional formatting option for a pivot table.

*/ inline PivotTableConditionalFormattingOption& WithCell(const PivotTableCellConditionalFormatting& value) { SetCell(value); return *this;} /** *

The cell conditional formatting option for a pivot table.

*/ inline PivotTableConditionalFormattingOption& WithCell(PivotTableCellConditionalFormatting&& value) { SetCell(std::move(value)); return *this;} private: PivotTableCellConditionalFormatting m_cell; bool m_cellHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws