pub fn ser_create_image_builder_streaming_url_input_input(
encoder: &mut ::aws_smithy_cbor::Encoder,
#[allow(unused)] input: &crate::operation::create_image_builder_streaming_url::CreateImageBuilderStreamingUrlInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
encoder.begin_map();
if let Some(var_1) = &input.name {
encoder.str("Name").str(var_1.as_str());
}
if let Some(var_2) = &input.validity {
encoder.str("Validity").long(*var_2);
}
encoder.end();
Ok(())
}