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