public Collection<MemberShape> members() {
        return getAllMembers().values();
    }
Gets all the members contained in the shape.

@return Returns the members contained in the shape (if any).
smithy-model/src/main/java/software/amazon/smithy/model/shapes/Shape.java