7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/Identifier.h>
9#include <aws/quicksight/model/AggFunction.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/quicksight/model/TopicIRComparisonMethod.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/quicksight/model/DisplayFormat.h>
14#include <aws/quicksight/model/DisplayFormatOptions.h>
15#include <aws/quicksight/model/NamedEntityRef.h>
106 inline void SetExpression(
const char* value) { m_expressionHasBeenSet =
true; m_expression.assign(value); }
162 bool m_metricIdHasBeenSet =
false;
165 bool m_functionHasBeenSet =
false;
168 bool m_operandsHasBeenSet =
false;
171 bool m_comparisonMethodHasBeenSet =
false;
174 bool m_expressionHasBeenSet =
false;
177 bool m_calculatedFieldReferencesHasBeenSet =
false;
180 bool m_displayFormatHasBeenSet =
false;
183 bool m_displayFormatOptionsHasBeenSet =
false;
186 bool m_namedEntityHasBeenSet =
false;
TopicIRMetric & WithFunction(const AggFunction &value)
TopicIRMetric & WithDisplayFormat(DisplayFormat &&value)
TopicIRMetric & WithDisplayFormatOptions(const DisplayFormatOptions &value)
void SetFunction(const AggFunction &value)
TopicIRMetric & AddOperands(Identifier &&value)
void SetFunction(AggFunction &&value)
const Aws::String & GetExpression() const
void SetNamedEntity(NamedEntityRef &&value)
bool CalculatedFieldReferencesHasBeenSet() const
void SetDisplayFormat(const DisplayFormat &value)
const Aws::Vector< Identifier > & GetCalculatedFieldReferences() const
void SetDisplayFormat(DisplayFormat &&value)
void SetOperands(const Aws::Vector< Identifier > &value)
void SetMetricId(Identifier &&value)
bool MetricIdHasBeenSet() const
TopicIRMetric & WithOperands(const Aws::Vector< Identifier > &value)
AWS_QUICKSIGHT_API TopicIRMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
const TopicIRComparisonMethod & GetComparisonMethod() const
TopicIRMetric & WithDisplayFormatOptions(DisplayFormatOptions &&value)
TopicIRMetric & WithOperands(Aws::Vector< Identifier > &&value)
TopicIRMetric & WithCalculatedFieldReferences(Aws::Vector< Identifier > &&value)
AWS_QUICKSIGHT_API TopicIRMetric()
void SetDisplayFormatOptions(DisplayFormatOptions &&value)
TopicIRMetric & WithComparisonMethod(TopicIRComparisonMethod &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
bool ComparisonMethodHasBeenSet() const
TopicIRMetric & WithMetricId(Identifier &&value)
const Identifier & GetMetricId() const
void SetNamedEntity(const NamedEntityRef &value)
TopicIRMetric & AddCalculatedFieldReferences(const Identifier &value)
const Aws::Vector< Identifier > & GetOperands() const
bool DisplayFormatHasBeenSet() const
TopicIRMetric & WithMetricId(const Identifier &value)
void SetComparisonMethod(TopicIRComparisonMethod &&value)
void SetCalculatedFieldReferences(Aws::Vector< Identifier > &&value)
void SetExpression(const Aws::String &value)
TopicIRMetric & AddOperands(const Identifier &value)
TopicIRMetric & WithExpression(const char *value)
const NamedEntityRef & GetNamedEntity() const
TopicIRMetric & WithExpression(const Aws::String &value)
const DisplayFormat & GetDisplayFormat() const
void SetExpression(Aws::String &&value)
TopicIRMetric & WithNamedEntity(const NamedEntityRef &value)
bool ExpressionHasBeenSet() const
TopicIRMetric & WithFunction(AggFunction &&value)
TopicIRMetric & WithCalculatedFieldReferences(const Aws::Vector< Identifier > &value)
const AggFunction & GetFunction() const
void SetOperands(Aws::Vector< Identifier > &&value)
void SetExpression(const char *value)
bool NamedEntityHasBeenSet() const
bool FunctionHasBeenSet() const
void SetComparisonMethod(const TopicIRComparisonMethod &value)
TopicIRMetric & AddCalculatedFieldReferences(Identifier &&value)
TopicIRMetric & WithNamedEntity(NamedEntityRef &&value)
void SetDisplayFormatOptions(const DisplayFormatOptions &value)
bool DisplayFormatOptionsHasBeenSet() const
void SetMetricId(const Identifier &value)
const DisplayFormatOptions & GetDisplayFormatOptions() const
void SetCalculatedFieldReferences(const Aws::Vector< Identifier > &value)
TopicIRMetric & WithExpression(Aws::String &&value)
TopicIRMetric & WithDisplayFormat(const DisplayFormat &value)
TopicIRMetric & WithComparisonMethod(const TopicIRComparisonMethod &value)
bool OperandsHasBeenSet() const
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