/** * 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 GetRunResult { public: AWS_OMICS_API GetRunResult(); AWS_OMICS_API GetRunResult(const Aws::AmazonWebServiceResult& result); AWS_OMICS_API GetRunResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The run's ARN.

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

The run's ARN.

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

The run's ARN.

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

The run's ARN.

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

The run's ARN.

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

The run's ARN.

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

The run's ARN.

*/ inline GetRunResult& 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 void SetId(const Aws::String& value) { m_id = value; } /** *

The run's ID.

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

The run's ID.

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

The run's ID.

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

The run's ID.

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

The run's ID.

*/ inline GetRunResult& 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 void SetStatus(const RunStatus& value) { m_status = value; } /** *

The run's status.

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

The run's status.

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

The run's status.

*/ inline GetRunResult& 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 void SetWorkflowId(const Aws::String& value) { m_workflowId = value; } /** *

The run's workflow ID.

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

The run's workflow ID.

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

The run's workflow ID.

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

The run's workflow ID.

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

The run's workflow ID.

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

The run's workflow type.

*/ inline const WorkflowType& GetWorkflowType() const{ return m_workflowType; } /** *

The run's workflow type.

*/ inline void SetWorkflowType(const WorkflowType& value) { m_workflowType = value; } /** *

The run's workflow type.

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

The run's workflow type.

*/ inline GetRunResult& WithWorkflowType(const WorkflowType& value) { SetWorkflowType(value); return *this;} /** *

The run's workflow type.

*/ inline GetRunResult& WithWorkflowType(WorkflowType&& value) { SetWorkflowType(std::move(value)); return *this;} /** *

The run's ID.

*/ inline const Aws::String& GetRunId() const{ return m_runId; } /** *

The run's ID.

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

The run's ID.

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

The run's ID.

*/ inline void SetRunId(const char* value) { m_runId.assign(value); } /** *

The run's ID.

*/ inline GetRunResult& WithRunId(const Aws::String& value) { SetRunId(value); return *this;} /** *

The run's ID.

*/ inline GetRunResult& WithRunId(Aws::String&& value) { SetRunId(std::move(value)); return *this;} /** *

The run's ID.

*/ inline GetRunResult& WithRunId(const char* value) { SetRunId(value); return *this;} /** *

The run's service role ARN.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The run's service role ARN.

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

The run's service role ARN.

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

The run's service role ARN.

*/ inline void SetRoleArn(const char* value) { m_roleArn.assign(value); } /** *

The run's service role ARN.

*/ inline GetRunResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The run's service role ARN.

*/ inline GetRunResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The run's service role ARN.

*/ inline GetRunResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *

The run's name.

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

The run's name.

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

The run's name.

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

The run's name.

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

The run's name.

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

The run's name.

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

The run's name.

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

The run's group ID.

*/ inline const Aws::String& GetRunGroupId() const{ return m_runGroupId; } /** *

The run's group ID.

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

The run's group ID.

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

The run's group ID.

*/ inline void SetRunGroupId(const char* value) { m_runGroupId.assign(value); } /** *

The run's group ID.

*/ inline GetRunResult& WithRunGroupId(const Aws::String& value) { SetRunGroupId(value); return *this;} /** *

The run's group ID.

*/ inline GetRunResult& WithRunGroupId(Aws::String&& value) { SetRunGroupId(std::move(value)); return *this;} /** *

The run's group ID.

*/ inline GetRunResult& WithRunGroupId(const char* value) { SetRunGroupId(value); return *this;} /** *

The run's priority.

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

The run's priority.

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

The run's priority.

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

The run's definition.

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

The run's definition.

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

The run's definition.

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

The run's definition.

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

The run's definition.

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

The run's definition.

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

The run's definition.

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

The run's digest.

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

The run's digest.

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

The run's digest.

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

The run's digest.

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

The run's digest.

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

The run's digest.

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

The run's digest.

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

The run's parameters.

*/ inline Aws::Utils::DocumentView GetParameters() const{ return m_parameters; } /** *

The run's parameters.

*/ inline void SetParameters(const Aws::Utils::Document& value) { m_parameters = value; } /** *

The run's parameters.

*/ inline void SetParameters(Aws::Utils::Document&& value) { m_parameters = std::move(value); } /** *

The run's parameters.

*/ inline GetRunResult& WithParameters(const Aws::Utils::Document& value) { SetParameters(value); return *this;} /** *

The run's parameters.

*/ inline GetRunResult& WithParameters(Aws::Utils::Document&& value) { SetParameters(std::move(value)); return *this;} /** *

The run's storage capacity in gigabytes.

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

The run's storage capacity in gigabytes.

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

The run's storage capacity in gigabytes.

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

The run's output URI.

*/ inline const Aws::String& GetOutputUri() const{ return m_outputUri; } /** *

The run's output URI.

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

The run's output URI.

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

The run's output URI.

*/ inline void SetOutputUri(const char* value) { m_outputUri.assign(value); } /** *

The run's output URI.

*/ inline GetRunResult& WithOutputUri(const Aws::String& value) { SetOutputUri(value); return *this;} /** *

The run's output URI.

*/ inline GetRunResult& WithOutputUri(Aws::String&& value) { SetOutputUri(std::move(value)); return *this;} /** *

The run's output URI.

*/ inline GetRunResult& WithOutputUri(const char* value) { SetOutputUri(value); return *this;} /** *

The run's log level.

*/ inline const RunLogLevel& GetLogLevel() const{ return m_logLevel; } /** *

The run's log level.

*/ inline void SetLogLevel(const RunLogLevel& value) { m_logLevel = value; } /** *

The run's log level.

*/ inline void SetLogLevel(RunLogLevel&& value) { m_logLevel = std::move(value); } /** *

The run's log level.

*/ inline GetRunResult& WithLogLevel(const RunLogLevel& value) { SetLogLevel(value); return *this;} /** *

The run's log level.

*/ inline GetRunResult& WithLogLevel(RunLogLevel&& value) { SetLogLevel(std::move(value)); return *this;} /** *

The run's resource digests.

*/ inline const Aws::Map& GetResourceDigests() const{ return m_resourceDigests; } /** *

The run's resource digests.

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

The run's resource digests.

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

The run's resource digests.

*/ inline GetRunResult& WithResourceDigests(const Aws::Map& value) { SetResourceDigests(value); return *this;} /** *

The run's resource digests.

*/ inline GetRunResult& WithResourceDigests(Aws::Map&& value) { SetResourceDigests(std::move(value)); return *this;} /** *

The run's resource digests.

*/ inline GetRunResult& AddResourceDigests(const Aws::String& key, const Aws::String& value) { m_resourceDigests.emplace(key, value); return *this; } /** *

The run's resource digests.

*/ inline GetRunResult& AddResourceDigests(Aws::String&& key, const Aws::String& value) { m_resourceDigests.emplace(std::move(key), value); return *this; } /** *

The run's resource digests.

*/ inline GetRunResult& AddResourceDigests(const Aws::String& key, Aws::String&& value) { m_resourceDigests.emplace(key, std::move(value)); return *this; } /** *

The run's resource digests.

*/ inline GetRunResult& AddResourceDigests(Aws::String&& key, Aws::String&& value) { m_resourceDigests.emplace(std::move(key), std::move(value)); return *this; } /** *

The run's resource digests.

*/ inline GetRunResult& AddResourceDigests(const char* key, Aws::String&& value) { m_resourceDigests.emplace(key, std::move(value)); return *this; } /** *

The run's resource digests.

*/ inline GetRunResult& AddResourceDigests(Aws::String&& key, const char* value) { m_resourceDigests.emplace(std::move(key), value); return *this; } /** *

The run's resource digests.

*/ inline GetRunResult& AddResourceDigests(const char* key, const char* value) { m_resourceDigests.emplace(key, value); return *this; } /** *

Who started the run.

*/ inline const Aws::String& GetStartedBy() const{ return m_startedBy; } /** *

Who started the run.

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

Who started the run.

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

Who started the run.

*/ inline void SetStartedBy(const char* value) { m_startedBy.assign(value); } /** *

Who started the run.

*/ inline GetRunResult& WithStartedBy(const Aws::String& value) { SetStartedBy(value); return *this;} /** *

Who started the run.

*/ inline GetRunResult& WithStartedBy(Aws::String&& value) { SetStartedBy(std::move(value)); return *this;} /** *

Who started the run.

*/ inline GetRunResult& WithStartedBy(const char* value) { SetStartedBy(value); return *this;} /** *

When the run was created.

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

When the run was created.

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

When the run was created.

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

When the run was created.

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

When the run was created.

*/ inline GetRunResult& 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 void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; } /** *

When the run started.

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

When the run started.

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

When the run started.

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

The run's stop time.

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

The run's stop time.

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

The run's stop time.

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

The run's stop time.

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

The run's stop time.

*/ inline GetRunResult& WithStopTime(Aws::Utils::DateTime&& value) { SetStopTime(std::move(value)); return *this;} /** *

The run's status message.

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

The run's status message.

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

The run's status message.

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

The run's status message.

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

The run's status message.

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

The run's status message.

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

The run's status message.

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

The run's tags.

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

The run's tags.

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

The run's tags.

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

The run's tags.

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

The run's tags.

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

The run's tags.

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

The run's tags.

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

The run's tags.

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

The run's tags.

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

The run's tags.

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

The run's tags.

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

The run's tags.

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

The computational accelerator used to run the workflow.

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

The computational accelerator used to run the workflow.

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

The computational accelerator used to run the workflow.

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

The computational accelerator used to run the workflow.

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

The computational accelerator used to run the workflow.

*/ inline GetRunResult& 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 GetRunResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetRunResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetRunResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::String m_id; RunStatus m_status; Aws::String m_workflowId; WorkflowType m_workflowType; Aws::String m_runId; Aws::String m_roleArn; Aws::String m_name; Aws::String m_runGroupId; int m_priority; Aws::String m_definition; Aws::String m_digest; Aws::Utils::Document m_parameters; int m_storageCapacity; Aws::String m_outputUri; RunLogLevel m_logLevel; Aws::Map m_resourceDigests; Aws::String m_startedBy; Aws::Utils::DateTime m_creationTime; Aws::Utils::DateTime m_startTime; Aws::Utils::DateTime m_stopTime; Aws::String m_statusMessage; Aws::Map m_tags; Accelerators m_accelerators; Aws::String m_requestId; }; } // namespace Model } // namespace Omics } // namespace Aws