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

Specifies the format and location of the input data for the * dataset.

See Also:

AWS * API Reference

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

A list of augmented manifest files that provide training data for your custom * model. An augmented manifest file is a labeled dataset that is produced by * Amazon SageMaker Ground Truth.

*/ inline const Aws::Vector& GetAugmentedManifests() const{ return m_augmentedManifests; } /** *

A list of augmented manifest files that provide training data for your custom * model. An augmented manifest file is a labeled dataset that is produced by * Amazon SageMaker Ground Truth.

*/ inline bool AugmentedManifestsHasBeenSet() const { return m_augmentedManifestsHasBeenSet; } /** *

A list of augmented manifest files that provide training data for your custom * model. An augmented manifest file is a labeled dataset that is produced by * Amazon SageMaker Ground Truth.

*/ inline void SetAugmentedManifests(const Aws::Vector& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests = value; } /** *

A list of augmented manifest files that provide training data for your custom * model. An augmented manifest file is a labeled dataset that is produced by * Amazon SageMaker Ground Truth.

*/ inline void SetAugmentedManifests(Aws::Vector&& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests = std::move(value); } /** *

A list of augmented manifest files that provide training data for your custom * model. An augmented manifest file is a labeled dataset that is produced by * Amazon SageMaker Ground Truth.

*/ inline DatasetInputDataConfig& WithAugmentedManifests(const Aws::Vector& value) { SetAugmentedManifests(value); return *this;} /** *

A list of augmented manifest files that provide training data for your custom * model. An augmented manifest file is a labeled dataset that is produced by * Amazon SageMaker Ground Truth.

*/ inline DatasetInputDataConfig& WithAugmentedManifests(Aws::Vector&& value) { SetAugmentedManifests(std::move(value)); return *this;} /** *

A list of augmented manifest files that provide training data for your custom * model. An augmented manifest file is a labeled dataset that is produced by * Amazon SageMaker Ground Truth.

*/ inline DatasetInputDataConfig& AddAugmentedManifests(const DatasetAugmentedManifestsListItem& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests.push_back(value); return *this; } /** *

A list of augmented manifest files that provide training data for your custom * model. An augmented manifest file is a labeled dataset that is produced by * Amazon SageMaker Ground Truth.

*/ inline DatasetInputDataConfig& AddAugmentedManifests(DatasetAugmentedManifestsListItem&& value) { m_augmentedManifestsHasBeenSet = true; m_augmentedManifests.push_back(std::move(value)); return *this; } /** *

COMPREHEND_CSV: The data format is a two-column CSV file, where * the first column contains labels and the second column contains documents.

*

AUGMENTED_MANIFEST: The data format

*/ inline const DatasetDataFormat& GetDataFormat() const{ return m_dataFormat; } /** *

COMPREHEND_CSV: The data format is a two-column CSV file, where * the first column contains labels and the second column contains documents.

*

AUGMENTED_MANIFEST: The data format

*/ inline bool DataFormatHasBeenSet() const { return m_dataFormatHasBeenSet; } /** *

COMPREHEND_CSV: The data format is a two-column CSV file, where * the first column contains labels and the second column contains documents.

*

AUGMENTED_MANIFEST: The data format

*/ inline void SetDataFormat(const DatasetDataFormat& value) { m_dataFormatHasBeenSet = true; m_dataFormat = value; } /** *

COMPREHEND_CSV: The data format is a two-column CSV file, where * the first column contains labels and the second column contains documents.

*

AUGMENTED_MANIFEST: The data format

*/ inline void SetDataFormat(DatasetDataFormat&& value) { m_dataFormatHasBeenSet = true; m_dataFormat = std::move(value); } /** *

COMPREHEND_CSV: The data format is a two-column CSV file, where * the first column contains labels and the second column contains documents.

*

AUGMENTED_MANIFEST: The data format

*/ inline DatasetInputDataConfig& WithDataFormat(const DatasetDataFormat& value) { SetDataFormat(value); return *this;} /** *

COMPREHEND_CSV: The data format is a two-column CSV file, where * the first column contains labels and the second column contains documents.

*

AUGMENTED_MANIFEST: The data format

*/ inline DatasetInputDataConfig& WithDataFormat(DatasetDataFormat&& value) { SetDataFormat(std::move(value)); return *this;} /** *

The input properties for training a document classifier model.

For * more information on how the input file is formatted, see Preparing * training data in the Comprehend Developer Guide.

*/ inline const DatasetDocumentClassifierInputDataConfig& GetDocumentClassifierInputDataConfig() const{ return m_documentClassifierInputDataConfig; } /** *

The input properties for training a document classifier model.

For * more information on how the input file is formatted, see Preparing * training data in the Comprehend Developer Guide.

*/ inline bool DocumentClassifierInputDataConfigHasBeenSet() const { return m_documentClassifierInputDataConfigHasBeenSet; } /** *

The input properties for training a document classifier model.

For * more information on how the input file is formatted, see Preparing * training data in the Comprehend Developer Guide.

*/ inline void SetDocumentClassifierInputDataConfig(const DatasetDocumentClassifierInputDataConfig& value) { m_documentClassifierInputDataConfigHasBeenSet = true; m_documentClassifierInputDataConfig = value; } /** *

The input properties for training a document classifier model.

For * more information on how the input file is formatted, see Preparing * training data in the Comprehend Developer Guide.

*/ inline void SetDocumentClassifierInputDataConfig(DatasetDocumentClassifierInputDataConfig&& value) { m_documentClassifierInputDataConfigHasBeenSet = true; m_documentClassifierInputDataConfig = std::move(value); } /** *

The input properties for training a document classifier model.

For * more information on how the input file is formatted, see Preparing * training data in the Comprehend Developer Guide.

*/ inline DatasetInputDataConfig& WithDocumentClassifierInputDataConfig(const DatasetDocumentClassifierInputDataConfig& value) { SetDocumentClassifierInputDataConfig(value); return *this;} /** *

The input properties for training a document classifier model.

For * more information on how the input file is formatted, see Preparing * training data in the Comprehend Developer Guide.

*/ inline DatasetInputDataConfig& WithDocumentClassifierInputDataConfig(DatasetDocumentClassifierInputDataConfig&& value) { SetDocumentClassifierInputDataConfig(std::move(value)); return *this;} /** *

The input properties for training an entity recognizer model.

*/ inline const DatasetEntityRecognizerInputDataConfig& GetEntityRecognizerInputDataConfig() const{ return m_entityRecognizerInputDataConfig; } /** *

The input properties for training an entity recognizer model.

*/ inline bool EntityRecognizerInputDataConfigHasBeenSet() const { return m_entityRecognizerInputDataConfigHasBeenSet; } /** *

The input properties for training an entity recognizer model.

*/ inline void SetEntityRecognizerInputDataConfig(const DatasetEntityRecognizerInputDataConfig& value) { m_entityRecognizerInputDataConfigHasBeenSet = true; m_entityRecognizerInputDataConfig = value; } /** *

The input properties for training an entity recognizer model.

*/ inline void SetEntityRecognizerInputDataConfig(DatasetEntityRecognizerInputDataConfig&& value) { m_entityRecognizerInputDataConfigHasBeenSet = true; m_entityRecognizerInputDataConfig = std::move(value); } /** *

The input properties for training an entity recognizer model.

*/ inline DatasetInputDataConfig& WithEntityRecognizerInputDataConfig(const DatasetEntityRecognizerInputDataConfig& value) { SetEntityRecognizerInputDataConfig(value); return *this;} /** *

The input properties for training an entity recognizer model.

*/ inline DatasetInputDataConfig& WithEntityRecognizerInputDataConfig(DatasetEntityRecognizerInputDataConfig&& value) { SetEntityRecognizerInputDataConfig(std::move(value)); return *this;} private: Aws::Vector m_augmentedManifests; bool m_augmentedManifestsHasBeenSet = false; DatasetDataFormat m_dataFormat; bool m_dataFormatHasBeenSet = false; DatasetDocumentClassifierInputDataConfig m_documentClassifierInputDataConfig; bool m_documentClassifierInputDataConfigHasBeenSet = false; DatasetEntityRecognizerInputDataConfig m_entityRecognizerInputDataConfig; bool m_entityRecognizerInputDataConfigHasBeenSet = false; }; } // namespace Model } // namespace Comprehend } // namespace Aws