/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/sagemaker/SageMaker_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/sagemaker/model/ProcessingS3UploadMode.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** * <p>Configuration for uploading output data to Amazon S3 from the processing * container.</p><p><h3>See Also:</h3> <a * href="http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ProcessingS3Output">AWS * API Reference</a></p> */ class ProcessingS3Output { public: AWS_SAGEMAKER_API ProcessingS3Output(); AWS_SAGEMAKER_API ProcessingS3Output(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API ProcessingS3Output& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** * <p>A URI that identifies the Amazon S3 bucket where you want Amazon SageMaker to * save the results of a processing job.</p> */ inline const Aws::String& GetS3Uri() const{ return m_s3Uri; } /** * <p>A URI that identifies the Amazon S3 bucket where you want Amazon SageMaker to * save the results of a processing job.</p> */ inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; } /** * <p>A URI that identifies the Amazon S3 bucket where you want Amazon SageMaker to * save the results of a processing job.</p> */ inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; } /** * <p>A URI that identifies the Amazon S3 bucket where you want Amazon SageMaker to * save the results of a processing job.</p> */ inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); } /** * <p>A URI that identifies the Amazon S3 bucket where you want Amazon SageMaker to * save the results of a processing job.</p> */ inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); } /** * <p>A URI that identifies the Amazon S3 bucket where you want Amazon SageMaker to * save the results of a processing job.</p> */ inline ProcessingS3Output& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;} /** * <p>A URI that identifies the Amazon S3 bucket where you want Amazon SageMaker to * save the results of a processing job.</p> */ inline ProcessingS3Output& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;} /** * <p>A URI that identifies the Amazon S3 bucket where you want Amazon SageMaker to * save the results of a processing job.</p> */ inline ProcessingS3Output& WithS3Uri(const char* value) { SetS3Uri(value); return *this;} /** * <p>The local path of a directory where you want Amazon SageMaker to upload its * contents to Amazon S3. <code>LocalPath</code> is an absolute path to a directory * containing output files. This directory will be created by the platform and * exist when your container's entrypoint is invoked.</p> */ inline const Aws::String& GetLocalPath() const{ return m_localPath; } /** * <p>The local path of a directory where you want Amazon SageMaker to upload its * contents to Amazon S3. <code>LocalPath</code> is an absolute path to a directory * containing output files. This directory will be created by the platform and * exist when your container's entrypoint is invoked.</p> */ inline bool LocalPathHasBeenSet() const { return m_localPathHasBeenSet; } /** * <p>The local path of a directory where you want Amazon SageMaker to upload its * contents to Amazon S3. <code>LocalPath</code> is an absolute path to a directory * containing output files. This directory will be created by the platform and * exist when your container's entrypoint is invoked.</p> */ inline void SetLocalPath(const Aws::String& value) { m_localPathHasBeenSet = true; m_localPath = value; } /** * <p>The local path of a directory where you want Amazon SageMaker to upload its * contents to Amazon S3. <code>LocalPath</code> is an absolute path to a directory * containing output files. This directory will be created by the platform and * exist when your container's entrypoint is invoked.</p> */ inline void SetLocalPath(Aws::String&& value) { m_localPathHasBeenSet = true; m_localPath = std::move(value); } /** * <p>The local path of a directory where you want Amazon SageMaker to upload its * contents to Amazon S3. <code>LocalPath</code> is an absolute path to a directory * containing output files. This directory will be created by the platform and * exist when your container's entrypoint is invoked.</p> */ inline void SetLocalPath(const char* value) { m_localPathHasBeenSet = true; m_localPath.assign(value); } /** * <p>The local path of a directory where you want Amazon SageMaker to upload its * contents to Amazon S3. <code>LocalPath</code> is an absolute path to a directory * containing output files. This directory will be created by the platform and * exist when your container's entrypoint is invoked.</p> */ inline ProcessingS3Output& WithLocalPath(const Aws::String& value) { SetLocalPath(value); return *this;} /** * <p>The local path of a directory where you want Amazon SageMaker to upload its * contents to Amazon S3. <code>LocalPath</code> is an absolute path to a directory * containing output files. This directory will be created by the platform and * exist when your container's entrypoint is invoked.</p> */ inline ProcessingS3Output& WithLocalPath(Aws::String&& value) { SetLocalPath(std::move(value)); return *this;} /** * <p>The local path of a directory where you want Amazon SageMaker to upload its * contents to Amazon S3. <code>LocalPath</code> is an absolute path to a directory * containing output files. This directory will be created by the platform and * exist when your container's entrypoint is invoked.</p> */ inline ProcessingS3Output& WithLocalPath(const char* value) { SetLocalPath(value); return *this;} /** * <p>Whether to upload the results of the processing job continuously or after the * job completes.</p> */ inline const ProcessingS3UploadMode& GetS3UploadMode() const{ return m_s3UploadMode; } /** * <p>Whether to upload the results of the processing job continuously or after the * job completes.</p> */ inline bool S3UploadModeHasBeenSet() const { return m_s3UploadModeHasBeenSet; } /** * <p>Whether to upload the results of the processing job continuously or after the * job completes.</p> */ inline void SetS3UploadMode(const ProcessingS3UploadMode& value) { m_s3UploadModeHasBeenSet = true; m_s3UploadMode = value; } /** * <p>Whether to upload the results of the processing job continuously or after the * job completes.</p> */ inline void SetS3UploadMode(ProcessingS3UploadMode&& value) { m_s3UploadModeHasBeenSet = true; m_s3UploadMode = std::move(value); } /** * <p>Whether to upload the results of the processing job continuously or after the * job completes.</p> */ inline ProcessingS3Output& WithS3UploadMode(const ProcessingS3UploadMode& value) { SetS3UploadMode(value); return *this;} /** * <p>Whether to upload the results of the processing job continuously or after the * job completes.</p> */ inline ProcessingS3Output& WithS3UploadMode(ProcessingS3UploadMode&& value) { SetS3UploadMode(std::move(value)); return *this;} private: Aws::String m_s3Uri; bool m_s3UriHasBeenSet = false; Aws::String m_localPath; bool m_localPathHasBeenSet = false; ProcessingS3UploadMode m_s3UploadMode; bool m_s3UploadModeHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws