#include <userver/s3api/models/multipart_upload/responses.hpp>
For some unclear reasons almost all fields in S3 API are optional including even those fields which are clearly stated to be required in S3 documentation. There are some unconvincing explanations for this at https://github.com/boto/botocore/issues/1069#issuecomment-259255047, but that's it! This implementation of the API in this library is a bit stricter than it is in S3 API specifciation, intentionally making some optional
fields to be required non-empty
. The response body content of CreateMultipartUpload action request
bucket
, key
, upload_id
are allowed to be empty string values by the S3 specification. Definition at line 26 of file responses.hpp.
Static Public Member Functions | |
static InitiateMultipartUploadResult | Parse (utils::zstring_view http_s3_respose_body) |
Public Attributes | |
std::string | bucket |
std::string | key |
std::string | upload_id |
|
static |
Definition at line 78 of file responses.cpp.
std::string s3api::multipart_upload::InitiateMultipartUploadResult::bucket |
Definition at line 27 of file responses.hpp.
std::string s3api::multipart_upload::InitiateMultipartUploadResult::key |
Definition at line 28 of file responses.hpp.
std::string s3api::multipart_upload::InitiateMultipartUploadResult::upload_id |
Definition at line 29 of file responses.hpp.