public <T extends ToNode> ObjectNode withMember(String key, T value) {
        return withMember(from(key), value);
    }
Constructs a new object node with the given member added.

@param key Name of the member to add as a string.
@param <T> Type of the value member to add.
@param value Value of the member to add.
@return Returns a new object node.
smithy-model/src/main/java/software/amazon/smithy/model/node/ObjectNode.java