You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: _dataset_augmented_manifests_list_item.rs
    path of file: ./repos/aws-sdk-rust/sdk/comprehend/src/types
    
    the code of the file until where you have to start completion: // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.

/// <p>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.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct DatasetAugmentedManifestsListItem {
    /// <p>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.</p>
    /// <p>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.</p>
    /// <p>If your file is the output of a chaine
    
    pub fn build(self) -> ::std::result::Result<crate::types::DatasetAugmentedManifestsListItem, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::DatasetAugmentedManifestsListItem {
            attribute_names: self.attribute_names.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "attribute_names",
                    "attribute_names was not specified but it is required when building DatasetAugmentedManifestsListItem",
                )
            })?,
            s3_uri: self.s3_uri.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "s3_uri",
                    "s3_uri was not specified but it is required when building DatasetAugmentedManifestsListItem",
                )
            })?,
            annotation_data_s3_uri: self.annotation_data_s3_uri,
            source_documents_s3_uri: self.source_documents_s3_uri,
            document_type: self.document_type,
        })
    }