/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #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 * GaugeChartVisual.

See Also:

AWS * API Reference

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

The options that determine the primary value display type.

*/ inline const PrimaryValueDisplayType& GetPrimaryValueDisplayType() const{ return m_primaryValueDisplayType; } /** *

The options that determine the primary value display type.

*/ inline bool PrimaryValueDisplayTypeHasBeenSet() const { return m_primaryValueDisplayTypeHasBeenSet; } /** *

The options that determine the primary value display type.

*/ inline void SetPrimaryValueDisplayType(const PrimaryValueDisplayType& value) { m_primaryValueDisplayTypeHasBeenSet = true; m_primaryValueDisplayType = value; } /** *

The options that determine the primary value display type.

*/ inline void SetPrimaryValueDisplayType(PrimaryValueDisplayType&& value) { m_primaryValueDisplayTypeHasBeenSet = true; m_primaryValueDisplayType = std::move(value); } /** *

The options that determine the primary value display type.

*/ inline GaugeChartOptions& WithPrimaryValueDisplayType(const PrimaryValueDisplayType& value) { SetPrimaryValueDisplayType(value); return *this;} /** *

The options that determine the primary value display type.

*/ inline GaugeChartOptions& WithPrimaryValueDisplayType(PrimaryValueDisplayType&& value) { SetPrimaryValueDisplayType(std::move(value)); return *this;} /** *

The comparison configuration of a GaugeChartVisual.

*/ inline const ComparisonConfiguration& GetComparison() const{ return m_comparison; } /** *

The comparison configuration of a GaugeChartVisual.

*/ inline bool ComparisonHasBeenSet() const { return m_comparisonHasBeenSet; } /** *

The comparison configuration of a GaugeChartVisual.

*/ inline void SetComparison(const ComparisonConfiguration& value) { m_comparisonHasBeenSet = true; m_comparison = value; } /** *

The comparison configuration of a GaugeChartVisual.

*/ inline void SetComparison(ComparisonConfiguration&& value) { m_comparisonHasBeenSet = true; m_comparison = std::move(value); } /** *

The comparison configuration of a GaugeChartVisual.

*/ inline GaugeChartOptions& WithComparison(const ComparisonConfiguration& value) { SetComparison(value); return *this;} /** *

The comparison configuration of a GaugeChartVisual.

*/ inline GaugeChartOptions& WithComparison(ComparisonConfiguration&& value) { SetComparison(std::move(value)); return *this;} /** *

The arc axis configuration of a GaugeChartVisual.

*/ inline const ArcAxisConfiguration& GetArcAxis() const{ return m_arcAxis; } /** *

The arc axis configuration of a GaugeChartVisual.

*/ inline bool ArcAxisHasBeenSet() const { return m_arcAxisHasBeenSet; } /** *

The arc axis configuration of a GaugeChartVisual.

*/ inline void SetArcAxis(const ArcAxisConfiguration& value) { m_arcAxisHasBeenSet = true; m_arcAxis = value; } /** *

The arc axis configuration of a GaugeChartVisual.

*/ inline void SetArcAxis(ArcAxisConfiguration&& value) { m_arcAxisHasBeenSet = true; m_arcAxis = std::move(value); } /** *

The arc axis configuration of a GaugeChartVisual.

*/ inline GaugeChartOptions& WithArcAxis(const ArcAxisConfiguration& value) { SetArcAxis(value); return *this;} /** *

The arc axis configuration of a GaugeChartVisual.

*/ inline GaugeChartOptions& WithArcAxis(ArcAxisConfiguration&& value) { SetArcAxis(std::move(value)); return *this;} /** *

The arc configuration of a GaugeChartVisual.

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

The arc configuration of a GaugeChartVisual.

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

The arc configuration of a GaugeChartVisual.

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

The arc configuration of a GaugeChartVisual.

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

The arc configuration of a GaugeChartVisual.

*/ inline GaugeChartOptions& WithArc(const ArcConfiguration& value) { SetArc(value); return *this;} /** *

The arc configuration of a GaugeChartVisual.

*/ inline GaugeChartOptions& WithArc(ArcConfiguration&& value) { SetArc(std::move(value)); return *this;} /** *

The options that determine the primary value font configuration.

*/ inline const FontConfiguration& GetPrimaryValueFontConfiguration() const{ return m_primaryValueFontConfiguration; } /** *

The options that determine the primary value font configuration.

*/ inline bool PrimaryValueFontConfigurationHasBeenSet() const { return m_primaryValueFontConfigurationHasBeenSet; } /** *

The options that determine the primary value font configuration.

*/ inline void SetPrimaryValueFontConfiguration(const FontConfiguration& value) { m_primaryValueFontConfigurationHasBeenSet = true; m_primaryValueFontConfiguration = value; } /** *

The options that determine the primary value font configuration.

*/ inline void SetPrimaryValueFontConfiguration(FontConfiguration&& value) { m_primaryValueFontConfigurationHasBeenSet = true; m_primaryValueFontConfiguration = std::move(value); } /** *

The options that determine the primary value font configuration.

*/ inline GaugeChartOptions& WithPrimaryValueFontConfiguration(const FontConfiguration& value) { SetPrimaryValueFontConfiguration(value); return *this;} /** *

The options that determine the primary value font configuration.

*/ inline GaugeChartOptions& WithPrimaryValueFontConfiguration(FontConfiguration&& value) { SetPrimaryValueFontConfiguration(std::move(value)); return *this;} private: PrimaryValueDisplayType m_primaryValueDisplayType; bool m_primaryValueDisplayTypeHasBeenSet = false; ComparisonConfiguration m_comparison; bool m_comparisonHasBeenSet = false; ArcAxisConfiguration m_arcAxis; bool m_arcAxisHasBeenSet = false; ArcConfiguration m_arc; bool m_arcHasBeenSet = false; FontConfiguration m_primaryValueFontConfiguration; bool m_primaryValueFontConfigurationHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws