aws-sdk-transfer 1.113.0

AWS SDK for AWS Transfer Family
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_update_web_app_customization_input_input(
    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
    input: &crate::operation::update_web_app_customization::UpdateWebAppCustomizationInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    if let Some(var_1) = &input.web_app_id {
        object.key("WebAppId").string(var_1.as_str());
    }
    if let Some(var_2) = &input.title {
        object.key("Title").string(var_2.as_str());
    }
    if let Some(var_3) = &input.logo_file {
        object.key("LogoFile").string_unchecked(&::aws_smithy_types::base64::encode(var_3));
    }
    if let Some(var_4) = &input.favicon_file {
        object.key("FaviconFile").string_unchecked(&::aws_smithy_types::base64::encode(var_4));
    }
    Ok(())
}