/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A structure that represents a calculated field.See Also:
AWS
* API Reference
The calculated field name.
*/ inline const Aws::String& GetCalculatedFieldName() const{ return m_calculatedFieldName; } /** *The calculated field name.
*/ inline bool CalculatedFieldNameHasBeenSet() const { return m_calculatedFieldNameHasBeenSet; } /** *The calculated field name.
*/ inline void SetCalculatedFieldName(const Aws::String& value) { m_calculatedFieldNameHasBeenSet = true; m_calculatedFieldName = value; } /** *The calculated field name.
*/ inline void SetCalculatedFieldName(Aws::String&& value) { m_calculatedFieldNameHasBeenSet = true; m_calculatedFieldName = std::move(value); } /** *The calculated field name.
*/ inline void SetCalculatedFieldName(const char* value) { m_calculatedFieldNameHasBeenSet = true; m_calculatedFieldName.assign(value); } /** *The calculated field name.
*/ inline TopicCalculatedField& WithCalculatedFieldName(const Aws::String& value) { SetCalculatedFieldName(value); return *this;} /** *The calculated field name.
*/ inline TopicCalculatedField& WithCalculatedFieldName(Aws::String&& value) { SetCalculatedFieldName(std::move(value)); return *this;} /** *The calculated field name.
*/ inline TopicCalculatedField& WithCalculatedFieldName(const char* value) { SetCalculatedFieldName(value); return *this;} /** *The calculated field description.
*/ inline const Aws::String& GetCalculatedFieldDescription() const{ return m_calculatedFieldDescription; } /** *The calculated field description.
*/ inline bool CalculatedFieldDescriptionHasBeenSet() const { return m_calculatedFieldDescriptionHasBeenSet; } /** *The calculated field description.
*/ inline void SetCalculatedFieldDescription(const Aws::String& value) { m_calculatedFieldDescriptionHasBeenSet = true; m_calculatedFieldDescription = value; } /** *The calculated field description.
*/ inline void SetCalculatedFieldDescription(Aws::String&& value) { m_calculatedFieldDescriptionHasBeenSet = true; m_calculatedFieldDescription = std::move(value); } /** *The calculated field description.
*/ inline void SetCalculatedFieldDescription(const char* value) { m_calculatedFieldDescriptionHasBeenSet = true; m_calculatedFieldDescription.assign(value); } /** *The calculated field description.
*/ inline TopicCalculatedField& WithCalculatedFieldDescription(const Aws::String& value) { SetCalculatedFieldDescription(value); return *this;} /** *The calculated field description.
*/ inline TopicCalculatedField& WithCalculatedFieldDescription(Aws::String&& value) { SetCalculatedFieldDescription(std::move(value)); return *this;} /** *The calculated field description.
*/ inline TopicCalculatedField& WithCalculatedFieldDescription(const char* value) { SetCalculatedFieldDescription(value); return *this;} /** *The calculated field expression.
*/ inline const Aws::String& GetExpression() const{ return m_expression; } /** *The calculated field expression.
*/ inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; } /** *The calculated field expression.
*/ inline void SetExpression(const Aws::String& value) { m_expressionHasBeenSet = true; m_expression = value; } /** *The calculated field expression.
*/ inline void SetExpression(Aws::String&& value) { m_expressionHasBeenSet = true; m_expression = std::move(value); } /** *The calculated field expression.
*/ inline void SetExpression(const char* value) { m_expressionHasBeenSet = true; m_expression.assign(value); } /** *The calculated field expression.
*/ inline TopicCalculatedField& WithExpression(const Aws::String& value) { SetExpression(value); return *this;} /** *The calculated field expression.
*/ inline TopicCalculatedField& WithExpression(Aws::String&& value) { SetExpression(std::move(value)); return *this;} /** *The calculated field expression.
*/ inline TopicCalculatedField& WithExpression(const char* value) { SetExpression(value); return *this;} /** *The other names or aliases for the calculated field.
*/ inline const Aws::VectorThe other names or aliases for the calculated field.
*/ inline bool CalculatedFieldSynonymsHasBeenSet() const { return m_calculatedFieldSynonymsHasBeenSet; } /** *The other names or aliases for the calculated field.
*/ inline void SetCalculatedFieldSynonyms(const Aws::VectorThe other names or aliases for the calculated field.
*/ inline void SetCalculatedFieldSynonyms(Aws::VectorThe other names or aliases for the calculated field.
*/ inline TopicCalculatedField& WithCalculatedFieldSynonyms(const Aws::VectorThe other names or aliases for the calculated field.
*/ inline TopicCalculatedField& WithCalculatedFieldSynonyms(Aws::VectorThe other names or aliases for the calculated field.
*/ inline TopicCalculatedField& AddCalculatedFieldSynonyms(const Aws::String& value) { m_calculatedFieldSynonymsHasBeenSet = true; m_calculatedFieldSynonyms.push_back(value); return *this; } /** *The other names or aliases for the calculated field.
*/ inline TopicCalculatedField& AddCalculatedFieldSynonyms(Aws::String&& value) { m_calculatedFieldSynonymsHasBeenSet = true; m_calculatedFieldSynonyms.push_back(std::move(value)); return *this; } /** *The other names or aliases for the calculated field.
*/ inline TopicCalculatedField& AddCalculatedFieldSynonyms(const char* value) { m_calculatedFieldSynonymsHasBeenSet = true; m_calculatedFieldSynonyms.push_back(value); return *this; } /** *A boolean value that indicates if a calculated field is included in the * topic.
*/ inline bool GetIsIncludedInTopic() const{ return m_isIncludedInTopic; } /** *A boolean value that indicates if a calculated field is included in the * topic.
*/ inline bool IsIncludedInTopicHasBeenSet() const { return m_isIncludedInTopicHasBeenSet; } /** *A boolean value that indicates if a calculated field is included in the * topic.
*/ inline void SetIsIncludedInTopic(bool value) { m_isIncludedInTopicHasBeenSet = true; m_isIncludedInTopic = value; } /** *A boolean value that indicates if a calculated field is included in the * topic.
*/ inline TopicCalculatedField& WithIsIncludedInTopic(bool value) { SetIsIncludedInTopic(value); return *this;} /** *A Boolean value that indicates if a calculated field is visible in the * autocomplete.
*/ inline bool GetDisableIndexing() const{ return m_disableIndexing; } /** *A Boolean value that indicates if a calculated field is visible in the * autocomplete.
*/ inline bool DisableIndexingHasBeenSet() const { return m_disableIndexingHasBeenSet; } /** *A Boolean value that indicates if a calculated field is visible in the * autocomplete.
*/ inline void SetDisableIndexing(bool value) { m_disableIndexingHasBeenSet = true; m_disableIndexing = value; } /** *A Boolean value that indicates if a calculated field is visible in the * autocomplete.
*/ inline TopicCalculatedField& WithDisableIndexing(bool value) { SetDisableIndexing(value); return *this;} /** *The column data role for a calculated field. Valid values for this structure
* are DIMENSION
and MEASURE
.
The column data role for a calculated field. Valid values for this structure
* are DIMENSION
and MEASURE
.
The column data role for a calculated field. Valid values for this structure
* are DIMENSION
and MEASURE
.
The column data role for a calculated field. Valid values for this structure
* are DIMENSION
and MEASURE
.
The column data role for a calculated field. Valid values for this structure
* are DIMENSION
and MEASURE
.
The column data role for a calculated field. Valid values for this structure
* are DIMENSION
and MEASURE
.
The level of time precision that is used to aggregate DateTime
* values.
The level of time precision that is used to aggregate DateTime
* values.
The level of time precision that is used to aggregate DateTime
* values.
The level of time precision that is used to aggregate DateTime
* values.
The level of time precision that is used to aggregate DateTime
* values.
The level of time precision that is used to aggregate DateTime
* values.
The default formatting definition.
*/ inline const DefaultFormatting& GetDefaultFormatting() const{ return m_defaultFormatting; } /** *The default formatting definition.
*/ inline bool DefaultFormattingHasBeenSet() const { return m_defaultFormattingHasBeenSet; } /** *The default formatting definition.
*/ inline void SetDefaultFormatting(const DefaultFormatting& value) { m_defaultFormattingHasBeenSet = true; m_defaultFormatting = value; } /** *The default formatting definition.
*/ inline void SetDefaultFormatting(DefaultFormatting&& value) { m_defaultFormattingHasBeenSet = true; m_defaultFormatting = std::move(value); } /** *The default formatting definition.
*/ inline TopicCalculatedField& WithDefaultFormatting(const DefaultFormatting& value) { SetDefaultFormatting(value); return *this;} /** *The default formatting definition.
*/ inline TopicCalculatedField& WithDefaultFormatting(DefaultFormatting&& value) { SetDefaultFormatting(std::move(value)); return *this;} /** *The default aggregation. Valid values for this structure are
* SUM
, MAX
, MIN
, COUNT
,
* DISTINCT_COUNT
, and AVERAGE
.
The default aggregation. Valid values for this structure are
* SUM
, MAX
, MIN
, COUNT
,
* DISTINCT_COUNT
, and AVERAGE
.
The default aggregation. Valid values for this structure are
* SUM
, MAX
, MIN
, COUNT
,
* DISTINCT_COUNT
, and AVERAGE
.
The default aggregation. Valid values for this structure are
* SUM
, MAX
, MIN
, COUNT
,
* DISTINCT_COUNT
, and AVERAGE
.
The default aggregation. Valid values for this structure are
* SUM
, MAX
, MIN
, COUNT
,
* DISTINCT_COUNT
, and AVERAGE
.
The default aggregation. Valid values for this structure are
* SUM
, MAX
, MIN
, COUNT
,
* DISTINCT_COUNT
, and AVERAGE
.
The order in which data is displayed for the calculated field when it's used * in a comparative context.
*/ inline const ComparativeOrder& GetComparativeOrder() const{ return m_comparativeOrder; } /** *The order in which data is displayed for the calculated field when it's used * in a comparative context.
*/ inline bool ComparativeOrderHasBeenSet() const { return m_comparativeOrderHasBeenSet; } /** *The order in which data is displayed for the calculated field when it's used * in a comparative context.
*/ inline void SetComparativeOrder(const ComparativeOrder& value) { m_comparativeOrderHasBeenSet = true; m_comparativeOrder = value; } /** *The order in which data is displayed for the calculated field when it's used * in a comparative context.
*/ inline void SetComparativeOrder(ComparativeOrder&& value) { m_comparativeOrderHasBeenSet = true; m_comparativeOrder = std::move(value); } /** *The order in which data is displayed for the calculated field when it's used * in a comparative context.
*/ inline TopicCalculatedField& WithComparativeOrder(const ComparativeOrder& value) { SetComparativeOrder(value); return *this;} /** *The order in which data is displayed for the calculated field when it's used * in a comparative context.
*/ inline TopicCalculatedField& WithComparativeOrder(ComparativeOrder&& value) { SetComparativeOrder(std::move(value)); return *this;} /** *The semantic type.
*/ inline const SemanticType& GetSemanticType() const{ return m_semanticType; } /** *The semantic type.
*/ inline bool SemanticTypeHasBeenSet() const { return m_semanticTypeHasBeenSet; } /** *The semantic type.
*/ inline void SetSemanticType(const SemanticType& value) { m_semanticTypeHasBeenSet = true; m_semanticType = value; } /** *The semantic type.
*/ inline void SetSemanticType(SemanticType&& value) { m_semanticTypeHasBeenSet = true; m_semanticType = std::move(value); } /** *The semantic type.
*/ inline TopicCalculatedField& WithSemanticType(const SemanticType& value) { SetSemanticType(value); return *this;} /** *The semantic type.
*/ inline TopicCalculatedField& WithSemanticType(SemanticType&& value) { SetSemanticType(std::move(value)); return *this;} /** *The list of aggregation types that are allowed for the calculated field.
* Valid values for this structure are COUNT
,
* DISTINCT_COUNT
, MIN
, MAX
,
* MEDIAN
, SUM
, AVERAGE
, STDEV
,
* STDEVP
, VAR
, VARP
, and
* PERCENTILE
.
The list of aggregation types that are allowed for the calculated field.
* Valid values for this structure are COUNT
,
* DISTINCT_COUNT
, MIN
, MAX
,
* MEDIAN
, SUM
, AVERAGE
, STDEV
,
* STDEVP
, VAR
, VARP
, and
* PERCENTILE
.
The list of aggregation types that are allowed for the calculated field.
* Valid values for this structure are COUNT
,
* DISTINCT_COUNT
, MIN
, MAX
,
* MEDIAN
, SUM
, AVERAGE
, STDEV
,
* STDEVP
, VAR
, VARP
, and
* PERCENTILE
.
The list of aggregation types that are allowed for the calculated field.
* Valid values for this structure are COUNT
,
* DISTINCT_COUNT
, MIN
, MAX
,
* MEDIAN
, SUM
, AVERAGE
, STDEV
,
* STDEVP
, VAR
, VARP
, and
* PERCENTILE
.
The list of aggregation types that are allowed for the calculated field.
* Valid values for this structure are COUNT
,
* DISTINCT_COUNT
, MIN
, MAX
,
* MEDIAN
, SUM
, AVERAGE
, STDEV
,
* STDEVP
, VAR
, VARP
, and
* PERCENTILE
.
The list of aggregation types that are allowed for the calculated field.
* Valid values for this structure are COUNT
,
* DISTINCT_COUNT
, MIN
, MAX
,
* MEDIAN
, SUM
, AVERAGE
, STDEV
,
* STDEVP
, VAR
, VARP
, and
* PERCENTILE
.
The list of aggregation types that are allowed for the calculated field.
* Valid values for this structure are COUNT
,
* DISTINCT_COUNT
, MIN
, MAX
,
* MEDIAN
, SUM
, AVERAGE
, STDEV
,
* STDEVP
, VAR
, VARP
, and
* PERCENTILE
.
The list of aggregation types that are allowed for the calculated field.
* Valid values for this structure are COUNT
,
* DISTINCT_COUNT
, MIN
, MAX
,
* MEDIAN
, SUM
, AVERAGE
, STDEV
,
* STDEVP
, VAR
, VARP
, and
* PERCENTILE
.
The list of aggregation types that are not allowed for the calculated field.
* Valid values for this structure are COUNT
,
* DISTINCT_COUNT
, MIN
, MAX
,
* MEDIAN
, SUM
, AVERAGE
, STDEV
,
* STDEVP
, VAR
, VARP
, and
* PERCENTILE
.
The list of aggregation types that are not allowed for the calculated field.
* Valid values for this structure are COUNT
,
* DISTINCT_COUNT
, MIN
, MAX
,
* MEDIAN
, SUM
, AVERAGE
, STDEV
,
* STDEVP
, VAR
, VARP
, and
* PERCENTILE
.
The list of aggregation types that are not allowed for the calculated field.
* Valid values for this structure are COUNT
,
* DISTINCT_COUNT
, MIN
, MAX
,
* MEDIAN
, SUM
, AVERAGE
, STDEV
,
* STDEVP
, VAR
, VARP
, and
* PERCENTILE
.
The list of aggregation types that are not allowed for the calculated field.
* Valid values for this structure are COUNT
,
* DISTINCT_COUNT
, MIN
, MAX
,
* MEDIAN
, SUM
, AVERAGE
, STDEV
,
* STDEVP
, VAR
, VARP
, and
* PERCENTILE
.
The list of aggregation types that are not allowed for the calculated field.
* Valid values for this structure are COUNT
,
* DISTINCT_COUNT
, MIN
, MAX
,
* MEDIAN
, SUM
, AVERAGE
, STDEV
,
* STDEVP
, VAR
, VARP
, and
* PERCENTILE
.
The list of aggregation types that are not allowed for the calculated field.
* Valid values for this structure are COUNT
,
* DISTINCT_COUNT
, MIN
, MAX
,
* MEDIAN
, SUM
, AVERAGE
, STDEV
,
* STDEVP
, VAR
, VARP
, and
* PERCENTILE
.
The list of aggregation types that are not allowed for the calculated field.
* Valid values for this structure are COUNT
,
* DISTINCT_COUNT
, MIN
, MAX
,
* MEDIAN
, SUM
, AVERAGE
, STDEV
,
* STDEVP
, VAR
, VARP
, and
* PERCENTILE
.
The list of aggregation types that are not allowed for the calculated field.
* Valid values for this structure are COUNT
,
* DISTINCT_COUNT
, MIN
, MAX
,
* MEDIAN
, SUM
, AVERAGE
, STDEV
,
* STDEVP
, VAR
, VARP
, and
* PERCENTILE
.
A Boolean value that indicates whether to never aggregate calculated field in * filters.
*/ inline bool GetNeverAggregateInFilter() const{ return m_neverAggregateInFilter; } /** *A Boolean value that indicates whether to never aggregate calculated field in * filters.
*/ inline bool NeverAggregateInFilterHasBeenSet() const { return m_neverAggregateInFilterHasBeenSet; } /** *A Boolean value that indicates whether to never aggregate calculated field in * filters.
*/ inline void SetNeverAggregateInFilter(bool value) { m_neverAggregateInFilterHasBeenSet = true; m_neverAggregateInFilter = value; } /** *A Boolean value that indicates whether to never aggregate calculated field in * filters.
*/ inline TopicCalculatedField& WithNeverAggregateInFilter(bool value) { SetNeverAggregateInFilter(value); return *this;} /** *The other names or aliases for the calculated field cell value.
*/ inline const Aws::VectorThe other names or aliases for the calculated field cell value.
*/ inline bool CellValueSynonymsHasBeenSet() const { return m_cellValueSynonymsHasBeenSet; } /** *The other names or aliases for the calculated field cell value.
*/ inline void SetCellValueSynonyms(const Aws::VectorThe other names or aliases for the calculated field cell value.
*/ inline void SetCellValueSynonyms(Aws::VectorThe other names or aliases for the calculated field cell value.
*/ inline TopicCalculatedField& WithCellValueSynonyms(const Aws::VectorThe other names or aliases for the calculated field cell value.
*/ inline TopicCalculatedField& WithCellValueSynonyms(Aws::VectorThe other names or aliases for the calculated field cell value.
*/ inline TopicCalculatedField& AddCellValueSynonyms(const CellValueSynonym& value) { m_cellValueSynonymsHasBeenSet = true; m_cellValueSynonyms.push_back(value); return *this; } /** *The other names or aliases for the calculated field cell value.
*/ inline TopicCalculatedField& AddCellValueSynonyms(CellValueSynonym&& value) { m_cellValueSynonymsHasBeenSet = true; m_cellValueSynonyms.push_back(std::move(value)); return *this; } private: Aws::String m_calculatedFieldName; bool m_calculatedFieldNameHasBeenSet = false; Aws::String m_calculatedFieldDescription; bool m_calculatedFieldDescriptionHasBeenSet = false; Aws::String m_expression; bool m_expressionHasBeenSet = false; Aws::Vector