pub fn ser_list_properties_input_input(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::operation::list_properties::ListPropertiesInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
if let Some(var_1) = &input.component_name {
object.key("componentName").string(var_1.as_str());
}
if let Some(var_2) = &input.component_path {
object.key("componentPath").string(var_2.as_str());
}
if let Some(var_3) = &input.entity_id {
object.key("entityId").string(var_3.as_str());
}
if let Some(var_4) = &input.max_results {
object.key("maxResults").number(
#[allow(clippy::useless_conversion)]
::aws_smithy_types::Number::NegInt((*var_4).into()),
);
}
if let Some(var_5) = &input.next_token {
object.key("nextToken").string(var_5.as_str());
}
Ok(())
}