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

The cell conditional formatting option for a table.

See Also:

* AWS * API Reference

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

The field ID of the cell for conditional formatting.

*/ inline const Aws::String& GetFieldId() const{ return m_fieldId; } /** *

The field ID of the cell for conditional formatting.

*/ inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; } /** *

The field ID of the cell for conditional formatting.

*/ inline void SetFieldId(const Aws::String& value) { m_fieldIdHasBeenSet = true; m_fieldId = value; } /** *

The field ID of the cell for conditional formatting.

*/ inline void SetFieldId(Aws::String&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::move(value); } /** *

The field ID of the cell for conditional formatting.

*/ inline void SetFieldId(const char* value) { m_fieldIdHasBeenSet = true; m_fieldId.assign(value); } /** *

The field ID of the cell for conditional formatting.

*/ inline TableCellConditionalFormatting& WithFieldId(const Aws::String& value) { SetFieldId(value); return *this;} /** *

The field ID of the cell for conditional formatting.

*/ inline TableCellConditionalFormatting& WithFieldId(Aws::String&& value) { SetFieldId(std::move(value)); return *this;} /** *

The field ID of the cell for conditional formatting.

*/ inline TableCellConditionalFormatting& WithFieldId(const char* value) { SetFieldId(value); return *this;} /** *

The text format of the cell for conditional formatting.

*/ inline const TextConditionalFormat& GetTextFormat() const{ return m_textFormat; } /** *

The text format of the cell for conditional formatting.

*/ inline bool TextFormatHasBeenSet() const { return m_textFormatHasBeenSet; } /** *

The text format of the cell for conditional formatting.

*/ inline void SetTextFormat(const TextConditionalFormat& value) { m_textFormatHasBeenSet = true; m_textFormat = value; } /** *

The text format of the cell for conditional formatting.

*/ inline void SetTextFormat(TextConditionalFormat&& value) { m_textFormatHasBeenSet = true; m_textFormat = std::move(value); } /** *

The text format of the cell for conditional formatting.

*/ inline TableCellConditionalFormatting& WithTextFormat(const TextConditionalFormat& value) { SetTextFormat(value); return *this;} /** *

The text format of the cell for conditional formatting.

*/ inline TableCellConditionalFormatting& WithTextFormat(TextConditionalFormat&& value) { SetTextFormat(std::move(value)); return *this;} private: Aws::String m_fieldId; bool m_fieldIdHasBeenSet = false; TextConditionalFormat m_textFormat; bool m_textFormatHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws