/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Omics { namespace Model { class GetWorkflowResult { public: AWS_OMICS_API GetWorkflowResult(); AWS_OMICS_API GetWorkflowResult(const Aws::AmazonWebServiceResult& result); AWS_OMICS_API GetWorkflowResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The workflow's ARN.

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

The workflow's ARN.

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

The workflow's ARN.

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

The workflow's ARN.

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

The workflow's ARN.

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

The workflow's ARN.

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

The workflow's ARN.

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

The workflow's ID.

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

The workflow's ID.

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

The workflow's ID.

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

The workflow's ID.

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

The workflow's ID.

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

The workflow's ID.

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

The workflow's ID.

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

The workflow's status.

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

The workflow's status.

*/ inline void SetStatus(const WorkflowStatus& value) { m_status = value; } /** *

The workflow's status.

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

The workflow's status.

*/ inline GetWorkflowResult& WithStatus(const WorkflowStatus& value) { SetStatus(value); return *this;} /** *

The workflow's status.

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

The workflow's type.

*/ inline const WorkflowType& GetType() const{ return m_type; } /** *

The workflow's type.

*/ inline void SetType(const WorkflowType& value) { m_type = value; } /** *

The workflow's type.

*/ inline void SetType(WorkflowType&& value) { m_type = std::move(value); } /** *

The workflow's type.

*/ inline GetWorkflowResult& WithType(const WorkflowType& value) { SetType(value); return *this;} /** *

The workflow's type.

*/ inline GetWorkflowResult& WithType(WorkflowType&& value) { SetType(std::move(value)); return *this;} /** *

The workflow's name.

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

The workflow's name.

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

The workflow's name.

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

The workflow's name.

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

The workflow's name.

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

The workflow's name.

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

The workflow's name.

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

The workflow's description.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The workflow's description.

*/ inline void SetDescription(const Aws::String& value) { m_description = value; } /** *

The workflow's description.

*/ inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** *

The workflow's description.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

The workflow's description.

*/ inline GetWorkflowResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The workflow's description.

*/ inline GetWorkflowResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The workflow's description.

*/ inline GetWorkflowResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The workflow's engine.

*/ inline const WorkflowEngine& GetEngine() const{ return m_engine; } /** *

The workflow's engine.

*/ inline void SetEngine(const WorkflowEngine& value) { m_engine = value; } /** *

The workflow's engine.

*/ inline void SetEngine(WorkflowEngine&& value) { m_engine = std::move(value); } /** *

The workflow's engine.

*/ inline GetWorkflowResult& WithEngine(const WorkflowEngine& value) { SetEngine(value); return *this;} /** *

The workflow's engine.

*/ inline GetWorkflowResult& WithEngine(WorkflowEngine&& value) { SetEngine(std::move(value)); return *this;} /** *

The workflow's definition.

*/ inline const Aws::String& GetDefinition() const{ return m_definition; } /** *

The workflow's definition.

*/ inline void SetDefinition(const Aws::String& value) { m_definition = value; } /** *

The workflow's definition.

*/ inline void SetDefinition(Aws::String&& value) { m_definition = std::move(value); } /** *

The workflow's definition.

*/ inline void SetDefinition(const char* value) { m_definition.assign(value); } /** *

The workflow's definition.

*/ inline GetWorkflowResult& WithDefinition(const Aws::String& value) { SetDefinition(value); return *this;} /** *

The workflow's definition.

*/ inline GetWorkflowResult& WithDefinition(Aws::String&& value) { SetDefinition(std::move(value)); return *this;} /** *

The workflow's definition.

*/ inline GetWorkflowResult& WithDefinition(const char* value) { SetDefinition(value); return *this;} /** *

The path of the main definition file for the workflow.

*/ inline const Aws::String& GetMain() const{ return m_main; } /** *

The path of the main definition file for the workflow.

*/ inline void SetMain(const Aws::String& value) { m_main = value; } /** *

The path of the main definition file for the workflow.

*/ inline void SetMain(Aws::String&& value) { m_main = std::move(value); } /** *

The path of the main definition file for the workflow.

*/ inline void SetMain(const char* value) { m_main.assign(value); } /** *

The path of the main definition file for the workflow.

*/ inline GetWorkflowResult& WithMain(const Aws::String& value) { SetMain(value); return *this;} /** *

The path of the main definition file for the workflow.

*/ inline GetWorkflowResult& WithMain(Aws::String&& value) { SetMain(std::move(value)); return *this;} /** *

The path of the main definition file for the workflow.

*/ inline GetWorkflowResult& WithMain(const char* value) { SetMain(value); return *this;} /** *

The workflow's digest.

*/ inline const Aws::String& GetDigest() const{ return m_digest; } /** *

The workflow's digest.

*/ inline void SetDigest(const Aws::String& value) { m_digest = value; } /** *

The workflow's digest.

*/ inline void SetDigest(Aws::String&& value) { m_digest = std::move(value); } /** *

The workflow's digest.

*/ inline void SetDigest(const char* value) { m_digest.assign(value); } /** *

The workflow's digest.

*/ inline GetWorkflowResult& WithDigest(const Aws::String& value) { SetDigest(value); return *this;} /** *

The workflow's digest.

*/ inline GetWorkflowResult& WithDigest(Aws::String&& value) { SetDigest(std::move(value)); return *this;} /** *

The workflow's digest.

*/ inline GetWorkflowResult& WithDigest(const char* value) { SetDigest(value); return *this;} /** *

The workflow's parameter template.

*/ inline const Aws::Map& GetParameterTemplate() const{ return m_parameterTemplate; } /** *

The workflow's parameter template.

*/ inline void SetParameterTemplate(const Aws::Map& value) { m_parameterTemplate = value; } /** *

The workflow's parameter template.

*/ inline void SetParameterTemplate(Aws::Map&& value) { m_parameterTemplate = std::move(value); } /** *

The workflow's parameter template.

*/ inline GetWorkflowResult& WithParameterTemplate(const Aws::Map& value) { SetParameterTemplate(value); return *this;} /** *

The workflow's parameter template.

*/ inline GetWorkflowResult& WithParameterTemplate(Aws::Map&& value) { SetParameterTemplate(std::move(value)); return *this;} /** *

The workflow's parameter template.

*/ inline GetWorkflowResult& AddParameterTemplate(const Aws::String& key, const WorkflowParameter& value) { m_parameterTemplate.emplace(key, value); return *this; } /** *

The workflow's parameter template.

*/ inline GetWorkflowResult& AddParameterTemplate(Aws::String&& key, const WorkflowParameter& value) { m_parameterTemplate.emplace(std::move(key), value); return *this; } /** *

The workflow's parameter template.

*/ inline GetWorkflowResult& AddParameterTemplate(const Aws::String& key, WorkflowParameter&& value) { m_parameterTemplate.emplace(key, std::move(value)); return *this; } /** *

The workflow's parameter template.

*/ inline GetWorkflowResult& AddParameterTemplate(Aws::String&& key, WorkflowParameter&& value) { m_parameterTemplate.emplace(std::move(key), std::move(value)); return *this; } /** *

The workflow's parameter template.

*/ inline GetWorkflowResult& AddParameterTemplate(const char* key, WorkflowParameter&& value) { m_parameterTemplate.emplace(key, std::move(value)); return *this; } /** *

The workflow's parameter template.

*/ inline GetWorkflowResult& AddParameterTemplate(const char* key, const WorkflowParameter& value) { m_parameterTemplate.emplace(key, value); return *this; } /** *

The workflow's storage capacity in gigabytes.

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

The workflow's storage capacity in gigabytes.

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

The workflow's storage capacity in gigabytes.

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

When the workflow was created.

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

When the workflow was created.

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

When the workflow was created.

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

When the workflow was created.

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

When the workflow was created.

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

The workflow's status message.

*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *

The workflow's status message.

*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessage = value; } /** *

The workflow's status message.

*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessage = std::move(value); } /** *

The workflow's status message.

*/ inline void SetStatusMessage(const char* value) { m_statusMessage.assign(value); } /** *

The workflow's status message.

*/ inline GetWorkflowResult& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *

The workflow's status message.

*/ inline GetWorkflowResult& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *

The workflow's status message.

*/ inline GetWorkflowResult& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *

The workflow's tags.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

The workflow's tags.

*/ inline void SetTags(const Aws::Map& value) { m_tags = value; } /** *

The workflow's tags.

*/ inline void SetTags(Aws::Map&& value) { m_tags = std::move(value); } /** *

The workflow's tags.

*/ inline GetWorkflowResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The workflow's tags.

*/ inline GetWorkflowResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

The workflow's tags.

*/ inline GetWorkflowResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

The workflow's tags.

*/ inline GetWorkflowResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The workflow's tags.

*/ inline GetWorkflowResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The workflow's tags.

*/ inline GetWorkflowResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The workflow's tags.

*/ inline GetWorkflowResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

The workflow's tags.

*/ inline GetWorkflowResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

The workflow's tags.

*/ inline GetWorkflowResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; } /** *

Gets metadata for workflow.

*/ inline const Aws::Map& GetMetadata() const{ return m_metadata; } /** *

Gets metadata for workflow.

*/ inline void SetMetadata(const Aws::Map& value) { m_metadata = value; } /** *

Gets metadata for workflow.

*/ inline void SetMetadata(Aws::Map&& value) { m_metadata = std::move(value); } /** *

Gets metadata for workflow.

*/ inline GetWorkflowResult& WithMetadata(const Aws::Map& value) { SetMetadata(value); return *this;} /** *

Gets metadata for workflow.

*/ inline GetWorkflowResult& WithMetadata(Aws::Map&& value) { SetMetadata(std::move(value)); return *this;} /** *

Gets metadata for workflow.

*/ inline GetWorkflowResult& AddMetadata(const Aws::String& key, const Aws::String& value) { m_metadata.emplace(key, value); return *this; } /** *

Gets metadata for workflow.

*/ inline GetWorkflowResult& AddMetadata(Aws::String&& key, const Aws::String& value) { m_metadata.emplace(std::move(key), value); return *this; } /** *

Gets metadata for workflow.

*/ inline GetWorkflowResult& AddMetadata(const Aws::String& key, Aws::String&& value) { m_metadata.emplace(key, std::move(value)); return *this; } /** *

Gets metadata for workflow.

*/ inline GetWorkflowResult& AddMetadata(Aws::String&& key, Aws::String&& value) { m_metadata.emplace(std::move(key), std::move(value)); return *this; } /** *

Gets metadata for workflow.

*/ inline GetWorkflowResult& AddMetadata(const char* key, Aws::String&& value) { m_metadata.emplace(key, std::move(value)); return *this; } /** *

Gets metadata for workflow.

*/ inline GetWorkflowResult& AddMetadata(Aws::String&& key, const char* value) { m_metadata.emplace(std::move(key), value); return *this; } /** *

Gets metadata for workflow.

*/ inline GetWorkflowResult& AddMetadata(const char* key, const char* value) { m_metadata.emplace(key, value); return *this; } /** *

The computational accelerator specified to run the workflow.

*/ inline const Accelerators& GetAccelerators() const{ return m_accelerators; } /** *

The computational accelerator specified to run the workflow.

*/ inline void SetAccelerators(const Accelerators& value) { m_accelerators = value; } /** *

The computational accelerator specified to run the workflow.

*/ inline void SetAccelerators(Accelerators&& value) { m_accelerators = std::move(value); } /** *

The computational accelerator specified to run the workflow.

*/ inline GetWorkflowResult& WithAccelerators(const Accelerators& value) { SetAccelerators(value); return *this;} /** *

The computational accelerator specified to run the workflow.

*/ inline GetWorkflowResult& WithAccelerators(Accelerators&& value) { SetAccelerators(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetWorkflowResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetWorkflowResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetWorkflowResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::String m_id; WorkflowStatus m_status; WorkflowType m_type; Aws::String m_name; Aws::String m_description; WorkflowEngine m_engine; Aws::String m_definition; Aws::String m_main; Aws::String m_digest; Aws::Map m_parameterTemplate; int m_storageCapacity; Aws::Utils::DateTime m_creationTime; Aws::String m_statusMessage; Aws::Map m_tags; Aws::Map m_metadata; Accelerators m_accelerators; Aws::String m_requestId; }; } // namespace Model } // namespace Omics } // namespace Aws