/** * 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 namespace Aws { namespace Http { class URI; } //namespace Http namespace Omics { namespace Model { /** */ class GetWorkflowRequest : public OmicsRequest { public: AWS_OMICS_API GetWorkflowRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetWorkflow"; } AWS_OMICS_API Aws::String SerializePayload() const override; AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The workflow's ID.

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

The workflow's ID.

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

The workflow's ID.

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

The workflow's ID.

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

The workflow's ID.

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

The workflow's ID.

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

The workflow's ID.

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

The workflow's ID.

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

The workflow's type.

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

The workflow's type.

*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *

The workflow's type.

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

The workflow's type.

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

The workflow's type.

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

The workflow's type.

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

The export format for the workflow.

*/ inline const Aws::Vector& GetExport() const{ return m_export; } /** *

The export format for the workflow.

*/ inline bool ExportHasBeenSet() const { return m_exportHasBeenSet; } /** *

The export format for the workflow.

*/ inline void SetExport(const Aws::Vector& value) { m_exportHasBeenSet = true; m_export = value; } /** *

The export format for the workflow.

*/ inline void SetExport(Aws::Vector&& value) { m_exportHasBeenSet = true; m_export = std::move(value); } /** *

The export format for the workflow.

*/ inline GetWorkflowRequest& WithExport(const Aws::Vector& value) { SetExport(value); return *this;} /** *

The export format for the workflow.

*/ inline GetWorkflowRequest& WithExport(Aws::Vector&& value) { SetExport(std::move(value)); return *this;} /** *

The export format for the workflow.

*/ inline GetWorkflowRequest& AddExport(const WorkflowExport& value) { m_exportHasBeenSet = true; m_export.push_back(value); return *this; } /** *

The export format for the workflow.

*/ inline GetWorkflowRequest& AddExport(WorkflowExport&& value) { m_exportHasBeenSet = true; m_export.push_back(std::move(value)); return *this; } private: Aws::String m_id; bool m_idHasBeenSet = false; WorkflowType m_type; bool m_typeHasBeenSet = false; Aws::Vector m_export; bool m_exportHasBeenSet = false; }; } // namespace Model } // namespace Omics } // namespace Aws