/** * 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 options that determine the presentation of the arc of a * GaugeChartVisual.

See Also:

AWS * API Reference

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

The conditional formatting of the arc foreground color.

*/ inline const ConditionalFormattingColor& GetForegroundColor() const{ return m_foregroundColor; } /** *

The conditional formatting of the arc foreground color.

*/ inline bool ForegroundColorHasBeenSet() const { return m_foregroundColorHasBeenSet; } /** *

The conditional formatting of the arc foreground color.

*/ inline void SetForegroundColor(const ConditionalFormattingColor& value) { m_foregroundColorHasBeenSet = true; m_foregroundColor = value; } /** *

The conditional formatting of the arc foreground color.

*/ inline void SetForegroundColor(ConditionalFormattingColor&& value) { m_foregroundColorHasBeenSet = true; m_foregroundColor = std::move(value); } /** *

The conditional formatting of the arc foreground color.

*/ inline GaugeChartArcConditionalFormatting& WithForegroundColor(const ConditionalFormattingColor& value) { SetForegroundColor(value); return *this;} /** *

The conditional formatting of the arc foreground color.

*/ inline GaugeChartArcConditionalFormatting& WithForegroundColor(ConditionalFormattingColor&& value) { SetForegroundColor(std::move(value)); return *this;} private: ConditionalFormattingColor m_foregroundColor; bool m_foregroundColorHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws