AWS SDK for C++  0.14.3
AWS SDK for C++
Public Member Functions | Protected Member Functions | Friends | List of all members
Aws::Transfer::UploadFileRequest Class Reference

#include <UploadFileRequest.h>

+ Inheritance diagram for Aws::Transfer::UploadFileRequest:

Public Member Functions

 UploadFileRequest (const Aws::String &fileName, const Aws::String &bucketName, const Aws::String &keyName, const Aws::String &contentType, Aws::Map< Aws::String, Aws::String > &&metadata, const std::shared_ptr< Aws::S3::S3Client > &s3Client, bool createBucket, bool doConsistencyChecks)
 
 UploadFileRequest (const Aws::String &fileName, const Aws::String &bucketName, const Aws::String &keyName, const Aws::String &contentType, const std::shared_ptr< Aws::S3::S3Client > &s3Client, bool createBucket, bool doConsistencyChecks)
 
 UploadFileRequest (const Aws::String &fileName, const Aws::String &bucketName, const Aws::String &keyName, const Aws::String &contentType, const Aws::Map< Aws::String, Aws::String > &metadata, const std::shared_ptr< Aws::S3::S3Client > &s3Client, bool createBucket, bool doConsistencyChecks)
 
virtual ~UploadFileRequest ()
 
uint32_t GetPartCount () const
 
size_t GetCompletedPartCount () const
 
uint32_t GetTotalParts () const
 
bool DoneWithRequests () const
 
bool IsSinglePartUpload () const
 
bool AllPartsReturned () const
 
uint32_t GetPartsRemaining () const
 
size_t GetPendingParts () const
 
void OnDataSent (const Aws::Http::HttpRequest *, long long)
 
size_t GetResourcesInUse () const
 
uint32_t GetPartsReturned () const
 
uint32_t GetTotalPartRetries () const
 
bool HasSentConsistencyChecks () const
 
bool HasPassedHeadObject () const
 
bool HasPassedGetObject () const
 
bool HasPassedListObjects () const
 
- Public Member Functions inherited from Aws::Transfer::S3FileRequest
 S3FileRequest (const Aws::String &fileName, const Aws::String &bucketName, const Aws::String &keyName, const std::shared_ptr< Aws::S3::S3Client > &s3Client)
 
virtual ~S3FileRequest ()
 
virtual float GetProgress () const
 
const Aws::StringGetBucketName () const
 
const Aws::StringGetFileName () const
 
const Aws::StringGetKeyName () const
 
bool IsDone () const
 
bool CompletedSuccessfully () const
 
virtual bool WaitUntilDone () const
 
const Aws::StringGetFailure () const
 
void SetLastFailure (const char *failureString)
 
virtual uint64_t GetFileSize () const
 
uint64_t GetProgressAmount () const
 
void AddCompletionCallback (S3FileCompletionCallback addCallback)
 

Protected Member Functions

virtual bool DoCancelAction () override
 
virtual void SetDone () override
 
- Protected Member Functions inherited from Aws::Transfer::S3FileRequest
const std::shared_ptr< Aws::S3::S3Client > & GetS3Client () const
 
void Cancel ()
 
void SetCompleted ()
 
void CompletionSuccess ()
 
virtual void CompletionFailure (const char *failureStr)
 
virtual void SetFileSize (uint64_t curSize)
 
void ClearProgress ()
 
void RegisterProgress (int64_t progressAmount)
 

Friends

class TransferClient
 

Additional Inherited Members

- Public Types inherited from Aws::Transfer::S3FileRequest
using S3FileCompletionCallback = std::function< void() >
 

Detailed Description

Definition at line 76 of file UploadFileRequest.h.

Constructor & Destructor Documentation

Aws::Transfer::UploadFileRequest::UploadFileRequest ( const Aws::String fileName,
const Aws::String bucketName,
const Aws::String keyName,
const Aws::String contentType,
Aws::Map< Aws::String, Aws::String > &&  metadata,
const std::shared_ptr< Aws::S3::S3Client > &  s3Client,
bool  createBucket,
bool  doConsistencyChecks 
)
Aws::Transfer::UploadFileRequest::UploadFileRequest ( const Aws::String fileName,
const Aws::String bucketName,
const Aws::String keyName,
const Aws::String contentType,
const std::shared_ptr< Aws::S3::S3Client > &  s3Client,
bool  createBucket,
bool  doConsistencyChecks 
)
Aws::Transfer::UploadFileRequest::UploadFileRequest ( const Aws::String fileName,
const Aws::String bucketName,
const Aws::String keyName,
const Aws::String contentType,
const Aws::Map< Aws::String, Aws::String > &  metadata,
const std::shared_ptr< Aws::S3::S3Client > &  s3Client,
bool  createBucket,
bool  doConsistencyChecks 
)
virtual Aws::Transfer::UploadFileRequest::~UploadFileRequest ( )
virtual

Member Function Documentation

bool Aws::Transfer::UploadFileRequest::AllPartsReturned ( ) const
virtual bool Aws::Transfer::UploadFileRequest::DoCancelAction ( )
overrideprotectedvirtual
bool Aws::Transfer::UploadFileRequest::DoneWithRequests ( ) const
size_t Aws::Transfer::UploadFileRequest::GetCompletedPartCount ( ) const
uint32_t Aws::Transfer::UploadFileRequest::GetPartCount ( ) const
uint32_t Aws::Transfer::UploadFileRequest::GetPartsRemaining ( ) const
uint32_t Aws::Transfer::UploadFileRequest::GetPartsReturned ( ) const
size_t Aws::Transfer::UploadFileRequest::GetPendingParts ( ) const
size_t Aws::Transfer::UploadFileRequest::GetResourcesInUse ( ) const
uint32_t Aws::Transfer::UploadFileRequest::GetTotalPartRetries ( ) const
uint32_t Aws::Transfer::UploadFileRequest::GetTotalParts ( ) const
inline

Definition at line 111 of file UploadFileRequest.h.

bool Aws::Transfer::UploadFileRequest::HasPassedGetObject ( ) const
inline

Definition at line 142 of file UploadFileRequest.h.

bool Aws::Transfer::UploadFileRequest::HasPassedHeadObject ( ) const
inline

Definition at line 141 of file UploadFileRequest.h.

bool Aws::Transfer::UploadFileRequest::HasPassedListObjects ( ) const
inline

Definition at line 143 of file UploadFileRequest.h.

bool Aws::Transfer::UploadFileRequest::HasSentConsistencyChecks ( ) const
inline

Definition at line 140 of file UploadFileRequest.h.

bool Aws::Transfer::UploadFileRequest::IsSinglePartUpload ( ) const
void Aws::Transfer::UploadFileRequest::OnDataSent ( const Aws::Http::HttpRequest ,
long  long 
)
virtual void Aws::Transfer::UploadFileRequest::SetDone ( )
overrideprotectedvirtual

Reimplemented from Aws::Transfer::S3FileRequest.

Friends And Related Function Documentation

friend class TransferClient
friend

Definition at line 145 of file UploadFileRequest.h.


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