AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetWorkflowVersionRequest.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 GetWorkflowVersionRequest() = 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 "GetWorkflowVersion"; }
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& GetWorkflowId() const { return m_workflowId; }
49 inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; }
50 template<typename WorkflowIdT = Aws::String>
51 void SetWorkflowId(WorkflowIdT&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::forward<WorkflowIdT>(value); }
52 template<typename WorkflowIdT = Aws::String>
53 GetWorkflowVersionRequest& WithWorkflowId(WorkflowIdT&& value) { SetWorkflowId(std::forward<WorkflowIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetVersionName() const { return m_versionName; }
61 inline bool VersionNameHasBeenSet() const { return m_versionNameHasBeenSet; }
62 template<typename VersionNameT = Aws::String>
63 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet = true; m_versionName = std::forward<VersionNameT>(value); }
64 template<typename VersionNameT = Aws::String>
65 GetWorkflowVersionRequest& WithVersionName(VersionNameT&& value) { SetVersionName(std::forward<VersionNameT>(value)); return *this;}
67
69
72 inline WorkflowType GetType() const { return m_type; }
73 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
74 inline void SetType(WorkflowType value) { m_typeHasBeenSet = true; m_type = value; }
75 inline GetWorkflowVersionRequest& WithType(WorkflowType value) { SetType(value); return *this;}
77
79
82 inline const Aws::Vector<WorkflowExport>& GetExport() const { return m_export; }
83 inline bool ExportHasBeenSet() const { return m_exportHasBeenSet; }
84 template<typename ExportT = Aws::Vector<WorkflowExport>>
85 void SetExport(ExportT&& value) { m_exportHasBeenSet = true; m_export = std::forward<ExportT>(value); }
86 template<typename ExportT = Aws::Vector<WorkflowExport>>
87 GetWorkflowVersionRequest& WithExport(ExportT&& value) { SetExport(std::forward<ExportT>(value)); return *this;}
88 inline GetWorkflowVersionRequest& AddExport(WorkflowExport value) { m_exportHasBeenSet = true; m_export.push_back(value); return *this; }
90
92
95 inline const Aws::String& GetWorkflowOwnerId() const { return m_workflowOwnerId; }
96 inline bool WorkflowOwnerIdHasBeenSet() const { return m_workflowOwnerIdHasBeenSet; }
97 template<typename WorkflowOwnerIdT = Aws::String>
98 void SetWorkflowOwnerId(WorkflowOwnerIdT&& value) { m_workflowOwnerIdHasBeenSet = true; m_workflowOwnerId = std::forward<WorkflowOwnerIdT>(value); }
99 template<typename WorkflowOwnerIdT = Aws::String>
100 GetWorkflowVersionRequest& WithWorkflowOwnerId(WorkflowOwnerIdT&& value) { SetWorkflowOwnerId(std::forward<WorkflowOwnerIdT>(value)); return *this;}
102 private:
103
104 Aws::String m_workflowId;
105 bool m_workflowIdHasBeenSet = false;
106
107 Aws::String m_versionName;
108 bool m_versionNameHasBeenSet = false;
109
111 bool m_typeHasBeenSet = false;
112
114 bool m_exportHasBeenSet = false;
115
116 Aws::String m_workflowOwnerId;
117 bool m_workflowOwnerIdHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace Omics
122} // 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