aws-sdk-pinpointsmsvoicev2 1.124.0

AWS SDK for Amazon Pinpoint SMS Voice V2
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_put_keyword_input_input(
    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
    input: &crate::operation::put_keyword::PutKeywordInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    if let Some(var_1) = &input.origination_identity {
        object.key("OriginationIdentity").string(var_1.as_str());
    }
    if let Some(var_2) = &input.keyword {
        object.key("Keyword").string(var_2.as_str());
    }
    if let Some(var_3) = &input.keyword_message {
        object.key("KeywordMessage").string(var_3.as_str());
    }
    if let Some(var_4) = &input.keyword_action {
        object.key("KeywordAction").string(var_4.as_str());
    }
    Ok(())
}