pub fn ser_modify_saml_properties_input_input(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::operation::modify_saml_properties::ModifySamlPropertiesInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
if let Some(var_1) = &input.resource_id {
object.key("ResourceId").string(var_1.as_str());
}
if let Some(var_2) = &input.saml_properties {
#[allow(unused_mut)]
let mut object_3 = object.key("SamlProperties").start_object();
crate::protocol_serde::shape_saml_properties::ser_saml_properties(&mut object_3, var_2)?;
object_3.finish();
}
if let Some(var_4) = &input.properties_to_delete {
let mut array_5 = object.key("PropertiesToDelete").start_array();
for item_6 in var_4 {
{
array_5.value().string(item_6.as_str());
}
}
array_5.finish();
}
Ok(())
}