7#include <aws/personalize-events/PersonalizeEvents_EXPORTS.h>
8#include <aws/personalize-events/PersonalizeEventsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/personalize-events/model/Event.h>
16namespace PersonalizeEvents
45 template<
typename TrackingIdT = Aws::String>
46 void SetTrackingId(TrackingIdT&& value) { m_trackingIdHasBeenSet =
true; m_trackingId = std::forward<TrackingIdT>(value); }
47 template<
typename TrackingIdT = Aws::String>
57 template<
typename UserIdT = Aws::String>
58 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet =
true; m_userId = std::forward<UserIdT>(value); }
59 template<
typename UserIdT = Aws::String>
74 template<
typename SessionIdT = Aws::String>
75 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet =
true; m_sessionId = std::forward<SessionIdT>(value); }
76 template<
typename SessionIdT = Aws::String>
86 template<
typename EventListT = Aws::Vector<Event>>
87 void SetEventList(EventListT&& value) { m_eventListHasBeenSet =
true; m_eventList = std::forward<EventListT>(value); }
88 template<
typename EventListT = Aws::Vector<Event>>
90 template<
typename EventListT = Event>
91 PutEventsRequest&
AddEventList(EventListT&& value) { m_eventListHasBeenSet =
true; m_eventList.emplace_back(std::forward<EventListT>(value));
return *
this; }
96 bool m_trackingIdHasBeenSet =
false;
99 bool m_userIdHasBeenSet =
false;
102 bool m_sessionIdHasBeenSet =
false;
105 bool m_eventListHasBeenSet =
false;
void SetEventList(EventListT &&value)
virtual const char * GetServiceRequestName() const override
void SetUserId(UserIdT &&value)
void SetSessionId(SessionIdT &&value)
bool SessionIdHasBeenSet() const
PutEventsRequest & WithSessionId(SessionIdT &&value)
const Aws::String & GetSessionId() const
PutEventsRequest & WithTrackingId(TrackingIdT &&value)
AWS_PERSONALIZEEVENTS_API Aws::String SerializePayload() const override
const Aws::String & GetTrackingId() const
PutEventsRequest & WithEventList(EventListT &&value)
PutEventsRequest & AddEventList(EventListT &&value)
PutEventsRequest & WithUserId(UserIdT &&value)
void SetTrackingId(TrackingIdT &&value)
AWS_PERSONALIZEEVENTS_API PutEventsRequest()=default
bool EventListHasBeenSet() const
const Aws::Vector< Event > & GetEventList() const
bool TrackingIdHasBeenSet() const
bool UserIdHasBeenSet() const
const Aws::String & GetUserId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector