AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
StartRunResult.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/RunStatus.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 StartRunResult() = 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>
42 StartRunResult& WithArn(ArnT&& value) {
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>
59 StartRunResult& WithId(IdT&& value) {
60 SetId(std::forward<IdT>(value));
61 return *this;
62 }
64
66
69 inline RunStatus GetStatus() const { return m_status; }
70 inline void SetStatus(RunStatus 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>>
91 StartRunResult& WithTags(TagsT&& value) {
92 SetTags(std::forward<TagsT>(value));
93 return *this;
94 }
95 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
96 StartRunResult& 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>
114 StartRunResult& WithUuid(UuidT&& value) {
115 SetUuid(std::forward<UuidT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::String& GetRunOutputUri() const { return m_runOutputUri; }
125 template <typename RunOutputUriT = Aws::String>
126 void SetRunOutputUri(RunOutputUriT&& value) {
127 m_runOutputUriHasBeenSet = true;
128 m_runOutputUri = std::forward<RunOutputUriT>(value);
129 }
130 template <typename RunOutputUriT = Aws::String>
131 StartRunResult& WithRunOutputUri(RunOutputUriT&& value) {
132 SetRunOutputUri(std::forward<RunOutputUriT>(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>
146 StartRunResult& WithRequestId(RequestIdT&& value) {
147 SetRequestId(std::forward<RequestIdT>(value));
148 return *this;
149 }
151 private:
152 Aws::String m_arn;
153
154 Aws::String m_id;
155
157
159
160 Aws::String m_uuid;
161
162 Aws::String m_runOutputUri;
163
164 Aws::String m_requestId;
165 bool m_arnHasBeenSet = false;
166 bool m_idHasBeenSet = false;
167 bool m_statusHasBeenSet = false;
168 bool m_tagsHasBeenSet = false;
169 bool m_uuidHasBeenSet = false;
170 bool m_runOutputUriHasBeenSet = false;
171 bool m_requestIdHasBeenSet = false;
172};
173
174} // namespace Model
175} // namespace Omics
176} // namespace Aws
const Aws::String & GetRunOutputUri() const
StartRunResult & WithTags(TagsT &&value)
AWS_OMICS_API StartRunResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_OMICS_API StartRunResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRunOutputUri(RunOutputUriT &&value)
void SetStatus(RunStatus value)
StartRunResult & WithRequestId(RequestIdT &&value)
StartRunResult & WithId(IdT &&value)
const Aws::String & GetId() const
const Aws::String & GetUuid() const
const Aws::String & GetRequestId() const
StartRunResult & WithRunOutputUri(RunOutputUriT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::String & GetArn() const
void SetRequestId(RequestIdT &&value)
StartRunResult & WithArn(ArnT &&value)
AWS_OMICS_API StartRunResult()=default
StartRunResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
StartRunResult & WithStatus(RunStatus value)
StartRunResult & 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