// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_s3_content_base_location(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::types::S3ContentBaseLocation,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
{
object.key("BucketARN").string(input.bucket_arn.as_str());
}
if let Some(var_1) = &input.base_path {
object.key("BasePath").string(var_1.as_str());
}
Ok(())
}