7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/personalize-events/PersonalizeEventsRequest.h>
10#include <aws/personalize-events/PersonalizeEvents_EXPORTS.h>
11#include <aws/personalize-events/model/Event.h>
16namespace PersonalizeEvents {
41 template <
typename TrackingIdT = Aws::String>
43 m_trackingIdHasBeenSet =
true;
44 m_trackingId = std::forward<TrackingIdT>(value);
46 template <
typename TrackingIdT = Aws::String>
59 template <
typename UserIdT = Aws::String>
61 m_userIdHasBeenSet =
true;
62 m_userId = std::forward<UserIdT>(value);
64 template <
typename UserIdT = Aws::String>
82 template <
typename SessionIdT = Aws::String>
84 m_sessionIdHasBeenSet =
true;
85 m_sessionId = std::forward<SessionIdT>(value);
87 template <
typename SessionIdT = Aws::String>
100 template <
typename EventListT = Aws::Vector<Event>>
102 m_eventListHasBeenSet =
true;
103 m_eventList = std::forward<EventListT>(value);
105 template <
typename EventListT = Aws::Vector<Event>>
110 template <
typename EventListT = Event>
112 m_eventListHasBeenSet =
true;
113 m_eventList.emplace_back(std::forward<EventListT>(value));
119 bool m_trackingIdHasBeenSet =
false;
122 bool m_userIdHasBeenSet =
false;
125 bool m_sessionIdHasBeenSet =
false;
128 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