pub fn ser_create_fleet_locations_input_input(
encoder: &mut ::aws_smithy_cbor::Encoder,
#[allow(unused)] input: &crate::operation::create_fleet_locations::CreateFleetLocationsInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
encoder.begin_map();
if let Some(var_1) = &input.fleet_id {
encoder.str("FleetId").str(var_1.as_str());
}
if let Some(var_2) = &input.locations {
encoder.str("Locations");
encoder.array((*var_2).len());
for item_3 in var_2 {
{
crate::protocol_serde::shape_location_configuration::ser_location_configuration(encoder, item_3)?;
}
}
}
encoder.end();
Ok(())
}