@Override
    protected Model transformWithConfig(TransformContext context, Config config) {
        Set<String> includeTags = config.getTags();
        ModelTransformer transformer = context.getTransformer();
        Model model = context.getModel();
        return transformer.filterShapes(model, shape -> {
            return Prelude.isPreludeShape(shape) || shape.getTags().stream().anyMatch(includeTags::contains);
        });
    }
Sets the set of tags that cause shapes to be included.

@param tags Tags that cause shapes to be included.
smithy-build/src/main/java/software/amazon/smithy/build/transforms/IncludeShapesByTag.java