AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ModelVersionEvaluation.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/frauddetector/model/PredictionExplanations.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FraudDetector
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_FRAUDDETECTOR_API ModelVersionEvaluation() = default;
36 AWS_FRAUDDETECTOR_API ModelVersionEvaluation(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetOutputVariableName() const { return m_outputVariableName; }
46 inline bool OutputVariableNameHasBeenSet() const { return m_outputVariableNameHasBeenSet; }
47 template<typename OutputVariableNameT = Aws::String>
48 void SetOutputVariableName(OutputVariableNameT&& value) { m_outputVariableNameHasBeenSet = true; m_outputVariableName = std::forward<OutputVariableNameT>(value); }
49 template<typename OutputVariableNameT = Aws::String>
50 ModelVersionEvaluation& WithOutputVariableName(OutputVariableNameT&& value) { SetOutputVariableName(std::forward<OutputVariableNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetEvaluationScore() const { return m_evaluationScore; }
58 inline bool EvaluationScoreHasBeenSet() const { return m_evaluationScoreHasBeenSet; }
59 template<typename EvaluationScoreT = Aws::String>
60 void SetEvaluationScore(EvaluationScoreT&& value) { m_evaluationScoreHasBeenSet = true; m_evaluationScore = std::forward<EvaluationScoreT>(value); }
61 template<typename EvaluationScoreT = Aws::String>
62 ModelVersionEvaluation& WithEvaluationScore(EvaluationScoreT&& value) { SetEvaluationScore(std::forward<EvaluationScoreT>(value)); return *this;}
64
66
69 inline const PredictionExplanations& GetPredictionExplanations() const { return m_predictionExplanations; }
70 inline bool PredictionExplanationsHasBeenSet() const { return m_predictionExplanationsHasBeenSet; }
71 template<typename PredictionExplanationsT = PredictionExplanations>
72 void SetPredictionExplanations(PredictionExplanationsT&& value) { m_predictionExplanationsHasBeenSet = true; m_predictionExplanations = std::forward<PredictionExplanationsT>(value); }
73 template<typename PredictionExplanationsT = PredictionExplanations>
74 ModelVersionEvaluation& WithPredictionExplanations(PredictionExplanationsT&& value) { SetPredictionExplanations(std::forward<PredictionExplanationsT>(value)); return *this;}
76 private:
77
78 Aws::String m_outputVariableName;
79 bool m_outputVariableNameHasBeenSet = false;
80
81 Aws::String m_evaluationScore;
82 bool m_evaluationScoreHasBeenSet = false;
83
84 PredictionExplanations m_predictionExplanations;
85 bool m_predictionExplanationsHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace FraudDetector
90} // namespace Aws
ModelVersionEvaluation & WithOutputVariableName(OutputVariableNameT &&value)
void SetOutputVariableName(OutputVariableNameT &&value)
AWS_FRAUDDETECTOR_API ModelVersionEvaluation()=default
AWS_FRAUDDETECTOR_API ModelVersionEvaluation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPredictionExplanations(PredictionExplanationsT &&value)
ModelVersionEvaluation & WithEvaluationScore(EvaluationScoreT &&value)
AWS_FRAUDDETECTOR_API ModelVersionEvaluation(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
const PredictionExplanations & GetPredictionExplanations() const
ModelVersionEvaluation & WithPredictionExplanations(PredictionExplanationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue