@Override
    public ShapeType getType() {
        return ShapeType.ENUM;
    }
Converts an enum member into an equivalent enum definition object.

@param member The enum member to convert.
@return An {@link EnumDefinition} representing the given member.
smithy-model/src/main/java/software/amazon/smithy/model/shapes/EnumShape.java