pub fn ser_modify_endpoint_encryption_mode_input_input(
encoder: &mut ::aws_smithy_cbor::Encoder,
#[allow(unused)] input: &crate::operation::modify_endpoint_encryption_mode::ModifyEndpointEncryptionModeInput,
) -> ::std::result::Result<(), ::aws_smithy_types::error::operation::SerializationError> {
encoder.begin_map();
if let Some(var_1) = &input.directory_id {
encoder.str("DirectoryId").str(var_1.as_str());
}
if let Some(var_2) = &input.endpoint_encryption_mode {
encoder.str("EndpointEncryptionMode").str(var_2.as_str());
}
encoder.end();
Ok(())
}