aws-sdk-migrationhubstrategy 1.37.0

AWS SDK for Migration Hub Strategy Recommendations
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_source_code(
    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
    input: &crate::types::SourceCode,
) -> Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    if let Some(var_1) = &input.version_control {
        object.key("versionControl").string(var_1.as_str());
    }
    if let Some(var_2) = &input.source_version {
        object.key("sourceVersion").string(var_2.as_str());
    }
    if let Some(var_3) = &input.location {
        object.key("location").string(var_3.as_str());
    }
    if let Some(var_4) = &input.project_name {
        object.key("projectName").string(var_4.as_str());
    }
    Ok(())
}