AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Computation.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/TopBottomRankedComputation.h>
9#include <aws/quicksight/model/TopBottomMoversComputation.h>
10#include <aws/quicksight/model/TotalAggregationComputation.h>
11#include <aws/quicksight/model/MaximumMinimumComputation.h>
12#include <aws/quicksight/model/MetricComparisonComputation.h>
13#include <aws/quicksight/model/PeriodOverPeriodComputation.h>
14#include <aws/quicksight/model/PeriodToDateComputation.h>
15#include <aws/quicksight/model/GrowthRateComputation.h>
16#include <aws/quicksight/model/UniqueValuesComputation.h>
17#include <aws/quicksight/model/ForecastComputation.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27 class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace QuickSight
31{
32namespace Model
33{
34
43 {
44 public:
45 AWS_QUICKSIGHT_API Computation();
46 AWS_QUICKSIGHT_API Computation(Aws::Utils::Json::JsonView jsonValue);
47 AWS_QUICKSIGHT_API Computation& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
55 inline const TopBottomRankedComputation& GetTopBottomRanked() const{ return m_topBottomRanked; }
56 inline bool TopBottomRankedHasBeenSet() const { return m_topBottomRankedHasBeenSet; }
57 inline void SetTopBottomRanked(const TopBottomRankedComputation& value) { m_topBottomRankedHasBeenSet = true; m_topBottomRanked = value; }
58 inline void SetTopBottomRanked(TopBottomRankedComputation&& value) { m_topBottomRankedHasBeenSet = true; m_topBottomRanked = std::move(value); }
60 inline Computation& WithTopBottomRanked(TopBottomRankedComputation&& value) { SetTopBottomRanked(std::move(value)); return *this;}
62
64
67 inline const TopBottomMoversComputation& GetTopBottomMovers() const{ return m_topBottomMovers; }
68 inline bool TopBottomMoversHasBeenSet() const { return m_topBottomMoversHasBeenSet; }
69 inline void SetTopBottomMovers(const TopBottomMoversComputation& value) { m_topBottomMoversHasBeenSet = true; m_topBottomMovers = value; }
70 inline void SetTopBottomMovers(TopBottomMoversComputation&& value) { m_topBottomMoversHasBeenSet = true; m_topBottomMovers = std::move(value); }
72 inline Computation& WithTopBottomMovers(TopBottomMoversComputation&& value) { SetTopBottomMovers(std::move(value)); return *this;}
74
76
79 inline const TotalAggregationComputation& GetTotalAggregation() const{ return m_totalAggregation; }
80 inline bool TotalAggregationHasBeenSet() const { return m_totalAggregationHasBeenSet; }
81 inline void SetTotalAggregation(const TotalAggregationComputation& value) { m_totalAggregationHasBeenSet = true; m_totalAggregation = value; }
82 inline void SetTotalAggregation(TotalAggregationComputation&& value) { m_totalAggregationHasBeenSet = true; m_totalAggregation = std::move(value); }
84 inline Computation& WithTotalAggregation(TotalAggregationComputation&& value) { SetTotalAggregation(std::move(value)); return *this;}
86
88
91 inline const MaximumMinimumComputation& GetMaximumMinimum() const{ return m_maximumMinimum; }
92 inline bool MaximumMinimumHasBeenSet() const { return m_maximumMinimumHasBeenSet; }
93 inline void SetMaximumMinimum(const MaximumMinimumComputation& value) { m_maximumMinimumHasBeenSet = true; m_maximumMinimum = value; }
94 inline void SetMaximumMinimum(MaximumMinimumComputation&& value) { m_maximumMinimumHasBeenSet = true; m_maximumMinimum = std::move(value); }
95 inline Computation& WithMaximumMinimum(const MaximumMinimumComputation& value) { SetMaximumMinimum(value); return *this;}
96 inline Computation& WithMaximumMinimum(MaximumMinimumComputation&& value) { SetMaximumMinimum(std::move(value)); return *this;}
98
100
103 inline const MetricComparisonComputation& GetMetricComparison() const{ return m_metricComparison; }
104 inline bool MetricComparisonHasBeenSet() const { return m_metricComparisonHasBeenSet; }
105 inline void SetMetricComparison(const MetricComparisonComputation& value) { m_metricComparisonHasBeenSet = true; m_metricComparison = value; }
106 inline void SetMetricComparison(MetricComparisonComputation&& value) { m_metricComparisonHasBeenSet = true; m_metricComparison = std::move(value); }
108 inline Computation& WithMetricComparison(MetricComparisonComputation&& value) { SetMetricComparison(std::move(value)); return *this;}
110
112
115 inline const PeriodOverPeriodComputation& GetPeriodOverPeriod() const{ return m_periodOverPeriod; }
116 inline bool PeriodOverPeriodHasBeenSet() const { return m_periodOverPeriodHasBeenSet; }
117 inline void SetPeriodOverPeriod(const PeriodOverPeriodComputation& value) { m_periodOverPeriodHasBeenSet = true; m_periodOverPeriod = value; }
118 inline void SetPeriodOverPeriod(PeriodOverPeriodComputation&& value) { m_periodOverPeriodHasBeenSet = true; m_periodOverPeriod = std::move(value); }
120 inline Computation& WithPeriodOverPeriod(PeriodOverPeriodComputation&& value) { SetPeriodOverPeriod(std::move(value)); return *this;}
122
124
127 inline const PeriodToDateComputation& GetPeriodToDate() const{ return m_periodToDate; }
128 inline bool PeriodToDateHasBeenSet() const { return m_periodToDateHasBeenSet; }
129 inline void SetPeriodToDate(const PeriodToDateComputation& value) { m_periodToDateHasBeenSet = true; m_periodToDate = value; }
130 inline void SetPeriodToDate(PeriodToDateComputation&& value) { m_periodToDateHasBeenSet = true; m_periodToDate = std::move(value); }
131 inline Computation& WithPeriodToDate(const PeriodToDateComputation& value) { SetPeriodToDate(value); return *this;}
132 inline Computation& WithPeriodToDate(PeriodToDateComputation&& value) { SetPeriodToDate(std::move(value)); return *this;}
134
136
139 inline const GrowthRateComputation& GetGrowthRate() const{ return m_growthRate; }
140 inline bool GrowthRateHasBeenSet() const { return m_growthRateHasBeenSet; }
141 inline void SetGrowthRate(const GrowthRateComputation& value) { m_growthRateHasBeenSet = true; m_growthRate = value; }
142 inline void SetGrowthRate(GrowthRateComputation&& value) { m_growthRateHasBeenSet = true; m_growthRate = std::move(value); }
143 inline Computation& WithGrowthRate(const GrowthRateComputation& value) { SetGrowthRate(value); return *this;}
144 inline Computation& WithGrowthRate(GrowthRateComputation&& value) { SetGrowthRate(std::move(value)); return *this;}
146
148
151 inline const UniqueValuesComputation& GetUniqueValues() const{ return m_uniqueValues; }
152 inline bool UniqueValuesHasBeenSet() const { return m_uniqueValuesHasBeenSet; }
153 inline void SetUniqueValues(const UniqueValuesComputation& value) { m_uniqueValuesHasBeenSet = true; m_uniqueValues = value; }
154 inline void SetUniqueValues(UniqueValuesComputation&& value) { m_uniqueValuesHasBeenSet = true; m_uniqueValues = std::move(value); }
155 inline Computation& WithUniqueValues(const UniqueValuesComputation& value) { SetUniqueValues(value); return *this;}
156 inline Computation& WithUniqueValues(UniqueValuesComputation&& value) { SetUniqueValues(std::move(value)); return *this;}
158
160
163 inline const ForecastComputation& GetForecast() const{ return m_forecast; }
164 inline bool ForecastHasBeenSet() const { return m_forecastHasBeenSet; }
165 inline void SetForecast(const ForecastComputation& value) { m_forecastHasBeenSet = true; m_forecast = value; }
166 inline void SetForecast(ForecastComputation&& value) { m_forecastHasBeenSet = true; m_forecast = std::move(value); }
167 inline Computation& WithForecast(const ForecastComputation& value) { SetForecast(value); return *this;}
168 inline Computation& WithForecast(ForecastComputation&& value) { SetForecast(std::move(value)); return *this;}
170 private:
171
172 TopBottomRankedComputation m_topBottomRanked;
173 bool m_topBottomRankedHasBeenSet = false;
174
175 TopBottomMoversComputation m_topBottomMovers;
176 bool m_topBottomMoversHasBeenSet = false;
177
178 TotalAggregationComputation m_totalAggregation;
179 bool m_totalAggregationHasBeenSet = false;
180
181 MaximumMinimumComputation m_maximumMinimum;
182 bool m_maximumMinimumHasBeenSet = false;
183
184 MetricComparisonComputation m_metricComparison;
185 bool m_metricComparisonHasBeenSet = false;
186
187 PeriodOverPeriodComputation m_periodOverPeriod;
188 bool m_periodOverPeriodHasBeenSet = false;
189
190 PeriodToDateComputation m_periodToDate;
191 bool m_periodToDateHasBeenSet = false;
192
193 GrowthRateComputation m_growthRate;
194 bool m_growthRateHasBeenSet = false;
195
196 UniqueValuesComputation m_uniqueValues;
197 bool m_uniqueValuesHasBeenSet = false;
198
199 ForecastComputation m_forecast;
200 bool m_forecastHasBeenSet = false;
201 };
202
203} // namespace Model
204} // namespace QuickSight
205} // namespace Aws
Computation & WithMaximumMinimum(MaximumMinimumComputation &&value)
Definition Computation.h:96
void SetMaximumMinimum(const MaximumMinimumComputation &value)
Definition Computation.h:93
AWS_QUICKSIGHT_API Computation & operator=(Aws::Utils::Json::JsonView jsonValue)
Computation & WithTopBottomMovers(const TopBottomMoversComputation &value)
Definition Computation.h:71
Computation & WithMetricComparison(MetricComparisonComputation &&value)
Computation & WithTotalAggregation(TotalAggregationComputation &&value)
Definition Computation.h:84
void SetTopBottomMovers(const TopBottomMoversComputation &value)
Definition Computation.h:69
void SetForecast(ForecastComputation &&value)
void SetTotalAggregation(const TotalAggregationComputation &value)
Definition Computation.h:81
void SetForecast(const ForecastComputation &value)
const ForecastComputation & GetForecast() const
Computation & WithGrowthRate(const GrowthRateComputation &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
Computation & WithPeriodToDate(const PeriodToDateComputation &value)
void SetMetricComparison(MetricComparisonComputation &&value)
AWS_QUICKSIGHT_API Computation(Aws::Utils::Json::JsonView jsonValue)
Computation & WithForecast(const ForecastComputation &value)
const PeriodToDateComputation & GetPeriodToDate() const
const TopBottomMoversComputation & GetTopBottomMovers() const
Definition Computation.h:67
const MaximumMinimumComputation & GetMaximumMinimum() const
Definition Computation.h:91
Computation & WithUniqueValues(const UniqueValuesComputation &value)
void SetPeriodOverPeriod(const PeriodOverPeriodComputation &value)
const PeriodOverPeriodComputation & GetPeriodOverPeriod() const
void SetTotalAggregation(TotalAggregationComputation &&value)
Definition Computation.h:82
Computation & WithGrowthRate(GrowthRateComputation &&value)
void SetGrowthRate(GrowthRateComputation &&value)
Computation & WithPeriodToDate(PeriodToDateComputation &&value)
void SetTopBottomRanked(TopBottomRankedComputation &&value)
Definition Computation.h:58
Computation & WithForecast(ForecastComputation &&value)
void SetPeriodToDate(PeriodToDateComputation &&value)
Computation & WithMaximumMinimum(const MaximumMinimumComputation &value)
Definition Computation.h:95
void SetTopBottomRanked(const TopBottomRankedComputation &value)
Definition Computation.h:57
void SetPeriodOverPeriod(PeriodOverPeriodComputation &&value)
void SetMaximumMinimum(MaximumMinimumComputation &&value)
Definition Computation.h:94
Computation & WithTopBottomRanked(TopBottomRankedComputation &&value)
Definition Computation.h:60
AWS_QUICKSIGHT_API Computation()
void SetUniqueValues(UniqueValuesComputation &&value)
Computation & WithTopBottomMovers(TopBottomMoversComputation &&value)
Definition Computation.h:72
void SetTopBottomMovers(TopBottomMoversComputation &&value)
Definition Computation.h:70
const TopBottomRankedComputation & GetTopBottomRanked() const
Definition Computation.h:55
void SetGrowthRate(const GrowthRateComputation &value)
Computation & WithUniqueValues(UniqueValuesComputation &&value)
Computation & WithTotalAggregation(const TotalAggregationComputation &value)
Definition Computation.h:83
const GrowthRateComputation & GetGrowthRate() const
void SetPeriodToDate(const PeriodToDateComputation &value)
Computation & WithPeriodOverPeriod(const PeriodOverPeriodComputation &value)
const MetricComparisonComputation & GetMetricComparison() const
const UniqueValuesComputation & GetUniqueValues() const
Computation & WithPeriodOverPeriod(PeriodOverPeriodComputation &&value)
void SetUniqueValues(const UniqueValuesComputation &value)
Computation & WithMetricComparison(const MetricComparisonComputation &value)
void SetMetricComparison(const MetricComparisonComputation &value)
const TotalAggregationComputation & GetTotalAggregation() const
Definition Computation.h:79
Computation & WithTopBottomRanked(const TopBottomRankedComputation &value)
Definition Computation.h:59
Aws::Utils::Json::JsonValue JsonValue