7#include <aws/personalize-runtime/PersonalizeRuntime_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace PersonalizeRuntime
47 template<
typename ActionIdT = Aws::String>
48 void SetActionId(ActionIdT&& value) { m_actionIdHasBeenSet =
true; m_actionId = std::forward<ActionIdT>(value); }
49 template<
typename ActionIdT = Aws::String>
60 inline double GetScore()
const {
return m_score; }
62 inline void SetScore(
double value) { m_scoreHasBeenSet =
true; m_score = value; }
68 bool m_actionIdHasBeenSet =
false;
71 bool m_scoreHasBeenSet =
false;
AWS_PERSONALIZERUNTIME_API PredictedAction(Aws::Utils::Json::JsonView jsonValue)
bool ActionIdHasBeenSet() const
void SetActionId(ActionIdT &&value)
void SetScore(double value)
bool ScoreHasBeenSet() const
AWS_PERSONALIZERUNTIME_API PredictedAction()=default
AWS_PERSONALIZERUNTIME_API Aws::Utils::Json::JsonValue Jsonize() const
PredictedAction & WithActionId(ActionIdT &&value)
const Aws::String & GetActionId() const
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