AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
GetWorkflowVersionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/omics/OmicsRequest.h>
10#include <aws/omics/Omics_EXPORTS.h>
11#include <aws/omics/model/WorkflowExport.h>
12#include <aws/omics/model/WorkflowType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Http {
18class URI;
19} // namespace Http
20namespace Omics {
21namespace Model {
22
26 public:
27 AWS_OMICS_API GetWorkflowVersionRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "GetWorkflowVersion"; }
34
35 AWS_OMICS_API Aws::String SerializePayload() const override;
36
37 AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
38
40
43 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
44 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
45 template <typename WorkflowIdT = Aws::String>
46 void SetWorkflowId(WorkflowIdT&& value) {
47 m_workflowIdHasBeenSet = true;
48 m_workflowId = std::forward<WorkflowIdT>(value);
49 }
50 template <typename WorkflowIdT = Aws::String>
52 SetWorkflowId(std::forward<WorkflowIdT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetVersionName() const { return m_versionName; }
62 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
63 template <typename VersionNameT = Aws::String>
64 void SetVersionName(VersionNameT&& value) {
65 m_versionNameHasBeenSet = true;
66 m_versionName = std::forward<VersionNameT>(value);
67 }
68 template <typename VersionNameT = Aws::String>
70 SetVersionName(std::forward<VersionNameT>(value));
71 return *this;
72 }
74
76
79 inline WorkflowType GetType() const { return m_type; }
80 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
81 inline void SetType(WorkflowType value) {
82 m_typeHasBeenSet = true;
83 m_type = value;
84 }
86 SetType(value);
87 return *this;
88 }
90
92
95 inline const Aws::Vector<WorkflowExport>& GetExport() const { return m_export; }
96 inline bool ExportHasBeenSet() const { return m_exportHasBeenSet; }
97 template <typename ExportT = Aws::Vector<WorkflowExport>>
98 void SetExport(ExportT&& value) {
99 m_exportHasBeenSet = true;
100 m_export = std::forward<ExportT>(value);
101 }
102 template <typename ExportT = Aws::Vector<WorkflowExport>>
104 SetExport(std::forward<ExportT>(value));
105 return *this;
106 }
108 m_exportHasBeenSet = true;
109 m_export.push_back(value);
110 return *this;
111 }
113
115
120 inline const Aws::String& GetWorkflowOwnerId() const { return m_workflowOwnerId; }
121 inline bool WorkflowOwnerIdHasBeenSet() const { return m_workflowOwnerIdHasBeenSet; }
122 template <typename WorkflowOwnerIdT = Aws::String>
123 void SetWorkflowOwnerId(WorkflowOwnerIdT&& value) {
124 m_workflowOwnerIdHasBeenSet = true;
125 m_workflowOwnerId = std::forward<WorkflowOwnerIdT>(value);
126 }
127 template <typename WorkflowOwnerIdT = Aws::String>
129 SetWorkflowOwnerId(std::forward<WorkflowOwnerIdT>(value));
130 return *this;
131 }
133 private:
134 Aws::String m_workflowId;
135
136 Aws::String m_versionName;
137
139
141
142 Aws::String m_workflowOwnerId;
143 bool m_workflowIdHasBeenSet = false;
144 bool m_versionNameHasBeenSet = false;
145 bool m_typeHasBeenSet = false;
146 bool m_exportHasBeenSet = false;
147 bool m_workflowOwnerIdHasBeenSet = false;
148};
149
150} // namespace Model
151} // namespace Omics
152} // namespace Aws
GetWorkflowVersionRequest & WithWorkflowOwnerId(WorkflowOwnerIdT &&value)
virtual const char * GetServiceRequestName() const override
GetWorkflowVersionRequest & WithWorkflowId(WorkflowIdT &&value)
AWS_OMICS_API Aws::String SerializePayload() const override
GetWorkflowVersionRequest & WithExport(ExportT &&value)
AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
GetWorkflowVersionRequest & AddExport(WorkflowExport value)
const Aws::Vector< WorkflowExport > & GetExport() const
GetWorkflowVersionRequest & WithType(WorkflowType value)
GetWorkflowVersionRequest & WithVersionName(VersionNameT &&value)
AWS_OMICS_API GetWorkflowVersionRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector