7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/AggFunction.h>
11#include <aws/quicksight/model/DisplayFormat.h>
12#include <aws/quicksight/model/DisplayFormatOptions.h>
13#include <aws/quicksight/model/Identifier.h>
14#include <aws/quicksight/model/NamedEntityRef.h>
15#include <aws/quicksight/model/TopicIRComparisonMethod.h>
48 template <
typename MetricIdT = Identifier>
50 m_metricIdHasBeenSet =
true;
51 m_metricId = std::forward<MetricIdT>(value);
53 template <
typename MetricIdT = Identifier>
66 template <
typename FunctionT = AggFunction>
68 m_functionHasBeenSet =
true;
69 m_function = std::forward<FunctionT>(value);
71 template <
typename FunctionT = AggFunction>
84 template <
typename OperandsT = Aws::Vector<Identifier>>
86 m_operandsHasBeenSet =
true;
87 m_operands = std::forward<OperandsT>(value);
89 template <
typename OperandsT = Aws::Vector<Identifier>>
94 template <
typename OperandsT = Identifier>
96 m_operandsHasBeenSet =
true;
97 m_operands.emplace_back(std::forward<OperandsT>(value));
108 template <
typename ComparisonMethodT = TopicIRComparisonMethod>
110 m_comparisonMethodHasBeenSet =
true;
111 m_comparisonMethod = std::forward<ComparisonMethodT>(value);
113 template <
typename ComparisonMethodT = TopicIRComparisonMethod>
126 template <
typename ExpressionT = Aws::String>
128 m_expressionHasBeenSet =
true;
129 m_expression = std::forward<ExpressionT>(value);
131 template <
typename ExpressionT = Aws::String>
144 template <
typename CalculatedFieldReferencesT = Aws::Vector<Identifier>>
146 m_calculatedFieldReferencesHasBeenSet =
true;
147 m_calculatedFieldReferences = std::forward<CalculatedFieldReferencesT>(value);
149 template <
typename CalculatedFieldReferencesT = Aws::Vector<Identifier>>
154 template <
typename CalculatedFieldReferencesT = Identifier>
156 m_calculatedFieldReferencesHasBeenSet =
true;
157 m_calculatedFieldReferences.emplace_back(std::forward<CalculatedFieldReferencesT>(value));
169 m_displayFormatHasBeenSet =
true;
170 m_displayFormat = value;
182 template <
typename DisplayFormatOptionsT = DisplayFormatOptions>
184 m_displayFormatOptionsHasBeenSet =
true;
185 m_displayFormatOptions = std::forward<DisplayFormatOptionsT>(value);
187 template <
typename DisplayFormatOptionsT = DisplayFormatOptions>
200 template <
typename NamedEntityT = NamedEntityRef>
202 m_namedEntityHasBeenSet =
true;
203 m_namedEntity = std::forward<NamedEntityT>(value);
205 template <
typename NamedEntityT = NamedEntityRef>
226 DisplayFormatOptions m_displayFormatOptions;
228 NamedEntityRef m_namedEntity;
229 bool m_metricIdHasBeenSet =
false;
230 bool m_functionHasBeenSet =
false;
231 bool m_operandsHasBeenSet =
false;
232 bool m_comparisonMethodHasBeenSet =
false;
233 bool m_expressionHasBeenSet =
false;
234 bool m_calculatedFieldReferencesHasBeenSet =
false;
235 bool m_displayFormatHasBeenSet =
false;
236 bool m_displayFormatOptionsHasBeenSet =
false;
237 bool m_namedEntityHasBeenSet =
false;
void SetExpression(ExpressionT &&value)
void SetDisplayFormat(DisplayFormat value)
void SetDisplayFormatOptions(DisplayFormatOptionsT &&value)
TopicIRMetric & WithOperands(OperandsT &&value)
const Aws::String & GetExpression() const
TopicIRMetric & WithExpression(ExpressionT &&value)
bool CalculatedFieldReferencesHasBeenSet() const
void SetNamedEntity(NamedEntityT &&value)
TopicIRMetric & WithCalculatedFieldReferences(CalculatedFieldReferencesT &&value)
const Aws::Vector< Identifier > & GetCalculatedFieldReferences() const
TopicIRMetric & WithNamedEntity(NamedEntityT &&value)
TopicIRMetric & AddCalculatedFieldReferences(CalculatedFieldReferencesT &&value)
bool MetricIdHasBeenSet() const
AWS_QUICKSIGHT_API TopicIRMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
TopicIRMetric & WithDisplayFormat(DisplayFormat value)
const TopicIRComparisonMethod & GetComparisonMethod() const
TopicIRMetric & AddOperands(OperandsT &&value)
TopicIRMetric & WithDisplayFormatOptions(DisplayFormatOptionsT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
bool ComparisonMethodHasBeenSet() const
const Identifier & GetMetricId() const
void SetComparisonMethod(ComparisonMethodT &&value)
const Aws::Vector< Identifier > & GetOperands() const
bool DisplayFormatHasBeenSet() const
TopicIRMetric & WithMetricId(MetricIdT &&value)
DisplayFormat GetDisplayFormat() const
TopicIRMetric & WithFunction(FunctionT &&value)
void SetCalculatedFieldReferences(CalculatedFieldReferencesT &&value)
const NamedEntityRef & GetNamedEntity() const
bool ExpressionHasBeenSet() const
const AggFunction & GetFunction() const
void SetFunction(FunctionT &&value)
bool NamedEntityHasBeenSet() const
bool FunctionHasBeenSet() const
AWS_QUICKSIGHT_API TopicIRMetric()=default
bool DisplayFormatOptionsHasBeenSet() const
const DisplayFormatOptions & GetDisplayFormatOptions() const
void SetOperands(OperandsT &&value)
bool OperandsHasBeenSet() const
TopicIRMetric & WithComparisonMethod(ComparisonMethodT &&value)
void SetMetricId(MetricIdT &&value)
AWS_QUICKSIGHT_API TopicIRMetric(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue