7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ProgressBarOptions.h>
9#include <aws/quicksight/model/TrendArrowOptions.h>
10#include <aws/quicksight/model/SecondaryValueOptions.h>
11#include <aws/quicksight/model/ComparisonConfiguration.h>
12#include <aws/quicksight/model/PrimaryValueDisplayType.h>
13#include <aws/quicksight/model/FontConfiguration.h>
14#include <aws/quicksight/model/KPISparklineOptions.h>
15#include <aws/quicksight/model/KPIVisualLayoutOptions.h>
55 template<
typename ProgressBarT = ProgressBarOptions>
56 void SetProgressBar(ProgressBarT&& value) { m_progressBarHasBeenSet =
true; m_progressBar = std::forward<ProgressBarT>(value); }
57 template<
typename ProgressBarT = ProgressBarOptions>
68 template<
typename TrendArrowsT = TrendArrowOptions>
69 void SetTrendArrows(TrendArrowsT&& value) { m_trendArrowsHasBeenSet =
true; m_trendArrows = std::forward<TrendArrowsT>(value); }
70 template<
typename TrendArrowsT = TrendArrowOptions>
81 template<
typename SecondaryValueT = SecondaryValueOptions>
82 void SetSecondaryValue(SecondaryValueT&& value) { m_secondaryValueHasBeenSet =
true; m_secondaryValue = std::forward<SecondaryValueT>(value); }
83 template<
typename SecondaryValueT = SecondaryValueOptions>
93 template<
typename ComparisonT = ComparisonConfiguration>
94 void SetComparison(ComparisonT&& value) { m_comparisonHasBeenSet =
true; m_comparison = std::forward<ComparisonT>(value); }
95 template<
typename ComparisonT = ComparisonConfiguration>
115 template<
typename PrimaryValueFontConfigurationT = FontConfiguration>
116 void SetPrimaryValueFontConfiguration(PrimaryValueFontConfigurationT&& value) { m_primaryValueFontConfigurationHasBeenSet =
true; m_primaryValueFontConfiguration = std::forward<PrimaryValueFontConfigurationT>(value); }
117 template<
typename PrimaryValueFontConfigurationT = FontConfiguration>
127 template<
typename SecondaryValueFontConfigurationT = FontConfiguration>
128 void SetSecondaryValueFontConfiguration(SecondaryValueFontConfigurationT&& value) { m_secondaryValueFontConfigurationHasBeenSet =
true; m_secondaryValueFontConfiguration = std::forward<SecondaryValueFontConfigurationT>(value); }
129 template<
typename SecondaryValueFontConfigurationT = FontConfiguration>
140 template<
typename SparklineT = KPISparklineOptions>
141 void SetSparkline(SparklineT&& value) { m_sparklineHasBeenSet =
true; m_sparkline = std::forward<SparklineT>(value); }
142 template<
typename SparklineT = KPISparklineOptions>
152 template<
typename VisualLayoutOptionsT = KPIVisualLayoutOptions>
153 void SetVisualLayoutOptions(VisualLayoutOptionsT&& value) { m_visualLayoutOptionsHasBeenSet =
true; m_visualLayoutOptions = std::forward<VisualLayoutOptionsT>(value); }
154 template<
typename VisualLayoutOptionsT = KPIVisualLayoutOptions>
160 bool m_progressBarHasBeenSet =
false;
163 bool m_trendArrowsHasBeenSet =
false;
166 bool m_secondaryValueHasBeenSet =
false;
169 bool m_comparisonHasBeenSet =
false;
172 bool m_primaryValueDisplayTypeHasBeenSet =
false;
174 FontConfiguration m_primaryValueFontConfiguration;
175 bool m_primaryValueFontConfigurationHasBeenSet =
false;
177 FontConfiguration m_secondaryValueFontConfiguration;
178 bool m_secondaryValueFontConfigurationHasBeenSet =
false;
180 KPISparklineOptions m_sparkline;
181 bool m_sparklineHasBeenSet =
false;
183 KPIVisualLayoutOptions m_visualLayoutOptions;
184 bool m_visualLayoutOptionsHasBeenSet =
false;
AWS_QUICKSIGHT_API KPIOptions()=default
KPIOptions & WithProgressBar(ProgressBarT &&value)
void SetPrimaryValueDisplayType(PrimaryValueDisplayType value)
bool PrimaryValueDisplayTypeHasBeenSet() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const KPISparklineOptions & GetSparkline() const
void SetTrendArrows(TrendArrowsT &&value)
PrimaryValueDisplayType GetPrimaryValueDisplayType() const
void SetVisualLayoutOptions(VisualLayoutOptionsT &&value)
void SetSecondaryValue(SecondaryValueT &&value)
const TrendArrowOptions & GetTrendArrows() const
AWS_QUICKSIGHT_API KPIOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
KPIOptions & WithPrimaryValueDisplayType(PrimaryValueDisplayType value)
void SetSecondaryValueFontConfiguration(SecondaryValueFontConfigurationT &&value)
const FontConfiguration & GetSecondaryValueFontConfiguration() const
void SetSparkline(SparklineT &&value)
bool PrimaryValueFontConfigurationHasBeenSet() const
void SetProgressBar(ProgressBarT &&value)
const FontConfiguration & GetPrimaryValueFontConfiguration() const
bool ProgressBarHasBeenSet() const
AWS_QUICKSIGHT_API KPIOptions(Aws::Utils::Json::JsonView jsonValue)
bool SecondaryValueHasBeenSet() const
KPIOptions & WithVisualLayoutOptions(VisualLayoutOptionsT &&value)
bool SparklineHasBeenSet() const
KPIOptions & WithComparison(ComparisonT &&value)
KPIOptions & WithSecondaryValueFontConfiguration(SecondaryValueFontConfigurationT &&value)
const SecondaryValueOptions & GetSecondaryValue() const
void SetComparison(ComparisonT &&value)
KPIOptions & WithSecondaryValue(SecondaryValueT &&value)
KPIOptions & WithPrimaryValueFontConfiguration(PrimaryValueFontConfigurationT &&value)
const KPIVisualLayoutOptions & GetVisualLayoutOptions() const
KPIOptions & WithSparkline(SparklineT &&value)
bool VisualLayoutOptionsHasBeenSet() const
void SetPrimaryValueFontConfiguration(PrimaryValueFontConfigurationT &&value)
const ProgressBarOptions & GetProgressBar() const
bool TrendArrowsHasBeenSet() const
bool ComparisonHasBeenSet() const
bool SecondaryValueFontConfigurationHasBeenSet() const
const ComparisonConfiguration & GetComparison() const
KPIOptions & WithTrendArrows(TrendArrowsT &&value)
Aws::Utils::Json::JsonValue JsonValue