pub fn ser_update_monitoring_schedule_input_input(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::operation::update_monitoring_schedule::UpdateMonitoringScheduleInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
if let Some(var_1) = &input.monitoring_schedule_name {
object.key("MonitoringScheduleName").string(var_1.as_str());
}
if let Some(var_2) = &input.monitoring_schedule_config {
#[allow(unused_mut)]
let mut object_3 = object.key("MonitoringScheduleConfig").start_object();
crate::protocol_serde::shape_monitoring_schedule_config::ser_monitoring_schedule_config(&mut object_3, var_2)?;
object_3.finish();
}
Ok(())
}