// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_metadata_table_configuration(
    input: &crate::types::MetadataTableConfiguration,
    writer: ::aws_smithy_xml::encode::ElWriter,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    #[allow(unused_mut)]
    let mut scope = writer.finish();
    if let Some(var_1) = &input.s3_tables_destination {
        let inner_writer = scope.start_el("S3TablesDestination");
        crate::protocol_serde::shape_s3_tables_destination::ser_s3_tables_destination(var_1, inner_writer)?
    }
    scope.finish();
    Ok(())
}
