@Override
    public int hashCode() {
        return getType().hashCode() * 7 + value.hashCode();
    }
Gets the value of the string as a ShapeId if it is a valid Shape ID.

@return Returns the optional Shape ID.
smithy-model/src/main/java/software/amazon/smithy/model/node/StringNode.java