/** * 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 details of the external (Amazon Sagemaker) model evaluated for * generating predictions.

See Also:

AWS * API Reference

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

The endpoint of the external (Amazon Sagemaker) model.

*/ inline const Aws::String& GetModelEndpoint() const{ return m_modelEndpoint; } /** *

The endpoint of the external (Amazon Sagemaker) model.

*/ inline bool ModelEndpointHasBeenSet() const { return m_modelEndpointHasBeenSet; } /** *

The endpoint of the external (Amazon Sagemaker) model.

*/ inline void SetModelEndpoint(const Aws::String& value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint = value; } /** *

The endpoint of the external (Amazon Sagemaker) model.

*/ inline void SetModelEndpoint(Aws::String&& value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint = std::move(value); } /** *

The endpoint of the external (Amazon Sagemaker) model.

*/ inline void SetModelEndpoint(const char* value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint.assign(value); } /** *

The endpoint of the external (Amazon Sagemaker) model.

*/ inline EvaluatedExternalModel& WithModelEndpoint(const Aws::String& value) { SetModelEndpoint(value); return *this;} /** *

The endpoint of the external (Amazon Sagemaker) model.

*/ inline EvaluatedExternalModel& WithModelEndpoint(Aws::String&& value) { SetModelEndpoint(std::move(value)); return *this;} /** *

The endpoint of the external (Amazon Sagemaker) model.

*/ inline EvaluatedExternalModel& WithModelEndpoint(const char* value) { SetModelEndpoint(value); return *this;} /** *

Indicates whether event variables were used to generate predictions.

*/ inline bool GetUseEventVariables() const{ return m_useEventVariables; } /** *

Indicates whether event variables were used to generate predictions.

*/ inline bool UseEventVariablesHasBeenSet() const { return m_useEventVariablesHasBeenSet; } /** *

Indicates whether event variables were used to generate predictions.

*/ inline void SetUseEventVariables(bool value) { m_useEventVariablesHasBeenSet = true; m_useEventVariables = value; } /** *

Indicates whether event variables were used to generate predictions.

*/ inline EvaluatedExternalModel& WithUseEventVariables(bool value) { SetUseEventVariables(value); return *this;} /** *

Input variables use for generating predictions.

*/ inline const Aws::Map& GetInputVariables() const{ return m_inputVariables; } /** *

Input variables use for generating predictions.

*/ inline bool InputVariablesHasBeenSet() const { return m_inputVariablesHasBeenSet; } /** *

Input variables use for generating predictions.

*/ inline void SetInputVariables(const Aws::Map& value) { m_inputVariablesHasBeenSet = true; m_inputVariables = value; } /** *

Input variables use for generating predictions.

*/ inline void SetInputVariables(Aws::Map&& value) { m_inputVariablesHasBeenSet = true; m_inputVariables = std::move(value); } /** *

Input variables use for generating predictions.

*/ inline EvaluatedExternalModel& WithInputVariables(const Aws::Map& value) { SetInputVariables(value); return *this;} /** *

Input variables use for generating predictions.

*/ inline EvaluatedExternalModel& WithInputVariables(Aws::Map&& value) { SetInputVariables(std::move(value)); return *this;} /** *

Input variables use for generating predictions.

*/ inline EvaluatedExternalModel& AddInputVariables(const Aws::String& key, const Aws::String& value) { m_inputVariablesHasBeenSet = true; m_inputVariables.emplace(key, value); return *this; } /** *

Input variables use for generating predictions.

*/ inline EvaluatedExternalModel& AddInputVariables(Aws::String&& key, const Aws::String& value) { m_inputVariablesHasBeenSet = true; m_inputVariables.emplace(std::move(key), value); return *this; } /** *

Input variables use for generating predictions.

*/ inline EvaluatedExternalModel& AddInputVariables(const Aws::String& key, Aws::String&& value) { m_inputVariablesHasBeenSet = true; m_inputVariables.emplace(key, std::move(value)); return *this; } /** *

Input variables use for generating predictions.

*/ inline EvaluatedExternalModel& AddInputVariables(Aws::String&& key, Aws::String&& value) { m_inputVariablesHasBeenSet = true; m_inputVariables.emplace(std::move(key), std::move(value)); return *this; } /** *

Input variables use for generating predictions.

*/ inline EvaluatedExternalModel& AddInputVariables(const char* key, Aws::String&& value) { m_inputVariablesHasBeenSet = true; m_inputVariables.emplace(key, std::move(value)); return *this; } /** *

Input variables use for generating predictions.

*/ inline EvaluatedExternalModel& AddInputVariables(Aws::String&& key, const char* value) { m_inputVariablesHasBeenSet = true; m_inputVariables.emplace(std::move(key), value); return *this; } /** *

Input variables use for generating predictions.

*/ inline EvaluatedExternalModel& AddInputVariables(const char* key, const char* value) { m_inputVariablesHasBeenSet = true; m_inputVariables.emplace(key, value); return *this; } /** *

Output variables.

*/ inline const Aws::Map& GetOutputVariables() const{ return m_outputVariables; } /** *

Output variables.

*/ inline bool OutputVariablesHasBeenSet() const { return m_outputVariablesHasBeenSet; } /** *

Output variables.

*/ inline void SetOutputVariables(const Aws::Map& value) { m_outputVariablesHasBeenSet = true; m_outputVariables = value; } /** *

Output variables.

*/ inline void SetOutputVariables(Aws::Map&& value) { m_outputVariablesHasBeenSet = true; m_outputVariables = std::move(value); } /** *

Output variables.

*/ inline EvaluatedExternalModel& WithOutputVariables(const Aws::Map& value) { SetOutputVariables(value); return *this;} /** *

Output variables.

*/ inline EvaluatedExternalModel& WithOutputVariables(Aws::Map&& value) { SetOutputVariables(std::move(value)); return *this;} /** *

Output variables.

*/ inline EvaluatedExternalModel& AddOutputVariables(const Aws::String& key, const Aws::String& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(key, value); return *this; } /** *

Output variables.

*/ inline EvaluatedExternalModel& AddOutputVariables(Aws::String&& key, const Aws::String& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(std::move(key), value); return *this; } /** *

Output variables.

*/ inline EvaluatedExternalModel& AddOutputVariables(const Aws::String& key, Aws::String&& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(key, std::move(value)); return *this; } /** *

Output variables.

*/ inline EvaluatedExternalModel& AddOutputVariables(Aws::String&& key, Aws::String&& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(std::move(key), std::move(value)); return *this; } /** *

Output variables.

*/ inline EvaluatedExternalModel& AddOutputVariables(const char* key, Aws::String&& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(key, std::move(value)); return *this; } /** *

Output variables.

*/ inline EvaluatedExternalModel& AddOutputVariables(Aws::String&& key, const char* value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(std::move(key), value); return *this; } /** *

Output variables.

*/ inline EvaluatedExternalModel& AddOutputVariables(const char* key, const char* value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(key, value); return *this; } private: Aws::String m_modelEndpoint; bool m_modelEndpointHasBeenSet = false; bool m_useEventVariables; bool m_useEventVariablesHasBeenSet = false; Aws::Map m_inputVariables; bool m_inputVariablesHasBeenSet = false; Aws::Map m_outputVariables; bool m_outputVariablesHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws