public Set<EnumShape> getEnumShapes() {
        return toSet(EnumShape.class);
    }
Gets an immutable set of all enums in the Model.

@return Returns the Set of {@code enum}s.
smithy-model/src/main/java/software/amazon/smithy/model/Model.java