AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateWorkflowVersionResult.h
1
6#pragma once
7#include <aws/omics/Omics_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/omics/model/WorkflowStatus.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Omics
26{
27namespace Model
28{
30 {
31 public:
32 AWS_OMICS_API CreateWorkflowVersionResult() = default;
35
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 template<typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
44 template<typename ArnT = Aws::String>
45 CreateWorkflowVersionResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
47
49
52 inline const Aws::String& GetWorkflowId() const { return m_workflowId; }
53 template<typename WorkflowIdT = Aws::String>
54 void SetWorkflowId(WorkflowIdT&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::forward<WorkflowIdT>(value); }
55 template<typename WorkflowIdT = Aws::String>
56 CreateWorkflowVersionResult& WithWorkflowId(WorkflowIdT&& value) { SetWorkflowId(std::forward<WorkflowIdT>(value)); return *this;}
58
60
63 inline const Aws::String& GetVersionName() const { return m_versionName; }
64 template<typename VersionNameT = Aws::String>
65 void SetVersionName(VersionNameT&& value) { m_versionNameHasBeenSet = true; m_versionName = std::forward<VersionNameT>(value); }
66 template<typename VersionNameT = Aws::String>
67 CreateWorkflowVersionResult& WithVersionName(VersionNameT&& value) { SetVersionName(std::forward<VersionNameT>(value)); return *this;}
69
71
74 inline WorkflowStatus GetStatus() const { return m_status; }
75 inline void SetStatus(WorkflowStatus value) { m_statusHasBeenSet = true; m_status = value; }
76 inline CreateWorkflowVersionResult& WithStatus(WorkflowStatus value) { SetStatus(value); return *this;}
78
80
83 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
84 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
85 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
86 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
87 CreateWorkflowVersionResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
88 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
89 CreateWorkflowVersionResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
90 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
91 }
93
95
98 inline const Aws::String& GetUuid() const { return m_uuid; }
99 template<typename UuidT = Aws::String>
100 void SetUuid(UuidT&& value) { m_uuidHasBeenSet = true; m_uuid = std::forward<UuidT>(value); }
101 template<typename UuidT = Aws::String>
102 CreateWorkflowVersionResult& WithUuid(UuidT&& value) { SetUuid(std::forward<UuidT>(value)); return *this;}
104
106
107 inline const Aws::String& GetRequestId() const { return m_requestId; }
108 template<typename RequestIdT = Aws::String>
109 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
110 template<typename RequestIdT = Aws::String>
111 CreateWorkflowVersionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
113 private:
114
115 Aws::String m_arn;
116 bool m_arnHasBeenSet = false;
117
118 Aws::String m_workflowId;
119 bool m_workflowIdHasBeenSet = false;
120
121 Aws::String m_versionName;
122 bool m_versionNameHasBeenSet = false;
123
125 bool m_statusHasBeenSet = false;
126
128 bool m_tagsHasBeenSet = false;
129
130 Aws::String m_uuid;
131 bool m_uuidHasBeenSet = false;
132
133 Aws::String m_requestId;
134 bool m_requestIdHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace Omics
139} // 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