pub fn ser_restore_branch_input_input(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::operation::restore_branch::RestoreBranchInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
if let Some(var_1) = &input.branch_arn {
object.key("BranchArn").string(var_1.as_str());
}
if let Some(var_2) = &input.restore_to_time {
object
.key("RestoreToTime")
.date_time(var_2, ::aws_smithy_types::date_time::Format::EpochSeconds)?;
}
Ok(())
}