// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_monitor_config(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::types::MonitorConfig,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
{
object.key("MonitorName").string(input.monitor_name.as_str());
}
Ok(())
}