@Override
    public final int hashCode() {
        return Objects.hash(getMemberName(), getValue());
    }
Visits the Matcher union type.

@param visitor Visitor to apply.
@param <U> The type returned by the visitor.
@return Returns the return value of the visitor.
smithy-waiters/src/main/java/software/amazon/smithy/waiters/Matcher.java