7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/Pinpoint_EXPORTS.h>
10#include <aws/pinpoint/model/AttributeDimension.h>
11#include <aws/pinpoint/model/MetricDimension.h>
12#include <aws/pinpoint/model/SetDimension.h>
47 template <
typename AttributesT = Aws::Map<Aws::String, AttributeDimension>>
49 m_attributesHasBeenSet =
true;
50 m_attributes = std::forward<AttributesT>(value);
52 template <
typename AttributesT = Aws::Map<Aws::String, AttributeDimension>>
57 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = AttributeDimension>
59 m_attributesHasBeenSet =
true;
60 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
77 template <
typename EventTypeT = SetDimension>
79 m_eventTypeHasBeenSet =
true;
80 m_eventType = std::forward<EventTypeT>(value);
82 template <
typename EventTypeT = SetDimension>
97 template <
typename MetricsT = Aws::Map<Aws::String, MetricDimension>>
99 m_metricsHasBeenSet =
true;
100 m_metrics = std::forward<MetricsT>(value);
102 template <
typename MetricsT = Aws::Map<Aws::String, MetricDimension>>
107 template <
typename MetricsKeyT = Aws::String,
typename MetricsValueT = MetricDimension>
109 m_metricsHasBeenSet =
true;
110 m_metrics.emplace(std::forward<MetricsKeyT>(key), std::forward<MetricsValueT>(value));
120 bool m_attributesHasBeenSet =
false;
121 bool m_eventTypeHasBeenSet =
false;
122 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