AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
UpdateSequenceStoreResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/omics/Omics_EXPORTS.h>
12#include <aws/omics/model/ETagAlgorithmFamily.h>
13#include <aws/omics/model/SequenceStoreS3Access.h>
14#include <aws/omics/model/SequenceStoreStatus.h>
15#include <aws/omics/model/SseConfig.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace Omics {
29namespace Model {
31 public:
32 AWS_OMICS_API UpdateSequenceStoreResult() = default;
35
37
40 inline const Aws::String& GetId() const { return m_id; }
41 template <typename IdT = Aws::String>
42 void SetId(IdT&& value) {
43 m_idHasBeenSet = true;
44 m_id = std::forward<IdT>(value);
45 }
46 template <typename IdT = Aws::String>
48 SetId(std::forward<IdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetArn() const { return m_arn; }
58 template <typename ArnT = Aws::String>
59 void SetArn(ArnT&& value) {
60 m_arnHasBeenSet = true;
61 m_arn = std::forward<ArnT>(value);
62 }
63 template <typename ArnT = Aws::String>
65 SetArn(std::forward<ArnT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetName() const { return m_name; }
75 template <typename NameT = Aws::String>
76 void SetName(NameT&& value) {
77 m_nameHasBeenSet = true;
78 m_name = std::forward<NameT>(value);
79 }
80 template <typename NameT = Aws::String>
82 SetName(std::forward<NameT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetDescription() const { return m_description; }
92 template <typename DescriptionT = Aws::String>
93 void SetDescription(DescriptionT&& value) {
94 m_descriptionHasBeenSet = true;
95 m_description = std::forward<DescriptionT>(value);
96 }
97 template <typename DescriptionT = Aws::String>
99 SetDescription(std::forward<DescriptionT>(value));
100 return *this;
101 }
103
105
106 inline const SseConfig& GetSseConfig() const { return m_sseConfig; }
107 template <typename SseConfigT = SseConfig>
108 void SetSseConfig(SseConfigT&& value) {
109 m_sseConfigHasBeenSet = true;
110 m_sseConfig = std::forward<SseConfigT>(value);
111 }
112 template <typename SseConfigT = SseConfig>
114 SetSseConfig(std::forward<SseConfigT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
124 template <typename CreationTimeT = Aws::Utils::DateTime>
125 void SetCreationTime(CreationTimeT&& value) {
126 m_creationTimeHasBeenSet = true;
127 m_creationTime = std::forward<CreationTimeT>(value);
128 }
129 template <typename CreationTimeT = Aws::Utils::DateTime>
131 SetCreationTime(std::forward<CreationTimeT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
141 template <typename UpdateTimeT = Aws::Utils::DateTime>
142 void SetUpdateTime(UpdateTimeT&& value) {
143 m_updateTimeHasBeenSet = true;
144 m_updateTime = std::forward<UpdateTimeT>(value);
145 }
146 template <typename UpdateTimeT = Aws::Utils::DateTime>
148 SetUpdateTime(std::forward<UpdateTimeT>(value));
149 return *this;
150 }
152
154
158 inline const Aws::Vector<Aws::String>& GetPropagatedSetLevelTags() const { return m_propagatedSetLevelTags; }
159 template <typename PropagatedSetLevelTagsT = Aws::Vector<Aws::String>>
160 void SetPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) {
161 m_propagatedSetLevelTagsHasBeenSet = true;
162 m_propagatedSetLevelTags = std::forward<PropagatedSetLevelTagsT>(value);
163 }
164 template <typename PropagatedSetLevelTagsT = Aws::Vector<Aws::String>>
165 UpdateSequenceStoreResult& WithPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) {
166 SetPropagatedSetLevelTags(std::forward<PropagatedSetLevelTagsT>(value));
167 return *this;
168 }
169 template <typename PropagatedSetLevelTagsT = Aws::String>
170 UpdateSequenceStoreResult& AddPropagatedSetLevelTags(PropagatedSetLevelTagsT&& value) {
171 m_propagatedSetLevelTagsHasBeenSet = true;
172 m_propagatedSetLevelTags.emplace_back(std::forward<PropagatedSetLevelTagsT>(value));
173 return *this;
174 }
176
178
181 inline SequenceStoreStatus GetStatus() const { return m_status; }
182 inline void SetStatus(SequenceStoreStatus value) {
183 m_statusHasBeenSet = true;
184 m_status = value;
185 }
187 SetStatus(value);
188 return *this;
189 }
191
193
196 inline const Aws::String& GetStatusMessage() const { return m_statusMessage; }
197 template <typename StatusMessageT = Aws::String>
198 void SetStatusMessage(StatusMessageT&& value) {
199 m_statusMessageHasBeenSet = true;
200 m_statusMessage = std::forward<StatusMessageT>(value);
201 }
202 template <typename StatusMessageT = Aws::String>
204 SetStatusMessage(std::forward<StatusMessageT>(value));
205 return *this;
206 }
208
210
213 inline const Aws::String& GetFallbackLocation() const { return m_fallbackLocation; }
214 template <typename FallbackLocationT = Aws::String>
215 void SetFallbackLocation(FallbackLocationT&& value) {
216 m_fallbackLocationHasBeenSet = true;
217 m_fallbackLocation = std::forward<FallbackLocationT>(value);
218 }
219 template <typename FallbackLocationT = Aws::String>
221 SetFallbackLocation(std::forward<FallbackLocationT>(value));
222 return *this;
223 }
225
227
228 inline const SequenceStoreS3Access& GetS3Access() const { return m_s3Access; }
229 template <typename S3AccessT = SequenceStoreS3Access>
230 void SetS3Access(S3AccessT&& value) {
231 m_s3AccessHasBeenSet = true;
232 m_s3Access = std::forward<S3AccessT>(value);
233 }
234 template <typename S3AccessT = SequenceStoreS3Access>
236 SetS3Access(std::forward<S3AccessT>(value));
237 return *this;
238 }
240
242
245 inline ETagAlgorithmFamily GetETagAlgorithmFamily() const { return m_eTagAlgorithmFamily; }
247 m_eTagAlgorithmFamilyHasBeenSet = true;
248 m_eTagAlgorithmFamily = value;
249 }
252 return *this;
253 }
255
257
258 inline const Aws::String& GetRequestId() const { return m_requestId; }
259 template <typename RequestIdT = Aws::String>
260 void SetRequestId(RequestIdT&& value) {
261 m_requestIdHasBeenSet = true;
262 m_requestId = std::forward<RequestIdT>(value);
263 }
264 template <typename RequestIdT = Aws::String>
266 SetRequestId(std::forward<RequestIdT>(value));
267 return *this;
268 }
270 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
271
272 private:
273 Aws::String m_id;
274
275 Aws::String m_arn;
276
277 Aws::String m_name;
278
279 Aws::String m_description;
280
281 SseConfig m_sseConfig;
282
283 Aws::Utils::DateTime m_creationTime{};
284
285 Aws::Utils::DateTime m_updateTime{};
286
287 Aws::Vector<Aws::String> m_propagatedSetLevelTags;
288
290
291 Aws::String m_statusMessage;
292
293 Aws::String m_fallbackLocation;
294
295 SequenceStoreS3Access m_s3Access;
296
298
299 Aws::String m_requestId;
300 Aws::Http::HttpResponseCode m_HttpResponseCode;
301 bool m_idHasBeenSet = false;
302 bool m_arnHasBeenSet = false;
303 bool m_nameHasBeenSet = false;
304 bool m_descriptionHasBeenSet = false;
305 bool m_sseConfigHasBeenSet = false;
306 bool m_creationTimeHasBeenSet = false;
307 bool m_updateTimeHasBeenSet = false;
308 bool m_propagatedSetLevelTagsHasBeenSet = false;
309 bool m_statusHasBeenSet = false;
310 bool m_statusMessageHasBeenSet = false;
311 bool m_fallbackLocationHasBeenSet = false;
312 bool m_s3AccessHasBeenSet = false;
313 bool m_eTagAlgorithmFamilyHasBeenSet = false;
314 bool m_requestIdHasBeenSet = false;
315};
316
317} // namespace Model
318} // namespace Omics
319} // namespace Aws
void SetPropagatedSetLevelTags(PropagatedSetLevelTagsT &&value)
const Aws::Utils::DateTime & GetCreationTime() const
UpdateSequenceStoreResult & WithName(NameT &&value)
UpdateSequenceStoreResult & WithSseConfig(SseConfigT &&value)
UpdateSequenceStoreResult & AddPropagatedSetLevelTags(PropagatedSetLevelTagsT &&value)
UpdateSequenceStoreResult & WithUpdateTime(UpdateTimeT &&value)
AWS_OMICS_API UpdateSequenceStoreResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSequenceStoreResult & WithId(IdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateSequenceStoreResult & WithS3Access(S3AccessT &&value)
UpdateSequenceStoreResult & WithStatus(SequenceStoreStatus value)
UpdateSequenceStoreResult & WithArn(ArnT &&value)
UpdateSequenceStoreResult & WithPropagatedSetLevelTags(PropagatedSetLevelTagsT &&value)
UpdateSequenceStoreResult & WithStatusMessage(StatusMessageT &&value)
UpdateSequenceStoreResult & WithFallbackLocation(FallbackLocationT &&value)
UpdateSequenceStoreResult & WithETagAlgorithmFamily(ETagAlgorithmFamily value)
const SequenceStoreS3Access & GetS3Access() const
const Aws::Vector< Aws::String > & GetPropagatedSetLevelTags() const
UpdateSequenceStoreResult & WithDescription(DescriptionT &&value)
AWS_OMICS_API UpdateSequenceStoreResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Utils::DateTime & GetUpdateTime() const
UpdateSequenceStoreResult & WithRequestId(RequestIdT &&value)
AWS_OMICS_API UpdateSequenceStoreResult()=default
UpdateSequenceStoreResult & WithCreationTime(CreationTimeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue