/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 store the results of a monitoring * job.

See Also:

AWS * API Reference

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

A URI that identifies the Amazon S3 storage location where Amazon SageMaker * saves the results of a monitoring job.

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

A URI that identifies the Amazon S3 storage location where Amazon SageMaker * saves the results of a monitoring job.

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

A URI that identifies the Amazon S3 storage location where Amazon SageMaker * saves the results of a monitoring job.

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

A URI that identifies the Amazon S3 storage location where Amazon SageMaker * saves the results of a monitoring job.

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

A URI that identifies the Amazon S3 storage location where Amazon SageMaker * saves the results of a monitoring job.

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

A URI that identifies the Amazon S3 storage location where Amazon SageMaker * saves the results of a monitoring job.

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

A URI that identifies the Amazon S3 storage location where Amazon SageMaker * saves the results of a monitoring job.

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

A URI that identifies the Amazon S3 storage location where Amazon SageMaker * saves the results of a monitoring job.

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

The local path to the Amazon S3 storage location where Amazon SageMaker saves * the results of a monitoring job. LocalPath is an absolute path for the output * data.

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

The local path to the Amazon S3 storage location where Amazon SageMaker saves * the results of a monitoring job. LocalPath is an absolute path for the output * data.

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

The local path to the Amazon S3 storage location where Amazon SageMaker saves * the results of a monitoring job. LocalPath is an absolute path for the output * data.

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

The local path to the Amazon S3 storage location where Amazon SageMaker saves * the results of a monitoring job. LocalPath is an absolute path for the output * data.

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

The local path to the Amazon S3 storage location where Amazon SageMaker saves * the results of a monitoring job. LocalPath is an absolute path for the output * data.

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

The local path to the Amazon S3 storage location where Amazon SageMaker saves * the results of a monitoring job. LocalPath is an absolute path for the output * data.

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

The local path to the Amazon S3 storage location where Amazon SageMaker saves * the results of a monitoring job. LocalPath is an absolute path for the output * data.

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

The local path to the Amazon S3 storage location where Amazon SageMaker saves * the results of a monitoring job. LocalPath is an absolute path for the output * data.

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

Whether to upload the results of the monitoring job continuously or after the * job completes.

*/ inline const ProcessingS3UploadMode& GetS3UploadMode() const{ return m_s3UploadMode; } /** *

Whether to upload the results of the monitoring job continuously or after the * job completes.

*/ inline bool S3UploadModeHasBeenSet() const { return m_s3UploadModeHasBeenSet; } /** *

Whether to upload the results of the monitoring job continuously or after the * job completes.

*/ inline void SetS3UploadMode(const ProcessingS3UploadMode& value) { m_s3UploadModeHasBeenSet = true; m_s3UploadMode = value; } /** *

Whether to upload the results of the monitoring job continuously or after the * job completes.

*/ inline void SetS3UploadMode(ProcessingS3UploadMode&& value) { m_s3UploadModeHasBeenSet = true; m_s3UploadMode = std::move(value); } /** *

Whether to upload the results of the monitoring job continuously or after the * job completes.

*/ inline MonitoringS3Output& WithS3UploadMode(const ProcessingS3UploadMode& value) { SetS3UploadMode(value); return *this;} /** *

Whether to upload the results of the monitoring job continuously or after the * job completes.

*/ inline MonitoringS3Output& 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