/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Omics { namespace Model { class CreateWorkflowResult { public: AWS_OMICS_API CreateWorkflowResult(); AWS_OMICS_API CreateWorkflowResult(const Aws::AmazonWebServiceResult& result); AWS_OMICS_API CreateWorkflowResult& 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 CreateWorkflowResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The workflow's ARN.

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

The workflow's ARN.

*/ inline CreateWorkflowResult& 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 CreateWorkflowResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The workflow's ID.

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

The workflow's ID.

*/ inline CreateWorkflowResult& 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 CreateWorkflowResult& WithStatus(const WorkflowStatus& value) { SetStatus(value); return *this;} /** *

The workflow's status.

*/ inline CreateWorkflowResult& WithStatus(WorkflowStatus&& value) { SetStatus(std::move(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 CreateWorkflowResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The workflow's tags.

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

The workflow's tags.

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

The workflow's tags.

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

The workflow's tags.

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

The workflow's tags.

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

The workflow's tags.

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

The workflow's tags.

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

The workflow's tags.

*/ inline CreateWorkflowResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, 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 CreateWorkflowResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateWorkflowResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateWorkflowResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_arn; Aws::String m_id; WorkflowStatus m_status; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace Omics } // namespace Aws