7#include <aws/personalize-runtime/PersonalizeRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace PersonalizeRuntime
49 inline void SetActionId(
const char* value) { m_actionIdHasBeenSet =
true; m_actionId.assign(value); }
62 inline double GetScore()
const{
return m_score; }
64 inline void SetScore(
double value) { m_scoreHasBeenSet =
true; m_score = value; }
70 bool m_actionIdHasBeenSet =
false;
73 bool m_scoreHasBeenSet =
false;
AWS_PERSONALIZERUNTIME_API PredictedAction(Aws::Utils::Json::JsonView jsonValue)
bool ActionIdHasBeenSet() const
void SetActionId(const char *value)
void SetActionId(const Aws::String &value)
void SetScore(double value)
bool ScoreHasBeenSet() const
void SetActionId(Aws::String &&value)
PredictedAction & WithActionId(Aws::String &&value)
AWS_PERSONALIZERUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
PredictedAction & WithActionId(const char *value)
const Aws::String & GetActionId() const
PredictedAction & WithActionId(const Aws::String &value)
AWS_PERSONALIZERUNTIME_API PredictedAction()
AWS_PERSONALIZERUNTIME_API PredictedAction & operator=(Aws::Utils::Json::JsonView jsonValue)
PredictedAction & WithScore(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue