/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace FraudDetector { namespace Model { /** *

The model version evalutions.

See Also:

AWS * API Reference

*/ class ModelVersionEvaluation { public: AWS_FRAUDDETECTOR_API ModelVersionEvaluation(); AWS_FRAUDDETECTOR_API ModelVersionEvaluation(Aws::Utils::Json::JsonView jsonValue); AWS_FRAUDDETECTOR_API ModelVersionEvaluation& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The output variable name.

*/ inline const Aws::String& GetOutputVariableName() const{ return m_outputVariableName; } /** *

The output variable name.

*/ inline bool OutputVariableNameHasBeenSet() const { return m_outputVariableNameHasBeenSet; } /** *

The output variable name.

*/ inline void SetOutputVariableName(const Aws::String& value) { m_outputVariableNameHasBeenSet = true; m_outputVariableName = value; } /** *

The output variable name.

*/ inline void SetOutputVariableName(Aws::String&& value) { m_outputVariableNameHasBeenSet = true; m_outputVariableName = std::move(value); } /** *

The output variable name.

*/ inline void SetOutputVariableName(const char* value) { m_outputVariableNameHasBeenSet = true; m_outputVariableName.assign(value); } /** *

The output variable name.

*/ inline ModelVersionEvaluation& WithOutputVariableName(const Aws::String& value) { SetOutputVariableName(value); return *this;} /** *

The output variable name.

*/ inline ModelVersionEvaluation& WithOutputVariableName(Aws::String&& value) { SetOutputVariableName(std::move(value)); return *this;} /** *

The output variable name.

*/ inline ModelVersionEvaluation& WithOutputVariableName(const char* value) { SetOutputVariableName(value); return *this;} /** *

The evaluation score generated for the model version.

*/ inline const Aws::String& GetEvaluationScore() const{ return m_evaluationScore; } /** *

The evaluation score generated for the model version.

*/ inline bool EvaluationScoreHasBeenSet() const { return m_evaluationScoreHasBeenSet; } /** *

The evaluation score generated for the model version.

*/ inline void SetEvaluationScore(const Aws::String& value) { m_evaluationScoreHasBeenSet = true; m_evaluationScore = value; } /** *

The evaluation score generated for the model version.

*/ inline void SetEvaluationScore(Aws::String&& value) { m_evaluationScoreHasBeenSet = true; m_evaluationScore = std::move(value); } /** *

The evaluation score generated for the model version.

*/ inline void SetEvaluationScore(const char* value) { m_evaluationScoreHasBeenSet = true; m_evaluationScore.assign(value); } /** *

The evaluation score generated for the model version.

*/ inline ModelVersionEvaluation& WithEvaluationScore(const Aws::String& value) { SetEvaluationScore(value); return *this;} /** *

The evaluation score generated for the model version.

*/ inline ModelVersionEvaluation& WithEvaluationScore(Aws::String&& value) { SetEvaluationScore(std::move(value)); return *this;} /** *

The evaluation score generated for the model version.

*/ inline ModelVersionEvaluation& WithEvaluationScore(const char* value) { SetEvaluationScore(value); return *this;} /** *

The prediction explanations generated for the model version.

*/ inline const PredictionExplanations& GetPredictionExplanations() const{ return m_predictionExplanations; } /** *

The prediction explanations generated for the model version.

*/ inline bool PredictionExplanationsHasBeenSet() const { return m_predictionExplanationsHasBeenSet; } /** *

The prediction explanations generated for the model version.

*/ inline void SetPredictionExplanations(const PredictionExplanations& value) { m_predictionExplanationsHasBeenSet = true; m_predictionExplanations = value; } /** *

The prediction explanations generated for the model version.

*/ inline void SetPredictionExplanations(PredictionExplanations&& value) { m_predictionExplanationsHasBeenSet = true; m_predictionExplanations = std::move(value); } /** *

The prediction explanations generated for the model version.

*/ inline ModelVersionEvaluation& WithPredictionExplanations(const PredictionExplanations& value) { SetPredictionExplanations(value); return *this;} /** *

The prediction explanations generated for the model version.

*/ inline ModelVersionEvaluation& WithPredictionExplanations(PredictionExplanations&& value) { SetPredictionExplanations(std::move(value)); return *this;} private: Aws::String m_outputVariableName; bool m_outputVariableNameHasBeenSet = false; Aws::String m_evaluationScore; bool m_evaluationScoreHasBeenSet = false; PredictionExplanations m_predictionExplanations; bool m_predictionExplanationsHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws