/** * 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 { /** *

Provides the Amazon Sagemaker model output configuration.

See * Also:

AWS * API Reference

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

The format of the model output configuration.

*/ inline const ModelOutputDataFormat& GetFormat() const{ return m_format; } /** *

The format of the model output configuration.

*/ inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } /** *

The format of the model output configuration.

*/ inline void SetFormat(const ModelOutputDataFormat& value) { m_formatHasBeenSet = true; m_format = value; } /** *

The format of the model output configuration.

*/ inline void SetFormat(ModelOutputDataFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); } /** *

The format of the model output configuration.

*/ inline ModelOutputConfiguration& WithFormat(const ModelOutputDataFormat& value) { SetFormat(value); return *this;} /** *

The format of the model output configuration.

*/ inline ModelOutputConfiguration& WithFormat(ModelOutputDataFormat&& value) { SetFormat(std::move(value)); return *this;} /** *

A map of JSON keys in response from SageMaker to the Amazon Fraud Detector * variables.

*/ inline const Aws::Map& GetJsonKeyToVariableMap() const{ return m_jsonKeyToVariableMap; } /** *

A map of JSON keys in response from SageMaker to the Amazon Fraud Detector * variables.

*/ inline bool JsonKeyToVariableMapHasBeenSet() const { return m_jsonKeyToVariableMapHasBeenSet; } /** *

A map of JSON keys in response from SageMaker to the Amazon Fraud Detector * variables.

*/ inline void SetJsonKeyToVariableMap(const Aws::Map& value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap = value; } /** *

A map of JSON keys in response from SageMaker to the Amazon Fraud Detector * variables.

*/ inline void SetJsonKeyToVariableMap(Aws::Map&& value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap = std::move(value); } /** *

A map of JSON keys in response from SageMaker to the Amazon Fraud Detector * variables.

*/ inline ModelOutputConfiguration& WithJsonKeyToVariableMap(const Aws::Map& value) { SetJsonKeyToVariableMap(value); return *this;} /** *

A map of JSON keys in response from SageMaker to the Amazon Fraud Detector * variables.

*/ inline ModelOutputConfiguration& WithJsonKeyToVariableMap(Aws::Map&& value) { SetJsonKeyToVariableMap(std::move(value)); return *this;} /** *

A map of JSON keys in response from SageMaker to the Amazon Fraud Detector * variables.

*/ inline ModelOutputConfiguration& AddJsonKeyToVariableMap(const Aws::String& key, const Aws::String& value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap.emplace(key, value); return *this; } /** *

A map of JSON keys in response from SageMaker to the Amazon Fraud Detector * variables.

*/ inline ModelOutputConfiguration& AddJsonKeyToVariableMap(Aws::String&& key, const Aws::String& value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap.emplace(std::move(key), value); return *this; } /** *

A map of JSON keys in response from SageMaker to the Amazon Fraud Detector * variables.

*/ inline ModelOutputConfiguration& AddJsonKeyToVariableMap(const Aws::String& key, Aws::String&& value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap.emplace(key, std::move(value)); return *this; } /** *

A map of JSON keys in response from SageMaker to the Amazon Fraud Detector * variables.

*/ inline ModelOutputConfiguration& AddJsonKeyToVariableMap(Aws::String&& key, Aws::String&& value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap.emplace(std::move(key), std::move(value)); return *this; } /** *

A map of JSON keys in response from SageMaker to the Amazon Fraud Detector * variables.

*/ inline ModelOutputConfiguration& AddJsonKeyToVariableMap(const char* key, Aws::String&& value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap.emplace(key, std::move(value)); return *this; } /** *

A map of JSON keys in response from SageMaker to the Amazon Fraud Detector * variables.

*/ inline ModelOutputConfiguration& AddJsonKeyToVariableMap(Aws::String&& key, const char* value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap.emplace(std::move(key), value); return *this; } /** *

A map of JSON keys in response from SageMaker to the Amazon Fraud Detector * variables.

*/ inline ModelOutputConfiguration& AddJsonKeyToVariableMap(const char* key, const char* value) { m_jsonKeyToVariableMapHasBeenSet = true; m_jsonKeyToVariableMap.emplace(key, value); return *this; } /** *

A map of CSV index values in the SageMaker response to the Amazon Fraud * Detector variables.

*/ inline const Aws::Map& GetCsvIndexToVariableMap() const{ return m_csvIndexToVariableMap; } /** *

A map of CSV index values in the SageMaker response to the Amazon Fraud * Detector variables.

*/ inline bool CsvIndexToVariableMapHasBeenSet() const { return m_csvIndexToVariableMapHasBeenSet; } /** *

A map of CSV index values in the SageMaker response to the Amazon Fraud * Detector variables.

*/ inline void SetCsvIndexToVariableMap(const Aws::Map& value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap = value; } /** *

A map of CSV index values in the SageMaker response to the Amazon Fraud * Detector variables.

*/ inline void SetCsvIndexToVariableMap(Aws::Map&& value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap = std::move(value); } /** *

A map of CSV index values in the SageMaker response to the Amazon Fraud * Detector variables.

*/ inline ModelOutputConfiguration& WithCsvIndexToVariableMap(const Aws::Map& value) { SetCsvIndexToVariableMap(value); return *this;} /** *

A map of CSV index values in the SageMaker response to the Amazon Fraud * Detector variables.

*/ inline ModelOutputConfiguration& WithCsvIndexToVariableMap(Aws::Map&& value) { SetCsvIndexToVariableMap(std::move(value)); return *this;} /** *

A map of CSV index values in the SageMaker response to the Amazon Fraud * Detector variables.

*/ inline ModelOutputConfiguration& AddCsvIndexToVariableMap(const Aws::String& key, const Aws::String& value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap.emplace(key, value); return *this; } /** *

A map of CSV index values in the SageMaker response to the Amazon Fraud * Detector variables.

*/ inline ModelOutputConfiguration& AddCsvIndexToVariableMap(Aws::String&& key, const Aws::String& value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap.emplace(std::move(key), value); return *this; } /** *

A map of CSV index values in the SageMaker response to the Amazon Fraud * Detector variables.

*/ inline ModelOutputConfiguration& AddCsvIndexToVariableMap(const Aws::String& key, Aws::String&& value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap.emplace(key, std::move(value)); return *this; } /** *

A map of CSV index values in the SageMaker response to the Amazon Fraud * Detector variables.

*/ inline ModelOutputConfiguration& AddCsvIndexToVariableMap(Aws::String&& key, Aws::String&& value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap.emplace(std::move(key), std::move(value)); return *this; } /** *

A map of CSV index values in the SageMaker response to the Amazon Fraud * Detector variables.

*/ inline ModelOutputConfiguration& AddCsvIndexToVariableMap(const char* key, Aws::String&& value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap.emplace(key, std::move(value)); return *this; } /** *

A map of CSV index values in the SageMaker response to the Amazon Fraud * Detector variables.

*/ inline ModelOutputConfiguration& AddCsvIndexToVariableMap(Aws::String&& key, const char* value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap.emplace(std::move(key), value); return *this; } /** *

A map of CSV index values in the SageMaker response to the Amazon Fraud * Detector variables.

*/ inline ModelOutputConfiguration& AddCsvIndexToVariableMap(const char* key, const char* value) { m_csvIndexToVariableMapHasBeenSet = true; m_csvIndexToVariableMap.emplace(key, value); return *this; } private: ModelOutputDataFormat m_format; bool m_formatHasBeenSet = false; Aws::Map m_jsonKeyToVariableMap; bool m_jsonKeyToVariableMapHasBeenSet = false; Aws::Map m_csvIndexToVariableMap; bool m_csvIndexToVariableMapHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws