7#include <aws/personalize/Personalize_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename EventTypeT = Aws::String>
48 void SetEventType(EventTypeT&& value) { m_eventTypeHasBeenSet =
true; m_eventType = std::forward<EventTypeT>(value); }
49 template<
typename EventTypeT = Aws::String>
60 inline void SetEventValueThreshold(
double value) { m_eventValueThresholdHasBeenSet =
true; m_eventValueThreshold = value; }
69 inline double GetWeight()
const {
return m_weight; }
71 inline void SetWeight(
double value) { m_weightHasBeenSet =
true; m_weight = value; }
77 bool m_eventTypeHasBeenSet =
false;
79 double m_eventValueThreshold{0.0};
80 bool m_eventValueThresholdHasBeenSet =
false;
83 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