7#include <aws/personalize-events/PersonalizeEvents_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace PersonalizeEvents
50 template<
typename ActionIdT = Aws::String>
51 void SetActionId(ActionIdT&& value) { m_actionIdHasBeenSet =
true; m_actionId = std::forward<ActionIdT>(value); }
52 template<
typename ActionIdT = Aws::String>
63 template<
typename UserIdT = Aws::String>
64 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet =
true; m_userId = std::forward<UserIdT>(value); }
65 template<
typename UserIdT = Aws::String>
77 template<
typename SessionIdT = Aws::String>
78 void SetSessionId(SessionIdT&& value) { m_sessionIdHasBeenSet =
true; m_sessionId = std::forward<SessionIdT>(value); }
79 template<
typename SessionIdT = Aws::String>
90 template<
typename TimestampT = Aws::Utils::DateTime>
91 void SetTimestamp(TimestampT&& value) { m_timestampHasBeenSet =
true; m_timestamp = std::forward<TimestampT>(value); }
92 template<
typename TimestampT = Aws::Utils::DateTime>
106 template<
typename EventTypeT = Aws::String>
107 void SetEventType(EventTypeT&& value) { m_eventTypeHasBeenSet =
true; m_eventType = std::forward<EventTypeT>(value); }
108 template<
typename EventTypeT = Aws::String>
122 template<
typename EventIdT = Aws::String>
123 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet =
true; m_eventId = std::forward<EventIdT>(value); }
124 template<
typename EventIdT = Aws::String>
135 template<
typename RecommendationIdT = Aws::String>
136 void SetRecommendationId(RecommendationIdT&& value) { m_recommendationIdHasBeenSet =
true; m_recommendationId = std::forward<RecommendationIdT>(value); }
137 template<
typename RecommendationIdT = Aws::String>
151 template<
typename ImpressionT = Aws::Vector<Aws::String>>
152 void SetImpression(ImpressionT&& value) { m_impressionHasBeenSet =
true; m_impression = std::forward<ImpressionT>(value); }
153 template<
typename ImpressionT = Aws::Vector<Aws::String>>
155 template<
typename ImpressionT = Aws::String>
156 ActionInteraction&
AddImpression(ImpressionT&& value) { m_impressionHasBeenSet =
true; m_impression.emplace_back(std::forward<ImpressionT>(value));
return *
this; }
175 template<
typename PropertiesT = Aws::String>
176 void SetProperties(PropertiesT&& value) { m_propertiesHasBeenSet =
true; m_properties = std::forward<PropertiesT>(value); }
177 template<
typename PropertiesT = Aws::String>
183 bool m_actionIdHasBeenSet =
false;
186 bool m_userIdHasBeenSet =
false;
189 bool m_sessionIdHasBeenSet =
false;
192 bool m_timestampHasBeenSet =
false;
195 bool m_eventTypeHasBeenSet =
false;
198 bool m_eventIdHasBeenSet =
false;
201 bool m_recommendationIdHasBeenSet =
false;
204 bool m_impressionHasBeenSet =
false;
207 bool m_propertiesHasBeenSet =
false;
AWS_PERSONALIZEEVENTS_API ActionInteraction & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetImpression() const
bool UserIdHasBeenSet() const
bool ImpressionHasBeenSet() const
ActionInteraction & WithTimestamp(TimestampT &&value)
const Aws::String & GetSessionId() const
void SetTimestamp(TimestampT &&value)
AWS_PERSONALIZEEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetProperties(PropertiesT &&value)
ActionInteraction & WithEventType(EventTypeT &&value)
bool EventIdHasBeenSet() const
bool ActionIdHasBeenSet() const
const Aws::String & GetEventId() const
bool RecommendationIdHasBeenSet() const
void SetImpression(ImpressionT &&value)
void SetActionId(ActionIdT &&value)
bool PropertiesHasBeenSet() const
ActionInteraction & WithImpression(ImpressionT &&value)
bool TimestampHasBeenSet() const
AWS_PERSONALIZEEVENTS_API ActionInteraction()=default
const Aws::String & GetActionId() const
const Aws::String & GetRecommendationId() const
void SetUserId(UserIdT &&value)
AWS_PERSONALIZEEVENTS_API ActionInteraction(Aws::Utils::Json::JsonView jsonValue)
const Aws::Utils::DateTime & GetTimestamp() const
const Aws::String & GetProperties() const
ActionInteraction & WithRecommendationId(RecommendationIdT &&value)
const Aws::String & GetUserId() const
void SetRecommendationId(RecommendationIdT &&value)
const Aws::String & GetEventType() const
ActionInteraction & WithEventId(EventIdT &&value)
bool EventTypeHasBeenSet() const
ActionInteraction & WithSessionId(SessionIdT &&value)
void SetEventType(EventTypeT &&value)
void SetEventId(EventIdT &&value)
ActionInteraction & WithProperties(PropertiesT &&value)
ActionInteraction & WithActionId(ActionIdT &&value)
ActionInteraction & AddImpression(ImpressionT &&value)
void SetSessionId(SessionIdT &&value)
bool SessionIdHasBeenSet() const
ActionInteraction & WithUserId(UserIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue