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_list_aliases_input_input(
    encoder: &mut ::aws_smithy_cbor::Encoder,
    #[allow(unused)] input: &crate::operation::list_aliases::ListAliasesInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    encoder.begin_map();
    if let Some(var_1) = &input.routing_strategy_type {
        encoder.str("RoutingStrategyType").str(var_1.as_str());
    }
    if let Some(var_2) = &input.name {
        encoder.str("Name").str(var_2.as_str());
    }
    if let Some(var_3) = &input.limit {
        encoder.str("Limit").integer(*var_3);
    }
    if let Some(var_4) = &input.next_token {
        encoder.str("NextToken").str(var_4.as_str());
    }
    encoder.end();
    Ok(())
}