18 #include <aws/s3/S3Client.h> 33 explicit S3Facade(
const bool enable_encryption);
41 explicit S3Facade(
const bool enable_encryption,
const Aws::Client::ClientConfiguration & config);
49 explicit S3Facade(
const bool enable_encryption, std::unique_ptr<Aws::S3::S3Client> s3_client);
66 virtual Model::PutObjectOutcome
PutObject(
const std::string& file_path,
const std::string& bucket,
const std::string& key);
virtual Model::PutObjectOutcome PutObject(const std::string &file_path, const std::string &bucket, const std::string &key)
Call s3 PutObject api to upload file to s3.
std::unique_ptr< Aws::S3::S3Client > s3_client_
Aws::Client::ClientConfiguration config_
S3Facade(const bool enable_encryption)
virtual ~S3Facade()=default
const bool enable_encryption_
S3Facade & operator=(const S3Facade &other)=delete