pub fn ser_get_ontology_input_input(
encoder: &mut ::aws_smithy_cbor::Encoder,
#[allow(unused)] input: &crate::operation::get_ontology::GetOntologyInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
encoder.begin_map();
if let Some(var_1) = &input.ontology_id {
encoder.str("ontologyId").str(var_1.as_str());
}
if let Some(var_2) = &input.version {
encoder.str("version").str(var_2.as_str());
}
if let Some(var_3) = &input.source_format {
encoder.str("sourceFormat").str(var_3.as_str());
}
encoder.end();
Ok(())
}