aws-sdk-gamelift 1.119.0

AWS SDK for Amazon GameLift
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_list_game_servers_input_input(
    encoder: &mut ::aws_smithy_cbor::Encoder,
    #[allow(unused)] input: &crate::operation::list_game_servers::ListGameServersInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    encoder.begin_map();
    if let Some(var_1) = &input.game_server_group_name {
        encoder.str("GameServerGroupName").str(var_1.as_str());
    }
    if let Some(var_2) = &input.sort_order {
        encoder.str("SortOrder").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(())
}