AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CreateWorkflowResult.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 CreateWorkflowResult() = 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& GetId() const { return m_id; }
53 template <typename IdT = Aws::String>
54 void SetId(IdT&& value) {
55 m_idHasBeenSet = true;
56 m_id = std::forward<IdT>(value);
57 }
58 template <typename IdT = Aws::String>
60 SetId(std::forward<IdT>(value));
61 return *this;
62 }
64
66
69 inline WorkflowStatus GetStatus() const { return m_status; }
70 inline void SetStatus(WorkflowStatus value) {
71 m_statusHasBeenSet = true;
72 m_status = value;
73 }
75 SetStatus(value);
76 return *this;
77 }
79
81
84 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
85 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
86 void SetTags(TagsT&& value) {
87 m_tagsHasBeenSet = true;
88 m_tags = std::forward<TagsT>(value);
89 }
90 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
92 SetTags(std::forward<TagsT>(value));
93 return *this;
94 }
95 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
96 CreateWorkflowResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
97 m_tagsHasBeenSet = true;
98 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::String& GetUuid() const { return m_uuid; }
108 template <typename UuidT = Aws::String>
109 void SetUuid(UuidT&& value) {
110 m_uuidHasBeenSet = true;
111 m_uuid = std::forward<UuidT>(value);
112 }
113 template <typename UuidT = Aws::String>
115 SetUuid(std::forward<UuidT>(value));
116 return *this;
117 }
119
121
122 inline const Aws::String& GetRequestId() const { return m_requestId; }
123 template <typename RequestIdT = Aws::String>
124 void SetRequestId(RequestIdT&& value) {
125 m_requestIdHasBeenSet = true;
126 m_requestId = std::forward<RequestIdT>(value);
127 }
128 template <typename RequestIdT = Aws::String>
129 CreateWorkflowResult& WithRequestId(RequestIdT&& value) {
130 SetRequestId(std::forward<RequestIdT>(value));
131 return *this;
132 }
134 private:
135 Aws::String m_arn;
136
137 Aws::String m_id;
138
140
142
143 Aws::String m_uuid;
144
145 Aws::String m_requestId;
146 bool m_arnHasBeenSet = false;
147 bool m_idHasBeenSet = false;
148 bool m_statusHasBeenSet = false;
149 bool m_tagsHasBeenSet = false;
150 bool m_uuidHasBeenSet = false;
151 bool m_requestIdHasBeenSet = false;
152};
153
154} // namespace Model
155} // namespace Omics
156} // 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
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