pub fn ser_list_archive_searches_input_input(
encoder: &mut ::aws_smithy_cbor::Encoder,
#[allow(unused)] input: &crate::operation::list_archive_searches::ListArchiveSearchesInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
encoder.begin_map();
if let Some(var_1) = &input.archive_id {
encoder.str("ArchiveId").str(var_1.as_str());
}
if let Some(var_2) = &input.next_token {
encoder.str("NextToken").str(var_2.as_str());
}
if let Some(var_3) = &input.page_size {
encoder.str("PageSize").integer(*var_3);
}
encoder.end();
Ok(())
}