pub fn ser_search_group_profiles_input_input(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::operation::search_group_profiles::SearchGroupProfilesInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
if let Some(var_1) = &input.group_type {
object.key("groupType").string(var_1.as_str());
}
if let Some(var_2) = &input.max_results {
object.key("maxResults").number(
#[allow(clippy::useless_conversion)]
::aws_smithy_types::Number::NegInt((*var_2).into()),
);
}
if let Some(var_3) = &input.next_token {
object.key("nextToken").string(var_3.as_str());
}
if let Some(var_4) = &input.search_text {
object.key("searchText").string(var_4.as_str());
}
Ok(())
}