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

Conditional formatting options of a * GaugeChartVisual.

See Also:

AWS * API Reference

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

The conditional formatting for the primary value of a * GaugeChartVisual.

*/ inline const GaugeChartPrimaryValueConditionalFormatting& GetPrimaryValue() const{ return m_primaryValue; } /** *

The conditional formatting for the primary value of a * GaugeChartVisual.

*/ inline bool PrimaryValueHasBeenSet() const { return m_primaryValueHasBeenSet; } /** *

The conditional formatting for the primary value of a * GaugeChartVisual.

*/ inline void SetPrimaryValue(const GaugeChartPrimaryValueConditionalFormatting& value) { m_primaryValueHasBeenSet = true; m_primaryValue = value; } /** *

The conditional formatting for the primary value of a * GaugeChartVisual.

*/ inline void SetPrimaryValue(GaugeChartPrimaryValueConditionalFormatting&& value) { m_primaryValueHasBeenSet = true; m_primaryValue = std::move(value); } /** *

The conditional formatting for the primary value of a * GaugeChartVisual.

*/ inline GaugeChartConditionalFormattingOption& WithPrimaryValue(const GaugeChartPrimaryValueConditionalFormatting& value) { SetPrimaryValue(value); return *this;} /** *

The conditional formatting for the primary value of a * GaugeChartVisual.

*/ inline GaugeChartConditionalFormattingOption& WithPrimaryValue(GaugeChartPrimaryValueConditionalFormatting&& value) { SetPrimaryValue(std::move(value)); return *this;} /** *

The options that determine the presentation of the arc of a * GaugeChartVisual.

*/ inline const GaugeChartArcConditionalFormatting& GetArc() const{ return m_arc; } /** *

The options that determine the presentation of the arc of a * GaugeChartVisual.

*/ inline bool ArcHasBeenSet() const { return m_arcHasBeenSet; } /** *

The options that determine the presentation of the arc of a * GaugeChartVisual.

*/ inline void SetArc(const GaugeChartArcConditionalFormatting& value) { m_arcHasBeenSet = true; m_arc = value; } /** *

The options that determine the presentation of the arc of a * GaugeChartVisual.

*/ inline void SetArc(GaugeChartArcConditionalFormatting&& value) { m_arcHasBeenSet = true; m_arc = std::move(value); } /** *

The options that determine the presentation of the arc of a * GaugeChartVisual.

*/ inline GaugeChartConditionalFormattingOption& WithArc(const GaugeChartArcConditionalFormatting& value) { SetArc(value); return *this;} /** *

The options that determine the presentation of the arc of a * GaugeChartVisual.

*/ inline GaugeChartConditionalFormattingOption& WithArc(GaugeChartArcConditionalFormatting&& value) { SetArc(std::move(value)); return *this;} private: GaugeChartPrimaryValueConditionalFormatting m_primaryValue; bool m_primaryValueHasBeenSet = false; GaugeChartArcConditionalFormatting m_arc; bool m_arcHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws