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>
50 inline void SetTaskId(
const char* value) { m_taskIdHasBeenSet =
true; m_taskId.assign(value); }
76 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
86 inline int GetCpus()
const{
return m_cpus; }
88 inline void SetCpus(
int value) { m_cpusHasBeenSet =
true; m_cpus = value; }
98 inline void SetMemory(
int value) { m_memoryHasBeenSet =
true; m_memory = value; }
144 inline void SetGpus(
int value) { m_gpusHasBeenSet =
true; m_gpus = value; }
156 inline void SetInstanceType(
const char* value) { m_instanceTypeHasBeenSet =
true; m_instanceType.assign(value); }
164 bool m_taskIdHasBeenSet =
false;
167 bool m_statusHasBeenSet =
false;
170 bool m_nameHasBeenSet =
false;
173 bool m_cpusHasBeenSet =
false;
176 bool m_memoryHasBeenSet =
false;
179 bool m_creationTimeHasBeenSet =
false;
182 bool m_startTimeHasBeenSet =
false;
185 bool m_stopTimeHasBeenSet =
false;
188 bool m_gpusHasBeenSet =
false;
191 bool m_instanceTypeHasBeenSet =
false;
void SetStatus(const TaskStatus &value)
const Aws::Utils::DateTime & GetStartTime() const
TaskListItem & WithTaskId(const Aws::String &value)
void SetTaskId(const char *value)
bool StatusHasBeenSet() const
TaskListItem & WithTaskId(Aws::String &&value)
void SetInstanceType(const char *value)
void SetStartTime(const Aws::Utils::DateTime &value)
TaskListItem & WithName(Aws::String &&value)
bool TaskIdHasBeenSet() const
TaskListItem & WithStartTime(const Aws::Utils::DateTime &value)
void SetStatus(TaskStatus &&value)
void SetTaskId(const Aws::String &value)
bool GpusHasBeenSet() const
TaskListItem & WithMemory(int value)
TaskListItem & WithInstanceType(Aws::String &&value)
bool InstanceTypeHasBeenSet() const
const Aws::String & GetName() const
void SetMemory(int value)
void SetInstanceType(Aws::String &&value)
void SetInstanceType(const Aws::String &value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetTaskId(Aws::String &&value)
void SetName(Aws::String &&value)
void SetStopTime(const Aws::Utils::DateTime &value)
AWS_OMICS_API TaskListItem()
void SetName(const char *value)
TaskListItem & WithCpus(int value)
AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetCreationTime() const
const TaskStatus & GetStatus() const
TaskListItem & WithTaskId(const char *value)
bool StartTimeHasBeenSet() const
bool CreationTimeHasBeenSet() const
const Aws::String & GetTaskId() const
TaskListItem & WithStartTime(Aws::Utils::DateTime &&value)
const Aws::String & GetInstanceType() const
TaskListItem & WithCreationTime(const Aws::Utils::DateTime &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
AWS_OMICS_API TaskListItem(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
void SetStopTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetStopTime() const
bool MemoryHasBeenSet() const
void SetName(const Aws::String &value)
void SetCreationTime(const Aws::Utils::DateTime &value)
TaskListItem & WithName(const char *value)
TaskListItem & WithStatus(TaskStatus &&value)
TaskListItem & WithInstanceType(const Aws::String &value)
TaskListItem & WithInstanceType(const char *value)
TaskListItem & WithGpus(int value)
AWS_OMICS_API TaskListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StopTimeHasBeenSet() const
TaskListItem & WithStatus(const TaskStatus &value)
bool CpusHasBeenSet() const
TaskListItem & WithCreationTime(Aws::Utils::DateTime &&value)
TaskListItem & WithStopTime(const Aws::Utils::DateTime &value)
TaskListItem & WithStopTime(Aws::Utils::DateTime &&value)
TaskListItem & WithName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue