#include <task.h>
Public Member Functions | |
BasicTask (std::shared_ptr< T > batch_data) | |
T & | getBatchData () override |
void | onComplete (const UploadStatus &status) override |
void | setOnCompleteFunction (const UploadStatusFunction< UploadStatus, T > upload_status_function) |
virtual | ~BasicTask ()=default |
Public Member Functions inherited from Aws::DataFlow::Task< T > | |
virtual void | cancel () |
virtual void | run (std::shared_ptr< IPublisher< T >> publisher) |
virtual | ~Task ()=default |
Private Attributes | |
std::shared_ptr< T > | batch_data_ |
UploadStatusFunction< UploadStatus, T > | upload_status_function_ |
|
inlineexplicit |
|
virtualdefault |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Override this method to handle completion status.
status |
Implements Aws::DataFlow::Task< T >.
|
inline |
|
private |
|
private |