@Override
        public Void structureShape(StructureShape shape) {
            if (member.hasTrait(EnumValueTrait.ID)) {
                var trait = member.expectTrait(EnumValueTrait.class);
                if (trait.getIntValue().isPresent()) {
                    writer.writeInline("$`", trait.expectIntValue());
                } else {
                    writer.writeInline("$`", trait.expectStringValue());
                }
            } else {
                writeShapeName(shape);
            }
            return null;
        }
@return returns the suffix that will be applied to the parent shape's link
        id to form this member listing's link id.
smithy-docgen/src/main/java/software/amazon/smithy/docgen/generators/MemberGenerator.java