pub fn ser_update_control_input_input(
encoder: &mut ::aws_smithy_cbor::Encoder,
#[allow(unused)] input: &crate::operation::update_control::UpdateControlInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
encoder.begin_map();
if let Some(var_1) = &input.environment_arn {
encoder.str("environmentArn").str(var_1.as_str());
}
if let Some(var_2) = &input.framework {
encoder.str("framework").str(var_2.as_str());
}
if let Some(var_3) = &input.framework_version {
encoder.str("frameworkVersion").str(var_3.as_str());
}
if let Some(var_4) = &input.control_id {
encoder.str("controlId").str(var_4.as_str());
}
if let Some(var_5) = &input.parent_control_id {
encoder.str("parentControlId").str(var_5.as_str());
}
if let Some(var_6) = &input.title {
encoder.str("title").str(var_6.as_str());
}
if let Some(var_7) = &input.description {
encoder.str("description").str(var_7.as_str());
}
if let Some(var_8) = &input.requirements {
encoder.str("requirements");
encoder.array((*var_8).len());
for item_9 in var_8 {
{
crate::protocol_serde::shape_requirement::ser_requirement(encoder, item_9)?;
}
}
}
if let Some(var_10) = &input.display_order {
encoder.str("displayOrder").integer(*var_10);
}
if let Some(var_11) = &input.control_intents {
encoder.str("controlIntents");
encoder.array((*var_11).len());
for item_12 in var_11 {
{
encoder.str(item_12.as_str());
}
}
}
if let Some(var_13) = &input.workflow_type {
encoder.str("workflowType").str(var_13.as_str());
}
encoder.end();
Ok(())
}