11 class OSSBucketOperation;
14 class OSSObjectOperation;
19 class PutObjectResult;
20 class CopyObjectResult;
21 class SetBucketCORSRequest;
23 class OSSMultipartOperation;
24 class AbortMultipartUploadRequest;
25 class CompleteMultipartUploadRequest;
26 class InitiateMultipartUploadRequest;
27 class ListMultipartUploadsRequest;
28 class ListPartsRequest;
29 class UploadPartRequest;
30 class UploadPartCopyRequest;
31 class CompleteMultipartUploadResult;
32 class InitiateMultipartUploadResult;
33 class MultipartUploadListing;
35 class UploadPartResult;
36 class UploadPartCopyResult;
41 OSSClient(
const char* keyId,
const char* keySecret);
42 OSSClient(
const char* endPoint,
const char* keyId,
43 const char* keySecret);
62 bool createBucket(
Bucket& bucket);
63 bool deleteBucket(
const char*
name);
64 std::list<Bucket> listBuckets();
65 const char* getBucketLocation(
const char*
name);
66 bool doesBucketExist(
const char*
name);
68 OSSObject* getObject(
const char* bucket,
const char* key);
69 bool deleteObject(
const char* bucket,
const char* key);
70 bool putObject(
const char* bucket,
const char* key,
istream& in,
72 bool copyObject(
const char* fromBucket,
const char* fromKey,
73 const char* toBucket,
const char* toKey,
75 bool getObjectMetadata(
const char* bucket,
const char* key,
79 bool deleteBucketCORSRules(
const char* bucket);
81 bool getBucketCORSRules(
const char* bucket,
82 std::list<CORSRule>* result);
100 OSSBucketOperation* bucket_oper_;
101 OSSObjectOperation* object_oper_;
102 OSSMultipartOperation* multipart_oper_;
103 CORSOperation* cors_oper_;
HTTP_API void const char * name
const char * getAccessKeyId() const
const char * getAccessKeySecret() const
const char * getEndpoint() const