AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
CreateWorkflowVersionResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/omics/Omics_EXPORTS.h>
10#include <aws/omics/model/WorkflowStatus.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Omics {
24namespace Model {
26 public:
27 AWS_OMICS_API CreateWorkflowVersionResult() = default;
30
32
35 inline const Aws::String& GetArn() const { return m_arn; }
36 template <typename ArnT = Aws::String>
37 void SetArn(ArnT&& value) {
38 m_arnHasBeenSet = true;
39 m_arn = std::forward<ArnT>(value);
40 }
41 template <typename ArnT = Aws::String>
43 SetArn(std::forward<ArnT>(value));
44 return *this;
45 }
47
49
52 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
53 template <typename WorkflowIdT = Aws::String>
54 void SetWorkflowId(WorkflowIdT&& value) {
55 m_workflowIdHasBeenSet = true;
56 m_workflowId = std::forward<WorkflowIdT>(value);
57 }
58 template <typename WorkflowIdT = Aws::String>
60 SetWorkflowId(std::forward<WorkflowIdT>(value));
61 return *this;
62 }
64
66
69 inline const Aws::String& GetVersionName() const { return m_versionName; }
70 template <typename VersionNameT = Aws::String>
71 void SetVersionName(VersionNameT&& value) {
72 m_versionNameHasBeenSet = true;
73 m_versionName = std::forward<VersionNameT>(value);
74 }
75 template <typename VersionNameT = Aws::String>
77 SetVersionName(std::forward<VersionNameT>(value));
78 return *this;
79 }
81
83
86 inline WorkflowStatus GetStatus() const { return m_status; }
87 inline void SetStatus(WorkflowStatus value) {
88 m_statusHasBeenSet = true;
89 m_status = value;
90 }
92 SetStatus(value);
93 return *this;
94 }
96
98
101 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
102 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
103 void SetTags(TagsT&& value) {
104 m_tagsHasBeenSet = true;
105 m_tags = std::forward<TagsT>(value);
106 }
107 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
109 SetTags(std::forward<TagsT>(value));
110 return *this;
111 }
112 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
113 CreateWorkflowVersionResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
114 m_tagsHasBeenSet = true;
115 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::String& GetUuid() const { return m_uuid; }
125 template <typename UuidT = Aws::String>
126 void SetUuid(UuidT&& value) {
127 m_uuidHasBeenSet = true;
128 m_uuid = std::forward<UuidT>(value);
129 }
130 template <typename UuidT = Aws::String>
132 SetUuid(std::forward<UuidT>(value));
133 return *this;
134 }
136
138
139 inline const Aws::String& GetRequestId() const { return m_requestId; }
140 template <typename RequestIdT = Aws::String>
141 void SetRequestId(RequestIdT&& value) {
142 m_requestIdHasBeenSet = true;
143 m_requestId = std::forward<RequestIdT>(value);
144 }
145 template <typename RequestIdT = Aws::String>
147 SetRequestId(std::forward<RequestIdT>(value));
148 return *this;
149 }
151 private:
152 Aws::String m_arn;
153
154 Aws::String m_workflowId;
155
156 Aws::String m_versionName;
157
159
161
162 Aws::String m_uuid;
163
164 Aws::String m_requestId;
165 bool m_arnHasBeenSet = false;
166 bool m_workflowIdHasBeenSet = false;
167 bool m_versionNameHasBeenSet = false;
168 bool m_statusHasBeenSet = false;
169 bool m_tagsHasBeenSet = false;
170 bool m_uuidHasBeenSet = false;
171 bool m_requestIdHasBeenSet = false;
172};
173
174} // namespace Model
175} // namespace Omics
176} // namespace Aws
CreateWorkflowVersionResult & WithArn(ArnT &&value)
CreateWorkflowVersionResult & WithWorkflowId(WorkflowIdT &&value)
CreateWorkflowVersionResult & WithRequestId(RequestIdT &&value)
CreateWorkflowVersionResult & WithTags(TagsT &&value)
AWS_OMICS_API CreateWorkflowVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorkflowVersionResult & WithStatus(WorkflowStatus value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateWorkflowVersionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_OMICS_API CreateWorkflowVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OMICS_API CreateWorkflowVersionResult()=default
CreateWorkflowVersionResult & WithVersionName(VersionNameT &&value)
CreateWorkflowVersionResult & WithUuid(UuidT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue