AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KPIOptions.h
1
6#pragma once
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>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace QuickSight
29{
30namespace Model
31{
32
40 {
41 public:
42 AWS_QUICKSIGHT_API KPIOptions();
43 AWS_QUICKSIGHT_API KPIOptions(Aws::Utils::Json::JsonView jsonValue);
44 AWS_QUICKSIGHT_API KPIOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const ProgressBarOptions& GetProgressBar() const{ return m_progressBar; }
54 inline bool ProgressBarHasBeenSet() const { return m_progressBarHasBeenSet; }
55 inline void SetProgressBar(const ProgressBarOptions& value) { m_progressBarHasBeenSet = true; m_progressBar = value; }
56 inline void SetProgressBar(ProgressBarOptions&& value) { m_progressBarHasBeenSet = true; m_progressBar = std::move(value); }
57 inline KPIOptions& WithProgressBar(const ProgressBarOptions& value) { SetProgressBar(value); return *this;}
58 inline KPIOptions& WithProgressBar(ProgressBarOptions&& value) { SetProgressBar(std::move(value)); return *this;}
60
62
66 inline const TrendArrowOptions& GetTrendArrows() const{ return m_trendArrows; }
67 inline bool TrendArrowsHasBeenSet() const { return m_trendArrowsHasBeenSet; }
68 inline void SetTrendArrows(const TrendArrowOptions& value) { m_trendArrowsHasBeenSet = true; m_trendArrows = value; }
69 inline void SetTrendArrows(TrendArrowOptions&& value) { m_trendArrowsHasBeenSet = true; m_trendArrows = std::move(value); }
70 inline KPIOptions& WithTrendArrows(const TrendArrowOptions& value) { SetTrendArrows(value); return *this;}
71 inline KPIOptions& WithTrendArrows(TrendArrowOptions&& value) { SetTrendArrows(std::move(value)); return *this;}
73
75
79 inline const SecondaryValueOptions& GetSecondaryValue() const{ return m_secondaryValue; }
80 inline bool SecondaryValueHasBeenSet() const { return m_secondaryValueHasBeenSet; }
81 inline void SetSecondaryValue(const SecondaryValueOptions& value) { m_secondaryValueHasBeenSet = true; m_secondaryValue = value; }
82 inline void SetSecondaryValue(SecondaryValueOptions&& value) { m_secondaryValueHasBeenSet = true; m_secondaryValue = std::move(value); }
83 inline KPIOptions& WithSecondaryValue(const SecondaryValueOptions& value) { SetSecondaryValue(value); return *this;}
84 inline KPIOptions& WithSecondaryValue(SecondaryValueOptions&& value) { SetSecondaryValue(std::move(value)); return *this;}
86
88
91 inline const ComparisonConfiguration& GetComparison() const{ return m_comparison; }
92 inline bool ComparisonHasBeenSet() const { return m_comparisonHasBeenSet; }
93 inline void SetComparison(const ComparisonConfiguration& value) { m_comparisonHasBeenSet = true; m_comparison = value; }
94 inline void SetComparison(ComparisonConfiguration&& value) { m_comparisonHasBeenSet = true; m_comparison = std::move(value); }
95 inline KPIOptions& WithComparison(const ComparisonConfiguration& value) { SetComparison(value); return *this;}
96 inline KPIOptions& WithComparison(ComparisonConfiguration&& value) { SetComparison(std::move(value)); return *this;}
98
100
103 inline const PrimaryValueDisplayType& GetPrimaryValueDisplayType() const{ return m_primaryValueDisplayType; }
104 inline bool PrimaryValueDisplayTypeHasBeenSet() const { return m_primaryValueDisplayTypeHasBeenSet; }
105 inline void SetPrimaryValueDisplayType(const PrimaryValueDisplayType& value) { m_primaryValueDisplayTypeHasBeenSet = true; m_primaryValueDisplayType = value; }
106 inline void SetPrimaryValueDisplayType(PrimaryValueDisplayType&& value) { m_primaryValueDisplayTypeHasBeenSet = true; m_primaryValueDisplayType = std::move(value); }
110
112
115 inline const FontConfiguration& GetPrimaryValueFontConfiguration() const{ return m_primaryValueFontConfiguration; }
116 inline bool PrimaryValueFontConfigurationHasBeenSet() const { return m_primaryValueFontConfigurationHasBeenSet; }
117 inline void SetPrimaryValueFontConfiguration(const FontConfiguration& value) { m_primaryValueFontConfigurationHasBeenSet = true; m_primaryValueFontConfiguration = value; }
118 inline void SetPrimaryValueFontConfiguration(FontConfiguration&& value) { m_primaryValueFontConfigurationHasBeenSet = true; m_primaryValueFontConfiguration = std::move(value); }
122
124
127 inline const FontConfiguration& GetSecondaryValueFontConfiguration() const{ return m_secondaryValueFontConfiguration; }
128 inline bool SecondaryValueFontConfigurationHasBeenSet() const { return m_secondaryValueFontConfigurationHasBeenSet; }
129 inline void SetSecondaryValueFontConfiguration(const FontConfiguration& value) { m_secondaryValueFontConfigurationHasBeenSet = true; m_secondaryValueFontConfiguration = value; }
130 inline void SetSecondaryValueFontConfiguration(FontConfiguration&& value) { m_secondaryValueFontConfigurationHasBeenSet = true; m_secondaryValueFontConfiguration = std::move(value); }
134
136
140 inline const KPISparklineOptions& GetSparkline() const{ return m_sparkline; }
141 inline bool SparklineHasBeenSet() const { return m_sparklineHasBeenSet; }
142 inline void SetSparkline(const KPISparklineOptions& value) { m_sparklineHasBeenSet = true; m_sparkline = value; }
143 inline void SetSparkline(KPISparklineOptions&& value) { m_sparklineHasBeenSet = true; m_sparkline = std::move(value); }
144 inline KPIOptions& WithSparkline(const KPISparklineOptions& value) { SetSparkline(value); return *this;}
145 inline KPIOptions& WithSparkline(KPISparklineOptions&& value) { SetSparkline(std::move(value)); return *this;}
147
149
152 inline const KPIVisualLayoutOptions& GetVisualLayoutOptions() const{ return m_visualLayoutOptions; }
153 inline bool VisualLayoutOptionsHasBeenSet() const { return m_visualLayoutOptionsHasBeenSet; }
154 inline void SetVisualLayoutOptions(const KPIVisualLayoutOptions& value) { m_visualLayoutOptionsHasBeenSet = true; m_visualLayoutOptions = value; }
155 inline void SetVisualLayoutOptions(KPIVisualLayoutOptions&& value) { m_visualLayoutOptionsHasBeenSet = true; m_visualLayoutOptions = std::move(value); }
157 inline KPIOptions& WithVisualLayoutOptions(KPIVisualLayoutOptions&& value) { SetVisualLayoutOptions(std::move(value)); return *this;}
159 private:
160
161 ProgressBarOptions m_progressBar;
162 bool m_progressBarHasBeenSet = false;
163
164 TrendArrowOptions m_trendArrows;
165 bool m_trendArrowsHasBeenSet = false;
166
167 SecondaryValueOptions m_secondaryValue;
168 bool m_secondaryValueHasBeenSet = false;
169
170 ComparisonConfiguration m_comparison;
171 bool m_comparisonHasBeenSet = false;
172
173 PrimaryValueDisplayType m_primaryValueDisplayType;
174 bool m_primaryValueDisplayTypeHasBeenSet = false;
175
176 FontConfiguration m_primaryValueFontConfiguration;
177 bool m_primaryValueFontConfigurationHasBeenSet = false;
178
179 FontConfiguration m_secondaryValueFontConfiguration;
180 bool m_secondaryValueFontConfigurationHasBeenSet = false;
181
182 KPISparklineOptions m_sparkline;
183 bool m_sparklineHasBeenSet = false;
184
185 KPIVisualLayoutOptions m_visualLayoutOptions;
186 bool m_visualLayoutOptionsHasBeenSet = false;
187 };
188
189} // namespace Model
190} // namespace QuickSight
191} // namespace Aws
AWS_QUICKSIGHT_API KPIOptions()
KPIOptions & WithSecondaryValueFontConfiguration(FontConfiguration &&value)
Definition KPIOptions.h:132
bool PrimaryValueDisplayTypeHasBeenSet() const
Definition KPIOptions.h:104
KPIOptions & WithVisualLayoutOptions(KPIVisualLayoutOptions &&value)
Definition KPIOptions.h:157
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPrimaryValueFontConfiguration(FontConfiguration &&value)
Definition KPIOptions.h:118
KPIOptions & WithProgressBar(ProgressBarOptions &&value)
Definition KPIOptions.h:58
const KPISparklineOptions & GetSparkline() const
Definition KPIOptions.h:140
KPIOptions & WithComparison(ComparisonConfiguration &&value)
Definition KPIOptions.h:96
void SetProgressBar(const ProgressBarOptions &value)
Definition KPIOptions.h:55
KPIOptions & WithComparison(const ComparisonConfiguration &value)
Definition KPIOptions.h:95
KPIOptions & WithTrendArrows(TrendArrowOptions &&value)
Definition KPIOptions.h:71
void SetSparkline(const KPISparklineOptions &value)
Definition KPIOptions.h:142
void SetTrendArrows(TrendArrowOptions &&value)
Definition KPIOptions.h:69
const TrendArrowOptions & GetTrendArrows() const
Definition KPIOptions.h:66
AWS_QUICKSIGHT_API KPIOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
KPIOptions & WithSecondaryValue(SecondaryValueOptions &&value)
Definition KPIOptions.h:84
void SetSecondaryValueFontConfiguration(FontConfiguration &&value)
Definition KPIOptions.h:130
void SetSparkline(KPISparklineOptions &&value)
Definition KPIOptions.h:143
void SetSecondaryValue(SecondaryValueOptions &&value)
Definition KPIOptions.h:82
KPIOptions & WithSparkline(KPISparklineOptions &&value)
Definition KPIOptions.h:145
const FontConfiguration & GetSecondaryValueFontConfiguration() const
Definition KPIOptions.h:127
bool PrimaryValueFontConfigurationHasBeenSet() const
Definition KPIOptions.h:116
void SetPrimaryValueDisplayType(const PrimaryValueDisplayType &value)
Definition KPIOptions.h:105
void SetProgressBar(ProgressBarOptions &&value)
Definition KPIOptions.h:56
KPIOptions & WithTrendArrows(const TrendArrowOptions &value)
Definition KPIOptions.h:70
void SetVisualLayoutOptions(const KPIVisualLayoutOptions &value)
Definition KPIOptions.h:154
const FontConfiguration & GetPrimaryValueFontConfiguration() const
Definition KPIOptions.h:115
AWS_QUICKSIGHT_API KPIOptions(Aws::Utils::Json::JsonView jsonValue)
void SetSecondaryValueFontConfiguration(const FontConfiguration &value)
Definition KPIOptions.h:129
KPIOptions & WithPrimaryValueDisplayType(const PrimaryValueDisplayType &value)
Definition KPIOptions.h:107
KPIOptions & WithSparkline(const KPISparklineOptions &value)
Definition KPIOptions.h:144
KPIOptions & WithPrimaryValueFontConfiguration(FontConfiguration &&value)
Definition KPIOptions.h:120
const PrimaryValueDisplayType & GetPrimaryValueDisplayType() const
Definition KPIOptions.h:103
const SecondaryValueOptions & GetSecondaryValue() const
Definition KPIOptions.h:79
KPIOptions & WithSecondaryValue(const SecondaryValueOptions &value)
Definition KPIOptions.h:83
KPIOptions & WithSecondaryValueFontConfiguration(const FontConfiguration &value)
Definition KPIOptions.h:131
const KPIVisualLayoutOptions & GetVisualLayoutOptions() const
Definition KPIOptions.h:152
void SetComparison(ComparisonConfiguration &&value)
Definition KPIOptions.h:94
void SetPrimaryValueDisplayType(PrimaryValueDisplayType &&value)
Definition KPIOptions.h:106
const ProgressBarOptions & GetProgressBar() const
Definition KPIOptions.h:53
KPIOptions & WithProgressBar(const ProgressBarOptions &value)
Definition KPIOptions.h:57
KPIOptions & WithVisualLayoutOptions(const KPIVisualLayoutOptions &value)
Definition KPIOptions.h:156
KPIOptions & WithPrimaryValueFontConfiguration(const FontConfiguration &value)
Definition KPIOptions.h:119
void SetPrimaryValueFontConfiguration(const FontConfiguration &value)
Definition KPIOptions.h:117
void SetTrendArrows(const TrendArrowOptions &value)
Definition KPIOptions.h:68
bool SecondaryValueFontConfigurationHasBeenSet() const
Definition KPIOptions.h:128
const ComparisonConfiguration & GetComparison() const
Definition KPIOptions.h:91
void SetVisualLayoutOptions(KPIVisualLayoutOptions &&value)
Definition KPIOptions.h:155
void SetComparison(const ComparisonConfiguration &value)
Definition KPIOptions.h:93
void SetSecondaryValue(const SecondaryValueOptions &value)
Definition KPIOptions.h:81
KPIOptions & WithPrimaryValueDisplayType(PrimaryValueDisplayType &&value)
Definition KPIOptions.h:108
Aws::Utils::Json::JsonValue JsonValue