pub fn ser_get_recommendation_preferences_input_input(
encoder: &mut ::aws_smithy_cbor::Encoder,
#[allow(unused)] input: &crate::operation::get_recommendation_preferences::GetRecommendationPreferencesInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
encoder.begin_map();
if let Some(var_1) = &input.resource_type {
encoder.str("resourceType").str(var_1.as_str());
}
if let Some(var_2) = &input.scope {
encoder.str("scope");
crate::protocol_serde::shape_scope::ser_scope(encoder, var_2)?;
}
if let Some(var_3) = &input.next_token {
encoder.str("nextToken").str(var_3.as_str());
}
if let Some(var_4) = &input.max_results {
encoder.str("maxResults").integer(*var_4);
}
encoder.end();
Ok(())
}