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

The conditional formatting of a table row.

See Also:

AWS * API Reference

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

The conditional formatting color (solid, gradient) of the background for a * table row.

*/ inline const ConditionalFormattingColor& GetBackgroundColor() const{ return m_backgroundColor; } /** *

The conditional formatting color (solid, gradient) of the background for a * table row.

*/ inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; } /** *

The conditional formatting color (solid, gradient) of the background for a * table row.

*/ inline void SetBackgroundColor(const ConditionalFormattingColor& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = value; } /** *

The conditional formatting color (solid, gradient) of the background for a * table row.

*/ inline void SetBackgroundColor(ConditionalFormattingColor&& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = std::move(value); } /** *

The conditional formatting color (solid, gradient) of the background for a * table row.

*/ inline TableRowConditionalFormatting& WithBackgroundColor(const ConditionalFormattingColor& value) { SetBackgroundColor(value); return *this;} /** *

The conditional formatting color (solid, gradient) of the background for a * table row.

*/ inline TableRowConditionalFormatting& WithBackgroundColor(ConditionalFormattingColor&& value) { SetBackgroundColor(std::move(value)); return *this;} /** *

The conditional formatting color (solid, gradient) of the text for a table * row.

*/ inline const ConditionalFormattingColor& GetTextColor() const{ return m_textColor; } /** *

The conditional formatting color (solid, gradient) of the text for a table * row.

*/ inline bool TextColorHasBeenSet() const { return m_textColorHasBeenSet; } /** *

The conditional formatting color (solid, gradient) of the text for a table * row.

*/ inline void SetTextColor(const ConditionalFormattingColor& value) { m_textColorHasBeenSet = true; m_textColor = value; } /** *

The conditional formatting color (solid, gradient) of the text for a table * row.

*/ inline void SetTextColor(ConditionalFormattingColor&& value) { m_textColorHasBeenSet = true; m_textColor = std::move(value); } /** *

The conditional formatting color (solid, gradient) of the text for a table * row.

*/ inline TableRowConditionalFormatting& WithTextColor(const ConditionalFormattingColor& value) { SetTextColor(value); return *this;} /** *

The conditional formatting color (solid, gradient) of the text for a table * row.

*/ inline TableRowConditionalFormatting& WithTextColor(ConditionalFormattingColor&& value) { SetTextColor(std::move(value)); return *this;} private: ConditionalFormattingColor m_backgroundColor; bool m_backgroundColorHasBeenSet = false; ConditionalFormattingColor m_textColor; bool m_textColorHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws