// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_replica_configuration_request(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::types::ReplicaConfigurationRequest,
) -> Result<(), ::aws_smithy_types::error::operation::SerializationError> {
if input.replica_count != 0 {
object.key("ReplicaCount").number(
#[allow(clippy::useless_conversion)]
::aws_smithy_types::Number::NegInt((input.replica_count).into()),
);
}
Ok(())
}