7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
51 inline void SetEventType(
const char* value) { m_eventTypeHasBeenSet =
true; m_eventType.assign(value); }
66 inline void SetMetricName(
const char* value) { m_metricNameHasBeenSet =
true; m_metricName.assign(value); }
83 inline void SetExpression(
const char* value) { m_expressionHasBeenSet =
true; m_expression.assign(value); }
91 bool m_eventTypeHasBeenSet =
false;
94 bool m_metricNameHasBeenSet =
false;
97 bool m_expressionHasBeenSet =
false;
const Aws::String & GetExpression() const
void SetExpression(const char *value)
void SetEventType(const Aws::String &value)
const Aws::String & GetMetricName() const
void SetExpression(Aws::String &&value)
void SetMetricName(const Aws::String &value)
void SetEventType(const char *value)
MetricAttribute & WithMetricName(const char *value)
const Aws::String & GetEventType() const
void SetMetricName(Aws::String &&value)
bool EventTypeHasBeenSet() const
AWS_PERSONALIZE_API MetricAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
MetricAttribute & WithExpression(Aws::String &&value)
MetricAttribute & WithExpression(const char *value)
MetricAttribute & WithEventType(Aws::String &&value)
AWS_PERSONALIZE_API MetricAttribute(Aws::Utils::Json::JsonView jsonValue)
void SetEventType(Aws::String &&value)
MetricAttribute & WithEventType(const char *value)
bool MetricNameHasBeenSet() const
void SetExpression(const Aws::String &value)
MetricAttribute & WithMetricName(Aws::String &&value)
MetricAttribute & WithMetricName(const Aws::String &value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ExpressionHasBeenSet() const
MetricAttribute & WithExpression(const Aws::String &value)
AWS_PERSONALIZE_API MetricAttribute()
void SetMetricName(const char *value)
MetricAttribute & WithEventType(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue