/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Omics { namespace Model { /** *

A workflow run.

See Also:

AWS * API Reference

*/ class RunListItem { public: AWS_OMICS_API RunListItem(); AWS_OMICS_API RunListItem(Aws::Utils::Json::JsonView jsonValue); AWS_OMICS_API RunListItem& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_OMICS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The run's ARN.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The run's ARN.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The run's ARN.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The run's ARN.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The run's ARN.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The run's ARN.

*/ inline RunListItem& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The run's ARN.

*/ inline RunListItem& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The run's ARN.

*/ inline RunListItem& WithArn(const char* value) { SetArn(value); return *this;} /** *

The run's ID.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The run's ID.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The run's ID.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The run's ID.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The run's ID.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The run's ID.

*/ inline RunListItem& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The run's ID.

*/ inline RunListItem& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The run's ID.

*/ inline RunListItem& WithId(const char* value) { SetId(value); return *this;} /** *

The run's status.

*/ inline const RunStatus& GetStatus() const{ return m_status; } /** *

The run's status.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The run's status.

*/ inline void SetStatus(const RunStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The run's status.

*/ inline void SetStatus(RunStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The run's status.

*/ inline RunListItem& WithStatus(const RunStatus& value) { SetStatus(value); return *this;} /** *

The run's status.

*/ inline RunListItem& WithStatus(RunStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The run's workflow ID.

*/ inline const Aws::String& GetWorkflowId() const{ return m_workflowId; } /** *

The run's workflow ID.

*/ inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; } /** *

The run's workflow ID.

*/ inline void SetWorkflowId(const Aws::String& value) { m_workflowIdHasBeenSet = true; m_workflowId = value; } /** *

The run's workflow ID.

*/ inline void SetWorkflowId(Aws::String&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::move(value); } /** *

The run's workflow ID.

*/ inline void SetWorkflowId(const char* value) { m_workflowIdHasBeenSet = true; m_workflowId.assign(value); } /** *

The run's workflow ID.

*/ inline RunListItem& WithWorkflowId(const Aws::String& value) { SetWorkflowId(value); return *this;} /** *

The run's workflow ID.

*/ inline RunListItem& WithWorkflowId(Aws::String&& value) { SetWorkflowId(std::move(value)); return *this;} /** *

The run's workflow ID.

*/ inline RunListItem& WithWorkflowId(const char* value) { SetWorkflowId(value); return *this;} /** *

The run's name.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The run's name.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The run's name.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The run's name.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The run's name.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The run's name.

*/ inline RunListItem& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The run's name.

*/ inline RunListItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The run's name.

*/ inline RunListItem& WithName(const char* value) { SetName(value); return *this;} /** *

The run's priority.

*/ inline int GetPriority() const{ return m_priority; } /** *

The run's priority.

*/ inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; } /** *

The run's priority.

*/ inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; } /** *

The run's priority.

*/ inline RunListItem& WithPriority(int value) { SetPriority(value); return *this;} /** *

The run's storage capacity.

*/ inline int GetStorageCapacity() const{ return m_storageCapacity; } /** *

The run's storage capacity.

*/ inline bool StorageCapacityHasBeenSet() const { return m_storageCapacityHasBeenSet; } /** *

The run's storage capacity.

*/ inline void SetStorageCapacity(int value) { m_storageCapacityHasBeenSet = true; m_storageCapacity = value; } /** *

The run's storage capacity.

*/ inline RunListItem& WithStorageCapacity(int value) { SetStorageCapacity(value); return *this;} /** *

When the run was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

When the run was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

When the run was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

When the run was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

When the run was created.

*/ inline RunListItem& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

When the run was created.

*/ inline RunListItem& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

When the run started.

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

When the run started.

*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

When the run started.

*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *

When the run started.

*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *

When the run started.

*/ inline RunListItem& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

When the run started.

*/ inline RunListItem& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *

When the run stopped.

*/ inline const Aws::Utils::DateTime& GetStopTime() const{ return m_stopTime; } /** *

When the run stopped.

*/ inline bool StopTimeHasBeenSet() const { return m_stopTimeHasBeenSet; } /** *

When the run stopped.

*/ inline void SetStopTime(const Aws::Utils::DateTime& value) { m_stopTimeHasBeenSet = true; m_stopTime = value; } /** *

When the run stopped.

*/ inline void SetStopTime(Aws::Utils::DateTime&& value) { m_stopTimeHasBeenSet = true; m_stopTime = std::move(value); } /** *

When the run stopped.

*/ inline RunListItem& WithStopTime(const Aws::Utils::DateTime& value) { SetStopTime(value); return *this;} /** *

When the run stopped.

*/ inline RunListItem& WithStopTime(Aws::Utils::DateTime&& value) { SetStopTime(std::move(value)); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; RunStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_workflowId; bool m_workflowIdHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; int m_priority; bool m_priorityHasBeenSet = false; int m_storageCapacity; bool m_storageCapacityHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Utils::DateTime m_stopTime; bool m_stopTimeHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws