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

The Amazon S3 location of the input data objects.

See Also:

* AWS * API Reference

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

The Amazon S3 location of the manifest file that describes the input data * objects.

The input manifest file referenced in * ManifestS3Uri must contain one of the following keys: * source-ref or source. The value of the keys are * interpreted as follows:

  • source-ref: The source of * the object is the Amazon S3 object specified in the value. Use this value when * the object is a binary object, such as an image.

  • * source: The source of the object is the value. Use this value when * the object is a text value.

If you are a new user of Ground * Truth, it is recommended you review Use * an Input Manifest File in the Amazon SageMaker Developer Guide to learn how * to create an input manifest file.

*/ inline const Aws::String& GetManifestS3Uri() const{ return m_manifestS3Uri; } /** *

The Amazon S3 location of the manifest file that describes the input data * objects.

The input manifest file referenced in * ManifestS3Uri must contain one of the following keys: * source-ref or source. The value of the keys are * interpreted as follows:

  • source-ref: The source of * the object is the Amazon S3 object specified in the value. Use this value when * the object is a binary object, such as an image.

  • * source: The source of the object is the value. Use this value when * the object is a text value.

If you are a new user of Ground * Truth, it is recommended you review Use * an Input Manifest File in the Amazon SageMaker Developer Guide to learn how * to create an input manifest file.

*/ inline bool ManifestS3UriHasBeenSet() const { return m_manifestS3UriHasBeenSet; } /** *

The Amazon S3 location of the manifest file that describes the input data * objects.

The input manifest file referenced in * ManifestS3Uri must contain one of the following keys: * source-ref or source. The value of the keys are * interpreted as follows:

  • source-ref: The source of * the object is the Amazon S3 object specified in the value. Use this value when * the object is a binary object, such as an image.

  • * source: The source of the object is the value. Use this value when * the object is a text value.

If you are a new user of Ground * Truth, it is recommended you review Use * an Input Manifest File in the Amazon SageMaker Developer Guide to learn how * to create an input manifest file.

*/ inline void SetManifestS3Uri(const Aws::String& value) { m_manifestS3UriHasBeenSet = true; m_manifestS3Uri = value; } /** *

The Amazon S3 location of the manifest file that describes the input data * objects.

The input manifest file referenced in * ManifestS3Uri must contain one of the following keys: * source-ref or source. The value of the keys are * interpreted as follows:

  • source-ref: The source of * the object is the Amazon S3 object specified in the value. Use this value when * the object is a binary object, such as an image.

  • * source: The source of the object is the value. Use this value when * the object is a text value.

If you are a new user of Ground * Truth, it is recommended you review Use * an Input Manifest File in the Amazon SageMaker Developer Guide to learn how * to create an input manifest file.

*/ inline void SetManifestS3Uri(Aws::String&& value) { m_manifestS3UriHasBeenSet = true; m_manifestS3Uri = std::move(value); } /** *

The Amazon S3 location of the manifest file that describes the input data * objects.

The input manifest file referenced in * ManifestS3Uri must contain one of the following keys: * source-ref or source. The value of the keys are * interpreted as follows:

  • source-ref: The source of * the object is the Amazon S3 object specified in the value. Use this value when * the object is a binary object, such as an image.

  • * source: The source of the object is the value. Use this value when * the object is a text value.

If you are a new user of Ground * Truth, it is recommended you review Use * an Input Manifest File in the Amazon SageMaker Developer Guide to learn how * to create an input manifest file.

*/ inline void SetManifestS3Uri(const char* value) { m_manifestS3UriHasBeenSet = true; m_manifestS3Uri.assign(value); } /** *

The Amazon S3 location of the manifest file that describes the input data * objects.

The input manifest file referenced in * ManifestS3Uri must contain one of the following keys: * source-ref or source. The value of the keys are * interpreted as follows:

  • source-ref: The source of * the object is the Amazon S3 object specified in the value. Use this value when * the object is a binary object, such as an image.

  • * source: The source of the object is the value. Use this value when * the object is a text value.

If you are a new user of Ground * Truth, it is recommended you review Use * an Input Manifest File in the Amazon SageMaker Developer Guide to learn how * to create an input manifest file.

*/ inline LabelingJobS3DataSource& WithManifestS3Uri(const Aws::String& value) { SetManifestS3Uri(value); return *this;} /** *

The Amazon S3 location of the manifest file that describes the input data * objects.

The input manifest file referenced in * ManifestS3Uri must contain one of the following keys: * source-ref or source. The value of the keys are * interpreted as follows:

  • source-ref: The source of * the object is the Amazon S3 object specified in the value. Use this value when * the object is a binary object, such as an image.

  • * source: The source of the object is the value. Use this value when * the object is a text value.

If you are a new user of Ground * Truth, it is recommended you review Use * an Input Manifest File in the Amazon SageMaker Developer Guide to learn how * to create an input manifest file.

*/ inline LabelingJobS3DataSource& WithManifestS3Uri(Aws::String&& value) { SetManifestS3Uri(std::move(value)); return *this;} /** *

The Amazon S3 location of the manifest file that describes the input data * objects.

The input manifest file referenced in * ManifestS3Uri must contain one of the following keys: * source-ref or source. The value of the keys are * interpreted as follows:

  • source-ref: The source of * the object is the Amazon S3 object specified in the value. Use this value when * the object is a binary object, such as an image.

  • * source: The source of the object is the value. Use this value when * the object is a text value.

If you are a new user of Ground * Truth, it is recommended you review Use * an Input Manifest File in the Amazon SageMaker Developer Guide to learn how * to create an input manifest file.

*/ inline LabelingJobS3DataSource& WithManifestS3Uri(const char* value) { SetManifestS3Uri(value); return *this;} private: Aws::String m_manifestS3Uri; bool m_manifestS3UriHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws