pub fn ser_reset_fpga_image_attribute_input_input(
input: &crate::operation::reset_fpga_image_attribute::ResetFpgaImageAttributeInput,
) -> Result<aws_smithy_http::body::SdkBody, aws_smithy_http::operation::error::SerializationError> {
let mut out = String::new();
#[allow(unused_mut)]
let mut writer =
aws_smithy_query::QueryWriter::new(&mut out, "ResetFpgaImageAttribute", "2016-11-15");
#[allow(unused_mut)]
let mut scope_1 = writer.prefix("DryRun");
if let Some(var_2) = &input.dry_run {
scope_1.boolean(*var_2);
}
#[allow(unused_mut)]
let mut scope_3 = writer.prefix("FpgaImageId");
if let Some(var_4) = &input.fpga_image_id {
scope_3.string(var_4);
}
#[allow(unused_mut)]
let mut scope_5 = writer.prefix("Attribute");
if let Some(var_6) = &input.attribute {
scope_5.string(var_6.as_str());
}
writer.finish();
Ok(aws_smithy_http::body::SdkBody::from(out))
}