AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
GetWorkflowRequest.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 GetWorkflowRequest() = 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 "GetWorkflow"; }
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& GetId() const { return m_id; }
44 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
45 template <typename IdT = Aws::String>
46 void SetId(IdT&& value) {
47 m_idHasBeenSet = true;
48 m_id = std::forward<IdT>(value);
49 }
50 template <typename IdT = Aws::String>
51 GetWorkflowRequest& WithId(IdT&& value) {
52 SetId(std::forward<IdT>(value));
53 return *this;
54 }
56
58
61 inline WorkflowType GetType() const { return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(WorkflowType value) {
64 m_typeHasBeenSet = true;
65 m_type = value;
66 }
68 SetType(value);
69 return *this;
70 }
72
74
77 inline const Aws::Vector<WorkflowExport>& GetExport() const { return m_export; }
78 inline bool ExportHasBeenSet() const { return m_exportHasBeenSet; }
79 template <typename ExportT = Aws::Vector<WorkflowExport>>
80 void SetExport(ExportT&& value) {
81 m_exportHasBeenSet = true;
82 m_export = std::forward<ExportT>(value);
83 }
84 template <typename ExportT = Aws::Vector<WorkflowExport>>
85 GetWorkflowRequest& WithExport(ExportT&& value) {
86 SetExport(std::forward<ExportT>(value));
87 return *this;
88 }
90 m_exportHasBeenSet = true;
91 m_export.push_back(value);
92 return *this;
93 }
95
97
100 inline const Aws::String& GetWorkflowOwnerId() const { return m_workflowOwnerId; }
101 inline bool WorkflowOwnerIdHasBeenSet() const { return m_workflowOwnerIdHasBeenSet; }
102 template <typename WorkflowOwnerIdT = Aws::String>
103 void SetWorkflowOwnerId(WorkflowOwnerIdT&& value) {
104 m_workflowOwnerIdHasBeenSet = true;
105 m_workflowOwnerId = std::forward<WorkflowOwnerIdT>(value);
106 }
107 template <typename WorkflowOwnerIdT = Aws::String>
108 GetWorkflowRequest& WithWorkflowOwnerId(WorkflowOwnerIdT&& value) {
109 SetWorkflowOwnerId(std::forward<WorkflowOwnerIdT>(value));
110 return *this;
111 }
113 private:
114 Aws::String m_id;
115
117
119
120 Aws::String m_workflowOwnerId;
121 bool m_idHasBeenSet = false;
122 bool m_typeHasBeenSet = false;
123 bool m_exportHasBeenSet = false;
124 bool m_workflowOwnerIdHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace Omics
129} // 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