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
52 inline void SetActionId(
const char* value) { m_actionIdHasBeenSet =
true; m_actionId.assign(value); }
67 inline void SetUserId(
const char* value) { m_userIdHasBeenSet =
true; m_userId.assign(value); }
83 inline void SetSessionId(
const char* value) { m_sessionIdHasBeenSet =
true; m_sessionId.assign(value); }
114 inline void SetEventType(
const char* value) { m_eventTypeHasBeenSet =
true; m_eventType.assign(value); }
132 inline void SetEventId(
const char* value) { m_eventIdHasBeenSet =
true; m_eventId.assign(value); }
147 inline void SetRecommendationId(
const char* value) { m_recommendationIdHasBeenSet =
true; m_recommendationId.assign(value); }
190 inline void SetProperties(
const char* value) { m_propertiesHasBeenSet =
true; m_properties.assign(value); }
198 bool m_actionIdHasBeenSet =
false;
201 bool m_userIdHasBeenSet =
false;
204 bool m_sessionIdHasBeenSet =
false;
207 bool m_timestampHasBeenSet =
false;
210 bool m_eventTypeHasBeenSet =
false;
213 bool m_eventIdHasBeenSet =
false;
216 bool m_recommendationIdHasBeenSet =
false;
219 bool m_impressionHasBeenSet =
false;
222 bool m_propertiesHasBeenSet =
false;
void SetEventType(Aws::String &&value)
void SetImpression(const Aws::Vector< Aws::String > &value)
AWS_PERSONALIZEEVENTS_API ActionInteraction & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionInteraction & AddImpression(Aws::String &&value)
const Aws::Vector< Aws::String > & GetImpression() const
bool UserIdHasBeenSet() const
bool ImpressionHasBeenSet() const
const Aws::String & GetSessionId() const
void SetEventId(const Aws::String &value)
void SetImpression(Aws::Vector< Aws::String > &&value)
void SetRecommendationId(const char *value)
ActionInteraction & WithRecommendationId(const Aws::String &value)
ActionInteraction & WithSessionId(Aws::String &&value)
AWS_PERSONALIZEEVENTS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetRecommendationId(Aws::String &&value)
ActionInteraction & WithEventType(const char *value)
ActionInteraction & WithProperties(Aws::String &&value)
void SetActionId(const Aws::String &value)
ActionInteraction & WithTimestamp(const Aws::Utils::DateTime &value)
void SetSessionId(const Aws::String &value)
ActionInteraction & WithEventType(Aws::String &&value)
bool EventIdHasBeenSet() const
bool ActionIdHasBeenSet() const
const Aws::String & GetEventId() const
bool RecommendationIdHasBeenSet() const
ActionInteraction & AddImpression(const char *value)
void SetUserId(const Aws::String &value)
ActionInteraction & WithUserId(Aws::String &&value)
bool PropertiesHasBeenSet() const
ActionInteraction & WithSessionId(const char *value)
ActionInteraction & WithActionId(Aws::String &&value)
void SetSessionId(const char *value)
ActionInteraction & WithProperties(const Aws::String &value)
void SetProperties(Aws::String &&value)
void SetUserId(const char *value)
void SetActionId(const char *value)
ActionInteraction & WithProperties(const char *value)
bool TimestampHasBeenSet() const
ActionInteraction & WithEventId(const Aws::String &value)
const Aws::String & GetActionId() const
void SetEventId(Aws::String &&value)
const Aws::String & GetRecommendationId() const
ActionInteraction & WithEventId(Aws::String &&value)
ActionInteraction & WithImpression(const Aws::Vector< Aws::String > &value)
void SetEventType(const Aws::String &value)
AWS_PERSONALIZEEVENTS_API ActionInteraction(Aws::Utils::Json::JsonView jsonValue)
ActionInteraction & WithSessionId(const Aws::String &value)
const Aws::Utils::DateTime & GetTimestamp() const
const Aws::String & GetProperties() const
const Aws::String & GetUserId() const
ActionInteraction & AddImpression(const Aws::String &value)
void SetEventId(const char *value)
void SetRecommendationId(const Aws::String &value)
void SetActionId(Aws::String &&value)
const Aws::String & GetEventType() const
ActionInteraction & WithEventType(const Aws::String &value)
void SetProperties(const Aws::String &value)
void SetUserId(Aws::String &&value)
ActionInteraction & WithActionId(const char *value)
ActionInteraction & WithActionId(const Aws::String &value)
bool EventTypeHasBeenSet() const
ActionInteraction & WithEventId(const char *value)
ActionInteraction & WithRecommendationId(const char *value)
ActionInteraction & WithRecommendationId(Aws::String &&value)
ActionInteraction & WithUserId(const char *value)
ActionInteraction & WithUserId(const Aws::String &value)
ActionInteraction & WithImpression(Aws::Vector< Aws::String > &&value)
AWS_PERSONALIZEEVENTS_API ActionInteraction()
void SetTimestamp(Aws::Utils::DateTime &&value)
ActionInteraction & WithTimestamp(Aws::Utils::DateTime &&value)
void SetTimestamp(const Aws::Utils::DateTime &value)
bool SessionIdHasBeenSet() const
void SetSessionId(Aws::String &&value)
void SetEventType(const char *value)
void SetProperties(const char *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