7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/personalize/Personalize_EXPORTS.h>
19namespace Personalize {
43 template <
typename EventTypeT = Aws::String>
45 m_eventTypeHasBeenSet =
true;
46 m_eventType = std::forward<EventTypeT>(value);
48 template <
typename EventTypeT = Aws::String>
62 template <
typename MetricNameT = Aws::String>
64 m_metricNameHasBeenSet =
true;
65 m_metricName = std::forward<MetricNameT>(value);
67 template <
typename MetricNameT = Aws::String>
83 template <
typename ExpressionT = Aws::String>
85 m_expressionHasBeenSet =
true;
86 m_expression = std::forward<ExpressionT>(value);
88 template <
typename ExpressionT = Aws::String>
100 bool m_eventTypeHasBeenSet =
false;
101 bool m_metricNameHasBeenSet =
false;
102 bool m_expressionHasBeenSet =
false;
void SetEventType(EventTypeT &&value)
const Aws::String & GetExpression() const
const Aws::String & GetMetricName() const
const Aws::String & GetEventType() const
bool EventTypeHasBeenSet() const
AWS_PERSONALIZE_API MetricAttribute & operator=(Aws::Utils::Json::JsonView jsonValue)
MetricAttribute & WithExpression(ExpressionT &&value)
AWS_PERSONALIZE_API MetricAttribute(Aws::Utils::Json::JsonView jsonValue)
MetricAttribute & WithMetricName(MetricNameT &&value)
AWS_PERSONALIZE_API MetricAttribute()=default
void SetMetricName(MetricNameT &&value)
void SetExpression(ExpressionT &&value)
bool MetricNameHasBeenSet() const
MetricAttribute & WithEventType(EventTypeT &&value)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
bool ExpressionHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue