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

The fraud prediction scores from Amazon SageMaker model.

See * Also:

AWS * API Reference

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

The Amazon SageMaker model.

*/ inline const ExternalModelSummary& GetExternalModel() const{ return m_externalModel; } /** *

The Amazon SageMaker model.

*/ inline bool ExternalModelHasBeenSet() const { return m_externalModelHasBeenSet; } /** *

The Amazon SageMaker model.

*/ inline void SetExternalModel(const ExternalModelSummary& value) { m_externalModelHasBeenSet = true; m_externalModel = value; } /** *

The Amazon SageMaker model.

*/ inline void SetExternalModel(ExternalModelSummary&& value) { m_externalModelHasBeenSet = true; m_externalModel = std::move(value); } /** *

The Amazon SageMaker model.

*/ inline ExternalModelOutputs& WithExternalModel(const ExternalModelSummary& value) { SetExternalModel(value); return *this;} /** *

The Amazon SageMaker model.

*/ inline ExternalModelOutputs& WithExternalModel(ExternalModelSummary&& value) { SetExternalModel(std::move(value)); return *this;} /** *

The fraud prediction scores from Amazon SageMaker model.

*/ inline const Aws::Map& GetOutputs() const{ return m_outputs; } /** *

The fraud prediction scores from Amazon SageMaker model.

*/ inline bool OutputsHasBeenSet() const { return m_outputsHasBeenSet; } /** *

The fraud prediction scores from Amazon SageMaker model.

*/ inline void SetOutputs(const Aws::Map& value) { m_outputsHasBeenSet = true; m_outputs = value; } /** *

The fraud prediction scores from Amazon SageMaker model.

*/ inline void SetOutputs(Aws::Map&& value) { m_outputsHasBeenSet = true; m_outputs = std::move(value); } /** *

The fraud prediction scores from Amazon SageMaker model.

*/ inline ExternalModelOutputs& WithOutputs(const Aws::Map& value) { SetOutputs(value); return *this;} /** *

The fraud prediction scores from Amazon SageMaker model.

*/ inline ExternalModelOutputs& WithOutputs(Aws::Map&& value) { SetOutputs(std::move(value)); return *this;} /** *

The fraud prediction scores from Amazon SageMaker model.

*/ inline ExternalModelOutputs& AddOutputs(const Aws::String& key, const Aws::String& value) { m_outputsHasBeenSet = true; m_outputs.emplace(key, value); return *this; } /** *

The fraud prediction scores from Amazon SageMaker model.

*/ inline ExternalModelOutputs& AddOutputs(Aws::String&& key, const Aws::String& value) { m_outputsHasBeenSet = true; m_outputs.emplace(std::move(key), value); return *this; } /** *

The fraud prediction scores from Amazon SageMaker model.

*/ inline ExternalModelOutputs& AddOutputs(const Aws::String& key, Aws::String&& value) { m_outputsHasBeenSet = true; m_outputs.emplace(key, std::move(value)); return *this; } /** *

The fraud prediction scores from Amazon SageMaker model.

*/ inline ExternalModelOutputs& AddOutputs(Aws::String&& key, Aws::String&& value) { m_outputsHasBeenSet = true; m_outputs.emplace(std::move(key), std::move(value)); return *this; } /** *

The fraud prediction scores from Amazon SageMaker model.

*/ inline ExternalModelOutputs& AddOutputs(const char* key, Aws::String&& value) { m_outputsHasBeenSet = true; m_outputs.emplace(key, std::move(value)); return *this; } /** *

The fraud prediction scores from Amazon SageMaker model.

*/ inline ExternalModelOutputs& AddOutputs(Aws::String&& key, const char* value) { m_outputsHasBeenSet = true; m_outputs.emplace(std::move(key), value); return *this; } /** *

The fraud prediction scores from Amazon SageMaker model.

*/ inline ExternalModelOutputs& AddOutputs(const char* key, const char* value) { m_outputsHasBeenSet = true; m_outputs.emplace(key, value); return *this; } private: ExternalModelSummary m_externalModel; bool m_externalModelHasBeenSet = false; Aws::Map m_outputs; bool m_outputsHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws