aws-sdk-quicksight 1.134.0

AWS SDK for Amazon QuickSight
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
pub fn ser_start_dashboard_snapshot_job_input_input(
    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
    input: &crate::operation::start_dashboard_snapshot_job::StartDashboardSnapshotJobInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
    if let Some(var_1) = &input.snapshot_configuration {
        #[allow(unused_mut)]
        let mut object_2 = object.key("SnapshotConfiguration").start_object();
        crate::protocol_serde::shape_snapshot_configuration::ser_snapshot_configuration(&mut object_2, var_1)?;
        object_2.finish();
    }
    if let Some(var_3) = &input.snapshot_job_id {
        object.key("SnapshotJobId").string(var_3.as_str());
    }
    if let Some(var_4) = &input.user_configuration {
        #[allow(unused_mut)]
        let mut object_5 = object.key("UserConfiguration").start_object();
        crate::protocol_serde::shape_snapshot_user_configuration::ser_snapshot_user_configuration(&mut object_5, var_4)?;
        object_5.finish();
    }
    Ok(())
}