public Set<ResourceShape> getResourceShapes() {
        return toSet(ResourceShape.class);
    }
Gets an immutable set of all resources in the Model.

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