default AttributeValue getPath(List<String> path) {
        if (!isPresent() || path.isEmpty()) {
            return this;
        }

        AttributeValue current = this;
        for (String segment : path) {
            current = current.getProperty(segment);
            if (!current.isPresent()) {
                break;
            }
        }

        return current;
    }
Gets a property using a path to the property.

@param path The path to select from the value.
@return Returns the created attribute value.
smithy-model/src/main/java/software/amazon/smithy/model/selector/AttributeValue.java