pub fn ser_create_theme_for_stack_input_input(
encoder: &mut ::aws_smithy_cbor::Encoder,
#[allow(unused)] input: &crate::operation::create_theme_for_stack::CreateThemeForStackInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
encoder.begin_map();
if let Some(var_1) = &input.stack_name {
encoder.str("StackName").str(var_1.as_str());
}
if let Some(var_2) = &input.footer_links {
encoder.str("FooterLinks");
encoder.array((*var_2).len());
for item_3 in var_2 {
{
crate::protocol_serde::shape_theme_footer_link::ser_theme_footer_link(encoder, item_3)?;
}
}
}
if let Some(var_4) = &input.title_text {
encoder.str("TitleText").str(var_4.as_str());
}
if let Some(var_5) = &input.theme_styling {
encoder.str("ThemeStyling").str(var_5.as_str());
}
if let Some(var_6) = &input.organization_logo_s3_location {
encoder.str("OrganizationLogoS3Location");
crate::protocol_serde::shape_s3_location::ser_s3_location(encoder, var_6)?;
}
if let Some(var_7) = &input.favicon_s3_location {
encoder.str("FaviconS3Location");
crate::protocol_serde::shape_s3_location::ser_s3_location(encoder, var_7)?;
}
encoder.end();
Ok(())
}