Public Member Functions | Private Attributes | List of all members
Aws::S3::S3UploadManager Class Reference

#include <s3_upload_manager.h>

Public Member Functions

virtual void CancelUpload ()
 
virtual bool IsAvailable () const
 
 S3UploadManager (const bool enable_encryption)
 
 S3UploadManager (const bool enable_encryption, const Aws::Client::ClientConfiguration &config)
 
 S3UploadManager (std::unique_ptr< S3Facade > s3_facade)
 
virtual Model::PutObjectOutcome UploadFiles (const std::vector< UploadDescription > &upload_descriptions, const std::string &bucket, const boost::function< void(const std::vector< UploadDescription > &)> &feedback_callback)
 
virtual ~S3UploadManager ()=default
 

Private Attributes

S3UploadManagerState manager_status_
 
std::recursive_mutex mutex_
 
std::unique_ptr< S3Facades3_facade_
 

Detailed Description

Definition at line 51 of file s3_upload_manager.h.

Constructor & Destructor Documentation

Aws::S3::S3UploadManager::S3UploadManager ( const bool  enable_encryption)
explicit

Creates an S3UploadManager with a default-constructed S3Facade

Parameters
enable_encryptionwhether or not to enable AES256 server-side encryption

Definition at line 32 of file s3_upload_manager.cpp.

Aws::S3::S3UploadManager::S3UploadManager ( const bool  enable_encryption,
const Aws::Client::ClientConfiguration &  config 
)
explicit

Creates an S3UploadManager with a S3Facade that uses the given ClientConfiguration

Parameters
enable_encryptionwhether or not to enable AES256 server-side encryption
configthe ClientConfiguration to be used

Definition at line 37 of file s3_upload_manager.cpp.

Aws::S3::S3UploadManager::S3UploadManager ( std::unique_ptr< S3Facade s3_facade)
explicit

Creates an S3UploadManager with the given existing S3Facade

Parameters
s3_facadethe existing S3Facade to be used

Definition at line 42 of file s3_upload_manager.cpp.

virtual Aws::S3::S3UploadManager::~S3UploadManager ( )
virtualdefault

Member Function Documentation

void Aws::S3::S3UploadManager::CancelUpload ( )
virtual

Definition at line 48 of file s3_upload_manager.cpp.

bool Aws::S3::S3UploadManager::IsAvailable ( ) const
virtual

Definition at line 99 of file s3_upload_manager.cpp.

Model::PutObjectOutcome Aws::S3::S3UploadManager::UploadFiles ( const std::vector< UploadDescription > &  upload_descriptions,
const std::string &  bucket,
const boost::function< void(const std::vector< UploadDescription > &)> &  feedback_callback 
)
virtual

Definition at line 56 of file s3_upload_manager.cpp.

Member Data Documentation

S3UploadManagerState Aws::S3::S3UploadManager::manager_status_
private

Definition at line 97 of file s3_upload_manager.h.

std::recursive_mutex Aws::S3::S3UploadManager::mutex_
mutableprivate

Definition at line 99 of file s3_upload_manager.h.

std::unique_ptr<S3Facade> Aws::S3::S3UploadManager::s3_facade_
private

Definition at line 101 of file s3_upload_manager.h.


The documentation for this class was generated from the following files:


s3_common
Author(s): AWS RoboMaker
autogenerated on Tue Jun 1 2021 02:51:29