pub fn ser_set_identity_notification_topic_input_input_input(
input: &crate::operation::set_identity_notification_topic::SetIdentityNotificationTopicInput,
) -> Result<::aws_smithy_types::body::SdkBody, ::aws_smithy_types::error::operation::SerializationError> {
let mut out = String::new();
#[allow(unused_mut)]
let mut writer = ::aws_smithy_query::QueryWriter::new(&mut out, "SetIdentityNotificationTopic", "2010-12-01");
#[allow(unused_mut)]
let mut scope_1 = writer.prefix("Identity");
if let Some(var_2) = &input.identity {
scope_1.string(var_2);
}
#[allow(unused_mut)]
let mut scope_3 = writer.prefix("NotificationType");
if let Some(var_4) = &input.notification_type {
scope_3.string(var_4.as_str());
}
#[allow(unused_mut)]
let mut scope_5 = writer.prefix("SnsTopic");
if let Some(var_6) = &input.sns_topic {
scope_5.string(var_6);
}
writer.finish();
Ok(::aws_smithy_types::body::SdkBody::from(out))
}