pub fn ser_list_fleets_input_input(
encoder: &mut ::aws_smithy_cbor::Encoder,
#[allow(unused)] input: &crate::operation::list_fleets::ListFleetsInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
encoder.begin_map();
if let Some(var_1) = &input.build_id {
encoder.str("BuildId").str(var_1.as_str());
}
if let Some(var_2) = &input.script_id {
encoder.str("ScriptId").str(var_2.as_str());
}
if let Some(var_3) = &input.limit {
encoder.str("Limit").integer(*var_3);
}
if let Some(var_4) = &input.next_token {
encoder.str("NextToken").str(var_4.as_str());
}
encoder.end();
Ok(())
}