aws-sdk-workspaces 1.151.0

AWS SDK for Amazon WorkSpaces
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_associate_ip_groups_input_input(
    encoder: &mut ::aws_smithy_cbor::Encoder,
    #[allow(unused)] input: &crate::operation::associate_ip_groups::AssociateIpGroupsInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    encoder.begin_map();
    if let Some(var_1) = &input.directory_id {
        encoder.str("DirectoryId").str(var_1.as_str());
    }
    if let Some(var_2) = &input.group_ids {
        encoder.str("GroupIds");
        encoder.array((*var_2).len());
        for item_3 in var_2 {
            {
                encoder.str(item_3.as_str());
            }
        }
    }
    encoder.end();
    Ok(())
}