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>
55 template<
typename CalculatedFieldNameT = Aws::String>
56 void SetCalculatedFieldName(CalculatedFieldNameT&& value) { m_calculatedFieldNameHasBeenSet =
true; m_calculatedFieldName = std::forward<CalculatedFieldNameT>(value); }
57 template<
typename CalculatedFieldNameT = Aws::String>
67 template<
typename CalculatedFieldDescriptionT = Aws::String>
68 void SetCalculatedFieldDescription(CalculatedFieldDescriptionT&& value) { m_calculatedFieldDescriptionHasBeenSet =
true; m_calculatedFieldDescription = std::forward<CalculatedFieldDescriptionT>(value); }
69 template<
typename CalculatedFieldDescriptionT = Aws::String>
79 template<
typename ExpressionT = Aws::String>
80 void SetExpression(ExpressionT&& value) { m_expressionHasBeenSet =
true; m_expression = std::forward<ExpressionT>(value); }
81 template<
typename ExpressionT = Aws::String>
91 template<
typename CalculatedFieldSynonymsT = Aws::Vector<Aws::String>>
92 void SetCalculatedFieldSynonyms(CalculatedFieldSynonymsT&& value) { m_calculatedFieldSynonymsHasBeenSet =
true; m_calculatedFieldSynonyms = std::forward<CalculatedFieldSynonymsT>(value); }
93 template<
typename CalculatedFieldSynonymsT = Aws::Vector<Aws::String>>
95 template<
typename CalculatedFieldSynonymsT = Aws::String>
106 inline void SetIsIncludedInTopic(
bool value) { m_isIncludedInTopicHasBeenSet =
true; m_isIncludedInTopic = value; }
117 inline void SetDisableIndexing(
bool value) { m_disableIndexingHasBeenSet =
true; m_disableIndexing = value; }
149 template<
typename DefaultFormattingT = DefaultFormatting>
150 void SetDefaultFormatting(DefaultFormattingT&& value) { m_defaultFormattingHasBeenSet =
true; m_defaultFormatting = std::forward<DefaultFormattingT>(value); }
151 template<
typename DefaultFormattingT = DefaultFormatting>
174 template<
typename ComparativeOrderT = ComparativeOrder>
175 void SetComparativeOrder(ComparativeOrderT&& value) { m_comparativeOrderHasBeenSet =
true; m_comparativeOrder = std::forward<ComparativeOrderT>(value); }
176 template<
typename ComparativeOrderT = ComparativeOrder>
186 template<
typename SemanticTypeT = SemanticType>
187 void SetSemanticType(SemanticTypeT&& value) { m_semanticTypeHasBeenSet =
true; m_semanticType = std::forward<SemanticTypeT>(value); }
188 template<
typename SemanticTypeT = SemanticType>
203 template<
typename AllowedAggregationsT = Aws::Vector<AuthorSpecifiedAggregation>>
204 void SetAllowedAggregations(AllowedAggregationsT&& value) { m_allowedAggregationsHasBeenSet =
true; m_allowedAggregations = std::forward<AllowedAggregationsT>(value); }
205 template<
typename AllowedAggregationsT = Aws::Vector<AuthorSpecifiedAggregation>>
221 template<
typename NotAllowedAggregationsT = Aws::Vector<AuthorSpecifiedAggregation>>
222 void SetNotAllowedAggregations(NotAllowedAggregationsT&& value) { m_notAllowedAggregationsHasBeenSet =
true; m_notAllowedAggregations = std::forward<NotAllowedAggregationsT>(value); }
223 template<
typename NotAllowedAggregationsT = Aws::Vector<AuthorSpecifiedAggregation>>
245 template<
typename CellValueSynonymsT = Aws::Vector<CellValueSynonym>>
246 void SetCellValueSynonyms(CellValueSynonymsT&& value) { m_cellValueSynonymsHasBeenSet =
true; m_cellValueSynonyms = std::forward<CellValueSynonymsT>(value); }
247 template<
typename CellValueSynonymsT = Aws::Vector<CellValueSynonym>>
249 template<
typename CellValueSynonymsT = CellValueSynonym>
259 inline void SetNonAdditive(
bool value) { m_nonAdditiveHasBeenSet =
true; m_nonAdditive = value; }
265 bool m_calculatedFieldNameHasBeenSet =
false;
268 bool m_calculatedFieldDescriptionHasBeenSet =
false;
271 bool m_expressionHasBeenSet =
false;
274 bool m_calculatedFieldSynonymsHasBeenSet =
false;
276 bool m_isIncludedInTopic{
false};
277 bool m_isIncludedInTopicHasBeenSet =
false;
279 bool m_disableIndexing{
false};
280 bool m_disableIndexingHasBeenSet =
false;
283 bool m_columnDataRoleHasBeenSet =
false;
286 bool m_timeGranularityHasBeenSet =
false;
288 DefaultFormatting m_defaultFormatting;
289 bool m_defaultFormattingHasBeenSet =
false;
292 bool m_aggregationHasBeenSet =
false;
294 ComparativeOrder m_comparativeOrder;
295 bool m_comparativeOrderHasBeenSet =
false;
297 SemanticType m_semanticType;
298 bool m_semanticTypeHasBeenSet =
false;
301 bool m_allowedAggregationsHasBeenSet =
false;
304 bool m_notAllowedAggregationsHasBeenSet =
false;
306 bool m_neverAggregateInFilter{
false};
307 bool m_neverAggregateInFilterHasBeenSet =
false;
310 bool m_cellValueSynonymsHasBeenSet =
false;
312 bool m_nonAdditive{
false};
313 bool m_nonAdditiveHasBeenSet =
false;
void SetNonAdditive(bool value)
TopicCalculatedField & AddCellValueSynonyms(CellValueSynonymsT &&value)
void SetTimeGranularity(TopicTimeGranularity value)
TopicCalculatedField & WithDefaultFormatting(DefaultFormattingT &&value)
TopicCalculatedField & WithTimeGranularity(TopicTimeGranularity value)
void SetAggregation(DefaultAggregation value)
TopicCalculatedField & WithCalculatedFieldDescription(CalculatedFieldDescriptionT &&value)
void SetCalculatedFieldDescription(CalculatedFieldDescriptionT &&value)
TopicCalculatedField & AddNotAllowedAggregations(AuthorSpecifiedAggregation value)
void SetExpression(ExpressionT &&value)
bool IsIncludedInTopicHasBeenSet() const
const Aws::String & GetExpression() const
TopicCalculatedField & WithIsIncludedInTopic(bool value)
AWS_QUICKSIGHT_API TopicCalculatedField & operator=(Aws::Utils::Json::JsonView jsonValue)
TopicCalculatedField & WithAggregation(DefaultAggregation value)
TopicCalculatedField & WithColumnDataRole(ColumnDataRole value)
const Aws::Vector< Aws::String > & GetCalculatedFieldSynonyms() const
TopicCalculatedField & AddAllowedAggregations(AuthorSpecifiedAggregation value)
const Aws::Vector< AuthorSpecifiedAggregation > & GetNotAllowedAggregations() const
const DefaultFormatting & GetDefaultFormatting() const
const Aws::Vector< AuthorSpecifiedAggregation > & GetAllowedAggregations() const
bool GetIsIncludedInTopic() const
TopicCalculatedField & WithExpression(ExpressionT &&value)
const Aws::String & GetCalculatedFieldDescription() const
bool GetNeverAggregateInFilter() const
TopicCalculatedField & WithCalculatedFieldName(CalculatedFieldNameT &&value)
void SetDefaultFormatting(DefaultFormattingT &&value)
void SetCalculatedFieldName(CalculatedFieldNameT &&value)
bool NonAdditiveHasBeenSet() const
void SetAllowedAggregations(AllowedAggregationsT &&value)
bool DefaultFormattingHasBeenSet() const
bool CellValueSynonymsHasBeenSet() const
AWS_QUICKSIGHT_API TopicCalculatedField(Aws::Utils::Json::JsonView jsonValue)
bool GetNonAdditive() const
TopicCalculatedField & WithCellValueSynonyms(CellValueSynonymsT &&value)
TopicCalculatedField & WithAllowedAggregations(AllowedAggregationsT &&value)
const SemanticType & GetSemanticType() const
DefaultAggregation GetAggregation() const
bool ExpressionHasBeenSet() const
void SetComparativeOrder(ComparativeOrderT &&value)
bool ComparativeOrderHasBeenSet() const
void SetNeverAggregateInFilter(bool value)
bool AllowedAggregationsHasBeenSet() const
void SetCellValueSynonyms(CellValueSynonymsT &&value)
void SetSemanticType(SemanticTypeT &&value)
TopicCalculatedField & WithSemanticType(SemanticTypeT &&value)
bool TimeGranularityHasBeenSet() const
bool CalculatedFieldNameHasBeenSet() const
TopicCalculatedField & WithNotAllowedAggregations(NotAllowedAggregationsT &&value)
void SetIsIncludedInTopic(bool value)
void SetDisableIndexing(bool value)
void SetNotAllowedAggregations(NotAllowedAggregationsT &&value)
const Aws::Vector< CellValueSynonym > & GetCellValueSynonyms() const
AWS_QUICKSIGHT_API TopicCalculatedField()=default
const Aws::String & GetCalculatedFieldName() const
bool CalculatedFieldSynonymsHasBeenSet() const
void SetCalculatedFieldSynonyms(CalculatedFieldSynonymsT &&value)
bool GetDisableIndexing() const
bool CalculatedFieldDescriptionHasBeenSet() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
bool NeverAggregateInFilterHasBeenSet() const
TopicCalculatedField & WithCalculatedFieldSynonyms(CalculatedFieldSynonymsT &&value)
TopicCalculatedField & WithDisableIndexing(bool value)
ColumnDataRole GetColumnDataRole() const
bool AggregationHasBeenSet() const
TopicTimeGranularity GetTimeGranularity() const
bool DisableIndexingHasBeenSet() const
TopicCalculatedField & WithNeverAggregateInFilter(bool value)
TopicCalculatedField & WithComparativeOrder(ComparativeOrderT &&value)
TopicCalculatedField & WithNonAdditive(bool value)
const ComparativeOrder & GetComparativeOrder() const
bool SemanticTypeHasBeenSet() const
TopicCalculatedField & AddCalculatedFieldSynonyms(CalculatedFieldSynonymsT &&value)
bool NotAllowedAggregationsHasBeenSet() const
bool ColumnDataRoleHasBeenSet() const
void SetColumnDataRole(ColumnDataRole value)
AuthorSpecifiedAggregation
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue