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

Information about where and how you want to obtain the inputs for an * processing job.

See Also:

AWS * API Reference

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

The URI for the Amazon S3 storage where you want Amazon SageMaker to download * the artifacts needed to run a processing job.

*/ inline const Aws::String& GetS3Uri() const{ return m_s3Uri; } /** *

The URI for the Amazon S3 storage where you want Amazon SageMaker to download * the artifacts needed to run a processing job.

*/ inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; } /** *

The URI for the Amazon S3 storage where you want Amazon SageMaker to download * the artifacts needed to run a processing job.

*/ inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; } /** *

The URI for the Amazon S3 storage where you want Amazon SageMaker to download * the artifacts needed to run a processing job.

*/ inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); } /** *

The URI for the Amazon S3 storage where you want Amazon SageMaker to download * the artifacts needed to run a processing job.

*/ inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); } /** *

The URI for the Amazon S3 storage where you want Amazon SageMaker to download * the artifacts needed to run a processing job.

*/ inline ProcessingS3Input& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;} /** *

The URI for the Amazon S3 storage where you want Amazon SageMaker to download * the artifacts needed to run a processing job.

*/ inline ProcessingS3Input& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;} /** *

The URI for the Amazon S3 storage where you want Amazon SageMaker to download * the artifacts needed to run a processing job.

*/ inline ProcessingS3Input& WithS3Uri(const char* value) { SetS3Uri(value); return *this;} /** *

The local path to the Amazon S3 bucket where you want Amazon SageMaker to * download the inputs to run a processing job. LocalPath is an * absolute path to the input data.

*/ inline const Aws::String& GetLocalPath() const{ return m_localPath; } /** *

The local path to the Amazon S3 bucket where you want Amazon SageMaker to * download the inputs to run a processing job. LocalPath is an * absolute path to the input data.

*/ inline bool LocalPathHasBeenSet() const { return m_localPathHasBeenSet; } /** *

The local path to the Amazon S3 bucket where you want Amazon SageMaker to * download the inputs to run a processing job. LocalPath is an * absolute path to the input data.

*/ inline void SetLocalPath(const Aws::String& value) { m_localPathHasBeenSet = true; m_localPath = value; } /** *

The local path to the Amazon S3 bucket where you want Amazon SageMaker to * download the inputs to run a processing job. LocalPath is an * absolute path to the input data.

*/ inline void SetLocalPath(Aws::String&& value) { m_localPathHasBeenSet = true; m_localPath = std::move(value); } /** *

The local path to the Amazon S3 bucket where you want Amazon SageMaker to * download the inputs to run a processing job. LocalPath is an * absolute path to the input data.

*/ inline void SetLocalPath(const char* value) { m_localPathHasBeenSet = true; m_localPath.assign(value); } /** *

The local path to the Amazon S3 bucket where you want Amazon SageMaker to * download the inputs to run a processing job. LocalPath is an * absolute path to the input data.

*/ inline ProcessingS3Input& WithLocalPath(const Aws::String& value) { SetLocalPath(value); return *this;} /** *

The local path to the Amazon S3 bucket where you want Amazon SageMaker to * download the inputs to run a processing job. LocalPath is an * absolute path to the input data.

*/ inline ProcessingS3Input& WithLocalPath(Aws::String&& value) { SetLocalPath(std::move(value)); return *this;} /** *

The local path to the Amazon S3 bucket where you want Amazon SageMaker to * download the inputs to run a processing job. LocalPath is an * absolute path to the input data.

*/ inline ProcessingS3Input& WithLocalPath(const char* value) { SetLocalPath(value); return *this;} /** *

Whether you use an S3Prefix or a ManifestFile for * the data type. If you choose S3Prefix, S3Uri * identifies a key name prefix. Amazon SageMaker uses all objects with the * specified key name prefix for the processing job. If you choose * ManifestFile, S3Uri identifies an object that is a * manifest file containing a list of object keys that you want Amazon SageMaker to * use for the processing job.

*/ inline const ProcessingS3DataType& GetS3DataType() const{ return m_s3DataType; } /** *

Whether you use an S3Prefix or a ManifestFile for * the data type. If you choose S3Prefix, S3Uri * identifies a key name prefix. Amazon SageMaker uses all objects with the * specified key name prefix for the processing job. If you choose * ManifestFile, S3Uri identifies an object that is a * manifest file containing a list of object keys that you want Amazon SageMaker to * use for the processing job.

*/ inline bool S3DataTypeHasBeenSet() const { return m_s3DataTypeHasBeenSet; } /** *

Whether you use an S3Prefix or a ManifestFile for * the data type. If you choose S3Prefix, S3Uri * identifies a key name prefix. Amazon SageMaker uses all objects with the * specified key name prefix for the processing job. If you choose * ManifestFile, S3Uri identifies an object that is a * manifest file containing a list of object keys that you want Amazon SageMaker to * use for the processing job.

*/ inline void SetS3DataType(const ProcessingS3DataType& value) { m_s3DataTypeHasBeenSet = true; m_s3DataType = value; } /** *

Whether you use an S3Prefix or a ManifestFile for * the data type. If you choose S3Prefix, S3Uri * identifies a key name prefix. Amazon SageMaker uses all objects with the * specified key name prefix for the processing job. If you choose * ManifestFile, S3Uri identifies an object that is a * manifest file containing a list of object keys that you want Amazon SageMaker to * use for the processing job.

*/ inline void SetS3DataType(ProcessingS3DataType&& value) { m_s3DataTypeHasBeenSet = true; m_s3DataType = std::move(value); } /** *

Whether you use an S3Prefix or a ManifestFile for * the data type. If you choose S3Prefix, S3Uri * identifies a key name prefix. Amazon SageMaker uses all objects with the * specified key name prefix for the processing job. If you choose * ManifestFile, S3Uri identifies an object that is a * manifest file containing a list of object keys that you want Amazon SageMaker to * use for the processing job.

*/ inline ProcessingS3Input& WithS3DataType(const ProcessingS3DataType& value) { SetS3DataType(value); return *this;} /** *

Whether you use an S3Prefix or a ManifestFile for * the data type. If you choose S3Prefix, S3Uri * identifies a key name prefix. Amazon SageMaker uses all objects with the * specified key name prefix for the processing job. If you choose * ManifestFile, S3Uri identifies an object that is a * manifest file containing a list of object keys that you want Amazon SageMaker to * use for the processing job.

*/ inline ProcessingS3Input& WithS3DataType(ProcessingS3DataType&& value) { SetS3DataType(std::move(value)); return *this;} /** *

Whether to use File or Pipe input mode. In * File mode, Amazon SageMaker copies the data from the input source * onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting * your training algorithm. This is the most commonly used input mode. In * Pipe mode, Amazon SageMaker streams input data from the source * directly to your algorithm without using the EBS volume.

*/ inline const ProcessingS3InputMode& GetS3InputMode() const{ return m_s3InputMode; } /** *

Whether to use File or Pipe input mode. In * File mode, Amazon SageMaker copies the data from the input source * onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting * your training algorithm. This is the most commonly used input mode. In * Pipe mode, Amazon SageMaker streams input data from the source * directly to your algorithm without using the EBS volume.

*/ inline bool S3InputModeHasBeenSet() const { return m_s3InputModeHasBeenSet; } /** *

Whether to use File or Pipe input mode. In * File mode, Amazon SageMaker copies the data from the input source * onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting * your training algorithm. This is the most commonly used input mode. In * Pipe mode, Amazon SageMaker streams input data from the source * directly to your algorithm without using the EBS volume.

*/ inline void SetS3InputMode(const ProcessingS3InputMode& value) { m_s3InputModeHasBeenSet = true; m_s3InputMode = value; } /** *

Whether to use File or Pipe input mode. In * File mode, Amazon SageMaker copies the data from the input source * onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting * your training algorithm. This is the most commonly used input mode. In * Pipe mode, Amazon SageMaker streams input data from the source * directly to your algorithm without using the EBS volume.

*/ inline void SetS3InputMode(ProcessingS3InputMode&& value) { m_s3InputModeHasBeenSet = true; m_s3InputMode = std::move(value); } /** *

Whether to use File or Pipe input mode. In * File mode, Amazon SageMaker copies the data from the input source * onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting * your training algorithm. This is the most commonly used input mode. In * Pipe mode, Amazon SageMaker streams input data from the source * directly to your algorithm without using the EBS volume.

*/ inline ProcessingS3Input& WithS3InputMode(const ProcessingS3InputMode& value) { SetS3InputMode(value); return *this;} /** *

Whether to use File or Pipe input mode. In * File mode, Amazon SageMaker copies the data from the input source * onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting * your training algorithm. This is the most commonly used input mode. In * Pipe mode, Amazon SageMaker streams input data from the source * directly to your algorithm without using the EBS volume.

*/ inline ProcessingS3Input& WithS3InputMode(ProcessingS3InputMode&& value) { SetS3InputMode(std::move(value)); return *this;} /** *

Whether the data stored in Amazon S3 is FullyReplicated or * ShardedByS3Key.

*/ inline const ProcessingS3DataDistributionType& GetS3DataDistributionType() const{ return m_s3DataDistributionType; } /** *

Whether the data stored in Amazon S3 is FullyReplicated or * ShardedByS3Key.

*/ inline bool S3DataDistributionTypeHasBeenSet() const { return m_s3DataDistributionTypeHasBeenSet; } /** *

Whether the data stored in Amazon S3 is FullyReplicated or * ShardedByS3Key.

*/ inline void SetS3DataDistributionType(const ProcessingS3DataDistributionType& value) { m_s3DataDistributionTypeHasBeenSet = true; m_s3DataDistributionType = value; } /** *

Whether the data stored in Amazon S3 is FullyReplicated or * ShardedByS3Key.

*/ inline void SetS3DataDistributionType(ProcessingS3DataDistributionType&& value) { m_s3DataDistributionTypeHasBeenSet = true; m_s3DataDistributionType = std::move(value); } /** *

Whether the data stored in Amazon S3 is FullyReplicated or * ShardedByS3Key.

*/ inline ProcessingS3Input& WithS3DataDistributionType(const ProcessingS3DataDistributionType& value) { SetS3DataDistributionType(value); return *this;} /** *

Whether the data stored in Amazon S3 is FullyReplicated or * ShardedByS3Key.

*/ inline ProcessingS3Input& WithS3DataDistributionType(ProcessingS3DataDistributionType&& value) { SetS3DataDistributionType(std::move(value)); return *this;} /** *

Whether to use Gzip compression for Amazon S3 storage.

*/ inline const ProcessingS3CompressionType& GetS3CompressionType() const{ return m_s3CompressionType; } /** *

Whether to use Gzip compression for Amazon S3 storage.

*/ inline bool S3CompressionTypeHasBeenSet() const { return m_s3CompressionTypeHasBeenSet; } /** *

Whether to use Gzip compression for Amazon S3 storage.

*/ inline void SetS3CompressionType(const ProcessingS3CompressionType& value) { m_s3CompressionTypeHasBeenSet = true; m_s3CompressionType = value; } /** *

Whether to use Gzip compression for Amazon S3 storage.

*/ inline void SetS3CompressionType(ProcessingS3CompressionType&& value) { m_s3CompressionTypeHasBeenSet = true; m_s3CompressionType = std::move(value); } /** *

Whether to use Gzip compression for Amazon S3 storage.

*/ inline ProcessingS3Input& WithS3CompressionType(const ProcessingS3CompressionType& value) { SetS3CompressionType(value); return *this;} /** *

Whether to use Gzip compression for Amazon S3 storage.

*/ inline ProcessingS3Input& WithS3CompressionType(ProcessingS3CompressionType&& value) { SetS3CompressionType(std::move(value)); return *this;} private: Aws::String m_s3Uri; bool m_s3UriHasBeenSet; Aws::String m_localPath; bool m_localPathHasBeenSet; ProcessingS3DataType m_s3DataType; bool m_s3DataTypeHasBeenSet; ProcessingS3InputMode m_s3InputMode; bool m_s3InputModeHasBeenSet; ProcessingS3DataDistributionType m_s3DataDistributionType; bool m_s3DataDistributionTypeHasBeenSet; ProcessingS3CompressionType m_s3CompressionType; bool m_s3CompressionTypeHasBeenSet; }; } // namespace Model } // namespace SageMaker } // namespace Aws