15 #ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_OBJECT_REWRITER_H
16 #define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_STORAGE_OBJECT_REWRITER_H
18 #include "google/cloud/storage/internal/raw_client.h"
19 #include "google/cloud/storage/version.h"
20 #include "google/cloud/internal/invoke_result.h"
52 internal::RewriteObjectRequest request);
65 if (!last_error_
.ok()) {
102 typename std::enable_if<
google::
cloud::internal::is_invocable<
106 while (!progress_
.done) {
109 if (!last_error_
.ok()) {
129 std::string
const&
token()
const {
return request_.rewrite_token(); }
132 std::shared_ptr<internal::RawClient> client_;
133 internal::RewriteObjectRequest request_;