public GetQueryResultsResult withQueryStatus(QueryStatus queryStatus) {
        this.queryStatus = queryStatus.toString();
        return this;
    }
<p>
The status of the query. Values include <code>QUEUED</code>, <code>RUNNING</code>, <code>FINISHED</code>,
<code>FAILED</code>, <code>TIMED_OUT</code>, or <code>CANCELLED</code>.
</p>

@param queryStatus
       The status of the query. Values include <code>QUEUED</code>, <code>RUNNING</code>, <code>FINISHED</code>,
       <code>FAILED</code>, <code>TIMED_OUT</code>, or <code>CANCELLED</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see QueryStatus
aws-java-sdk-cloudtrail/src/main/java/com/amazonaws/services/cloudtrail/model/GetQueryResultsResult.java