@Override
    protected Model transformWithConfig(TransformContext context, Config config) {
        Model model = context.getModel();
        ModelTransformer transformer = context.getTransformer();
        model = transformer.filterDeprecatedRelativeDate(model, config.getRelativeDate());
        model = transformer.filterDeprecatedRelativeVersion(model, config.getRelativeVersion());
        return model;
    }
Sets the version used to filter deprecated shapes.

@param relativeVersion The version used to filter deprecated shapes.
smithy-build/src/main/java/software/amazon/smithy/build/transforms/RemoveDeprecatedShapes.java