aws-sdk-gamelift 1.118.0

AWS SDK for Amazon GameLift
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_register_compute_input_input(
    encoder: &mut ::aws_smithy_cbor::Encoder,
    #[allow(unused)] input: &crate::operation::register_compute::RegisterComputeInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    encoder.begin_map();
    if let Some(var_1) = &input.fleet_id {
        encoder.str("FleetId").str(var_1.as_str());
    }
    if let Some(var_2) = &input.compute_name {
        encoder.str("ComputeName").str(var_2.as_str());
    }
    if let Some(var_3) = &input.certificate_path {
        encoder.str("CertificatePath").str(var_3.as_str());
    }
    if let Some(var_4) = &input.dns_name {
        encoder.str("DnsName").str(var_4.as_str());
    }
    if let Some(var_5) = &input.ip_address {
        encoder.str("IpAddress").str(var_5.as_str());
    }
    if let Some(var_6) = &input.location {
        encoder.str("Location").str(var_6.as_str());
    }
    encoder.end();
    Ok(())
}