7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/personalize/Personalize_EXPORTS.h>
19namespace Personalize {
41 template <
typename EventTypeT = Aws::String>
43 m_eventTypeHasBeenSet =
true;
44 m_eventType = std::forward<EventTypeT>(value);
46 template <
typename EventTypeT = Aws::String>
61 m_eventValueThresholdHasBeenSet =
true;
62 m_eventValueThreshold = value;
75 inline double GetWeight()
const {
return m_weight; }
78 m_weightHasBeenSet =
true;
89 double m_eventValueThreshold{0.0};
92 bool m_eventTypeHasBeenSet =
false;
93 bool m_eventValueThresholdHasBeenSet =
false;
94 bool m_weightHasBeenSet =
false;
AWS_PERSONALIZE_API EventParameters(Aws::Utils::Json::JsonView jsonValue)
AWS_PERSONALIZE_API Aws::Utils::Json::JsonValue Jsonize() const
bool EventValueThresholdHasBeenSet() const
void SetWeight(double value)
EventParameters & WithEventValueThreshold(double value)
void SetEventType(EventTypeT &&value)
bool EventTypeHasBeenSet() const
EventParameters & WithEventType(EventTypeT &&value)
double GetEventValueThreshold() const
AWS_PERSONALIZE_API EventParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEventValueThreshold(double value)
EventParameters & WithWeight(double value)
AWS_PERSONALIZE_API EventParameters()=default
bool WeightHasBeenSet() const
const Aws::String & GetEventType() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue