AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
51 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
52 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
53 inline GetWorkflowRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
54 inline GetWorkflowRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
55 inline GetWorkflowRequest& WithId(const char* value) { SetId(value); return *this;}
57
59
62 inline const WorkflowType& GetType() const{ return m_type; }
63 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
64 inline void SetType(const WorkflowType& value) { m_typeHasBeenSet = true; m_type = value; }
65 inline void SetType(WorkflowType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
66 inline GetWorkflowRequest& WithType(const WorkflowType& value) { SetType(value); return *this;}
67 inline GetWorkflowRequest& WithType(WorkflowType&& value) { SetType(std::move(value)); return *this;}
69
71
74 inline const Aws::Vector<WorkflowExport>& GetExport() const{ return m_export; }
75 inline bool ExportHasBeenSet() const { return m_exportHasBeenSet; }
76 inline void SetExport(const Aws::Vector<WorkflowExport>& value) { m_exportHasBeenSet = true; m_export = value; }
77 inline void SetExport(Aws::Vector<WorkflowExport>&& value) { m_exportHasBeenSet = true; m_export = std::move(value); }
78 inline GetWorkflowRequest& WithExport(const Aws::Vector<WorkflowExport>& value) { SetExport(value); return *this;}
79 inline GetWorkflowRequest& WithExport(Aws::Vector<WorkflowExport>&& value) { SetExport(std::move(value)); return *this;}
80 inline GetWorkflowRequest& AddExport(const WorkflowExport& value) { m_exportHasBeenSet = true; m_export.push_back(value); return *this; }
81 inline GetWorkflowRequest& AddExport(WorkflowExport&& value) { m_exportHasBeenSet = true; m_export.push_back(std::move(value)); return *this; }
83
85
88 inline const Aws::String& GetWorkflowOwnerId() const{ return m_workflowOwnerId; }
89 inline bool WorkflowOwnerIdHasBeenSet() const { return m_workflowOwnerIdHasBeenSet; }
90 inline void SetWorkflowOwnerId(const Aws::String& value) { m_workflowOwnerIdHasBeenSet = true; m_workflowOwnerId = value; }
91 inline void SetWorkflowOwnerId(Aws::String&& value) { m_workflowOwnerIdHasBeenSet = true; m_workflowOwnerId = std::move(value); }
92 inline void SetWorkflowOwnerId(const char* value) { m_workflowOwnerIdHasBeenSet = true; m_workflowOwnerId.assign(value); }
93 inline GetWorkflowRequest& WithWorkflowOwnerId(const Aws::String& value) { SetWorkflowOwnerId(value); return *this;}
94 inline GetWorkflowRequest& WithWorkflowOwnerId(Aws::String&& value) { SetWorkflowOwnerId(std::move(value)); return *this;}
95 inline GetWorkflowRequest& WithWorkflowOwnerId(const char* value) { SetWorkflowOwnerId(value); return *this;}
97 private:
98
99 Aws::String m_id;
100 bool m_idHasBeenSet = false;
101
102 WorkflowType m_type;
103 bool m_typeHasBeenSet = false;
104
106 bool m_exportHasBeenSet = false;
107
108 Aws::String m_workflowOwnerId;
109 bool m_workflowOwnerIdHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace Omics
114} // namespace Aws
GetWorkflowRequest & WithId(const Aws::String &value)
AWS_OMICS_API Aws::String SerializePayload() const override
GetWorkflowRequest & WithType(WorkflowType &&value)
const Aws::Vector< WorkflowExport > & GetExport() const
void SetExport(const Aws::Vector< WorkflowExport > &value)
GetWorkflowRequest & AddExport(WorkflowExport &&value)
AWS_OMICS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetExport(Aws::Vector< WorkflowExport > &&value)
void SetWorkflowOwnerId(const Aws::String &value)
GetWorkflowRequest & WithWorkflowOwnerId(const char *value)
void SetId(const Aws::String &value)
GetWorkflowRequest & WithType(const WorkflowType &value)
GetWorkflowRequest & WithExport(const Aws::Vector< WorkflowExport > &value)
const WorkflowType & GetType() const
GetWorkflowRequest & WithId(Aws::String &&value)
GetWorkflowRequest & WithId(const char *value)
void SetWorkflowOwnerId(Aws::String &&value)
GetWorkflowRequest & WithWorkflowOwnerId(Aws::String &&value)
GetWorkflowRequest & WithWorkflowOwnerId(const Aws::String &value)
GetWorkflowRequest & AddExport(const WorkflowExport &value)
virtual const char * GetServiceRequestName() const override
void SetType(const WorkflowType &value)
GetWorkflowRequest & WithExport(Aws::Vector< WorkflowExport > &&value)
const Aws::String & GetWorkflowOwnerId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector