public CancelQueryResult withQueryStatus(QueryStatus queryStatus) {
        this.queryStatus = queryStatus.toString();
        return this;
    }
<p>
Shows the status of a query after a <code>CancelQuery</code> request. Typically, the values shown are either
<code>RUNNING</code> or <code>CANCELLED</code>.
</p>

@param queryStatus
       Shows the status of a query after a <code>CancelQuery</code> request. Typically, the values shown are
       either <code>RUNNING</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/CancelQueryResult.java