AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetWorkflowRequest.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/omics/OmicsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/omics/model/WorkflowType.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/omics/model/WorkflowExport.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Http
18{
19 class URI;
20} //namespace Http
21namespace Omics
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_OMICS_API GetWorkflowRequest() = default;
32
33 // Service request name is the Operation name which will send this request out,
34 // each operation should has unique request name, so that we can get operation's name from this request.
35 // Note: this is not true for response, multiple operations may have the same response name,
36 // so we can not get operation's name from response.
37 inline virtual const char* GetServiceRequestName() const override { return "GetWorkflow"; }
38
39 AWS_OMICS_API Aws::String SerializePayload() const override;
40
41 AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
48 inline const Aws::String& GetId() const { return m_id; }
49 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
50 template<typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
52 template<typename IdT = Aws::String>
53 GetWorkflowRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
55
57
60 inline WorkflowType GetType() const { return m_type; }
61 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
62 inline void SetType(WorkflowType value) { m_typeHasBeenSet = true; m_type = value; }
63 inline GetWorkflowRequest& WithType(WorkflowType value) { SetType(value); return *this;}
65
67
70 inline const Aws::Vector<WorkflowExport>& GetExport() const { return m_export; }
71 inline bool ExportHasBeenSet() const { return m_exportHasBeenSet; }
72 template<typename ExportT = Aws::Vector<WorkflowExport>>
73 void SetExport(ExportT&& value) { m_exportHasBeenSet = true; m_export = std::forward<ExportT>(value); }
74 template<typename ExportT = Aws::Vector<WorkflowExport>>
75 GetWorkflowRequest& WithExport(ExportT&& value) { SetExport(std::forward<ExportT>(value)); return *this;}
76 inline GetWorkflowRequest& AddExport(WorkflowExport value) { m_exportHasBeenSet = true; m_export.push_back(value); return *this; }
78
80
83 inline const Aws::String& GetWorkflowOwnerId() const { return m_workflowOwnerId; }
84 inline bool WorkflowOwnerIdHasBeenSet() const { return m_workflowOwnerIdHasBeenSet; }
85 template<typename WorkflowOwnerIdT = Aws::String>
86 void SetWorkflowOwnerId(WorkflowOwnerIdT&& value) { m_workflowOwnerIdHasBeenSet = true; m_workflowOwnerId = std::forward<WorkflowOwnerIdT>(value); }
87 template<typename WorkflowOwnerIdT = Aws::String>
88 GetWorkflowRequest& WithWorkflowOwnerId(WorkflowOwnerIdT&& value) { SetWorkflowOwnerId(std::forward<WorkflowOwnerIdT>(value)); return *this;}
90 private:
91
92 Aws::String m_id;
93 bool m_idHasBeenSet = false;
94
96 bool m_typeHasBeenSet = false;
97
99 bool m_exportHasBeenSet = false;
100
101 Aws::String m_workflowOwnerId;
102 bool m_workflowOwnerIdHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Omics
107} // namespace Aws
GetWorkflowRequest & WithId(IdT &&value)
AWS_OMICS_API Aws::String SerializePayload() const override
GetWorkflowRequest & WithWorkflowOwnerId(WorkflowOwnerIdT &&value)
const Aws::Vector< WorkflowExport > & GetExport() const
AWS_OMICS_API GetWorkflowRequest()=default
AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetWorkflowRequest & AddExport(WorkflowExport value)
void SetWorkflowOwnerId(WorkflowOwnerIdT &&value)
GetWorkflowRequest & WithExport(ExportT &&value)
GetWorkflowRequest & WithType(WorkflowType value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetWorkflowOwnerId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector