OSS SDK for C++ V1.9.1 integrates Alibaba Cloud Object Storage Service (OSS) into C++ applications.
Sample files
The SDK includes ready-to-run sample files that cover common OSS operations. The table below maps each sample file to the operations it demonstrates.
Object operations
Bucket operations
| Sample file | Operations demonstrated |
|---|---|
| BucketSample.cc | Set bucket properties: static website hosting (C++ SDK), Cross-Origin Resource Sharing (CORS), lifecycle (C++ SDK), access logs, and access authorization (C++ SDK) |
Advanced features
| Sample file | Operations demonstrated |
|---|---|
| ObjectTrafficLimitTest.cc | Single-connection bandwidth throttling (C++ SDK) for uploads and downloads |
| ObjectRequestPaymentTest.cc | Pay-by-requester mode (C++ SDK) for buckets |