pub fn ser_create_svm_active_directory_configuration(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::types::CreateSvmActiveDirectoryConfiguration,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
if let Some(var_1) = &input.net_bios_name {
object.key("NetBiosName").string(var_1.as_str());
}
if let Some(var_2) = &input.self_managed_active_directory_configuration {
#[allow(unused_mut)]
let mut object_3 = object.key("SelfManagedActiveDirectoryConfiguration").start_object();
crate::protocol_serde::shape_self_managed_active_directory_configuration::ser_self_managed_active_directory_configuration(
&mut object_3,
var_2,
)?;
object_3.finish();
}
Ok(())
}