7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/PublicEndpoint.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/pinpoint/model/Event.h>
50 template<
typename Endpo
intT = PublicEndpo
int>
51 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet =
true; m_endpoint = std::forward<EndpointT>(value); }
52 template<
typename Endpo
intT = PublicEndpo
int>
62 template<
typename EventsT = Aws::Map<Aws::String, Event>>
63 void SetEvents(EventsT&& value) { m_eventsHasBeenSet =
true; m_events = std::forward<EventsT>(value); }
64 template<
typename EventsT = Aws::Map<Aws::String, Event>>
66 template<
typename EventsKeyT = Aws::String,
typename EventsValueT = Event>
68 m_eventsHasBeenSet =
true; m_events.emplace(std::forward<EventsKeyT>(key), std::forward<EventsValueT>(value));
return *
this;
74 bool m_endpointHasBeenSet =
false;
77 bool m_eventsHasBeenSet =
false;
const Aws::Map< Aws::String, Event > & GetEvents() const
bool EventsHasBeenSet() const
AWS_PINPOINT_API EventsBatch & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const PublicEndpoint & GetEndpoint() const
void SetEndpoint(EndpointT &&value)
AWS_PINPOINT_API EventsBatch(Aws::Utils::Json::JsonView jsonValue)
EventsBatch & WithEndpoint(EndpointT &&value)
bool EndpointHasBeenSet() const
EventsBatch & WithEvents(EventsT &&value)
AWS_PINPOINT_API EventsBatch()=default
EventsBatch & AddEvents(EventsKeyT &&key, EventsValueT &&value)
void SetEvents(EventsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue