public QueryObjectsResult withHasMoreResults(Boolean hasMoreResults) {
        setHasMoreResults(hasMoreResults);
        return this;
    }
<p>
Indicates whether there are more results that can be obtained by a subsequent call.
</p>

@param hasMoreResults
       Indicates whether there are more results that can be obtained by a subsequent call.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datapipeline/src/main/java/com/amazonaws/services/datapipeline/model/QueryObjectsResult.java