/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An augmented manifest file that provides training data for your custom model.
* An augmented manifest file is a labeled dataset that is produced by Amazon
* SageMaker Ground Truth.See Also:
AWS
* API Reference
The Amazon S3 location of the augmented manifest file.
*/ inline const Aws::String& GetS3Uri() const{ return m_s3Uri; } /** *The Amazon S3 location of the augmented manifest file.
*/ inline bool S3UriHasBeenSet() const { return m_s3UriHasBeenSet; } /** *The Amazon S3 location of the augmented manifest file.
*/ inline void SetS3Uri(const Aws::String& value) { m_s3UriHasBeenSet = true; m_s3Uri = value; } /** *The Amazon S3 location of the augmented manifest file.
*/ inline void SetS3Uri(Aws::String&& value) { m_s3UriHasBeenSet = true; m_s3Uri = std::move(value); } /** *The Amazon S3 location of the augmented manifest file.
*/ inline void SetS3Uri(const char* value) { m_s3UriHasBeenSet = true; m_s3Uri.assign(value); } /** *The Amazon S3 location of the augmented manifest file.
*/ inline AugmentedManifestsListItem& WithS3Uri(const Aws::String& value) { SetS3Uri(value); return *this;} /** *The Amazon S3 location of the augmented manifest file.
*/ inline AugmentedManifestsListItem& WithS3Uri(Aws::String&& value) { SetS3Uri(std::move(value)); return *this;} /** *The Amazon S3 location of the augmented manifest file.
*/ inline AugmentedManifestsListItem& WithS3Uri(const char* value) { SetS3Uri(value); return *this;} /** *The purpose of the data you've provided in the augmented manifest. You can * either train or test this data. If you don't specify, the default is train.
*TRAIN - all of the documents in the manifest will be used for training. If no * test documents are provided, Amazon Comprehend will automatically reserve a * portion of the training documents for testing.
TEST - all of the * documents in the manifest will be used for testing.
*/ inline const Split& GetSplit() const{ return m_split; } /** *The purpose of the data you've provided in the augmented manifest. You can * either train or test this data. If you don't specify, the default is train.
*TRAIN - all of the documents in the manifest will be used for training. If no * test documents are provided, Amazon Comprehend will automatically reserve a * portion of the training documents for testing.
TEST - all of the * documents in the manifest will be used for testing.
*/ inline bool SplitHasBeenSet() const { return m_splitHasBeenSet; } /** *The purpose of the data you've provided in the augmented manifest. You can * either train or test this data. If you don't specify, the default is train.
*TRAIN - all of the documents in the manifest will be used for training. If no * test documents are provided, Amazon Comprehend will automatically reserve a * portion of the training documents for testing.
TEST - all of the * documents in the manifest will be used for testing.
*/ inline void SetSplit(const Split& value) { m_splitHasBeenSet = true; m_split = value; } /** *The purpose of the data you've provided in the augmented manifest. You can * either train or test this data. If you don't specify, the default is train.
*TRAIN - all of the documents in the manifest will be used for training. If no * test documents are provided, Amazon Comprehend will automatically reserve a * portion of the training documents for testing.
TEST - all of the * documents in the manifest will be used for testing.
*/ inline void SetSplit(Split&& value) { m_splitHasBeenSet = true; m_split = std::move(value); } /** *The purpose of the data you've provided in the augmented manifest. You can * either train or test this data. If you don't specify, the default is train.
*TRAIN - all of the documents in the manifest will be used for training. If no * test documents are provided, Amazon Comprehend will automatically reserve a * portion of the training documents for testing.
TEST - all of the * documents in the manifest will be used for testing.
*/ inline AugmentedManifestsListItem& WithSplit(const Split& value) { SetSplit(value); return *this;} /** *The purpose of the data you've provided in the augmented manifest. You can * either train or test this data. If you don't specify, the default is train.
*TRAIN - all of the documents in the manifest will be used for training. If no * test documents are provided, Amazon Comprehend will automatically reserve a * portion of the training documents for testing.
TEST - all of the * documents in the manifest will be used for testing.
*/ inline AugmentedManifestsListItem& WithSplit(Split&& value) { SetSplit(std::move(value)); return *this;} /** *The JSON attribute that contains the annotations for your training documents. * The number of attribute names that you specify depends on whether your augmented * manifest file is the output of a single labeling job or a chained labeling * job.
If your file is the output of a single labeling job, specify the * LabelAttributeName key that was used when the job was created in Ground * Truth.
If your file is the output of a chained labeling job, specify the * LabelAttributeName key for one or more jobs in the chain. Each * LabelAttributeName key provides the annotations from an individual job.
*/ inline const Aws::VectorThe JSON attribute that contains the annotations for your training documents. * The number of attribute names that you specify depends on whether your augmented * manifest file is the output of a single labeling job or a chained labeling * job.
If your file is the output of a single labeling job, specify the * LabelAttributeName key that was used when the job was created in Ground * Truth.
If your file is the output of a chained labeling job, specify the * LabelAttributeName key for one or more jobs in the chain. Each * LabelAttributeName key provides the annotations from an individual job.
*/ inline bool AttributeNamesHasBeenSet() const { return m_attributeNamesHasBeenSet; } /** *The JSON attribute that contains the annotations for your training documents. * The number of attribute names that you specify depends on whether your augmented * manifest file is the output of a single labeling job or a chained labeling * job.
If your file is the output of a single labeling job, specify the * LabelAttributeName key that was used when the job was created in Ground * Truth.
If your file is the output of a chained labeling job, specify the * LabelAttributeName key for one or more jobs in the chain. Each * LabelAttributeName key provides the annotations from an individual job.
*/ inline void SetAttributeNames(const Aws::VectorThe JSON attribute that contains the annotations for your training documents. * The number of attribute names that you specify depends on whether your augmented * manifest file is the output of a single labeling job or a chained labeling * job.
If your file is the output of a single labeling job, specify the * LabelAttributeName key that was used when the job was created in Ground * Truth.
If your file is the output of a chained labeling job, specify the * LabelAttributeName key for one or more jobs in the chain. Each * LabelAttributeName key provides the annotations from an individual job.
*/ inline void SetAttributeNames(Aws::VectorThe JSON attribute that contains the annotations for your training documents. * The number of attribute names that you specify depends on whether your augmented * manifest file is the output of a single labeling job or a chained labeling * job.
If your file is the output of a single labeling job, specify the * LabelAttributeName key that was used when the job was created in Ground * Truth.
If your file is the output of a chained labeling job, specify the * LabelAttributeName key for one or more jobs in the chain. Each * LabelAttributeName key provides the annotations from an individual job.
*/ inline AugmentedManifestsListItem& WithAttributeNames(const Aws::VectorThe JSON attribute that contains the annotations for your training documents. * The number of attribute names that you specify depends on whether your augmented * manifest file is the output of a single labeling job or a chained labeling * job.
If your file is the output of a single labeling job, specify the * LabelAttributeName key that was used when the job was created in Ground * Truth.
If your file is the output of a chained labeling job, specify the * LabelAttributeName key for one or more jobs in the chain. Each * LabelAttributeName key provides the annotations from an individual job.
*/ inline AugmentedManifestsListItem& WithAttributeNames(Aws::VectorThe JSON attribute that contains the annotations for your training documents. * The number of attribute names that you specify depends on whether your augmented * manifest file is the output of a single labeling job or a chained labeling * job.
If your file is the output of a single labeling job, specify the * LabelAttributeName key that was used when the job was created in Ground * Truth.
If your file is the output of a chained labeling job, specify the * LabelAttributeName key for one or more jobs in the chain. Each * LabelAttributeName key provides the annotations from an individual job.
*/ inline AugmentedManifestsListItem& AddAttributeNames(const Aws::String& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(value); return *this; } /** *The JSON attribute that contains the annotations for your training documents. * The number of attribute names that you specify depends on whether your augmented * manifest file is the output of a single labeling job or a chained labeling * job.
If your file is the output of a single labeling job, specify the * LabelAttributeName key that was used when the job was created in Ground * Truth.
If your file is the output of a chained labeling job, specify the * LabelAttributeName key for one or more jobs in the chain. Each * LabelAttributeName key provides the annotations from an individual job.
*/ inline AugmentedManifestsListItem& AddAttributeNames(Aws::String&& value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(std::move(value)); return *this; } /** *The JSON attribute that contains the annotations for your training documents. * The number of attribute names that you specify depends on whether your augmented * manifest file is the output of a single labeling job or a chained labeling * job.
If your file is the output of a single labeling job, specify the * LabelAttributeName key that was used when the job was created in Ground * Truth.
If your file is the output of a chained labeling job, specify the * LabelAttributeName key for one or more jobs in the chain. Each * LabelAttributeName key provides the annotations from an individual job.
*/ inline AugmentedManifestsListItem& AddAttributeNames(const char* value) { m_attributeNamesHasBeenSet = true; m_attributeNames.push_back(value); return *this; } /** *The S3 prefix to the annotation files that are referred in the augmented * manifest file.
*/ inline const Aws::String& GetAnnotationDataS3Uri() const{ return m_annotationDataS3Uri; } /** *The S3 prefix to the annotation files that are referred in the augmented * manifest file.
*/ inline bool AnnotationDataS3UriHasBeenSet() const { return m_annotationDataS3UriHasBeenSet; } /** *The S3 prefix to the annotation files that are referred in the augmented * manifest file.
*/ inline void SetAnnotationDataS3Uri(const Aws::String& value) { m_annotationDataS3UriHasBeenSet = true; m_annotationDataS3Uri = value; } /** *The S3 prefix to the annotation files that are referred in the augmented * manifest file.
*/ inline void SetAnnotationDataS3Uri(Aws::String&& value) { m_annotationDataS3UriHasBeenSet = true; m_annotationDataS3Uri = std::move(value); } /** *The S3 prefix to the annotation files that are referred in the augmented * manifest file.
*/ inline void SetAnnotationDataS3Uri(const char* value) { m_annotationDataS3UriHasBeenSet = true; m_annotationDataS3Uri.assign(value); } /** *The S3 prefix to the annotation files that are referred in the augmented * manifest file.
*/ inline AugmentedManifestsListItem& WithAnnotationDataS3Uri(const Aws::String& value) { SetAnnotationDataS3Uri(value); return *this;} /** *The S3 prefix to the annotation files that are referred in the augmented * manifest file.
*/ inline AugmentedManifestsListItem& WithAnnotationDataS3Uri(Aws::String&& value) { SetAnnotationDataS3Uri(std::move(value)); return *this;} /** *The S3 prefix to the annotation files that are referred in the augmented * manifest file.
*/ inline AugmentedManifestsListItem& WithAnnotationDataS3Uri(const char* value) { SetAnnotationDataS3Uri(value); return *this;} /** *The S3 prefix to the source files (PDFs) that are referred to in the * augmented manifest file.
*/ inline const Aws::String& GetSourceDocumentsS3Uri() const{ return m_sourceDocumentsS3Uri; } /** *The S3 prefix to the source files (PDFs) that are referred to in the * augmented manifest file.
*/ inline bool SourceDocumentsS3UriHasBeenSet() const { return m_sourceDocumentsS3UriHasBeenSet; } /** *The S3 prefix to the source files (PDFs) that are referred to in the * augmented manifest file.
*/ inline void SetSourceDocumentsS3Uri(const Aws::String& value) { m_sourceDocumentsS3UriHasBeenSet = true; m_sourceDocumentsS3Uri = value; } /** *The S3 prefix to the source files (PDFs) that are referred to in the * augmented manifest file.
*/ inline void SetSourceDocumentsS3Uri(Aws::String&& value) { m_sourceDocumentsS3UriHasBeenSet = true; m_sourceDocumentsS3Uri = std::move(value); } /** *The S3 prefix to the source files (PDFs) that are referred to in the * augmented manifest file.
*/ inline void SetSourceDocumentsS3Uri(const char* value) { m_sourceDocumentsS3UriHasBeenSet = true; m_sourceDocumentsS3Uri.assign(value); } /** *The S3 prefix to the source files (PDFs) that are referred to in the * augmented manifest file.
*/ inline AugmentedManifestsListItem& WithSourceDocumentsS3Uri(const Aws::String& value) { SetSourceDocumentsS3Uri(value); return *this;} /** *The S3 prefix to the source files (PDFs) that are referred to in the * augmented manifest file.
*/ inline AugmentedManifestsListItem& WithSourceDocumentsS3Uri(Aws::String&& value) { SetSourceDocumentsS3Uri(std::move(value)); return *this;} /** *The S3 prefix to the source files (PDFs) that are referred to in the * augmented manifest file.
*/ inline AugmentedManifestsListItem& WithSourceDocumentsS3Uri(const char* value) { SetSourceDocumentsS3Uri(value); return *this;} /** *The type of augmented manifest. PlainTextDocument or SemiStructuredDocument. * If you don't specify, the default is PlainTextDocument.
* PLAIN_TEXT_DOCUMENT
A document type that represents any unicode
* text that is encoded in UTF-8.
* SEMI_STRUCTURED_DOCUMENT
A document type with positional and
* structural context, like a PDF. For training with Amazon Comprehend, only PDFs
* are supported. For inference, Amazon Comprehend support PDFs, DOCX and TXT.
The type of augmented manifest. PlainTextDocument or SemiStructuredDocument. * If you don't specify, the default is PlainTextDocument.
* PLAIN_TEXT_DOCUMENT
A document type that represents any unicode
* text that is encoded in UTF-8.
* SEMI_STRUCTURED_DOCUMENT
A document type with positional and
* structural context, like a PDF. For training with Amazon Comprehend, only PDFs
* are supported. For inference, Amazon Comprehend support PDFs, DOCX and TXT.
The type of augmented manifest. PlainTextDocument or SemiStructuredDocument. * If you don't specify, the default is PlainTextDocument.
* PLAIN_TEXT_DOCUMENT
A document type that represents any unicode
* text that is encoded in UTF-8.
* SEMI_STRUCTURED_DOCUMENT
A document type with positional and
* structural context, like a PDF. For training with Amazon Comprehend, only PDFs
* are supported. For inference, Amazon Comprehend support PDFs, DOCX and TXT.
The type of augmented manifest. PlainTextDocument or SemiStructuredDocument. * If you don't specify, the default is PlainTextDocument.
* PLAIN_TEXT_DOCUMENT
A document type that represents any unicode
* text that is encoded in UTF-8.
* SEMI_STRUCTURED_DOCUMENT
A document type with positional and
* structural context, like a PDF. For training with Amazon Comprehend, only PDFs
* are supported. For inference, Amazon Comprehend support PDFs, DOCX and TXT.
The type of augmented manifest. PlainTextDocument or SemiStructuredDocument. * If you don't specify, the default is PlainTextDocument.
* PLAIN_TEXT_DOCUMENT
A document type that represents any unicode
* text that is encoded in UTF-8.
* SEMI_STRUCTURED_DOCUMENT
A document type with positional and
* structural context, like a PDF. For training with Amazon Comprehend, only PDFs
* are supported. For inference, Amazon Comprehend support PDFs, DOCX and TXT.
The type of augmented manifest. PlainTextDocument or SemiStructuredDocument. * If you don't specify, the default is PlainTextDocument.
* PLAIN_TEXT_DOCUMENT
A document type that represents any unicode
* text that is encoded in UTF-8.
* SEMI_STRUCTURED_DOCUMENT
A document type with positional and
* structural context, like a PDF. For training with Amazon Comprehend, only PDFs
* are supported. For inference, Amazon Comprehend support PDFs, DOCX and TXT.