1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_sql_injection_match_set_update(
    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
    input: &crate::types::SqlInjectionMatchSetUpdate,
) -> Result<(), ::aws_smithy_http::operation::error::SerializationError> {
    if let Some(var_1) = &input.action {
        object.key("Action").string(var_1.as_str());
    }
    if let Some(var_2) = &input.sql_injection_match_tuple {
        #[allow(unused_mut)]
        let mut object_3 = object.key("SqlInjectionMatchTuple").start_object();
        crate::protocol_serde::shape_sql_injection_match_tuple::ser_sql_injection_match_tuple(&mut object_3, var_2)?;
        object_3.finish();
    }
    Ok(())
}