/** * 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 SageMaker { namespace Model { /** *

The inputs for a processing job. The processing input must specify exactly * one of either S3Input or DatasetDefinition * types.

See Also:

AWS * API Reference

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

The name for the processing job input.

*/ inline const Aws::String& GetInputName() const{ return m_inputName; } /** *

The name for the processing job input.

*/ inline bool InputNameHasBeenSet() const { return m_inputNameHasBeenSet; } /** *

The name for the processing job input.

*/ inline void SetInputName(const Aws::String& value) { m_inputNameHasBeenSet = true; m_inputName = value; } /** *

The name for the processing job input.

*/ inline void SetInputName(Aws::String&& value) { m_inputNameHasBeenSet = true; m_inputName = std::move(value); } /** *

The name for the processing job input.

*/ inline void SetInputName(const char* value) { m_inputNameHasBeenSet = true; m_inputName.assign(value); } /** *

The name for the processing job input.

*/ inline ProcessingInput& WithInputName(const Aws::String& value) { SetInputName(value); return *this;} /** *

The name for the processing job input.

*/ inline ProcessingInput& WithInputName(Aws::String&& value) { SetInputName(std::move(value)); return *this;} /** *

The name for the processing job input.

*/ inline ProcessingInput& WithInputName(const char* value) { SetInputName(value); return *this;} /** *

When True, input operations such as data download are managed * natively by the processing job application. When False (default), * input operations are managed by Amazon SageMaker.

*/ inline bool GetAppManaged() const{ return m_appManaged; } /** *

When True, input operations such as data download are managed * natively by the processing job application. When False (default), * input operations are managed by Amazon SageMaker.

*/ inline bool AppManagedHasBeenSet() const { return m_appManagedHasBeenSet; } /** *

When True, input operations such as data download are managed * natively by the processing job application. When False (default), * input operations are managed by Amazon SageMaker.

*/ inline void SetAppManaged(bool value) { m_appManagedHasBeenSet = true; m_appManaged = value; } /** *

When True, input operations such as data download are managed * natively by the processing job application. When False (default), * input operations are managed by Amazon SageMaker.

*/ inline ProcessingInput& WithAppManaged(bool value) { SetAppManaged(value); return *this;} /** *

Configuration for downloading input data from Amazon S3 into the processing * container.

*/ inline const ProcessingS3Input& GetS3Input() const{ return m_s3Input; } /** *

Configuration for downloading input data from Amazon S3 into the processing * container.

*/ inline bool S3InputHasBeenSet() const { return m_s3InputHasBeenSet; } /** *

Configuration for downloading input data from Amazon S3 into the processing * container.

*/ inline void SetS3Input(const ProcessingS3Input& value) { m_s3InputHasBeenSet = true; m_s3Input = value; } /** *

Configuration for downloading input data from Amazon S3 into the processing * container.

*/ inline void SetS3Input(ProcessingS3Input&& value) { m_s3InputHasBeenSet = true; m_s3Input = std::move(value); } /** *

Configuration for downloading input data from Amazon S3 into the processing * container.

*/ inline ProcessingInput& WithS3Input(const ProcessingS3Input& value) { SetS3Input(value); return *this;} /** *

Configuration for downloading input data from Amazon S3 into the processing * container.

*/ inline ProcessingInput& WithS3Input(ProcessingS3Input&& value) { SetS3Input(std::move(value)); return *this;} /** *

Configuration for a Dataset Definition input.

*/ inline const DatasetDefinition& GetDatasetDefinition() const{ return m_datasetDefinition; } /** *

Configuration for a Dataset Definition input.

*/ inline bool DatasetDefinitionHasBeenSet() const { return m_datasetDefinitionHasBeenSet; } /** *

Configuration for a Dataset Definition input.

*/ inline void SetDatasetDefinition(const DatasetDefinition& value) { m_datasetDefinitionHasBeenSet = true; m_datasetDefinition = value; } /** *

Configuration for a Dataset Definition input.

*/ inline void SetDatasetDefinition(DatasetDefinition&& value) { m_datasetDefinitionHasBeenSet = true; m_datasetDefinition = std::move(value); } /** *

Configuration for a Dataset Definition input.

*/ inline ProcessingInput& WithDatasetDefinition(const DatasetDefinition& value) { SetDatasetDefinition(value); return *this;} /** *

Configuration for a Dataset Definition input.

*/ inline ProcessingInput& WithDatasetDefinition(DatasetDefinition&& value) { SetDatasetDefinition(std::move(value)); return *this;} private: Aws::String m_inputName; bool m_inputNameHasBeenSet = false; bool m_appManaged; bool m_appManagedHasBeenSet = false; ProcessingS3Input m_s3Input; bool m_s3InputHasBeenSet = false; DatasetDefinition m_datasetDefinition; bool m_datasetDefinitionHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws