AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
CreateWorkflowResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/omics/Omics_EXPORTS.h>
11#include <aws/omics/model/WorkflowStatus.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Omics {
25namespace Model {
27 public:
28 AWS_OMICS_API CreateWorkflowResult() = default;
31
33
36 inline const Aws::String& GetArn() const { return m_arn; }
37 template <typename ArnT = Aws::String>
38 void SetArn(ArnT&& value) {
39 m_arnHasBeenSet = true;
40 m_arn = std::forward<ArnT>(value);
41 }
42 template <typename ArnT = Aws::String>
44 SetArn(std::forward<ArnT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetId() const { return m_id; }
54 template <typename IdT = Aws::String>
55 void SetId(IdT&& value) {
56 m_idHasBeenSet = true;
57 m_id = std::forward<IdT>(value);
58 }
59 template <typename IdT = Aws::String>
61 SetId(std::forward<IdT>(value));
62 return *this;
63 }
65
67
70 inline WorkflowStatus GetStatus() const { return m_status; }
71 inline void SetStatus(WorkflowStatus value) {
72 m_statusHasBeenSet = true;
73 m_status = value;
74 }
76 SetStatus(value);
77 return *this;
78 }
80
82
85 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
86 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
87 void SetTags(TagsT&& value) {
88 m_tagsHasBeenSet = true;
89 m_tags = std::forward<TagsT>(value);
90 }
91 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
93 SetTags(std::forward<TagsT>(value));
94 return *this;
95 }
96 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
97 CreateWorkflowResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
98 m_tagsHasBeenSet = true;
99 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::String& GetUuid() const { return m_uuid; }
109 template <typename UuidT = Aws::String>
110 void SetUuid(UuidT&& value) {
111 m_uuidHasBeenSet = true;
112 m_uuid = std::forward<UuidT>(value);
113 }
114 template <typename UuidT = Aws::String>
116 SetUuid(std::forward<UuidT>(value));
117 return *this;
118 }
120
122
123 inline const Aws::String& GetRequestId() const { return m_requestId; }
124 template <typename RequestIdT = Aws::String>
125 void SetRequestId(RequestIdT&& value) {
126 m_requestIdHasBeenSet = true;
127 m_requestId = std::forward<RequestIdT>(value);
128 }
129 template <typename RequestIdT = Aws::String>
130 CreateWorkflowResult& WithRequestId(RequestIdT&& value) {
131 SetRequestId(std::forward<RequestIdT>(value));
132 return *this;
133 }
135 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
136
137 private:
138 Aws::String m_arn;
139
140 Aws::String m_id;
141
143
145
146 Aws::String m_uuid;
147
148 Aws::String m_requestId;
149 Aws::Http::HttpResponseCode m_HttpResponseCode;
150 bool m_arnHasBeenSet = false;
151 bool m_idHasBeenSet = false;
152 bool m_statusHasBeenSet = false;
153 bool m_tagsHasBeenSet = false;
154 bool m_uuidHasBeenSet = false;
155 bool m_requestIdHasBeenSet = false;
156};
157
158} // namespace Model
159} // namespace Omics
160} // namespace Aws
AWS_OMICS_API CreateWorkflowResult()=default
AWS_OMICS_API CreateWorkflowResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorkflowResult & WithStatus(WorkflowStatus value)
CreateWorkflowResult & WithTags(TagsT &&value)
CreateWorkflowResult & WithUuid(UuidT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateWorkflowResult & WithId(IdT &&value)
CreateWorkflowResult & WithArn(ArnT &&value)
AWS_OMICS_API CreateWorkflowResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateWorkflowResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateWorkflowResult & WithRequestId(RequestIdT &&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