aws-sdk-opensearchmemory 1.0.0

AWS SDK for Amazon OpenSearch Memory
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_get_memory_input_input(
    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
    input: &crate::operation::get_memory::GetMemoryInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    if let Some(var_1) = &input.space_id {
        object.key("spaceId").string(var_1.as_str());
    }
    if let Some(var_2) = &input.memory_id {
        object.key("memoryId").string(var_2.as_str());
    }
    if let Some(var_3) = &input.actor_id {
        object.key("actorId").string(var_3.as_str());
    }
    if let Some(var_4) = &input.strategy_name {
        object.key("strategyName").string(var_4.as_str());
    }
    Ok(())
}