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: _microsoft_sql_server_catalog_source.rs
    path of file: ./repos/aws-sdk-rust/sdk/glue/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>Specifies a Microsoft SQL server data source in the Glue Data Catalog.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct MicrosoftSqlServerCatalogSource {
    /// <p>The name of the data source.</p>
    pub name: ::std::string::String,
    /// <p>The name of the database to read from.</p>
    pub database: ::std::string::String,
    /// <p>The name of the table in the database to read from.</p>
    pub table: ::std::string::String,
}
impl MicrosoftSqlServerCatalogSource {
    /// <p>The name of the data source.</p>
    pub fn name(&self) -> &str {
        use std::ops::Deref;
        self.name.deref()
    }
    /// <p>The name of the database to read from.</p>
    pub fn database(&self) -> &str {
        use std::ops::Deref;
        self.database.deref()
    }
    /// <p>The name of the table in the database to read from.</p>
    pub fn table(&self) -> &str {
        use std::ops::Deref;
        self.table.deref()
    }
}
impl MicrosoftSqlServerCatalog
    
    pub fn build(self) -> ::std::result::Result<crate::types::MicrosoftSqlServerCatalogSource, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::MicrosoftSqlServerCatalogSource {
            name: self.name.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "name",
                    "name was not specified but it is required when building MicrosoftSqlServerCatalogSource",
                )
            })?,
            database: self.database.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "database",
                    "database was not specified but it is required when building MicrosoftSqlServerCatalogSource",
                )
            })?,
            table: self.table.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "table",
                    "table was not specified but it is required when building MicrosoftSqlServerCatalogSource",
                )
            })?,
        })
    }