AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TopicCalculatedField.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/quicksight/model/ColumnDataRole.h>
11#include <aws/quicksight/model/TopicTimeGranularity.h>
12#include <aws/quicksight/model/DefaultFormatting.h>
13#include <aws/quicksight/model/DefaultAggregation.h>
14#include <aws/quicksight/model/ComparativeOrder.h>
15#include <aws/quicksight/model/SemanticType.h>
16#include <aws/quicksight/model/AuthorSpecifiedAggregation.h>
17#include <aws/quicksight/model/CellValueSynonym.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
41 {
42 public:
43 AWS_QUICKSIGHT_API TopicCalculatedField();
44 AWS_QUICKSIGHT_API TopicCalculatedField(Aws::Utils::Json::JsonView jsonValue);
46 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const Aws::String& GetCalculatedFieldName() const{ return m_calculatedFieldName; }
54 inline bool CalculatedFieldNameHasBeenSet() const { return m_calculatedFieldNameHasBeenSet; }
55 inline void SetCalculatedFieldName(const Aws::String& value) { m_calculatedFieldNameHasBeenSet = true; m_calculatedFieldName = value; }
56 inline void SetCalculatedFieldName(Aws::String&& value) { m_calculatedFieldNameHasBeenSet = true; m_calculatedFieldName = std::move(value); }
57 inline void SetCalculatedFieldName(const char* value) { m_calculatedFieldNameHasBeenSet = true; m_calculatedFieldName.assign(value); }
59 inline TopicCalculatedField& WithCalculatedFieldName(Aws::String&& value) { SetCalculatedFieldName(std::move(value)); return *this;}
60 inline TopicCalculatedField& WithCalculatedFieldName(const char* value) { SetCalculatedFieldName(value); return *this;}
62
64
67 inline const Aws::String& GetCalculatedFieldDescription() const{ return m_calculatedFieldDescription; }
68 inline bool CalculatedFieldDescriptionHasBeenSet() const { return m_calculatedFieldDescriptionHasBeenSet; }
69 inline void SetCalculatedFieldDescription(const Aws::String& value) { m_calculatedFieldDescriptionHasBeenSet = true; m_calculatedFieldDescription = value; }
70 inline void SetCalculatedFieldDescription(Aws::String&& value) { m_calculatedFieldDescriptionHasBeenSet = true; m_calculatedFieldDescription = std::move(value); }
71 inline void SetCalculatedFieldDescription(const char* value) { m_calculatedFieldDescriptionHasBeenSet = true; m_calculatedFieldDescription.assign(value); }
74 inline TopicCalculatedField& WithCalculatedFieldDescription(const char* value) { SetCalculatedFieldDescription(value); return *this;}
76
78
81 inline const Aws::String& GetExpression() const{ return m_expression; }
82 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
83 inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; }
84 inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); }
85 inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); }
86 inline TopicCalculatedField& WithExpression(const Aws::String& value) { SetExpression(value); return *this;}
87 inline TopicCalculatedField& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;}
88 inline TopicCalculatedField& WithExpression(const char* value) { SetExpression(value); return *this;}
90
92
95 inline const Aws::Vector<Aws::String>& GetCalculatedFieldSynonyms() const{ return m_calculatedFieldSynonyms; }
96 inline bool CalculatedFieldSynonymsHasBeenSet() const { return m_calculatedFieldSynonymsHasBeenSet; }
97 inline void SetCalculatedFieldSynonyms(const Aws::Vector<Aws::String>& value) { m_calculatedFieldSynonymsHasBeenSet = true; m_calculatedFieldSynonyms = value; }
98 inline void SetCalculatedFieldSynonyms(Aws::Vector<Aws::String>&& value) { m_calculatedFieldSynonymsHasBeenSet = true; m_calculatedFieldSynonyms = std::move(value); }
101 inline TopicCalculatedField& AddCalculatedFieldSynonyms(const Aws::String& value) { m_calculatedFieldSynonymsHasBeenSet = true; m_calculatedFieldSynonyms.push_back(value); return *this; }
102 inline TopicCalculatedField& AddCalculatedFieldSynonyms(Aws::String&& value) { m_calculatedFieldSynonymsHasBeenSet = true; m_calculatedFieldSynonyms.push_back(std::move(value)); return *this; }
103 inline TopicCalculatedField& AddCalculatedFieldSynonyms(const char* value) { m_calculatedFieldSynonymsHasBeenSet = true; m_calculatedFieldSynonyms.push_back(value); return *this; }
105
107
111 inline bool GetIsIncludedInTopic() const{ return m_isIncludedInTopic; }
112 inline bool IsIncludedInTopicHasBeenSet() const { return m_isIncludedInTopicHasBeenSet; }
113 inline void SetIsIncludedInTopic(bool value) { m_isIncludedInTopicHasBeenSet = true; m_isIncludedInTopic = value; }
114 inline TopicCalculatedField& WithIsIncludedInTopic(bool value) { SetIsIncludedInTopic(value); return *this;}
116
118
122 inline bool GetDisableIndexing() const{ return m_disableIndexing; }
123 inline bool DisableIndexingHasBeenSet() const { return m_disableIndexingHasBeenSet; }
124 inline void SetDisableIndexing(bool value) { m_disableIndexingHasBeenSet = true; m_disableIndexing = value; }
125 inline TopicCalculatedField& WithDisableIndexing(bool value) { SetDisableIndexing(value); return *this;}
127
129
133 inline const ColumnDataRole& GetColumnDataRole() const{ return m_columnDataRole; }
134 inline bool ColumnDataRoleHasBeenSet() const { return m_columnDataRoleHasBeenSet; }
135 inline void SetColumnDataRole(const ColumnDataRole& value) { m_columnDataRoleHasBeenSet = true; m_columnDataRole = value; }
136 inline void SetColumnDataRole(ColumnDataRole&& value) { m_columnDataRoleHasBeenSet = true; m_columnDataRole = std::move(value); }
137 inline TopicCalculatedField& WithColumnDataRole(const ColumnDataRole& value) { SetColumnDataRole(value); return *this;}
138 inline TopicCalculatedField& WithColumnDataRole(ColumnDataRole&& value) { SetColumnDataRole(std::move(value)); return *this;}
140
142
146 inline const TopicTimeGranularity& GetTimeGranularity() const{ return m_timeGranularity; }
147 inline bool TimeGranularityHasBeenSet() const { return m_timeGranularityHasBeenSet; }
148 inline void SetTimeGranularity(const TopicTimeGranularity& value) { m_timeGranularityHasBeenSet = true; m_timeGranularity = value; }
149 inline void SetTimeGranularity(TopicTimeGranularity&& value) { m_timeGranularityHasBeenSet = true; m_timeGranularity = std::move(value); }
151 inline TopicCalculatedField& WithTimeGranularity(TopicTimeGranularity&& value) { SetTimeGranularity(std::move(value)); return *this;}
153
155
158 inline const DefaultFormatting& GetDefaultFormatting() const{ return m_defaultFormatting; }
159 inline bool DefaultFormattingHasBeenSet() const { return m_defaultFormattingHasBeenSet; }
160 inline void SetDefaultFormatting(const DefaultFormatting& value) { m_defaultFormattingHasBeenSet = true; m_defaultFormatting = value; }
161 inline void SetDefaultFormatting(DefaultFormatting&& value) { m_defaultFormattingHasBeenSet = true; m_defaultFormatting = std::move(value); }
163 inline TopicCalculatedField& WithDefaultFormatting(DefaultFormatting&& value) { SetDefaultFormatting(std::move(value)); return *this;}
165
167
172 inline const DefaultAggregation& GetAggregation() const{ return m_aggregation; }
173 inline bool AggregationHasBeenSet() const { return m_aggregationHasBeenSet; }
174 inline void SetAggregation(const DefaultAggregation& value) { m_aggregationHasBeenSet = true; m_aggregation = value; }
175 inline void SetAggregation(DefaultAggregation&& value) { m_aggregationHasBeenSet = true; m_aggregation = std::move(value); }
176 inline TopicCalculatedField& WithAggregation(const DefaultAggregation& value) { SetAggregation(value); return *this;}
177 inline TopicCalculatedField& WithAggregation(DefaultAggregation&& value) { SetAggregation(std::move(value)); return *this;}
179
181
185 inline const ComparativeOrder& GetComparativeOrder() const{ return m_comparativeOrder; }
186 inline bool ComparativeOrderHasBeenSet() const { return m_comparativeOrderHasBeenSet; }
187 inline void SetComparativeOrder(const ComparativeOrder& value) { m_comparativeOrderHasBeenSet = true; m_comparativeOrder = value; }
188 inline void SetComparativeOrder(ComparativeOrder&& value) { m_comparativeOrderHasBeenSet = true; m_comparativeOrder = std::move(value); }
190 inline TopicCalculatedField& WithComparativeOrder(ComparativeOrder&& value) { SetComparativeOrder(std::move(value)); return *this;}
192
194
197 inline const SemanticType& GetSemanticType() const{ return m_semanticType; }
198 inline bool SemanticTypeHasBeenSet() const { return m_semanticTypeHasBeenSet; }
199 inline void SetSemanticType(const SemanticType& value) { m_semanticTypeHasBeenSet = true; m_semanticType = value; }
200 inline void SetSemanticType(SemanticType&& value) { m_semanticTypeHasBeenSet = true; m_semanticType = std::move(value); }
201 inline TopicCalculatedField& WithSemanticType(const SemanticType& value) { SetSemanticType(value); return *this;}
202 inline TopicCalculatedField& WithSemanticType(SemanticType&& value) { SetSemanticType(std::move(value)); return *this;}
204
206
214 inline const Aws::Vector<AuthorSpecifiedAggregation>& GetAllowedAggregations() const{ return m_allowedAggregations; }
215 inline bool AllowedAggregationsHasBeenSet() const { return m_allowedAggregationsHasBeenSet; }
216 inline void SetAllowedAggregations(const Aws::Vector<AuthorSpecifiedAggregation>& value) { m_allowedAggregationsHasBeenSet = true; m_allowedAggregations = value; }
217 inline void SetAllowedAggregations(Aws::Vector<AuthorSpecifiedAggregation>&& value) { m_allowedAggregationsHasBeenSet = true; m_allowedAggregations = std::move(value); }
220 inline TopicCalculatedField& AddAllowedAggregations(const AuthorSpecifiedAggregation& value) { m_allowedAggregationsHasBeenSet = true; m_allowedAggregations.push_back(value); return *this; }
221 inline TopicCalculatedField& AddAllowedAggregations(AuthorSpecifiedAggregation&& value) { m_allowedAggregationsHasBeenSet = true; m_allowedAggregations.push_back(std::move(value)); return *this; }
223
225
233 inline const Aws::Vector<AuthorSpecifiedAggregation>& GetNotAllowedAggregations() const{ return m_notAllowedAggregations; }
234 inline bool NotAllowedAggregationsHasBeenSet() const { return m_notAllowedAggregationsHasBeenSet; }
235 inline void SetNotAllowedAggregations(const Aws::Vector<AuthorSpecifiedAggregation>& value) { m_notAllowedAggregationsHasBeenSet = true; m_notAllowedAggregations = value; }
236 inline void SetNotAllowedAggregations(Aws::Vector<AuthorSpecifiedAggregation>&& value) { m_notAllowedAggregationsHasBeenSet = true; m_notAllowedAggregations = std::move(value); }
239 inline TopicCalculatedField& AddNotAllowedAggregations(const AuthorSpecifiedAggregation& value) { m_notAllowedAggregationsHasBeenSet = true; m_notAllowedAggregations.push_back(value); return *this; }
240 inline TopicCalculatedField& AddNotAllowedAggregations(AuthorSpecifiedAggregation&& value) { m_notAllowedAggregationsHasBeenSet = true; m_notAllowedAggregations.push_back(std::move(value)); return *this; }
242
244
248 inline bool GetNeverAggregateInFilter() const{ return m_neverAggregateInFilter; }
249 inline bool NeverAggregateInFilterHasBeenSet() const { return m_neverAggregateInFilterHasBeenSet; }
250 inline void SetNeverAggregateInFilter(bool value) { m_neverAggregateInFilterHasBeenSet = true; m_neverAggregateInFilter = value; }
253
255
258 inline const Aws::Vector<CellValueSynonym>& GetCellValueSynonyms() const{ return m_cellValueSynonyms; }
259 inline bool CellValueSynonymsHasBeenSet() const { return m_cellValueSynonymsHasBeenSet; }
260 inline void SetCellValueSynonyms(const Aws::Vector<CellValueSynonym>& value) { m_cellValueSynonymsHasBeenSet = true; m_cellValueSynonyms = value; }
261 inline void SetCellValueSynonyms(Aws::Vector<CellValueSynonym>&& value) { m_cellValueSynonymsHasBeenSet = true; m_cellValueSynonyms = std::move(value); }
264 inline TopicCalculatedField& AddCellValueSynonyms(const CellValueSynonym& value) { m_cellValueSynonymsHasBeenSet = true; m_cellValueSynonyms.push_back(value); return *this; }
265 inline TopicCalculatedField& AddCellValueSynonyms(CellValueSynonym&& value) { m_cellValueSynonymsHasBeenSet = true; m_cellValueSynonyms.push_back(std::move(value)); return *this; }
267
269
272 inline bool GetNonAdditive() const{ return m_nonAdditive; }
273 inline bool NonAdditiveHasBeenSet() const { return m_nonAdditiveHasBeenSet; }
274 inline void SetNonAdditive(bool value) { m_nonAdditiveHasBeenSet = true; m_nonAdditive = value; }
275 inline TopicCalculatedField& WithNonAdditive(bool value) { SetNonAdditive(value); return *this;}
277 private:
278
279 Aws::String m_calculatedFieldName;
280 bool m_calculatedFieldNameHasBeenSet = false;
281
282 Aws::String m_calculatedFieldDescription;
283 bool m_calculatedFieldDescriptionHasBeenSet = false;
284
285 Aws::String m_expression;
286 bool m_expressionHasBeenSet = false;
287
288 Aws::Vector<Aws::String> m_calculatedFieldSynonyms;
289 bool m_calculatedFieldSynonymsHasBeenSet = false;
290
291 bool m_isIncludedInTopic;
292 bool m_isIncludedInTopicHasBeenSet = false;
293
294 bool m_disableIndexing;
295 bool m_disableIndexingHasBeenSet = false;
296
297 ColumnDataRole m_columnDataRole;
298 bool m_columnDataRoleHasBeenSet = false;
299
300 TopicTimeGranularity m_timeGranularity;
301 bool m_timeGranularityHasBeenSet = false;
302
303 DefaultFormatting m_defaultFormatting;
304 bool m_defaultFormattingHasBeenSet = false;
305
306 DefaultAggregation m_aggregation;
307 bool m_aggregationHasBeenSet = false;
308
309 ComparativeOrder m_comparativeOrder;
310 bool m_comparativeOrderHasBeenSet = false;
311
312 SemanticType m_semanticType;
313 bool m_semanticTypeHasBeenSet = false;
314
315 Aws::Vector<AuthorSpecifiedAggregation> m_allowedAggregations;
316 bool m_allowedAggregationsHasBeenSet = false;
317
318 Aws::Vector<AuthorSpecifiedAggregation> m_notAllowedAggregations;
319 bool m_notAllowedAggregationsHasBeenSet = false;
320
321 bool m_neverAggregateInFilter;
322 bool m_neverAggregateInFilterHasBeenSet = false;
323
324 Aws::Vector<CellValueSynonym> m_cellValueSynonyms;
325 bool m_cellValueSynonymsHasBeenSet = false;
326
327 bool m_nonAdditive;
328 bool m_nonAdditiveHasBeenSet = false;
329 };
330
331} // namespace Model
332} // namespace QuickSight
333} // namespace Aws
TopicCalculatedField & WithDefaultFormatting(DefaultFormatting &&value)
void SetTimeGranularity(const TopicTimeGranularity &value)
TopicCalculatedField & WithDefaultFormatting(const DefaultFormatting &value)
void SetDefaultFormatting(DefaultFormatting &&value)
void SetColumnDataRole(const ColumnDataRole &value)
void SetCellValueSynonyms(Aws::Vector< CellValueSynonym > &&value)
TopicCalculatedField & WithCellValueSynonyms(Aws::Vector< CellValueSynonym > &&value)
TopicCalculatedField & WithNotAllowedAggregations(const Aws::Vector< AuthorSpecifiedAggregation > &value)
TopicCalculatedField & WithCalculatedFieldSynonyms(const Aws::Vector< Aws::String > &value)
TopicCalculatedField & WithIsIncludedInTopic(bool value)
TopicCalculatedField & WithColumnDataRole(const ColumnDataRole &value)
AWS_QUICKSIGHT_API TopicCalculatedField & operator=(Aws::Utils::Json::JsonView jsonValue)
TopicCalculatedField & WithExpression(Aws::String &&value)
void SetComparativeOrder(ComparativeOrder &&value)
TopicCalculatedField & WithExpression(const char *value)
const Aws::Vector< Aws::String > & GetCalculatedFieldSynonyms() const
const Aws::Vector< AuthorSpecifiedAggregation > & GetNotAllowedAggregations() const
const DefaultFormatting & GetDefaultFormatting() const
const Aws::Vector< AuthorSpecifiedAggregation > & GetAllowedAggregations() const
void SetAggregation(DefaultAggregation &&value)
const Aws::String & GetCalculatedFieldDescription() const
TopicCalculatedField & WithSemanticType(SemanticType &&value)
TopicCalculatedField & AddAllowedAggregations(const AuthorSpecifiedAggregation &value)
TopicCalculatedField & AddNotAllowedAggregations(AuthorSpecifiedAggregation &&value)
void SetSemanticType(const SemanticType &value)
void SetAggregation(const DefaultAggregation &value)
TopicCalculatedField & AddAllowedAggregations(AuthorSpecifiedAggregation &&value)
AWS_QUICKSIGHT_API TopicCalculatedField(Aws::Utils::Json::JsonView jsonValue)
TopicCalculatedField & WithCalculatedFieldDescription(Aws::String &&value)
void SetTimeGranularity(TopicTimeGranularity &&value)
TopicCalculatedField & WithNotAllowedAggregations(Aws::Vector< AuthorSpecifiedAggregation > &&value)
void SetComparativeOrder(const ComparativeOrder &value)
void SetCalculatedFieldName(const Aws::String &value)
TopicCalculatedField & WithAggregation(DefaultAggregation &&value)
void SetNotAllowedAggregations(const Aws::Vector< AuthorSpecifiedAggregation > &value)
TopicCalculatedField & WithAllowedAggregations(const Aws::Vector< AuthorSpecifiedAggregation > &value)
TopicCalculatedField & AddCellValueSynonyms(CellValueSynonym &&value)
const DefaultAggregation & GetAggregation() const
TopicCalculatedField & WithCalculatedFieldName(const Aws::String &value)
TopicCalculatedField & WithComparativeOrder(ComparativeOrder &&value)
const Aws::Vector< CellValueSynonym > & GetCellValueSynonyms() const
void SetCalculatedFieldSynonyms(const Aws::Vector< Aws::String > &value)
TopicCalculatedField & WithTimeGranularity(const TopicTimeGranularity &value)
TopicCalculatedField & AddCalculatedFieldSynonyms(const char *value)
TopicCalculatedField & WithAggregation(const DefaultAggregation &value)
void SetCalculatedFieldSynonyms(Aws::Vector< Aws::String > &&value)
void SetDefaultFormatting(const DefaultFormatting &value)
TopicCalculatedField & WithSemanticType(const SemanticType &value)
void SetNotAllowedAggregations(Aws::Vector< AuthorSpecifiedAggregation > &&value)
TopicCalculatedField & AddCalculatedFieldSynonyms(Aws::String &&value)
TopicCalculatedField & WithCellValueSynonyms(const Aws::Vector< CellValueSynonym > &value)
TopicCalculatedField & WithColumnDataRole(ColumnDataRole &&value)
void SetCalculatedFieldDescription(const Aws::String &value)
TopicCalculatedField & AddCalculatedFieldSynonyms(const Aws::String &value)
TopicCalculatedField & WithExpression(const Aws::String &value)
void SetAllowedAggregations(Aws::Vector< AuthorSpecifiedAggregation > &&value)
TopicCalculatedField & WithCalculatedFieldDescription(const char *value)
void SetAllowedAggregations(const Aws::Vector< AuthorSpecifiedAggregation > &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TopicCalculatedField & WithComparativeOrder(const ComparativeOrder &value)
TopicCalculatedField & WithDisableIndexing(bool value)
TopicCalculatedField & AddCellValueSynonyms(const CellValueSynonym &value)
const TopicTimeGranularity & GetTimeGranularity() const
TopicCalculatedField & WithAllowedAggregations(Aws::Vector< AuthorSpecifiedAggregation > &&value)
TopicCalculatedField & WithCalculatedFieldSynonyms(Aws::Vector< Aws::String > &&value)
TopicCalculatedField & WithCalculatedFieldName(Aws::String &&value)
TopicCalculatedField & WithNeverAggregateInFilter(bool value)
TopicCalculatedField & WithNonAdditive(bool value)
void SetCellValueSynonyms(const Aws::Vector< CellValueSynonym > &value)
const ComparativeOrder & GetComparativeOrder() const
TopicCalculatedField & WithCalculatedFieldName(const char *value)
TopicCalculatedField & WithTimeGranularity(TopicTimeGranularity &&value)
TopicCalculatedField & AddNotAllowedAggregations(const AuthorSpecifiedAggregation &value)
TopicCalculatedField & WithCalculatedFieldDescription(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue