pub fn ser_update_curation_policy_input_input(
encoder: &mut ::aws_smithy_cbor::Encoder,
#[allow(unused)] input: &crate::operation::update_curation_policy::UpdateCurationPolicyInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
encoder.begin_map();
if let Some(var_1) = &input.client_token {
encoder.str("clientToken").str(var_1.as_str());
}
if let Some(var_2) = &input.curation_policy_id {
encoder.str("curationPolicyId").str(var_2.as_str());
}
if let Some(var_3) = &input.revision_id {
encoder.str("revisionId").str(var_3.as_str());
}
if let Some(var_4) = &input.name {
encoder.str("name").str(var_4.as_str());
}
if let Some(var_5) = &input.description {
encoder.str("description").str(var_5.as_str());
}
if let Some(var_6) = &input.policy_document {
encoder.str("policyDocument").str(var_6.as_str());
}
if let Some(var_7) = &input.auto_reject_after_seconds {
encoder.str("autoRejectAfterSeconds").long(*var_7);
}
encoder.end();
Ok(())
}