pub fn ser_start_cost_estimation_input_input(
object: &mut ::aws_smithy_json::serialize::JsonObjectWriter,
input: &crate::operation::start_cost_estimation::StartCostEstimationInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
if let Some(var_1) = &input.client_token {
object.key("ClientToken").string(var_1.as_str());
}
if let Some(var_2) = &input.resource_collection {
#[allow(unused_mut)]
let mut object_3 = object.key("ResourceCollection").start_object();
crate::protocol_serde::shape_cost_estimation_resource_collection_filter::ser_cost_estimation_resource_collection_filter(
&mut object_3,
var_2,
)?;
object_3.finish();
}
Ok(())
}