16 #ifndef _MINIO_S3_CLIENT_H
17 #define _MINIO_S3_CLIENT_H
22 #include "request-builder.h"
27 utils::Multimap GetCommonListObjectsQueryParams(std::string delimiter,
28 std::string encoding_type,
29 unsigned int max_keys,
32 class ListObjectsResult;
42 std::map<std::string, std::string> region_map_;
44 bool ignore_cert_check_ =
false;
49 void Debug(
bool flag) { debug_ = flag; }
51 void IgnoreCertCheck(
bool flag) { ignore_cert_check_ = flag; }
53 void HandleRedirectResponse(std::string& code, std::string& message,
54 int status_code, http::Method method,
56 std::string_view bucket_name,
bool retry =
false);
58 http::Method method, std::string_view bucket_name,
59 std::string_view object_name);
70 std::string_view region =
"");
97 std::list<ComposeSource> sources);
99 std::string& upload_id);
108 bool failed_ =
false;
110 std::list<Item>::iterator itr_;
117 Item& operator*()
const {
return *itr_; }
118 operator bool()
const {
return itr_ != resp_.contents.end(); }
121 if (!failed_ && itr_ == resp_.contents.end() && resp_.is_truncated) {
Definition: response.h:71
Definition: response.h:83
Definition: response.h:95
Definition: response.h:52
Definition: response.h:138
Definition: response.h:62
Definition: response.h:158
Definition: response.h:103
Definition: request-builder.h:24
Definition: response.h:25
Definition: response.h:116