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>
11#include <aws/omics/model/ImageDetails.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename TaskIdT = Aws::String>
44 void SetTaskId(TaskIdT&& value) { m_taskIdHasBeenSet =
true; m_taskId = std::forward<TaskIdT>(value); }
45 template<
typename TaskIdT = Aws::String>
63 template<
typename NameT = Aws::String>
64 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
65 template<
typename NameT = Aws::String>
73 inline int GetCpus()
const {
return m_cpus; }
74 inline void SetCpus(
int value) { m_cpusHasBeenSet =
true; m_cpus = value; }
84 inline void SetCacheHit(
bool value) { m_cacheHitHasBeenSet =
true; m_cacheHit = value; }
93 template<
typename CacheS3UriT = Aws::String>
94 void SetCacheS3Uri(CacheS3UriT&& value) { m_cacheS3UriHasBeenSet =
true; m_cacheS3Uri = std::forward<CacheS3UriT>(value); }
95 template<
typename CacheS3UriT = Aws::String>
104 inline void SetMemory(
int value) { m_memoryHasBeenSet =
true; m_memory = value; }
113 template<
typename CreationTimeT = Aws::Utils::DateTime>
114 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet =
true; m_creationTime = std::forward<CreationTimeT>(value); }
115 template<
typename CreationTimeT = Aws::Utils::DateTime>
124 template<
typename StartTimeT = Aws::Utils::DateTime>
125 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
126 template<
typename StartTimeT = Aws::Utils::DateTime>
135 template<
typename StopTimeT = Aws::Utils::DateTime>
136 void SetStopTime(StopTimeT&& value) { m_stopTimeHasBeenSet =
true; m_stopTime = std::forward<StopTimeT>(value); }
137 template<
typename StopTimeT = Aws::Utils::DateTime>
146 template<
typename StatusMessageT = Aws::String>
147 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
148 template<
typename StatusMessageT = Aws::String>
157 template<
typename LogStreamT = Aws::String>
158 void SetLogStream(LogStreamT&& value) { m_logStreamHasBeenSet =
true; m_logStream = std::forward<LogStreamT>(value); }
159 template<
typename LogStreamT = Aws::String>
168 inline void SetGpus(
int value) { m_gpusHasBeenSet =
true; m_gpus = value; }
177 template<
typename InstanceTypeT = Aws::String>
178 void SetInstanceType(InstanceTypeT&& value) { m_instanceTypeHasBeenSet =
true; m_instanceType = std::forward<InstanceTypeT>(value); }
179 template<
typename InstanceTypeT = Aws::String>
188 template<
typename FailureReasonT = Aws::String>
189 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
190 template<
typename FailureReasonT = Aws::String>
199 template<
typename ImageDetailsT = ImageDetails>
200 void SetImageDetails(ImageDetailsT&& value) { m_imageDetailsHasBeenSet =
true; m_imageDetails = std::forward<ImageDetailsT>(value); }
201 template<
typename ImageDetailsT = ImageDetails>
208 template<
typename RequestIdT = Aws::String>
209 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
210 template<
typename RequestIdT = Aws::String>
216 bool m_taskIdHasBeenSet =
false;
219 bool m_statusHasBeenSet =
false;
222 bool m_nameHasBeenSet =
false;
225 bool m_cpusHasBeenSet =
false;
227 bool m_cacheHit{
false};
228 bool m_cacheHitHasBeenSet =
false;
231 bool m_cacheS3UriHasBeenSet =
false;
234 bool m_memoryHasBeenSet =
false;
237 bool m_creationTimeHasBeenSet =
false;
240 bool m_startTimeHasBeenSet =
false;
243 bool m_stopTimeHasBeenSet =
false;
246 bool m_statusMessageHasBeenSet =
false;
249 bool m_logStreamHasBeenSet =
false;
252 bool m_gpusHasBeenSet =
false;
255 bool m_instanceTypeHasBeenSet =
false;
258 bool m_failureReasonHasBeenSet =
false;
260 ImageDetails m_imageDetails;
261 bool m_imageDetailsHasBeenSet =
false;
264 bool m_requestIdHasBeenSet =
false;
void SetTaskId(TaskIdT &&value)
void SetStatus(TaskStatus value)
const Aws::String & GetRequestId() const
const Aws::Utils::DateTime & GetStartTime() const
void SetMemory(int value)
const Aws::Utils::DateTime & GetCreationTime() const
const Aws::String & GetTaskId() const
GetRunTaskResult & WithName(NameT &&value)
const Aws::String & GetInstanceType() const
GetRunTaskResult & WithCreationTime(CreationTimeT &&value)
void SetImageDetails(ImageDetailsT &&value)
TaskStatus GetStatus() const
AWS_OMICS_API GetRunTaskResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRunTaskResult & WithImageDetails(ImageDetailsT &&value)
GetRunTaskResult & WithMemory(int value)
void SetStartTime(StartTimeT &&value)
GetRunTaskResult & WithTaskId(TaskIdT &&value)
void SetLogStream(LogStreamT &&value)
void SetName(NameT &&value)
GetRunTaskResult & WithCacheHit(bool value)
void SetCacheHit(bool value)
GetRunTaskResult & WithStatus(TaskStatus value)
GetRunTaskResult & WithGpus(int value)
void SetCacheS3Uri(CacheS3UriT &&value)
void SetInstanceType(InstanceTypeT &&value)
GetRunTaskResult & WithFailureReason(FailureReasonT &&value)
const Aws::String & GetName() const
GetRunTaskResult & WithStartTime(StartTimeT &&value)
const Aws::String & GetLogStream() const
GetRunTaskResult & WithCpus(int value)
AWS_OMICS_API GetRunTaskResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStatusMessage(StatusMessageT &&value)
GetRunTaskResult & WithStatusMessage(StatusMessageT &&value)
const ImageDetails & GetImageDetails() const
const Aws::String & GetStatusMessage() const
void SetStopTime(StopTimeT &&value)
GetRunTaskResult & WithStopTime(StopTimeT &&value)
AWS_OMICS_API GetRunTaskResult()=default
const Aws::String & GetFailureReason() const
void SetRequestId(RequestIdT &&value)
void SetFailureReason(FailureReasonT &&value)
const Aws::Utils::DateTime & GetStopTime() const
GetRunTaskResult & WithLogStream(LogStreamT &&value)
GetRunTaskResult & WithCacheS3Uri(CacheS3UriT &&value)
const Aws::String & GetCacheS3Uri() const
GetRunTaskResult & WithInstanceType(InstanceTypeT &&value)
void SetCreationTime(CreationTimeT &&value)
GetRunTaskResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue