/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The Amazon SageMaker model input configuration.See Also:
AWS
* API Reference
The event type name.
*/ inline const Aws::String& GetEventTypeName() const{ return m_eventTypeName; } /** *The event type name.
*/ inline bool EventTypeNameHasBeenSet() const { return m_eventTypeNameHasBeenSet; } /** *The event type name.
*/ inline void SetEventTypeName(const Aws::String& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = value; } /** *The event type name.
*/ inline void SetEventTypeName(Aws::String&& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = std::move(value); } /** *The event type name.
*/ inline void SetEventTypeName(const char* value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName.assign(value); } /** *The event type name.
*/ inline ModelInputConfiguration& WithEventTypeName(const Aws::String& value) { SetEventTypeName(value); return *this;} /** *The event type name.
*/ inline ModelInputConfiguration& WithEventTypeName(Aws::String&& value) { SetEventTypeName(std::move(value)); return *this;} /** *The event type name.
*/ inline ModelInputConfiguration& WithEventTypeName(const char* value) { SetEventTypeName(value); return *this;} /** *The format of the model input configuration. The format differs depending on * if it is passed through to SageMaker or constructed by Amazon Fraud * Detector.
*/ inline const ModelInputDataFormat& GetFormat() const{ return m_format; } /** *The format of the model input configuration. The format differs depending on * if it is passed through to SageMaker or constructed by Amazon Fraud * Detector.
*/ inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } /** *The format of the model input configuration. The format differs depending on * if it is passed through to SageMaker or constructed by Amazon Fraud * Detector.
*/ inline void SetFormat(const ModelInputDataFormat& value) { m_formatHasBeenSet = true; m_format = value; } /** *The format of the model input configuration. The format differs depending on * if it is passed through to SageMaker or constructed by Amazon Fraud * Detector.
*/ inline void SetFormat(ModelInputDataFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); } /** *The format of the model input configuration. The format differs depending on * if it is passed through to SageMaker or constructed by Amazon Fraud * Detector.
*/ inline ModelInputConfiguration& WithFormat(const ModelInputDataFormat& value) { SetFormat(value); return *this;} /** *The format of the model input configuration. The format differs depending on * if it is passed through to SageMaker or constructed by Amazon Fraud * Detector.
*/ inline ModelInputConfiguration& WithFormat(ModelInputDataFormat&& value) { SetFormat(std::move(value)); return *this;} /** *The event variables.
*/ inline bool GetUseEventVariables() const{ return m_useEventVariables; } /** *The event variables.
*/ inline bool UseEventVariablesHasBeenSet() const { return m_useEventVariablesHasBeenSet; } /** *The event variables.
*/ inline void SetUseEventVariables(bool value) { m_useEventVariablesHasBeenSet = true; m_useEventVariables = value; } /** *The event variables.
*/ inline ModelInputConfiguration& WithUseEventVariables(bool value) { SetUseEventVariables(value); return *this;} /** *Template for constructing the JSON input-data sent to SageMaker. At * event-evaluation, the placeholders for variable names in the template will be * replaced with the variable values before being sent to SageMaker.
*/ inline const Aws::String& GetJsonInputTemplate() const{ return m_jsonInputTemplate; } /** *Template for constructing the JSON input-data sent to SageMaker. At * event-evaluation, the placeholders for variable names in the template will be * replaced with the variable values before being sent to SageMaker.
*/ inline bool JsonInputTemplateHasBeenSet() const { return m_jsonInputTemplateHasBeenSet; } /** *Template for constructing the JSON input-data sent to SageMaker. At * event-evaluation, the placeholders for variable names in the template will be * replaced with the variable values before being sent to SageMaker.
*/ inline void SetJsonInputTemplate(const Aws::String& value) { m_jsonInputTemplateHasBeenSet = true; m_jsonInputTemplate = value; } /** *Template for constructing the JSON input-data sent to SageMaker. At * event-evaluation, the placeholders for variable names in the template will be * replaced with the variable values before being sent to SageMaker.
*/ inline void SetJsonInputTemplate(Aws::String&& value) { m_jsonInputTemplateHasBeenSet = true; m_jsonInputTemplate = std::move(value); } /** *Template for constructing the JSON input-data sent to SageMaker. At * event-evaluation, the placeholders for variable names in the template will be * replaced with the variable values before being sent to SageMaker.
*/ inline void SetJsonInputTemplate(const char* value) { m_jsonInputTemplateHasBeenSet = true; m_jsonInputTemplate.assign(value); } /** *Template for constructing the JSON input-data sent to SageMaker. At * event-evaluation, the placeholders for variable names in the template will be * replaced with the variable values before being sent to SageMaker.
*/ inline ModelInputConfiguration& WithJsonInputTemplate(const Aws::String& value) { SetJsonInputTemplate(value); return *this;} /** *Template for constructing the JSON input-data sent to SageMaker. At * event-evaluation, the placeholders for variable names in the template will be * replaced with the variable values before being sent to SageMaker.
*/ inline ModelInputConfiguration& WithJsonInputTemplate(Aws::String&& value) { SetJsonInputTemplate(std::move(value)); return *this;} /** *Template for constructing the JSON input-data sent to SageMaker. At * event-evaluation, the placeholders for variable names in the template will be * replaced with the variable values before being sent to SageMaker.
*/ inline ModelInputConfiguration& WithJsonInputTemplate(const char* value) { SetJsonInputTemplate(value); return *this;} /** *Template for constructing the CSV input-data sent to SageMaker. At * event-evaluation, the placeholders for variable-names in the template will be * replaced with the variable values before being sent to SageMaker.
*/ inline const Aws::String& GetCsvInputTemplate() const{ return m_csvInputTemplate; } /** *Template for constructing the CSV input-data sent to SageMaker. At * event-evaluation, the placeholders for variable-names in the template will be * replaced with the variable values before being sent to SageMaker.
*/ inline bool CsvInputTemplateHasBeenSet() const { return m_csvInputTemplateHasBeenSet; } /** *Template for constructing the CSV input-data sent to SageMaker. At * event-evaluation, the placeholders for variable-names in the template will be * replaced with the variable values before being sent to SageMaker.
*/ inline void SetCsvInputTemplate(const Aws::String& value) { m_csvInputTemplateHasBeenSet = true; m_csvInputTemplate = value; } /** *Template for constructing the CSV input-data sent to SageMaker. At * event-evaluation, the placeholders for variable-names in the template will be * replaced with the variable values before being sent to SageMaker.
*/ inline void SetCsvInputTemplate(Aws::String&& value) { m_csvInputTemplateHasBeenSet = true; m_csvInputTemplate = std::move(value); } /** *Template for constructing the CSV input-data sent to SageMaker. At * event-evaluation, the placeholders for variable-names in the template will be * replaced with the variable values before being sent to SageMaker.
*/ inline void SetCsvInputTemplate(const char* value) { m_csvInputTemplateHasBeenSet = true; m_csvInputTemplate.assign(value); } /** *Template for constructing the CSV input-data sent to SageMaker. At * event-evaluation, the placeholders for variable-names in the template will be * replaced with the variable values before being sent to SageMaker.
*/ inline ModelInputConfiguration& WithCsvInputTemplate(const Aws::String& value) { SetCsvInputTemplate(value); return *this;} /** *Template for constructing the CSV input-data sent to SageMaker. At * event-evaluation, the placeholders for variable-names in the template will be * replaced with the variable values before being sent to SageMaker.
*/ inline ModelInputConfiguration& WithCsvInputTemplate(Aws::String&& value) { SetCsvInputTemplate(std::move(value)); return *this;} /** *Template for constructing the CSV input-data sent to SageMaker. At * event-evaluation, the placeholders for variable-names in the template will be * replaced with the variable values before being sent to SageMaker.
*/ inline ModelInputConfiguration& WithCsvInputTemplate(const char* value) { SetCsvInputTemplate(value); return *this;} private: Aws::String m_eventTypeName; bool m_eventTypeNameHasBeenSet = false; ModelInputDataFormat m_format; bool m_formatHasBeenSet = false; bool m_useEventVariables; bool m_useEventVariablesHasBeenSet = false; Aws::String m_jsonInputTemplate; bool m_jsonInputTemplateHasBeenSet = false; Aws::String m_csvInputTemplate; bool m_csvInputTemplateHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws