public Optional<T> getResult() {
        return Optional.ofNullable(result);
    }
Get the optional result.

@return Returns the optional result.
smithy-model/src/main/java/software/amazon/smithy/model/validation/ValidatedResult.java