/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The conditional formatting for the text.See Also:
AWS
* API Reference
The conditional formatting for the text background color.
*/ inline const ConditionalFormattingColor& GetBackgroundColor() const{ return m_backgroundColor; } /** *The conditional formatting for the text background color.
*/ inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; } /** *The conditional formatting for the text background color.
*/ inline void SetBackgroundColor(const ConditionalFormattingColor& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = value; } /** *The conditional formatting for the text background color.
*/ inline void SetBackgroundColor(ConditionalFormattingColor&& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = std::move(value); } /** *The conditional formatting for the text background color.
*/ inline TextConditionalFormat& WithBackgroundColor(const ConditionalFormattingColor& value) { SetBackgroundColor(value); return *this;} /** *The conditional formatting for the text background color.
*/ inline TextConditionalFormat& WithBackgroundColor(ConditionalFormattingColor&& value) { SetBackgroundColor(std::move(value)); return *this;} /** *The conditional formatting for the text color.
*/ inline const ConditionalFormattingColor& GetTextColor() const{ return m_textColor; } /** *The conditional formatting for the text color.
*/ inline bool TextColorHasBeenSet() const { return m_textColorHasBeenSet; } /** *The conditional formatting for the text color.
*/ inline void SetTextColor(const ConditionalFormattingColor& value) { m_textColorHasBeenSet = true; m_textColor = value; } /** *The conditional formatting for the text color.
*/ inline void SetTextColor(ConditionalFormattingColor&& value) { m_textColorHasBeenSet = true; m_textColor = std::move(value); } /** *The conditional formatting for the text color.
*/ inline TextConditionalFormat& WithTextColor(const ConditionalFormattingColor& value) { SetTextColor(value); return *this;} /** *The conditional formatting for the text color.
*/ inline TextConditionalFormat& WithTextColor(ConditionalFormattingColor&& value) { SetTextColor(std::move(value)); return *this;} /** *The conditional formatting for the icon.
*/ inline const ConditionalFormattingIcon& GetIcon() const{ return m_icon; } /** *The conditional formatting for the icon.
*/ inline bool IconHasBeenSet() const { return m_iconHasBeenSet; } /** *The conditional formatting for the icon.
*/ inline void SetIcon(const ConditionalFormattingIcon& value) { m_iconHasBeenSet = true; m_icon = value; } /** *The conditional formatting for the icon.
*/ inline void SetIcon(ConditionalFormattingIcon&& value) { m_iconHasBeenSet = true; m_icon = std::move(value); } /** *The conditional formatting for the icon.
*/ inline TextConditionalFormat& WithIcon(const ConditionalFormattingIcon& value) { SetIcon(value); return *this;} /** *The conditional formatting for the icon.
*/ inline TextConditionalFormat& WithIcon(ConditionalFormattingIcon&& value) { SetIcon(std::move(value)); return *this;} private: ConditionalFormattingColor m_backgroundColor; bool m_backgroundColorHasBeenSet = false; ConditionalFormattingColor m_textColor; bool m_textColorHasBeenSet = false; ConditionalFormattingIcon m_icon; bool m_iconHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws