public Model changeStringEnumsToEnumShapes(Model model, boolean synthesizeEnumNames) {
        return ChangeShapeType.upgradeEnums(model, synthesizeEnumNames).transform(this, model);
    }
Changes each compatible string shape with the enum trait to an enum shape.

<p>A member will be created on the shape for each entry in the {@link EnumTrait}.

<p>When the enum definition from the enum trait has been marked as deprecated, or
tagged as "internal", the corresponding enum shape member will be marked with the
DeprecatedTrait or InternalTrait accordingly.

@param model Model to transform.
@param synthesizeEnumNames Whether enums without names should have names synthesized if possible.
@return Returns the transformed model.
smithy-model/src/main/java/software/amazon/smithy/model/transform/ModelTransformer.java