7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/pinpoint/model/SetDimension.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/pinpoint/model/AttributeDimension.h>
12#include <aws/pinpoint/model/MetricDimension.h>
53 template<
typename AttributesT = Aws::Map<Aws::String, AttributeDimension>>
54 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
55 template<
typename AttributesT = Aws::Map<Aws::String, AttributeDimension>>
57 template<
typename AttributesKeyT = Aws::String,
typename AttributesValueT = AttributeDimension>
59 m_attributesHasBeenSet =
true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
return *
this;
75 template<
typename EventTypeT = SetDimension>
76 void SetEventType(EventTypeT&& value) { m_eventTypeHasBeenSet =
true; m_eventType = std::forward<EventTypeT>(value); }
77 template<
typename EventTypeT = SetDimension>
89 template<
typename MetricsT = Aws::Map<Aws::String, MetricDimension>>
90 void SetMetrics(MetricsT&& value) { m_metricsHasBeenSet =
true; m_metrics = std::forward<MetricsT>(value); }
91 template<
typename MetricsT = Aws::Map<Aws::String, MetricDimension>>
93 template<
typename MetricsKeyT = Aws::String,
typename MetricsValueT = MetricDimension>
95 m_metricsHasBeenSet =
true; m_metrics.emplace(std::forward<MetricsKeyT>(key), std::forward<MetricsValueT>(value));
return *
this;
101 bool m_attributesHasBeenSet =
false;
104 bool m_eventTypeHasBeenSet =
false;
107 bool m_metricsHasBeenSet =
false;
EventDimensions & WithAttributes(AttributesT &&value)
AWS_PINPOINT_API EventDimensions & operator=(Aws::Utils::Json::JsonView jsonValue)
bool EventTypeHasBeenSet() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
EventDimensions & AddMetrics(MetricsKeyT &&key, MetricsValueT &&value)
const Aws::Map< Aws::String, AttributeDimension > & GetAttributes() const
bool MetricsHasBeenSet() const
AWS_PINPOINT_API EventDimensions(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API EventDimensions()=default
EventDimensions & WithEventType(EventTypeT &&value)
const SetDimension & GetEventType() const
void SetAttributes(AttributesT &&value)
bool AttributesHasBeenSet() const
EventDimensions & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
const Aws::Map< Aws::String, MetricDimension > & GetMetrics() const
void SetMetrics(MetricsT &&value)
EventDimensions & WithMetrics(MetricsT &&value)
void SetEventType(EventTypeT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue