/** * 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 #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 a KPI visual.

See * Also:

AWS * API Reference

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

The options that determine the presentation of the progress bar of a KPI * visual.

*/ inline const ProgressBarOptions& GetProgressBar() const{ return m_progressBar; } /** *

The options that determine the presentation of the progress bar of a KPI * visual.

*/ inline bool ProgressBarHasBeenSet() const { return m_progressBarHasBeenSet; } /** *

The options that determine the presentation of the progress bar of a KPI * visual.

*/ inline void SetProgressBar(const ProgressBarOptions& value) { m_progressBarHasBeenSet = true; m_progressBar = value; } /** *

The options that determine the presentation of the progress bar of a KPI * visual.

*/ inline void SetProgressBar(ProgressBarOptions&& value) { m_progressBarHasBeenSet = true; m_progressBar = std::move(value); } /** *

The options that determine the presentation of the progress bar of a KPI * visual.

*/ inline KPIOptions& WithProgressBar(const ProgressBarOptions& value) { SetProgressBar(value); return *this;} /** *

The options that determine the presentation of the progress bar of a KPI * visual.

*/ inline KPIOptions& WithProgressBar(ProgressBarOptions&& value) { SetProgressBar(std::move(value)); return *this;} /** *

The options that determine the presentation of trend arrows in a KPI * visual.

*/ inline const TrendArrowOptions& GetTrendArrows() const{ return m_trendArrows; } /** *

The options that determine the presentation of trend arrows in a KPI * visual.

*/ inline bool TrendArrowsHasBeenSet() const { return m_trendArrowsHasBeenSet; } /** *

The options that determine the presentation of trend arrows in a KPI * visual.

*/ inline void SetTrendArrows(const TrendArrowOptions& value) { m_trendArrowsHasBeenSet = true; m_trendArrows = value; } /** *

The options that determine the presentation of trend arrows in a KPI * visual.

*/ inline void SetTrendArrows(TrendArrowOptions&& value) { m_trendArrowsHasBeenSet = true; m_trendArrows = std::move(value); } /** *

The options that determine the presentation of trend arrows in a KPI * visual.

*/ inline KPIOptions& WithTrendArrows(const TrendArrowOptions& value) { SetTrendArrows(value); return *this;} /** *

The options that determine the presentation of trend arrows in a KPI * visual.

*/ inline KPIOptions& WithTrendArrows(TrendArrowOptions&& value) { SetTrendArrows(std::move(value)); return *this;} /** *

The options that determine the presentation of the secondary value of a KPI * visual.

*/ inline const SecondaryValueOptions& GetSecondaryValue() const{ return m_secondaryValue; } /** *

The options that determine the presentation of the secondary value of a KPI * visual.

*/ inline bool SecondaryValueHasBeenSet() const { return m_secondaryValueHasBeenSet; } /** *

The options that determine the presentation of the secondary value of a KPI * visual.

*/ inline void SetSecondaryValue(const SecondaryValueOptions& value) { m_secondaryValueHasBeenSet = true; m_secondaryValue = value; } /** *

The options that determine the presentation of the secondary value of a KPI * visual.

*/ inline void SetSecondaryValue(SecondaryValueOptions&& value) { m_secondaryValueHasBeenSet = true; m_secondaryValue = std::move(value); } /** *

The options that determine the presentation of the secondary value of a KPI * visual.

*/ inline KPIOptions& WithSecondaryValue(const SecondaryValueOptions& value) { SetSecondaryValue(value); return *this;} /** *

The options that determine the presentation of the secondary value of a KPI * visual.

*/ inline KPIOptions& WithSecondaryValue(SecondaryValueOptions&& value) { SetSecondaryValue(std::move(value)); return *this;} /** *

The comparison configuration of a KPI visual.

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

The comparison configuration of a KPI visual.

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

The comparison configuration of a KPI visual.

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

The comparison configuration of a KPI visual.

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

The comparison configuration of a KPI visual.

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

The comparison configuration of a KPI visual.

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

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 KPIOptions& WithPrimaryValueDisplayType(const PrimaryValueDisplayType& value) { SetPrimaryValueDisplayType(value); return *this;} /** *

The options that determine the primary value display type.

*/ inline KPIOptions& WithPrimaryValueDisplayType(PrimaryValueDisplayType&& value) { SetPrimaryValueDisplayType(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 KPIOptions& WithPrimaryValueFontConfiguration(const FontConfiguration& value) { SetPrimaryValueFontConfiguration(value); return *this;} /** *

The options that determine the primary value font configuration.

*/ inline KPIOptions& WithPrimaryValueFontConfiguration(FontConfiguration&& value) { SetPrimaryValueFontConfiguration(std::move(value)); return *this;} /** *

The options that determine the secondary value font configuration.

*/ inline const FontConfiguration& GetSecondaryValueFontConfiguration() const{ return m_secondaryValueFontConfiguration; } /** *

The options that determine the secondary value font configuration.

*/ inline bool SecondaryValueFontConfigurationHasBeenSet() const { return m_secondaryValueFontConfigurationHasBeenSet; } /** *

The options that determine the secondary value font configuration.

*/ inline void SetSecondaryValueFontConfiguration(const FontConfiguration& value) { m_secondaryValueFontConfigurationHasBeenSet = true; m_secondaryValueFontConfiguration = value; } /** *

The options that determine the secondary value font configuration.

*/ inline void SetSecondaryValueFontConfiguration(FontConfiguration&& value) { m_secondaryValueFontConfigurationHasBeenSet = true; m_secondaryValueFontConfiguration = std::move(value); } /** *

The options that determine the secondary value font configuration.

*/ inline KPIOptions& WithSecondaryValueFontConfiguration(const FontConfiguration& value) { SetSecondaryValueFontConfiguration(value); return *this;} /** *

The options that determine the secondary value font configuration.

*/ inline KPIOptions& WithSecondaryValueFontConfiguration(FontConfiguration&& value) { SetSecondaryValueFontConfiguration(std::move(value)); return *this;} private: ProgressBarOptions m_progressBar; bool m_progressBarHasBeenSet = false; TrendArrowOptions m_trendArrows; bool m_trendArrowsHasBeenSet = false; SecondaryValueOptions m_secondaryValue; bool m_secondaryValueHasBeenSet = false; ComparisonConfiguration m_comparison; bool m_comparisonHasBeenSet = false; PrimaryValueDisplayType m_primaryValueDisplayType; bool m_primaryValueDisplayTypeHasBeenSet = false; FontConfiguration m_primaryValueFontConfiguration; bool m_primaryValueFontConfigurationHasBeenSet = false; FontConfiguration m_secondaryValueFontConfiguration; bool m_secondaryValueFontConfigurationHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws