pub fn ser_copy_image_input_input(
encoder: &mut ::aws_smithy_cbor::Encoder,
#[allow(unused)] input: &crate::operation::copy_image::CopyImageInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
encoder.begin_map();
if let Some(var_1) = &input.source_image_name {
encoder.str("SourceImageName").str(var_1.as_str());
}
if let Some(var_2) = &input.destination_image_name {
encoder.str("DestinationImageName").str(var_2.as_str());
}
if let Some(var_3) = &input.destination_region {
encoder.str("DestinationRegion").str(var_3.as_str());
}
if let Some(var_4) = &input.destination_image_description {
encoder.str("DestinationImageDescription").str(var_4.as_str());
}
encoder.end();
Ok(())
}