aws-sdk-context 1.0.0

AWS SDK for AWS Context
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_accept_curation_proposal_input_input(
    encoder: &mut ::aws_smithy_cbor::Encoder,
    #[allow(unused)] input: &crate::operation::accept_curation_proposal::AcceptCurationProposalInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    encoder.begin_map();
    if let Some(var_1) = &input.curation_proposal_id {
        encoder.str("curationProposalId").str(var_1.as_str());
    }
    if let Some(var_2) = &input.agent_context_id {
        encoder.str("agentContextId").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.client_token {
        encoder.str("clientToken").str(var_4.as_str());
    }
    encoder.end();
    Ok(())
}