7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/omics/model/TaskStatus.h>
10#include <aws/core/utils/DateTime.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
44 inline void SetTaskId(
const char* value) { m_taskId.assign(value); }
68 inline void SetName(
const char* value) { m_name.assign(value); }
78 inline int GetCpus()
const{
return m_cpus; }
79 inline void SetCpus(
int value) { m_cpus = value; }
88 inline void SetMemory(
int value) { m_memory = value; }
145 inline void SetLogStream(
const char* value) { m_logStream.assign(value); }
156 inline void SetGpus(
int value) { m_gpus = value; }
191 inline void SetRequestId(
const char* value) { m_requestId.assign(value); }
const Aws::String & GetRequestId() const
const TaskStatus & GetStatus() const
const Aws::Utils::DateTime & GetStartTime() const
void SetMemory(int value)
GetRunTaskResult & WithTaskId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetFailureReason(const char *value)
void SetTaskId(const char *value)
void SetStopTime(const Aws::Utils::DateTime &value)
GetRunTaskResult & WithFailureReason(const Aws::String &value)
const Aws::String & GetTaskId() const
GetRunTaskResult & WithStartTime(Aws::Utils::DateTime &&value)
GetRunTaskResult & WithCreationTime(const Aws::Utils::DateTime &value)
GetRunTaskResult & WithTaskId(Aws::String &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetTaskId(const Aws::String &value)
GetRunTaskResult & WithFailureReason(Aws::String &&value)
const Aws::String & GetInstanceType() const
GetRunTaskResult & WithStatusMessage(const Aws::String &value)
GetRunTaskResult & WithLogStream(Aws::String &&value)
void SetInstanceType(const Aws::String &value)
GetRunTaskResult & WithStatus(TaskStatus &&value)
AWS_OMICS_API GetRunTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatus(const TaskStatus &value)
GetRunTaskResult & WithRequestId(const char *value)
GetRunTaskResult & WithStopTime(const Aws::Utils::DateTime &value)
void SetLogStream(const char *value)
GetRunTaskResult & WithCreationTime(Aws::Utils::DateTime &&value)
void SetStatusMessage(const Aws::String &value)
void SetName(Aws::String &&value)
GetRunTaskResult & WithMemory(int value)
void SetInstanceType(const char *value)
AWS_OMICS_API GetRunTaskResult()
void SetTaskId(Aws::String &&value)
GetRunTaskResult & WithGpus(int value)
GetRunTaskResult & WithInstanceType(const char *value)
const Aws::String & GetName() const
void SetStatus(TaskStatus &&value)
const Aws::String & GetLogStream() const
GetRunTaskResult & WithCpus(int value)
AWS_OMICS_API GetRunTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLogStream(Aws::String &&value)
GetRunTaskResult & WithRequestId(const Aws::String &value)
void SetRequestId(const char *value)
GetRunTaskResult & WithLogStream(const char *value)
GetRunTaskResult & WithName(const char *value)
GetRunTaskResult & WithLogStream(const Aws::String &value)
void SetStatusMessage(Aws::String &&value)
GetRunTaskResult & WithName(const Aws::String &value)
const Aws::String & GetStatusMessage() const
void SetStartTime(Aws::Utils::DateTime &&value)
void SetStatusMessage(const char *value)
GetRunTaskResult & WithFailureReason(const char *value)
GetRunTaskResult & WithStatus(const TaskStatus &value)
GetRunTaskResult & WithStatusMessage(Aws::String &&value)
const Aws::String & GetFailureReason() const
void SetCreationTime(Aws::Utils::DateTime &&value)
void SetLogStream(const Aws::String &value)
void SetName(const char *value)
void SetStartTime(const Aws::Utils::DateTime &value)
GetRunTaskResult & WithInstanceType(Aws::String &&value)
void SetInstanceType(Aws::String &&value)
void SetRequestId(Aws::String &&value)
GetRunTaskResult & WithTaskId(const char *value)
const Aws::Utils::DateTime & GetStopTime() const
GetRunTaskResult & WithInstanceType(const Aws::String &value)
GetRunTaskResult & WithStartTime(const Aws::Utils::DateTime &value)
GetRunTaskResult & WithRequestId(Aws::String &&value)
void SetName(const Aws::String &value)
void SetRequestId(const Aws::String &value)
void SetStopTime(Aws::Utils::DateTime &&value)
void SetFailureReason(const Aws::String &value)
GetRunTaskResult & WithStopTime(Aws::Utils::DateTime &&value)
void SetFailureReason(Aws::String &&value)
GetRunTaskResult & WithStatusMessage(const char *value)
GetRunTaskResult & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue