pub fn ser_execute_stack_refactor_input_input_input(
input: &crate::operation::execute_stack_refactor::ExecuteStackRefactorInput,
) -> ::std::result::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, "ExecuteStackRefactor", "2010-05-15");
#[allow(unused_mut)]
let mut scope_1 = writer.prefix("StackRefactorId");
if let Some(var_2) = &input.stack_refactor_id {
scope_1.string(var_2);
}
writer.finish();
Ok(::aws_smithy_types::body::SdkBody::from(out))
}