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>
57 inline void SetCalculatedFieldName(
const char* value) { m_calculatedFieldNameHasBeenSet =
true; m_calculatedFieldName.assign(value); }
71 inline void SetCalculatedFieldDescription(
const char* value) { m_calculatedFieldDescriptionHasBeenSet =
true; m_calculatedFieldDescription.assign(value); }
85 inline void SetExpression(
const char* value) { m_expressionHasBeenSet =
true; m_expression.assign(value); }
113 inline void SetIsIncludedInTopic(
bool value) { m_isIncludedInTopicHasBeenSet =
true; m_isIncludedInTopic = value; }
124 inline void SetDisableIndexing(
bool value) { m_disableIndexingHasBeenSet =
true; m_disableIndexing = value; }
274 inline void SetNonAdditive(
bool value) { m_nonAdditiveHasBeenSet =
true; m_nonAdditive = value; }
280 bool m_calculatedFieldNameHasBeenSet =
false;
283 bool m_calculatedFieldDescriptionHasBeenSet =
false;
286 bool m_expressionHasBeenSet =
false;
289 bool m_calculatedFieldSynonymsHasBeenSet =
false;
291 bool m_isIncludedInTopic;
292 bool m_isIncludedInTopicHasBeenSet =
false;
294 bool m_disableIndexing;
295 bool m_disableIndexingHasBeenSet =
false;
298 bool m_columnDataRoleHasBeenSet =
false;
301 bool m_timeGranularityHasBeenSet =
false;
304 bool m_defaultFormattingHasBeenSet =
false;
307 bool m_aggregationHasBeenSet =
false;
310 bool m_comparativeOrderHasBeenSet =
false;
313 bool m_semanticTypeHasBeenSet =
false;
316 bool m_allowedAggregationsHasBeenSet =
false;
319 bool m_notAllowedAggregationsHasBeenSet =
false;
321 bool m_neverAggregateInFilter;
322 bool m_neverAggregateInFilterHasBeenSet =
false;
325 bool m_cellValueSynonymsHasBeenSet =
false;
328 bool m_nonAdditiveHasBeenSet =
false;
void SetNonAdditive(bool value)
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)
bool IsIncludedInTopicHasBeenSet() const
TopicCalculatedField & WithCalculatedFieldSynonyms(const Aws::Vector< Aws::String > &value)
const Aws::String & GetExpression() const
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)
void SetExpression(const Aws::String &value)
void SetCalculatedFieldName(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)
bool GetIsIncludedInTopic() const
void SetCalculatedFieldDescription(Aws::String &&value)
const Aws::String & GetCalculatedFieldDescription() const
bool GetNeverAggregateInFilter() const
TopicCalculatedField & WithSemanticType(SemanticType &&value)
TopicCalculatedField & AddAllowedAggregations(const AuthorSpecifiedAggregation &value)
void SetCalculatedFieldName(Aws::String &&value)
TopicCalculatedField & AddNotAllowedAggregations(AuthorSpecifiedAggregation &&value)
bool NonAdditiveHasBeenSet() const
void SetSemanticType(const SemanticType &value)
bool DefaultFormattingHasBeenSet() const
void SetAggregation(const DefaultAggregation &value)
bool CellValueSynonymsHasBeenSet() const
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)
bool GetNonAdditive() const
const SemanticType & GetSemanticType() const
bool ExpressionHasBeenSet() const
bool ComparativeOrderHasBeenSet() const
void SetComparativeOrder(const ComparativeOrder &value)
void SetNeverAggregateInFilter(bool value)
void SetCalculatedFieldName(const Aws::String &value)
TopicCalculatedField & WithAggregation(DefaultAggregation &&value)
void SetNotAllowedAggregations(const Aws::Vector< AuthorSpecifiedAggregation > &value)
bool AllowedAggregationsHasBeenSet() const
void SetExpression(const char *value)
TopicCalculatedField & WithAllowedAggregations(const Aws::Vector< AuthorSpecifiedAggregation > &value)
TopicCalculatedField & AddCellValueSynonyms(CellValueSynonym &&value)
bool TimeGranularityHasBeenSet() const
const DefaultAggregation & GetAggregation() const
bool CalculatedFieldNameHasBeenSet() const
TopicCalculatedField & WithCalculatedFieldName(const Aws::String &value)
void SetIsIncludedInTopic(bool value)
TopicCalculatedField & WithComparativeOrder(ComparativeOrder &&value)
void SetDisableIndexing(bool 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)
const Aws::String & GetCalculatedFieldName() const
void SetCalculatedFieldSynonyms(Aws::Vector< Aws::String > &&value)
bool CalculatedFieldSynonymsHasBeenSet() const
void SetDefaultFormatting(const DefaultFormatting &value)
TopicCalculatedField & WithSemanticType(const SemanticType &value)
bool GetDisableIndexing() const
void SetNotAllowedAggregations(Aws::Vector< AuthorSpecifiedAggregation > &&value)
TopicCalculatedField & AddCalculatedFieldSynonyms(Aws::String &&value)
TopicCalculatedField & WithCellValueSynonyms(const Aws::Vector< CellValueSynonym > &value)
bool CalculatedFieldDescriptionHasBeenSet() const
const ColumnDataRole & GetColumnDataRole() const
TopicCalculatedField & WithColumnDataRole(ColumnDataRole &&value)
void SetColumnDataRole(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
bool NeverAggregateInFilterHasBeenSet() const
TopicCalculatedField & WithComparativeOrder(const ComparativeOrder &value)
void SetCalculatedFieldDescription(const char *value)
TopicCalculatedField & WithDisableIndexing(bool value)
TopicCalculatedField & AddCellValueSynonyms(const CellValueSynonym &value)
const TopicTimeGranularity & GetTimeGranularity() const
bool AggregationHasBeenSet() const
TopicCalculatedField & WithAllowedAggregations(Aws::Vector< AuthorSpecifiedAggregation > &&value)
TopicCalculatedField & WithCalculatedFieldSynonyms(Aws::Vector< Aws::String > &&value)
void SetExpression(Aws::String &&value)
TopicCalculatedField & WithCalculatedFieldName(Aws::String &&value)
void SetSemanticType(SemanticType &&value)
bool DisableIndexingHasBeenSet() const
TopicCalculatedField & WithNeverAggregateInFilter(bool value)
TopicCalculatedField & WithNonAdditive(bool value)
void SetCellValueSynonyms(const Aws::Vector< CellValueSynonym > &value)
const ComparativeOrder & GetComparativeOrder() const
TopicCalculatedField & WithCalculatedFieldName(const char *value)
bool SemanticTypeHasBeenSet() const
TopicCalculatedField & WithTimeGranularity(TopicTimeGranularity &&value)
AWS_QUICKSIGHT_API TopicCalculatedField()
bool NotAllowedAggregationsHasBeenSet() const
TopicCalculatedField & AddNotAllowedAggregations(const AuthorSpecifiedAggregation &value)
bool ColumnDataRoleHasBeenSet() const
TopicCalculatedField & WithCalculatedFieldDescription(const Aws::String &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