@Override
    protected Model transformWithConfig(TransformContext context, Config config) {
        return context.getTransformer()
                .changeStringEnumsToEnumShapes(
                        context.getModel(),
                        config.getSynthesizeNames());
    }
@param synthesizeNames Whether enums without names should have names synthesized if possible.
smithy-build/src/main/java/software/amazon/smithy/build/transforms/ChangeStringEnumsToEnumShapes.java