aws-sdk-connect 1.159.0

AWS SDK for Amazon Connect Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_contact_configuration(
    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
    input: &crate::types::ContactConfiguration,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    {
        object.key("ContactId").string(input.contact_id.as_str());
    }
    if let Some(var_1) = &input.participant_role {
        object.key("ParticipantRole").string(var_1.as_str());
    }
    if input.include_raw_message {
        object.key("IncludeRawMessage").boolean(input.include_raw_message);
    }
    Ok(())
}