pub fn ser_regex_match_set_update(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::types::RegexMatchSetUpdate,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
{
object.key("Action").string(input.action.as_str());
}
if let Some(var_1) = &input.regex_match_tuple {
#[allow(unused_mut)]
let mut object_2 = object.key("RegexMatchTuple").start_object();
crate::protocol_serde::shape_regex_match_tuple::ser_regex_match_tuple(&mut object_2, var_1)?;
object_2.finish();
}
Ok(())
}