AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Public Member Functions | List of all members
Aws::Transfer::PartState Class Reference

#include <TransferHandle.h>

Public Member Functions

 
 PartState (int partId, uint64_t bestProgressInBytes, uint64_t sizeInBytes, bool lastPart=false)
 
int GetPartId () const
 
uint64_t GetBestProgressInBytes () const
 
void SetBestProgressInBytes (uint64_t progressInBytes)
 
uint64_t GetSizeInBytes () const
 
void SetSizeInBytes (uint64_t sizeInBytes)
 
void Reset ()
 
void OnDataTransferred (uint64_t amount, const std::shared_ptr< TransferHandle > &transferHandle)
 
void SetETag (const Aws::String &eTag)
 
const Aws::StringGetETag () const
 
 
void SetDownloadPartStream (Aws::IOStream *downloadPartStream)
 
unsigned char * GetDownloadBuffer () const
 
void SetDownloadBuffer (unsigned char *downloadBuffer)
 
void SetRangeBegin (uint64_t rangeBegin)
 
uint64_t GetRangeBegin () const
 
bool IsLastPart ()
 
void SetLastPart ()
 
 
void SetChecksum (const Aws::String &checksum)
 

Detailed Description

Definition at line 47 of file TransferHandle.h.

Constructor & Destructor Documentation

◆ PartState() [1/2]

Aws::Transfer::PartState::PartState ( )

◆ PartState() [2/2]

Aws::Transfer::PartState::PartState ( int  partId,
uint64_t  bestProgressInBytes,
uint64_t  sizeInBytes,
bool  lastPart = false 
)

Member Function Documentation

◆ GetBestProgressInBytes()

uint64_t Aws::Transfer::PartState::GetBestProgressInBytes ( ) const
inline

Definition at line 55 of file TransferHandle.h.

◆ GetChecksum()

Aws::String Aws::Transfer::PartState::GetChecksum ( ) const
inline

Definition at line 80 of file TransferHandle.h.

◆ GetDownloadBuffer()

unsigned char * Aws::Transfer::PartState::GetDownloadBuffer ( ) const
inline

Definition at line 71 of file TransferHandle.h.

◆ GetDownloadPartStream()

Aws::IOStream * Aws::Transfer::PartState::GetDownloadPartStream ( ) const
inline

Definition at line 68 of file TransferHandle.h.

◆ GetETag()

const Aws::String & Aws::Transfer::PartState::GetETag ( ) const
inline

Definition at line 66 of file TransferHandle.h.

◆ GetPartId()

int Aws::Transfer::PartState::GetPartId ( ) const
inline

Definition at line 53 of file TransferHandle.h.

◆ GetRangeBegin()

uint64_t Aws::Transfer::PartState::GetRangeBegin ( ) const
inline

Definition at line 75 of file TransferHandle.h.

◆ GetSizeInBytes()

uint64_t Aws::Transfer::PartState::GetSizeInBytes ( ) const
inline

Definition at line 58 of file TransferHandle.h.

◆ IsLastPart()

bool Aws::Transfer::PartState::IsLastPart ( )
inline

Definition at line 77 of file TransferHandle.h.

◆ OnDataTransferred()

void Aws::Transfer::PartState::OnDataTransferred ( uint64_t  amount,
const std::shared_ptr< TransferHandle > &  transferHandle 
)

◆ Reset()

void Aws::Transfer::PartState::Reset ( )

◆ SetBestProgressInBytes()

void Aws::Transfer::PartState::SetBestProgressInBytes ( uint64_t  progressInBytes)
inline

Definition at line 56 of file TransferHandle.h.

◆ SetChecksum()

void Aws::Transfer::PartState::SetChecksum ( const Aws::String checksum)
inline

Definition at line 81 of file TransferHandle.h.

◆ SetDownloadBuffer()

void Aws::Transfer::PartState::SetDownloadBuffer ( unsigned char *  downloadBuffer)
inline

Definition at line 72 of file TransferHandle.h.

◆ SetDownloadPartStream()

void Aws::Transfer::PartState::SetDownloadPartStream ( Aws::IOStream downloadPartStream)
inline

Definition at line 69 of file TransferHandle.h.

◆ SetETag()

void Aws::Transfer::PartState::SetETag ( const Aws::String eTag)
inline

Definition at line 65 of file TransferHandle.h.

◆ SetLastPart()

void Aws::Transfer::PartState::SetLastPart ( )
inline

Definition at line 78 of file TransferHandle.h.

◆ SetRangeBegin()

void Aws::Transfer::PartState::SetRangeBegin ( uint64_t  rangeBegin)
inline

Definition at line 74 of file TransferHandle.h.

◆ SetSizeInBytes()

void Aws::Transfer::PartState::SetSizeInBytes ( uint64_t  sizeInBytes)
inline

Definition at line 59 of file TransferHandle.h.


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