7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/personalize-events/PersonalizeEvents_EXPORTS.h>
21namespace PersonalizeEvents {
44 template <
typename ActionIdT = Aws::String>
46 m_actionIdHasBeenSet =
true;
47 m_actionId = std::forward<ActionIdT>(value);
49 template <
typename ActionIdT = Aws::String>
63 template <
typename UserIdT = Aws::String>
65 m_userIdHasBeenSet =
true;
66 m_userId = std::forward<UserIdT>(value);
68 template <
typename UserIdT = Aws::String>
83 template <
typename SessionIdT = Aws::String>
85 m_sessionIdHasBeenSet =
true;
86 m_sessionId = std::forward<SessionIdT>(value);
88 template <
typename SessionIdT = Aws::String>
102 template <
typename TimestampT = Aws::Utils::DateTime>
104 m_timestampHasBeenSet =
true;
105 m_timestamp = std::forward<TimestampT>(value);
107 template <
typename TimestampT = Aws::Utils::DateTime>
124 template <
typename EventTypeT = Aws::String>
126 m_eventTypeHasBeenSet =
true;
127 m_eventType = std::forward<EventTypeT>(value);
129 template <
typename EventTypeT = Aws::String>
146 template <
typename EventIdT = Aws::String>
148 m_eventIdHasBeenSet =
true;
149 m_eventId = std::forward<EventIdT>(value);
151 template <
typename EventIdT = Aws::String>
165 template <
typename RecommendationIdT = Aws::String>
167 m_recommendationIdHasBeenSet =
true;
168 m_recommendationId = std::forward<RecommendationIdT>(value);
170 template <
typename RecommendationIdT = Aws::String>
187 template <
typename ImpressionT = Aws::Vector<Aws::String>>
189 m_impressionHasBeenSet =
true;
190 m_impression = std::forward<ImpressionT>(value);
192 template <
typename ImpressionT = Aws::Vector<Aws::String>>
197 template <
typename ImpressionT = Aws::String>
199 m_impressionHasBeenSet =
true;
200 m_impression.emplace_back(std::forward<ImpressionT>(value));
221 template <
typename PropertiesT = Aws::String>
223 m_propertiesHasBeenSet =
true;
224 m_properties = std::forward<PropertiesT>(value);
226 template <
typename PropertiesT = Aws::String>
250 bool m_actionIdHasBeenSet =
false;
251 bool m_userIdHasBeenSet =
false;
252 bool m_sessionIdHasBeenSet =
false;
253 bool m_timestampHasBeenSet =
false;
254 bool m_eventTypeHasBeenSet =
false;
255 bool m_eventIdHasBeenSet =
false;
256 bool m_recommendationIdHasBeenSet =
false;
257 bool m_impressionHasBeenSet =
false;
258 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