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: _codegen_job_generic_data_schema.rs
    path of file: ./repos/aws-sdk-rust/sdk/amplifyuibuilder/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>Describes the data schema for a code generation job.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct CodegenJobGenericDataSchema {
    /// <p>The type of the data source for the schema. Currently, the only valid value is an Amplify <code>DataStore</code>.</p>
   
    
    pub fn build(self) -> ::std::result::Result<crate::types::CodegenJobGenericDataSchema, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::CodegenJobGenericDataSchema {
            data_source_type: self.data_source_type.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "data_source_type",
                    "data_source_type was not specified but it is required when building CodegenJobGenericDataSchema",
                )
            })?,
            models: self.models.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "models",
                    "models was not specified but it is required when building CodegenJobGenericDataSchema",
                )
            })?,
            enums: self.enums.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "enums",
                    "enums was not specified but it is required when building CodegenJobGenericDataSchema",
                )
            })?,
            non_models: self.non_models.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "non_models",
                    "non_models was not specified but it is required when building CodegenJobGenericDataSchema",
                )
            })?,
        })
    }