pub fn ser_create_application_input_input(
encoder: &mut ::aws_smithy_cbor::Encoder,
#[allow(unused)] input: &crate::operation::create_application::CreateApplicationInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
encoder.begin_map();
if let Some(var_1) = &input.name {
encoder.str("Name").str(var_1.as_str());
}
if let Some(var_2) = &input.display_name {
encoder.str("DisplayName").str(var_2.as_str());
}
if let Some(var_3) = &input.description {
encoder.str("Description").str(var_3.as_str());
}
if let Some(var_4) = &input.icon_s3_location {
encoder.str("IconS3Location");
crate::protocol_serde::shape_s3_location::ser_s3_location(encoder, var_4)?;
}
if let Some(var_5) = &input.launch_path {
encoder.str("LaunchPath").str(var_5.as_str());
}
if let Some(var_6) = &input.working_directory {
encoder.str("WorkingDirectory").str(var_6.as_str());
}
if let Some(var_7) = &input.launch_parameters {
encoder.str("LaunchParameters").str(var_7.as_str());
}
if let Some(var_8) = &input.platforms {
encoder.str("Platforms");
encoder.array((*var_8).len());
for item_9 in var_8 {
{
encoder.str(item_9.as_str());
}
}
}
if let Some(var_10) = &input.instance_families {
encoder.str("InstanceFamilies");
encoder.array((*var_10).len());
for item_11 in var_10 {
{
encoder.str(item_11.as_str());
}
}
}
if let Some(var_12) = &input.app_block_arn {
encoder.str("AppBlockArn").str(var_12.as_str());
}
if let Some(var_13) = &input.tags {
encoder.str("Tags");
encoder.map((*var_13).len());
for (key_14, value_15) in var_13 {
{
encoder.str(key_14.as_str()).str(value_15.as_str());
}
}
}
encoder.end();
Ok(())
}