aws-sdk-ssoadmin 1.102.0

AWS SDK for AWS Single Sign-On Admin
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_put_application_authentication_method_input_input(
    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
    input: &crate::operation::put_application_authentication_method::PutApplicationAuthenticationMethodInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    if let Some(var_1) = &input.application_arn {
        object.key("ApplicationArn").string(var_1.as_str());
    }
    if let Some(var_2) = &input.authentication_method_type {
        object.key("AuthenticationMethodType").string(var_2.as_str());
    }
    if let Some(var_3) = &input.authentication_method {
        #[allow(unused_mut)]
        let mut object_4 = object.key("AuthenticationMethod").start_object();
        crate::protocol_serde::shape_authentication_method::ser_authentication_method(&mut object_4, var_3)?;
        object_4.finish();
    }
    Ok(())
}