// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_update_queue_max_contacts_input_input(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::operation::update_queue_max_contacts::UpdateQueueMaxContactsInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
if let Some(var_1) = &input.max_contacts {
object.key("MaxContacts").number(
#[allow(clippy::useless_conversion)]
::aws_smithy_types::Number::NegInt((*var_1).into()),
);
}
Ok(())
}