aws_sdk_imagebuilder/protocol_serde/
shape_resource_state_update_include_resources.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub fn ser_resource_state_update_include_resources(
3    object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
4    input: &crate::types::ResourceStateUpdateIncludeResources,
5) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
6    if input.amis {
7        object.key("amis").boolean(input.amis);
8    }
9    if input.snapshots {
10        object.key("snapshots").boolean(input.snapshots);
11    }
12    if input.containers {
13        object.key("containers").boolean(input.containers);
14    }
15    Ok(())
16}