public GetUploadStatusResult withUploadStatus(UploadStatus uploadStatus) {
        this.uploadStatus = uploadStatus.toString();
        return this;
    }
<p>
The status of the upload. The initial status is <code>IN_PROGRESS</code>. The response show all validation
failures if the upload fails.
</p>

@param uploadStatus
       The status of the upload. The initial status is <code>IN_PROGRESS</code>. The response show all validation
       failures if the upload fails.
@return Returns a reference to this object so that method calls can be chained together.
@see UploadStatus
aws-java-sdk-iotthingsgraph/src/main/java/com/amazonaws/services/iotthingsgraph/model/GetUploadStatusResult.java