7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ComparisonConfiguration.h>
9#include <aws/quicksight/model/FontConfiguration.h>
10#include <aws/quicksight/model/KPISparklineOptions.h>
11#include <aws/quicksight/model/KPIVisualLayoutOptions.h>
12#include <aws/quicksight/model/PrimaryValueDisplayType.h>
13#include <aws/quicksight/model/ProgressBarOptions.h>
14#include <aws/quicksight/model/SecondaryValueOptions.h>
15#include <aws/quicksight/model/TrendArrowOptions.h>
49 template <
typename ProgressBarT = ProgressBarOptions>
51 m_progressBarHasBeenSet =
true;
52 m_progressBar = std::forward<ProgressBarT>(value);
54 template <
typename ProgressBarT = ProgressBarOptions>
68 template <
typename TrendArrowsT = TrendArrowOptions>
70 m_trendArrowsHasBeenSet =
true;
71 m_trendArrows = std::forward<TrendArrowsT>(value);
73 template <
typename TrendArrowsT = TrendArrowOptions>
87 template <
typename SecondaryValueT = SecondaryValueOptions>
89 m_secondaryValueHasBeenSet =
true;
90 m_secondaryValue = std::forward<SecondaryValueT>(value);
92 template <
typename SecondaryValueT = SecondaryValueOptions>
105 template <
typename ComparisonT = ComparisonConfiguration>
107 m_comparisonHasBeenSet =
true;
108 m_comparison = std::forward<ComparisonT>(value);
110 template <
typename ComparisonT = ComparisonConfiguration>
124 m_primaryValueDisplayTypeHasBeenSet =
true;
125 m_primaryValueDisplayType = value;
139 template <
typename PrimaryValueFontConfigurationT = FontConfiguration>
141 m_primaryValueFontConfigurationHasBeenSet =
true;
142 m_primaryValueFontConfiguration = std::forward<PrimaryValueFontConfigurationT>(value);
144 template <
typename PrimaryValueFontConfigurationT = FontConfiguration>
157 template <
typename SecondaryValueFontConfigurationT = FontConfiguration>
159 m_secondaryValueFontConfigurationHasBeenSet =
true;
160 m_secondaryValueFontConfiguration = std::forward<SecondaryValueFontConfigurationT>(value);
162 template <
typename SecondaryValueFontConfigurationT = FontConfiguration>
176 template <
typename SparklineT = KPISparklineOptions>
178 m_sparklineHasBeenSet =
true;
179 m_sparkline = std::forward<SparklineT>(value);
181 template <
typename SparklineT = KPISparklineOptions>
194 template <
typename VisualLayoutOptionsT = KPIVisualLayoutOptions>
196 m_visualLayoutOptionsHasBeenSet =
true;
197 m_visualLayoutOptions = std::forward<VisualLayoutOptionsT>(value);
199 template <
typename VisualLayoutOptionsT = KPIVisualLayoutOptions>
216 FontConfiguration m_primaryValueFontConfiguration;
218 FontConfiguration m_secondaryValueFontConfiguration;
220 KPISparklineOptions m_sparkline;
222 KPIVisualLayoutOptions m_visualLayoutOptions;
223 bool m_progressBarHasBeenSet =
false;
224 bool m_trendArrowsHasBeenSet =
false;
225 bool m_secondaryValueHasBeenSet =
false;
226 bool m_comparisonHasBeenSet =
false;
227 bool m_primaryValueDisplayTypeHasBeenSet =
false;
228 bool m_primaryValueFontConfigurationHasBeenSet =
false;
229 bool m_secondaryValueFontConfigurationHasBeenSet =
false;
230 bool m_sparklineHasBeenSet =
false;
231 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