private Map<StructureShape, Map<String, Set<String>>> getQueryBindings(Model model) {
        Map<StructureShape, Map<String, Set<String>>> queryBindings = new HashMap<>();

        // Find all members in the model that have the HttpQuery trait.
        for (MemberShape member : model.getMemberShapesWithTrait(HttpQueryTrait.class)) {
            // Get the structure of the member. Validation events are going to be
            // applied to the structure and not to members.
            model.getShape(member.getContainer()).flatMap(Shape::asStructureShape).ifPresent(structure -> {
                HttpQueryTrait trait = member.expectTrait(HttpQueryTrait.class);
                queryBindings
                        .computeIfAbsent(structure, s -> new HashMap<>())
                        .computeIfAbsent(trait.getValue(), v -> new HashSet<>())
                        .add(member.getMemberName());
            });
        }

        return queryBindings;
    }
Validates that httpQuery trait bindings are case-sensitively unique.
smithy-model/src/main/java/software/amazon/smithy/model/validation/validators/HttpQueryTraitValidator.java