AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TopicColumn.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/DefaultAggregation.h>
12#include <aws/quicksight/model/ComparativeOrder.h>
13#include <aws/quicksight/model/SemanticType.h>
14#include <aws/quicksight/model/TopicTimeGranularity.h>
15#include <aws/quicksight/model/DefaultFormatting.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 TopicColumn() = default;
44 AWS_QUICKSIGHT_API TopicColumn(Aws::Utils::Json::JsonView jsonValue);
45 AWS_QUICKSIGHT_API TopicColumn& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const Aws::String& GetColumnName() const { return m_columnName; }
54 inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; }
55 template<typename ColumnNameT = Aws::String>
56 void SetColumnName(ColumnNameT&& value) { m_columnNameHasBeenSet = true; m_columnName = std::forward<ColumnNameT>(value); }
57 template<typename ColumnNameT = Aws::String>
58 TopicColumn& WithColumnName(ColumnNameT&& value) { SetColumnName(std::forward<ColumnNameT>(value)); return *this;}
60
62
65 inline const Aws::String& GetColumnFriendlyName() const { return m_columnFriendlyName; }
66 inline bool ColumnFriendlyNameHasBeenSet() const { return m_columnFriendlyNameHasBeenSet; }
67 template<typename ColumnFriendlyNameT = Aws::String>
68 void SetColumnFriendlyName(ColumnFriendlyNameT&& value) { m_columnFriendlyNameHasBeenSet = true; m_columnFriendlyName = std::forward<ColumnFriendlyNameT>(value); }
69 template<typename ColumnFriendlyNameT = Aws::String>
70 TopicColumn& WithColumnFriendlyName(ColumnFriendlyNameT&& value) { SetColumnFriendlyName(std::forward<ColumnFriendlyNameT>(value)); return *this;}
72
74
77 inline const Aws::String& GetColumnDescription() const { return m_columnDescription; }
78 inline bool ColumnDescriptionHasBeenSet() const { return m_columnDescriptionHasBeenSet; }
79 template<typename ColumnDescriptionT = Aws::String>
80 void SetColumnDescription(ColumnDescriptionT&& value) { m_columnDescriptionHasBeenSet = true; m_columnDescription = std::forward<ColumnDescriptionT>(value); }
81 template<typename ColumnDescriptionT = Aws::String>
82 TopicColumn& WithColumnDescription(ColumnDescriptionT&& value) { SetColumnDescription(std::forward<ColumnDescriptionT>(value)); return *this;}
84
86
89 inline const Aws::Vector<Aws::String>& GetColumnSynonyms() const { return m_columnSynonyms; }
90 inline bool ColumnSynonymsHasBeenSet() const { return m_columnSynonymsHasBeenSet; }
91 template<typename ColumnSynonymsT = Aws::Vector<Aws::String>>
92 void SetColumnSynonyms(ColumnSynonymsT&& value) { m_columnSynonymsHasBeenSet = true; m_columnSynonyms = std::forward<ColumnSynonymsT>(value); }
93 template<typename ColumnSynonymsT = Aws::Vector<Aws::String>>
94 TopicColumn& WithColumnSynonyms(ColumnSynonymsT&& value) { SetColumnSynonyms(std::forward<ColumnSynonymsT>(value)); return *this;}
95 template<typename ColumnSynonymsT = Aws::String>
96 TopicColumn& AddColumnSynonyms(ColumnSynonymsT&& value) { m_columnSynonymsHasBeenSet = true; m_columnSynonyms.emplace_back(std::forward<ColumnSynonymsT>(value)); return *this; }
98
100
104 inline ColumnDataRole GetColumnDataRole() const { return m_columnDataRole; }
105 inline bool ColumnDataRoleHasBeenSet() const { return m_columnDataRoleHasBeenSet; }
106 inline void SetColumnDataRole(ColumnDataRole value) { m_columnDataRoleHasBeenSet = true; m_columnDataRole = value; }
107 inline TopicColumn& WithColumnDataRole(ColumnDataRole value) { SetColumnDataRole(value); return *this;}
109
111
115 inline DefaultAggregation GetAggregation() const { return m_aggregation; }
116 inline bool AggregationHasBeenSet() const { return m_aggregationHasBeenSet; }
117 inline void SetAggregation(DefaultAggregation value) { m_aggregationHasBeenSet = true; m_aggregation = value; }
118 inline TopicColumn& WithAggregation(DefaultAggregation value) { SetAggregation(value); return *this;}
120
122
126 inline bool GetIsIncludedInTopic() const { return m_isIncludedInTopic; }
127 inline bool IsIncludedInTopicHasBeenSet() const { return m_isIncludedInTopicHasBeenSet; }
128 inline void SetIsIncludedInTopic(bool value) { m_isIncludedInTopicHasBeenSet = true; m_isIncludedInTopic = value; }
129 inline TopicColumn& WithIsIncludedInTopic(bool value) { SetIsIncludedInTopic(value); return *this;}
131
133
137 inline bool GetDisableIndexing() const { return m_disableIndexing; }
138 inline bool DisableIndexingHasBeenSet() const { return m_disableIndexingHasBeenSet; }
139 inline void SetDisableIndexing(bool value) { m_disableIndexingHasBeenSet = true; m_disableIndexing = value; }
140 inline TopicColumn& WithDisableIndexing(bool value) { SetDisableIndexing(value); return *this;}
142
144
148 inline const ComparativeOrder& GetComparativeOrder() const { return m_comparativeOrder; }
149 inline bool ComparativeOrderHasBeenSet() const { return m_comparativeOrderHasBeenSet; }
150 template<typename ComparativeOrderT = ComparativeOrder>
151 void SetComparativeOrder(ComparativeOrderT&& value) { m_comparativeOrderHasBeenSet = true; m_comparativeOrder = std::forward<ComparativeOrderT>(value); }
152 template<typename ComparativeOrderT = ComparativeOrder>
153 TopicColumn& WithComparativeOrder(ComparativeOrderT&& value) { SetComparativeOrder(std::forward<ComparativeOrderT>(value)); return *this;}
155
157
160 inline const SemanticType& GetSemanticType() const { return m_semanticType; }
161 inline bool SemanticTypeHasBeenSet() const { return m_semanticTypeHasBeenSet; }
162 template<typename SemanticTypeT = SemanticType>
163 void SetSemanticType(SemanticTypeT&& value) { m_semanticTypeHasBeenSet = true; m_semanticType = std::forward<SemanticTypeT>(value); }
164 template<typename SemanticTypeT = SemanticType>
165 TopicColumn& WithSemanticType(SemanticTypeT&& value) { SetSemanticType(std::forward<SemanticTypeT>(value)); return *this;}
167
169
173 inline TopicTimeGranularity GetTimeGranularity() const { return m_timeGranularity; }
174 inline bool TimeGranularityHasBeenSet() const { return m_timeGranularityHasBeenSet; }
175 inline void SetTimeGranularity(TopicTimeGranularity value) { m_timeGranularityHasBeenSet = true; m_timeGranularity = value; }
178
180
187 inline const Aws::Vector<AuthorSpecifiedAggregation>& GetAllowedAggregations() const { return m_allowedAggregations; }
188 inline bool AllowedAggregationsHasBeenSet() const { return m_allowedAggregationsHasBeenSet; }
189 template<typename AllowedAggregationsT = Aws::Vector<AuthorSpecifiedAggregation>>
190 void SetAllowedAggregations(AllowedAggregationsT&& value) { m_allowedAggregationsHasBeenSet = true; m_allowedAggregations = std::forward<AllowedAggregationsT>(value); }
191 template<typename AllowedAggregationsT = Aws::Vector<AuthorSpecifiedAggregation>>
192 TopicColumn& WithAllowedAggregations(AllowedAggregationsT&& value) { SetAllowedAggregations(std::forward<AllowedAggregationsT>(value)); return *this;}
193 inline TopicColumn& AddAllowedAggregations(AuthorSpecifiedAggregation value) { m_allowedAggregationsHasBeenSet = true; m_allowedAggregations.push_back(value); return *this; }
195
197
204 inline const Aws::Vector<AuthorSpecifiedAggregation>& GetNotAllowedAggregations() const { return m_notAllowedAggregations; }
205 inline bool NotAllowedAggregationsHasBeenSet() const { return m_notAllowedAggregationsHasBeenSet; }
206 template<typename NotAllowedAggregationsT = Aws::Vector<AuthorSpecifiedAggregation>>
207 void SetNotAllowedAggregations(NotAllowedAggregationsT&& value) { m_notAllowedAggregationsHasBeenSet = true; m_notAllowedAggregations = std::forward<NotAllowedAggregationsT>(value); }
208 template<typename NotAllowedAggregationsT = Aws::Vector<AuthorSpecifiedAggregation>>
209 TopicColumn& WithNotAllowedAggregations(NotAllowedAggregationsT&& value) { SetNotAllowedAggregations(std::forward<NotAllowedAggregationsT>(value)); return *this;}
210 inline TopicColumn& AddNotAllowedAggregations(AuthorSpecifiedAggregation value) { m_notAllowedAggregationsHasBeenSet = true; m_notAllowedAggregations.push_back(value); return *this; }
212
214
217 inline const DefaultFormatting& GetDefaultFormatting() const { return m_defaultFormatting; }
218 inline bool DefaultFormattingHasBeenSet() const { return m_defaultFormattingHasBeenSet; }
219 template<typename DefaultFormattingT = DefaultFormatting>
220 void SetDefaultFormatting(DefaultFormattingT&& value) { m_defaultFormattingHasBeenSet = true; m_defaultFormatting = std::forward<DefaultFormattingT>(value); }
221 template<typename DefaultFormattingT = DefaultFormatting>
222 TopicColumn& WithDefaultFormatting(DefaultFormattingT&& value) { SetDefaultFormatting(std::forward<DefaultFormattingT>(value)); return *this;}
224
226
230 inline bool GetNeverAggregateInFilter() const { return m_neverAggregateInFilter; }
231 inline bool NeverAggregateInFilterHasBeenSet() const { return m_neverAggregateInFilterHasBeenSet; }
232 inline void SetNeverAggregateInFilter(bool value) { m_neverAggregateInFilterHasBeenSet = true; m_neverAggregateInFilter = value; }
233 inline TopicColumn& WithNeverAggregateInFilter(bool value) { SetNeverAggregateInFilter(value); return *this;}
235
237
240 inline const Aws::Vector<CellValueSynonym>& GetCellValueSynonyms() const { return m_cellValueSynonyms; }
241 inline bool CellValueSynonymsHasBeenSet() const { return m_cellValueSynonymsHasBeenSet; }
242 template<typename CellValueSynonymsT = Aws::Vector<CellValueSynonym>>
243 void SetCellValueSynonyms(CellValueSynonymsT&& value) { m_cellValueSynonymsHasBeenSet = true; m_cellValueSynonyms = std::forward<CellValueSynonymsT>(value); }
244 template<typename CellValueSynonymsT = Aws::Vector<CellValueSynonym>>
245 TopicColumn& WithCellValueSynonyms(CellValueSynonymsT&& value) { SetCellValueSynonyms(std::forward<CellValueSynonymsT>(value)); return *this;}
246 template<typename CellValueSynonymsT = CellValueSynonym>
247 TopicColumn& AddCellValueSynonyms(CellValueSynonymsT&& value) { m_cellValueSynonymsHasBeenSet = true; m_cellValueSynonyms.emplace_back(std::forward<CellValueSynonymsT>(value)); return *this; }
249
251
254 inline bool GetNonAdditive() const { return m_nonAdditive; }
255 inline bool NonAdditiveHasBeenSet() const { return m_nonAdditiveHasBeenSet; }
256 inline void SetNonAdditive(bool value) { m_nonAdditiveHasBeenSet = true; m_nonAdditive = value; }
257 inline TopicColumn& WithNonAdditive(bool value) { SetNonAdditive(value); return *this;}
259 private:
260
261 Aws::String m_columnName;
262 bool m_columnNameHasBeenSet = false;
263
264 Aws::String m_columnFriendlyName;
265 bool m_columnFriendlyNameHasBeenSet = false;
266
267 Aws::String m_columnDescription;
268 bool m_columnDescriptionHasBeenSet = false;
269
270 Aws::Vector<Aws::String> m_columnSynonyms;
271 bool m_columnSynonymsHasBeenSet = false;
272
273 ColumnDataRole m_columnDataRole{ColumnDataRole::NOT_SET};
274 bool m_columnDataRoleHasBeenSet = false;
275
277 bool m_aggregationHasBeenSet = false;
278
279 bool m_isIncludedInTopic{false};
280 bool m_isIncludedInTopicHasBeenSet = false;
281
282 bool m_disableIndexing{false};
283 bool m_disableIndexingHasBeenSet = false;
284
285 ComparativeOrder m_comparativeOrder;
286 bool m_comparativeOrderHasBeenSet = false;
287
288 SemanticType m_semanticType;
289 bool m_semanticTypeHasBeenSet = false;
290
292 bool m_timeGranularityHasBeenSet = false;
293
294 Aws::Vector<AuthorSpecifiedAggregation> m_allowedAggregations;
295 bool m_allowedAggregationsHasBeenSet = false;
296
297 Aws::Vector<AuthorSpecifiedAggregation> m_notAllowedAggregations;
298 bool m_notAllowedAggregationsHasBeenSet = false;
299
300 DefaultFormatting m_defaultFormatting;
301 bool m_defaultFormattingHasBeenSet = false;
302
303 bool m_neverAggregateInFilter{false};
304 bool m_neverAggregateInFilterHasBeenSet = false;
305
306 Aws::Vector<CellValueSynonym> m_cellValueSynonyms;
307 bool m_cellValueSynonymsHasBeenSet = false;
308
309 bool m_nonAdditive{false};
310 bool m_nonAdditiveHasBeenSet = false;
311 };
312
313} // namespace Model
314} // namespace QuickSight
315} // namespace Aws
const Aws::Vector< AuthorSpecifiedAggregation > & GetNotAllowedAggregations() const
void SetColumnName(ColumnNameT &&value)
Definition TopicColumn.h:56
TopicColumn & WithColumnFriendlyName(ColumnFriendlyNameT &&value)
Definition TopicColumn.h:70
const Aws::String & GetColumnDescription() const
Definition TopicColumn.h:77
TopicColumn & WithColumnName(ColumnNameT &&value)
Definition TopicColumn.h:58
void SetColumnSynonyms(ColumnSynonymsT &&value)
Definition TopicColumn.h:92
void SetAggregation(DefaultAggregation value)
const Aws::Vector< CellValueSynonym > & GetCellValueSynonyms() const
TopicColumn & AddAllowedAggregations(AuthorSpecifiedAggregation value)
AWS_QUICKSIGHT_API TopicColumn(Aws::Utils::Json::JsonView jsonValue)
TopicColumn & WithComparativeOrder(ComparativeOrderT &&value)
const DefaultFormatting & GetDefaultFormatting() const
TopicColumn & WithDisableIndexing(bool value)
TopicColumn & WithTimeGranularity(TopicTimeGranularity value)
TopicColumn & WithNotAllowedAggregations(NotAllowedAggregationsT &&value)
TopicColumn & WithSemanticType(SemanticTypeT &&value)
void SetCellValueSynonyms(CellValueSynonymsT &&value)
void SetTimeGranularity(TopicTimeGranularity value)
TopicColumn & WithDefaultFormatting(DefaultFormattingT &&value)
TopicColumn & WithAggregation(DefaultAggregation value)
TopicTimeGranularity GetTimeGranularity() const
const Aws::String & GetColumnFriendlyName() const
Definition TopicColumn.h:65
TopicColumn & AddCellValueSynonyms(CellValueSynonymsT &&value)
TopicColumn & AddColumnSynonyms(ColumnSynonymsT &&value)
Definition TopicColumn.h:96
void SetSemanticType(SemanticTypeT &&value)
void SetNeverAggregateInFilter(bool value)
AWS_QUICKSIGHT_API TopicColumn()=default
const SemanticType & GetSemanticType() const
TopicColumn & WithAllowedAggregations(AllowedAggregationsT &&value)
TopicColumn & WithCellValueSynonyms(CellValueSynonymsT &&value)
const Aws::Vector< Aws::String > & GetColumnSynonyms() const
Definition TopicColumn.h:89
TopicColumn & WithIsIncludedInTopic(bool value)
void SetNotAllowedAggregations(NotAllowedAggregationsT &&value)
AWS_QUICKSIGHT_API TopicColumn & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TopicColumn & WithColumnSynonyms(ColumnSynonymsT &&value)
Definition TopicColumn.h:94
TopicColumn & AddNotAllowedAggregations(AuthorSpecifiedAggregation value)
TopicColumn & WithColumnDataRole(ColumnDataRole value)
DefaultAggregation GetAggregation() const
void SetColumnFriendlyName(ColumnFriendlyNameT &&value)
Definition TopicColumn.h:68
void SetColumnDataRole(ColumnDataRole value)
void SetComparativeOrder(ComparativeOrderT &&value)
TopicColumn & WithNeverAggregateInFilter(bool value)
void SetAllowedAggregations(AllowedAggregationsT &&value)
void SetColumnDescription(ColumnDescriptionT &&value)
Definition TopicColumn.h:80
const Aws::Vector< AuthorSpecifiedAggregation > & GetAllowedAggregations() const
void SetDefaultFormatting(DefaultFormattingT &&value)
ColumnDataRole GetColumnDataRole() const
TopicColumn & WithNonAdditive(bool value)
TopicColumn & WithColumnDescription(ColumnDescriptionT &&value)
Definition TopicColumn.h:82
const ComparativeOrder & GetComparativeOrder() const
const Aws::String & GetColumnName() const
Definition TopicColumn.h:53
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue