public Map<String, Integer> getEnumValues() {
        if (enumValues == null) {
            Map<String, Integer> values = new LinkedHashMap<>(members.size());
            for (MemberShape member : members()) {
                values.put(member.getMemberName(), member.expectTrait(EnumValueTrait.class).expectIntValue());
            }
            enumValues = Collections.unmodifiableMap(values);
        }
        return enumValues;
    }
Gets a map of enum member names to their corresponding values.

@return A map of member names to enum values.
smithy-model/src/main/java/software/amazon/smithy/model/shapes/IntEnumShape.java