7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/personalize-runtime/PersonalizeRuntime_EXPORTS.h>
19namespace PersonalizeRuntime {
41 template <
typename ActionIdT = Aws::String>
43 m_actionIdHasBeenSet =
true;
44 m_actionId = std::forward<ActionIdT>(value);
46 template <
typename ActionIdT = Aws::String>
60 inline double GetScore()
const {
return m_score; }
63 m_scoreHasBeenSet =
true;
75 bool m_actionIdHasBeenSet =
false;
76 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