AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
OmicsWaiter.h
1
6#pragma once
7#include <aws/core/utils/Waiter.h>
8#include <aws/core/utils/memory/AWSMemory.h>
9#include <aws/omics/OmicsClient.h>
10#include <aws/omics/model/GetAnnotationImportJobRequest.h>
11#include <aws/omics/model/GetAnnotationImportJobResult.h>
12#include <aws/omics/model/GetAnnotationStoreRequest.h>
13#include <aws/omics/model/GetAnnotationStoreResult.h>
14#include <aws/omics/model/GetAnnotationStoreVersionRequest.h>
15#include <aws/omics/model/GetAnnotationStoreVersionResult.h>
16#include <aws/omics/model/GetReadSetActivationJobRequest.h>
17#include <aws/omics/model/GetReadSetActivationJobResult.h>
18#include <aws/omics/model/GetReadSetExportJobRequest.h>
19#include <aws/omics/model/GetReadSetExportJobResult.h>
20#include <aws/omics/model/GetReadSetImportJobRequest.h>
21#include <aws/omics/model/GetReadSetImportJobResult.h>
22#include <aws/omics/model/GetReferenceImportJobRequest.h>
23#include <aws/omics/model/GetReferenceImportJobResult.h>
24#include <aws/omics/model/GetRunRequest.h>
25#include <aws/omics/model/GetRunResult.h>
26#include <aws/omics/model/GetRunTaskRequest.h>
27#include <aws/omics/model/GetRunTaskResult.h>
28#include <aws/omics/model/GetVariantImportJobRequest.h>
29#include <aws/omics/model/GetVariantImportJobResult.h>
30#include <aws/omics/model/GetVariantStoreRequest.h>
31#include <aws/omics/model/GetVariantStoreResult.h>
32#include <aws/omics/model/GetWorkflowRequest.h>
33#include <aws/omics/model/GetWorkflowResult.h>
34#include <aws/omics/model/GetWorkflowVersionRequest.h>
35#include <aws/omics/model/GetWorkflowVersionResult.h>
36#include <aws/omics/model/JobStatus.h>
37#include <aws/omics/model/ReadSetActivationJobStatus.h>
38#include <aws/omics/model/ReadSetExportJobStatus.h>
39#include <aws/omics/model/ReadSetImportJobStatus.h>
40#include <aws/omics/model/ReferenceImportJobStatus.h>
41#include <aws/omics/model/RunStatus.h>
42#include <aws/omics/model/StoreStatus.h>
43#include <aws/omics/model/TaskStatus.h>
44#include <aws/omics/model/VersionStatus.h>
45#include <aws/omics/model/WorkflowStatus.h>
46
47#include <algorithm>
48
49namespace Aws {
50namespace Omics {
51
52template <typename DerivedClient = OmicsClient>
54 public:
61 "AnnotationImportJobCreatedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("SUBMITTED"),
62 [](const Model::GetAnnotationImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
63 if (!outcome.IsSuccess()) return false;
64 const auto& result = outcome.GetResult();
65 return Model::JobStatusMapper::GetNameForJobStatus(result.GetStatus()) == expected.get<Aws::String>();
66 }));
68 "AnnotationImportJobCreatedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("IN_PROGRESS"),
69 [](const Model::GetAnnotationImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
70 if (!outcome.IsSuccess()) return false;
71 const auto& result = outcome.GetResult();
72 return Model::JobStatusMapper::GetNameForJobStatus(result.GetStatus()) == expected.get<Aws::String>();
73 }));
75 "AnnotationImportJobCreatedWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("FAILED"),
76 [](const Model::GetAnnotationImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
77 if (!outcome.IsSuccess()) return false;
78 const auto& result = outcome.GetResult();
79 return Model::JobStatusMapper::GetNameForJobStatus(result.GetStatus()) == expected.get<Aws::String>();
80 }));
82 "AnnotationImportJobCreatedWaiter", Aws::Utils::WaiterState::SUCCESS, Aws::String("CANCELLED"),
83 [](const Model::GetAnnotationImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
84 if (!outcome.IsSuccess()) return false;
85 const auto& result = outcome.GetResult();
86 return Model::JobStatusMapper::GetNameForJobStatus(result.GetStatus()) == expected.get<Aws::String>();
87 }));
89 "AnnotationImportJobCreatedWaiter", Aws::Utils::WaiterState::SUCCESS, Aws::String("COMPLETED"),
90 [](const Model::GetAnnotationImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
91 if (!outcome.IsSuccess()) return false;
92 const auto& result = outcome.GetResult();
93 return Model::JobStatusMapper::GetNameForJobStatus(result.GetStatus()) == expected.get<Aws::String>();
94 }));
95
96 auto operation = [this](const RequestT& req) { return static_cast<DerivedClient*>(this)->GetAnnotationImportJob(req); };
97 Aws::Utils::Waiter<RequestT, OutcomeT> waiter(30, 20, std::move(acceptors), operation, "WaitUntilAnnotationImportJobCreated");
98 return waiter.Wait(request);
99 }
100
102 const Model::GetAnnotationStoreRequest& request) {
103 using OutcomeT = Model::GetAnnotationStoreOutcome;
104 using RequestT = Model::GetAnnotationStoreRequest;
107 "AnnotationStoreCreatedWaiter", Aws::Utils::WaiterState::SUCCESS, Aws::String("ACTIVE"),
108 [](const Model::GetAnnotationStoreOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
109 if (!outcome.IsSuccess()) return false;
110 const auto& result = outcome.GetResult();
111 return Model::StoreStatusMapper::GetNameForStoreStatus(result.GetStatus()) == expected.get<Aws::String>();
112 }));
114 "AnnotationStoreCreatedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("CREATING"),
115 [](const Model::GetAnnotationStoreOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
116 if (!outcome.IsSuccess()) return false;
117 const auto& result = outcome.GetResult();
118 return Model::StoreStatusMapper::GetNameForStoreStatus(result.GetStatus()) == expected.get<Aws::String>();
119 }));
121 "AnnotationStoreCreatedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("UPDATING"),
122 [](const Model::GetAnnotationStoreOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
123 if (!outcome.IsSuccess()) return false;
124 const auto& result = outcome.GetResult();
125 return Model::StoreStatusMapper::GetNameForStoreStatus(result.GetStatus()) == expected.get<Aws::String>();
126 }));
128 "AnnotationStoreCreatedWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("FAILED"),
129 [](const Model::GetAnnotationStoreOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
130 if (!outcome.IsSuccess()) return false;
131 const auto& result = outcome.GetResult();
132 return Model::StoreStatusMapper::GetNameForStoreStatus(result.GetStatus()) == expected.get<Aws::String>();
133 }));
134
135 auto operation = [this](const RequestT& req) { return static_cast<DerivedClient*>(this)->GetAnnotationStore(req); };
136 Aws::Utils::Waiter<RequestT, OutcomeT> waiter(30, 20, std::move(acceptors), operation, "WaitUntilAnnotationStoreCreated");
137 return waiter.Wait(request);
138 }
139
141 const Model::GetAnnotationStoreRequest& request) {
142 using OutcomeT = Model::GetAnnotationStoreOutcome;
143 using RequestT = Model::GetAnnotationStoreRequest;
146 "AnnotationStoreDeletedWaiter", Aws::Utils::WaiterState::SUCCESS, Aws::String("DELETED"),
147 [](const Model::GetAnnotationStoreOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
148 if (!outcome.IsSuccess()) return false;
149 const auto& result = outcome.GetResult();
150 return Model::StoreStatusMapper::GetNameForStoreStatus(result.GetStatus()) == expected.get<Aws::String>();
151 }));
153 "AnnotationStoreDeletedWaiter", Aws::Utils::WaiterState::SUCCESS, Aws::String("ResourceNotFoundException")));
155 "AnnotationStoreDeletedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("DELETING"),
156 [](const Model::GetAnnotationStoreOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
157 if (!outcome.IsSuccess()) return false;
158 const auto& result = outcome.GetResult();
159 return Model::StoreStatusMapper::GetNameForStoreStatus(result.GetStatus()) == expected.get<Aws::String>();
160 }));
161
162 auto operation = [this](const RequestT& req) { return static_cast<DerivedClient*>(this)->GetAnnotationStore(req); };
163 Aws::Utils::Waiter<RequestT, OutcomeT> waiter(30, 20, std::move(acceptors), operation, "WaitUntilAnnotationStoreDeleted");
164 return waiter.Wait(request);
165 }
166
173 "AnnotationStoreVersionCreatedWaiter", Aws::Utils::WaiterState::SUCCESS, Aws::String("ACTIVE"),
174 [](const Model::GetAnnotationStoreVersionOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
175 if (!outcome.IsSuccess()) return false;
176 const auto& result = outcome.GetResult();
177 return Model::VersionStatusMapper::GetNameForVersionStatus(result.GetStatus()) == expected.get<Aws::String>();
178 }));
180 "AnnotationStoreVersionCreatedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("CREATING"),
181 [](const Model::GetAnnotationStoreVersionOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
182 if (!outcome.IsSuccess()) return false;
183 const auto& result = outcome.GetResult();
184 return Model::VersionStatusMapper::GetNameForVersionStatus(result.GetStatus()) == expected.get<Aws::String>();
185 }));
187 "AnnotationStoreVersionCreatedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("UPDATING"),
188 [](const Model::GetAnnotationStoreVersionOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
189 if (!outcome.IsSuccess()) return false;
190 const auto& result = outcome.GetResult();
191 return Model::VersionStatusMapper::GetNameForVersionStatus(result.GetStatus()) == expected.get<Aws::String>();
192 }));
194 "AnnotationStoreVersionCreatedWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("FAILED"),
195 [](const Model::GetAnnotationStoreVersionOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
196 if (!outcome.IsSuccess()) return false;
197 const auto& result = outcome.GetResult();
198 return Model::VersionStatusMapper::GetNameForVersionStatus(result.GetStatus()) == expected.get<Aws::String>();
199 }));
200
201 auto operation = [this](const RequestT& req) { return static_cast<DerivedClient*>(this)->GetAnnotationStoreVersion(req); };
202 Aws::Utils::Waiter<RequestT, OutcomeT> waiter(30, 20, std::move(acceptors), operation, "WaitUntilAnnotationStoreVersionCreated");
203 return waiter.Wait(request);
204 }
205
212 "AnnotationStoreVersionDeletedWaiter", Aws::Utils::WaiterState::SUCCESS, Aws::String("DELETED"),
213 [](const Model::GetAnnotationStoreVersionOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
214 if (!outcome.IsSuccess()) return false;
215 const auto& result = outcome.GetResult();
216 return Model::VersionStatusMapper::GetNameForVersionStatus(result.GetStatus()) == expected.get<Aws::String>();
217 }));
219 "AnnotationStoreVersionDeletedWaiter", Aws::Utils::WaiterState::SUCCESS, Aws::String("ResourceNotFoundException")));
221 "AnnotationStoreVersionDeletedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("DELETING"),
222 [](const Model::GetAnnotationStoreVersionOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
223 if (!outcome.IsSuccess()) return false;
224 const auto& result = outcome.GetResult();
225 return Model::VersionStatusMapper::GetNameForVersionStatus(result.GetStatus()) == expected.get<Aws::String>();
226 }));
227
228 auto operation = [this](const RequestT& req) { return static_cast<DerivedClient*>(this)->GetAnnotationStoreVersion(req); };
229 Aws::Utils::Waiter<RequestT, OutcomeT> waiter(30, 20, std::move(acceptors), operation, "WaitUntilAnnotationStoreVersionDeleted");
230 return waiter.Wait(request);
231 }
232
239 "ReadSetActivationJobCompletedWaiter", Aws::Utils::WaiterState::SUCCESS, Aws::String("COMPLETED"),
240 [](const Model::GetReadSetActivationJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
241 if (!outcome.IsSuccess()) return false;
242 const auto& result = outcome.GetResult();
244 expected.get<Aws::String>();
245 }));
247 "ReadSetActivationJobCompletedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("SUBMITTED"),
248 [](const Model::GetReadSetActivationJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
249 if (!outcome.IsSuccess()) return false;
250 const auto& result = outcome.GetResult();
252 expected.get<Aws::String>();
253 }));
255 "ReadSetActivationJobCompletedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("IN_PROGRESS"),
256 [](const Model::GetReadSetActivationJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
257 if (!outcome.IsSuccess()) return false;
258 const auto& result = outcome.GetResult();
260 expected.get<Aws::String>();
261 }));
263 "ReadSetActivationJobCompletedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("CANCELLING"),
264 [](const Model::GetReadSetActivationJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
265 if (!outcome.IsSuccess()) return false;
266 const auto& result = outcome.GetResult();
268 expected.get<Aws::String>();
269 }));
271 "ReadSetActivationJobCompletedWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("CANCELLED"),
272 [](const Model::GetReadSetActivationJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
273 if (!outcome.IsSuccess()) return false;
274 const auto& result = outcome.GetResult();
276 expected.get<Aws::String>();
277 }));
279 "ReadSetActivationJobCompletedWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("FAILED"),
280 [](const Model::GetReadSetActivationJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
281 if (!outcome.IsSuccess()) return false;
282 const auto& result = outcome.GetResult();
284 expected.get<Aws::String>();
285 }));
287 "ReadSetActivationJobCompletedWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("COMPLETED_WITH_FAILURES"),
288 [](const Model::GetReadSetActivationJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
289 if (!outcome.IsSuccess()) return false;
290 const auto& result = outcome.GetResult();
292 expected.get<Aws::String>();
293 }));
294
295 auto operation = [this](const RequestT& req) { return static_cast<DerivedClient*>(this)->GetReadSetActivationJob(req); };
296 Aws::Utils::Waiter<RequestT, OutcomeT> waiter(30, 20, std::move(acceptors), operation, "WaitUntilReadSetActivationJobCompleted");
297 return waiter.Wait(request);
298 }
299
301 const Model::GetReadSetExportJobRequest& request) {
302 using OutcomeT = Model::GetReadSetExportJobOutcome;
303 using RequestT = Model::GetReadSetExportJobRequest;
306 "ReadSetExportJobCompletedWaiter", Aws::Utils::WaiterState::SUCCESS, Aws::String("COMPLETED"),
307 [](const Model::GetReadSetExportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
308 if (!outcome.IsSuccess()) return false;
309 const auto& result = outcome.GetResult();
311 }));
313 "ReadSetExportJobCompletedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("SUBMITTED"),
314 [](const Model::GetReadSetExportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
315 if (!outcome.IsSuccess()) return false;
316 const auto& result = outcome.GetResult();
318 }));
320 "ReadSetExportJobCompletedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("IN_PROGRESS"),
321 [](const Model::GetReadSetExportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
322 if (!outcome.IsSuccess()) return false;
323 const auto& result = outcome.GetResult();
325 }));
327 "ReadSetExportJobCompletedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("CANCELLING"),
328 [](const Model::GetReadSetExportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
329 if (!outcome.IsSuccess()) return false;
330 const auto& result = outcome.GetResult();
332 }));
334 "ReadSetExportJobCompletedWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("CANCELLED"),
335 [](const Model::GetReadSetExportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
336 if (!outcome.IsSuccess()) return false;
337 const auto& result = outcome.GetResult();
339 }));
341 "ReadSetExportJobCompletedWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("FAILED"),
342 [](const Model::GetReadSetExportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
343 if (!outcome.IsSuccess()) return false;
344 const auto& result = outcome.GetResult();
346 }));
348 "ReadSetExportJobCompletedWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("COMPLETED_WITH_FAILURES"),
349 [](const Model::GetReadSetExportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
350 if (!outcome.IsSuccess()) return false;
351 const auto& result = outcome.GetResult();
353 }));
354
355 auto operation = [this](const RequestT& req) { return static_cast<DerivedClient*>(this)->GetReadSetExportJob(req); };
356 Aws::Utils::Waiter<RequestT, OutcomeT> waiter(30, 20, std::move(acceptors), operation, "WaitUntilReadSetExportJobCompleted");
357 return waiter.Wait(request);
358 }
359
361 const Model::GetReadSetImportJobRequest& request) {
362 using OutcomeT = Model::GetReadSetImportJobOutcome;
363 using RequestT = Model::GetReadSetImportJobRequest;
366 "ReadSetImportJobCompletedWaiter", Aws::Utils::WaiterState::SUCCESS, Aws::String("COMPLETED"),
367 [](const Model::GetReadSetImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
368 if (!outcome.IsSuccess()) return false;
369 const auto& result = outcome.GetResult();
371 }));
373 "ReadSetImportJobCompletedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("SUBMITTED"),
374 [](const Model::GetReadSetImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
375 if (!outcome.IsSuccess()) return false;
376 const auto& result = outcome.GetResult();
378 }));
380 "ReadSetImportJobCompletedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("IN_PROGRESS"),
381 [](const Model::GetReadSetImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
382 if (!outcome.IsSuccess()) return false;
383 const auto& result = outcome.GetResult();
385 }));
387 "ReadSetImportJobCompletedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("CANCELLING"),
388 [](const Model::GetReadSetImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
389 if (!outcome.IsSuccess()) return false;
390 const auto& result = outcome.GetResult();
392 }));
394 "ReadSetImportJobCompletedWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("CANCELLED"),
395 [](const Model::GetReadSetImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
396 if (!outcome.IsSuccess()) return false;
397 const auto& result = outcome.GetResult();
399 }));
401 "ReadSetImportJobCompletedWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("FAILED"),
402 [](const Model::GetReadSetImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
403 if (!outcome.IsSuccess()) return false;
404 const auto& result = outcome.GetResult();
406 }));
408 "ReadSetImportJobCompletedWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("COMPLETED_WITH_FAILURES"),
409 [](const Model::GetReadSetImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
410 if (!outcome.IsSuccess()) return false;
411 const auto& result = outcome.GetResult();
413 }));
414
415 auto operation = [this](const RequestT& req) { return static_cast<DerivedClient*>(this)->GetReadSetImportJob(req); };
416 Aws::Utils::Waiter<RequestT, OutcomeT> waiter(30, 20, std::move(acceptors), operation, "WaitUntilReadSetImportJobCompleted");
417 return waiter.Wait(request);
418 }
419
426 "ReferenceImportJobCompletedWaiter", Aws::Utils::WaiterState::SUCCESS, Aws::String("COMPLETED"),
427 [](const Model::GetReferenceImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
428 if (!outcome.IsSuccess()) return false;
429 const auto& result = outcome.GetResult();
431 expected.get<Aws::String>();
432 }));
434 "ReferenceImportJobCompletedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("SUBMITTED"),
435 [](const Model::GetReferenceImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
436 if (!outcome.IsSuccess()) return false;
437 const auto& result = outcome.GetResult();
439 expected.get<Aws::String>();
440 }));
442 "ReferenceImportJobCompletedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("IN_PROGRESS"),
443 [](const Model::GetReferenceImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
444 if (!outcome.IsSuccess()) return false;
445 const auto& result = outcome.GetResult();
447 expected.get<Aws::String>();
448 }));
450 "ReferenceImportJobCompletedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("CANCELLING"),
451 [](const Model::GetReferenceImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
452 if (!outcome.IsSuccess()) return false;
453 const auto& result = outcome.GetResult();
455 expected.get<Aws::String>();
456 }));
458 "ReferenceImportJobCompletedWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("CANCELLED"),
459 [](const Model::GetReferenceImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
460 if (!outcome.IsSuccess()) return false;
461 const auto& result = outcome.GetResult();
463 expected.get<Aws::String>();
464 }));
466 "ReferenceImportJobCompletedWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("FAILED"),
467 [](const Model::GetReferenceImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
468 if (!outcome.IsSuccess()) return false;
469 const auto& result = outcome.GetResult();
471 expected.get<Aws::String>();
472 }));
474 "ReferenceImportJobCompletedWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("COMPLETED_WITH_FAILURES"),
475 [](const Model::GetReferenceImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
476 if (!outcome.IsSuccess()) return false;
477 const auto& result = outcome.GetResult();
479 expected.get<Aws::String>();
480 }));
481
482 auto operation = [this](const RequestT& req) { return static_cast<DerivedClient*>(this)->GetReferenceImportJob(req); };
483 Aws::Utils::Waiter<RequestT, OutcomeT> waiter(30, 20, std::move(acceptors), operation, "WaitUntilReferenceImportJobCompleted");
484 return waiter.Wait(request);
485 }
486
488 using OutcomeT = Model::GetRunOutcome;
489 using RequestT = Model::GetRunRequest;
492 "RunRunningWaiter", Aws::Utils::WaiterState::SUCCESS, Aws::String("RUNNING"),
493 [](const Model::GetRunOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
494 if (!outcome.IsSuccess()) return false;
495 const auto& result = outcome.GetResult();
496 return Model::RunStatusMapper::GetNameForRunStatus(result.GetStatus()) == expected.get<Aws::String>();
497 }));
499 "RunRunningWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("PENDING"),
500 [](const Model::GetRunOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
501 if (!outcome.IsSuccess()) return false;
502 const auto& result = outcome.GetResult();
503 return Model::RunStatusMapper::GetNameForRunStatus(result.GetStatus()) == expected.get<Aws::String>();
504 }));
506 "RunRunningWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("STARTING"),
507 [](const Model::GetRunOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
508 if (!outcome.IsSuccess()) return false;
509 const auto& result = outcome.GetResult();
510 return Model::RunStatusMapper::GetNameForRunStatus(result.GetStatus()) == expected.get<Aws::String>();
511 }));
513 "RunRunningWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("FAILED"),
514 [](const Model::GetRunOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
515 if (!outcome.IsSuccess()) return false;
516 const auto& result = outcome.GetResult();
517 return Model::RunStatusMapper::GetNameForRunStatus(result.GetStatus()) == expected.get<Aws::String>();
518 }));
520 "RunRunningWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("CANCELLED"),
521 [](const Model::GetRunOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
522 if (!outcome.IsSuccess()) return false;
523 const auto& result = outcome.GetResult();
524 return Model::RunStatusMapper::GetNameForRunStatus(result.GetStatus()) == expected.get<Aws::String>();
525 }));
526
527 auto operation = [this](const RequestT& req) { return static_cast<DerivedClient*>(this)->GetRun(req); };
528 Aws::Utils::Waiter<RequestT, OutcomeT> waiter(30, 20, std::move(acceptors), operation, "WaitUntilRunRunning");
529 return waiter.Wait(request);
530 }
531
533 using OutcomeT = Model::GetRunOutcome;
534 using RequestT = Model::GetRunRequest;
537 "RunCompletedWaiter", Aws::Utils::WaiterState::SUCCESS, Aws::String("COMPLETED"),
538 [](const Model::GetRunOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
539 if (!outcome.IsSuccess()) return false;
540 const auto& result = outcome.GetResult();
541 return Model::RunStatusMapper::GetNameForRunStatus(result.GetStatus()) == expected.get<Aws::String>();
542 }));
544 "RunCompletedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("PENDING"),
545 [](const Model::GetRunOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
546 if (!outcome.IsSuccess()) return false;
547 const auto& result = outcome.GetResult();
548 return Model::RunStatusMapper::GetNameForRunStatus(result.GetStatus()) == expected.get<Aws::String>();
549 }));
551 "RunCompletedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("STARTING"),
552 [](const Model::GetRunOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
553 if (!outcome.IsSuccess()) return false;
554 const auto& result = outcome.GetResult();
555 return Model::RunStatusMapper::GetNameForRunStatus(result.GetStatus()) == expected.get<Aws::String>();
556 }));
558 "RunCompletedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("RUNNING"),
559 [](const Model::GetRunOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
560 if (!outcome.IsSuccess()) return false;
561 const auto& result = outcome.GetResult();
562 return Model::RunStatusMapper::GetNameForRunStatus(result.GetStatus()) == expected.get<Aws::String>();
563 }));
565 "RunCompletedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("STOPPING"),
566 [](const Model::GetRunOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
567 if (!outcome.IsSuccess()) return false;
568 const auto& result = outcome.GetResult();
569 return Model::RunStatusMapper::GetNameForRunStatus(result.GetStatus()) == expected.get<Aws::String>();
570 }));
572 "RunCompletedWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("FAILED"),
573 [](const Model::GetRunOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
574 if (!outcome.IsSuccess()) return false;
575 const auto& result = outcome.GetResult();
576 return Model::RunStatusMapper::GetNameForRunStatus(result.GetStatus()) == expected.get<Aws::String>();
577 }));
578
579 auto operation = [this](const RequestT& req) { return static_cast<DerivedClient*>(this)->GetRun(req); };
580 Aws::Utils::Waiter<RequestT, OutcomeT> waiter(30, 20, std::move(acceptors), operation, "WaitUntilRunCompleted");
581 return waiter.Wait(request);
582 }
583
585 using OutcomeT = Model::GetRunTaskOutcome;
586 using RequestT = Model::GetRunTaskRequest;
589 "TaskRunningWaiter", Aws::Utils::WaiterState::SUCCESS, Aws::String("RUNNING"),
590 [](const Model::GetRunTaskOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
591 if (!outcome.IsSuccess()) return false;
592 const auto& result = outcome.GetResult();
593 return Model::TaskStatusMapper::GetNameForTaskStatus(result.GetStatus()) == expected.get<Aws::String>();
594 }));
596 "TaskRunningWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("PENDING"),
597 [](const Model::GetRunTaskOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
598 if (!outcome.IsSuccess()) return false;
599 const auto& result = outcome.GetResult();
600 return Model::TaskStatusMapper::GetNameForTaskStatus(result.GetStatus()) == expected.get<Aws::String>();
601 }));
603 "TaskRunningWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("STARTING"),
604 [](const Model::GetRunTaskOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
605 if (!outcome.IsSuccess()) return false;
606 const auto& result = outcome.GetResult();
607 return Model::TaskStatusMapper::GetNameForTaskStatus(result.GetStatus()) == expected.get<Aws::String>();
608 }));
610 "TaskRunningWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("FAILED"),
611 [](const Model::GetRunTaskOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
612 if (!outcome.IsSuccess()) return false;
613 const auto& result = outcome.GetResult();
614 return Model::TaskStatusMapper::GetNameForTaskStatus(result.GetStatus()) == expected.get<Aws::String>();
615 }));
617 "TaskRunningWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("CANCELLED"),
618 [](const Model::GetRunTaskOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
619 if (!outcome.IsSuccess()) return false;
620 const auto& result = outcome.GetResult();
621 return Model::TaskStatusMapper::GetNameForTaskStatus(result.GetStatus()) == expected.get<Aws::String>();
622 }));
623
624 auto operation = [this](const RequestT& req) { return static_cast<DerivedClient*>(this)->GetRunTask(req); };
625 Aws::Utils::Waiter<RequestT, OutcomeT> waiter(30, 20, std::move(acceptors), operation, "WaitUntilTaskRunning");
626 return waiter.Wait(request);
627 }
628
630 using OutcomeT = Model::GetRunTaskOutcome;
631 using RequestT = Model::GetRunTaskRequest;
634 "TaskCompletedWaiter", Aws::Utils::WaiterState::SUCCESS, Aws::String("COMPLETED"),
635 [](const Model::GetRunTaskOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
636 if (!outcome.IsSuccess()) return false;
637 const auto& result = outcome.GetResult();
638 return Model::TaskStatusMapper::GetNameForTaskStatus(result.GetStatus()) == expected.get<Aws::String>();
639 }));
641 "TaskCompletedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("PENDING"),
642 [](const Model::GetRunTaskOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
643 if (!outcome.IsSuccess()) return false;
644 const auto& result = outcome.GetResult();
645 return Model::TaskStatusMapper::GetNameForTaskStatus(result.GetStatus()) == expected.get<Aws::String>();
646 }));
648 "TaskCompletedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("STARTING"),
649 [](const Model::GetRunTaskOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
650 if (!outcome.IsSuccess()) return false;
651 const auto& result = outcome.GetResult();
652 return Model::TaskStatusMapper::GetNameForTaskStatus(result.GetStatus()) == expected.get<Aws::String>();
653 }));
655 "TaskCompletedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("RUNNING"),
656 [](const Model::GetRunTaskOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
657 if (!outcome.IsSuccess()) return false;
658 const auto& result = outcome.GetResult();
659 return Model::TaskStatusMapper::GetNameForTaskStatus(result.GetStatus()) == expected.get<Aws::String>();
660 }));
662 "TaskCompletedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("STOPPING"),
663 [](const Model::GetRunTaskOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
664 if (!outcome.IsSuccess()) return false;
665 const auto& result = outcome.GetResult();
666 return Model::TaskStatusMapper::GetNameForTaskStatus(result.GetStatus()) == expected.get<Aws::String>();
667 }));
669 "TaskCompletedWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("FAILED"),
670 [](const Model::GetRunTaskOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
671 if (!outcome.IsSuccess()) return false;
672 const auto& result = outcome.GetResult();
673 return Model::TaskStatusMapper::GetNameForTaskStatus(result.GetStatus()) == expected.get<Aws::String>();
674 }));
675
676 auto operation = [this](const RequestT& req) { return static_cast<DerivedClient*>(this)->GetRunTask(req); };
677 Aws::Utils::Waiter<RequestT, OutcomeT> waiter(30, 20, std::move(acceptors), operation, "WaitUntilTaskCompleted");
678 return waiter.Wait(request);
679 }
680
682 const Model::GetVariantImportJobRequest& request) {
683 using OutcomeT = Model::GetVariantImportJobOutcome;
684 using RequestT = Model::GetVariantImportJobRequest;
687 "VariantImportJobCreatedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("SUBMITTED"),
688 [](const Model::GetVariantImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
689 if (!outcome.IsSuccess()) return false;
690 const auto& result = outcome.GetResult();
691 return Model::JobStatusMapper::GetNameForJobStatus(result.GetStatus()) == expected.get<Aws::String>();
692 }));
694 "VariantImportJobCreatedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("IN_PROGRESS"),
695 [](const Model::GetVariantImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
696 if (!outcome.IsSuccess()) return false;
697 const auto& result = outcome.GetResult();
698 return Model::JobStatusMapper::GetNameForJobStatus(result.GetStatus()) == expected.get<Aws::String>();
699 }));
701 "VariantImportJobCreatedWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("FAILED"),
702 [](const Model::GetVariantImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
703 if (!outcome.IsSuccess()) return false;
704 const auto& result = outcome.GetResult();
705 return Model::JobStatusMapper::GetNameForJobStatus(result.GetStatus()) == expected.get<Aws::String>();
706 }));
708 "VariantImportJobCreatedWaiter", Aws::Utils::WaiterState::SUCCESS, Aws::String("CANCELLED"),
709 [](const Model::GetVariantImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
710 if (!outcome.IsSuccess()) return false;
711 const auto& result = outcome.GetResult();
712 return Model::JobStatusMapper::GetNameForJobStatus(result.GetStatus()) == expected.get<Aws::String>();
713 }));
715 "VariantImportJobCreatedWaiter", Aws::Utils::WaiterState::SUCCESS, Aws::String("COMPLETED"),
716 [](const Model::GetVariantImportJobOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
717 if (!outcome.IsSuccess()) return false;
718 const auto& result = outcome.GetResult();
719 return Model::JobStatusMapper::GetNameForJobStatus(result.GetStatus()) == expected.get<Aws::String>();
720 }));
721
722 auto operation = [this](const RequestT& req) { return static_cast<DerivedClient*>(this)->GetVariantImportJob(req); };
723 Aws::Utils::Waiter<RequestT, OutcomeT> waiter(30, 20, std::move(acceptors), operation, "WaitUntilVariantImportJobCreated");
724 return waiter.Wait(request);
725 }
726
728 using OutcomeT = Model::GetVariantStoreOutcome;
729 using RequestT = Model::GetVariantStoreRequest;
732 "VariantStoreCreatedWaiter", Aws::Utils::WaiterState::SUCCESS, Aws::String("ACTIVE"),
733 [](const Model::GetVariantStoreOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
734 if (!outcome.IsSuccess()) return false;
735 const auto& result = outcome.GetResult();
736 return Model::StoreStatusMapper::GetNameForStoreStatus(result.GetStatus()) == expected.get<Aws::String>();
737 }));
739 "VariantStoreCreatedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("CREATING"),
740 [](const Model::GetVariantStoreOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
741 if (!outcome.IsSuccess()) return false;
742 const auto& result = outcome.GetResult();
743 return Model::StoreStatusMapper::GetNameForStoreStatus(result.GetStatus()) == expected.get<Aws::String>();
744 }));
746 "VariantStoreCreatedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("UPDATING"),
747 [](const Model::GetVariantStoreOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
748 if (!outcome.IsSuccess()) return false;
749 const auto& result = outcome.GetResult();
750 return Model::StoreStatusMapper::GetNameForStoreStatus(result.GetStatus()) == expected.get<Aws::String>();
751 }));
753 "VariantStoreCreatedWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("FAILED"),
754 [](const Model::GetVariantStoreOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
755 if (!outcome.IsSuccess()) return false;
756 const auto& result = outcome.GetResult();
757 return Model::StoreStatusMapper::GetNameForStoreStatus(result.GetStatus()) == expected.get<Aws::String>();
758 }));
759
760 auto operation = [this](const RequestT& req) { return static_cast<DerivedClient*>(this)->GetVariantStore(req); };
761 Aws::Utils::Waiter<RequestT, OutcomeT> waiter(30, 20, std::move(acceptors), operation, "WaitUntilVariantStoreCreated");
762 return waiter.Wait(request);
763 }
764
766 using OutcomeT = Model::GetVariantStoreOutcome;
767 using RequestT = Model::GetVariantStoreRequest;
770 "VariantStoreDeletedWaiter", Aws::Utils::WaiterState::SUCCESS, Aws::String("DELETED"),
771 [](const Model::GetVariantStoreOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
772 if (!outcome.IsSuccess()) return false;
773 const auto& result = outcome.GetResult();
774 return Model::StoreStatusMapper::GetNameForStoreStatus(result.GetStatus()) == expected.get<Aws::String>();
775 }));
777 "VariantStoreDeletedWaiter", Aws::Utils::WaiterState::SUCCESS, Aws::String("ResourceNotFoundException")));
779 "VariantStoreDeletedWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("DELETING"),
780 [](const Model::GetVariantStoreOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
781 if (!outcome.IsSuccess()) return false;
782 const auto& result = outcome.GetResult();
783 return Model::StoreStatusMapper::GetNameForStoreStatus(result.GetStatus()) == expected.get<Aws::String>();
784 }));
785
786 auto operation = [this](const RequestT& req) { return static_cast<DerivedClient*>(this)->GetVariantStore(req); };
787 Aws::Utils::Waiter<RequestT, OutcomeT> waiter(30, 20, std::move(acceptors), operation, "WaitUntilVariantStoreDeleted");
788 return waiter.Wait(request);
789 }
790
792 using OutcomeT = Model::GetWorkflowOutcome;
793 using RequestT = Model::GetWorkflowRequest;
796 "WorkflowActiveWaiter", Aws::Utils::WaiterState::SUCCESS, Aws::String("ACTIVE"),
797 [](const Model::GetWorkflowOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
798 if (!outcome.IsSuccess()) return false;
799 const auto& result = outcome.GetResult();
800 return Model::WorkflowStatusMapper::GetNameForWorkflowStatus(result.GetStatus()) == expected.get<Aws::String>();
801 }));
803 "WorkflowActiveWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("CREATING"),
804 [](const Model::GetWorkflowOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
805 if (!outcome.IsSuccess()) return false;
806 const auto& result = outcome.GetResult();
807 return Model::WorkflowStatusMapper::GetNameForWorkflowStatus(result.GetStatus()) == expected.get<Aws::String>();
808 }));
810 "WorkflowActiveWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("UPDATING"),
811 [](const Model::GetWorkflowOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
812 if (!outcome.IsSuccess()) return false;
813 const auto& result = outcome.GetResult();
814 return Model::WorkflowStatusMapper::GetNameForWorkflowStatus(result.GetStatus()) == expected.get<Aws::String>();
815 }));
817 "WorkflowActiveWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("FAILED"),
818 [](const Model::GetWorkflowOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
819 if (!outcome.IsSuccess()) return false;
820 const auto& result = outcome.GetResult();
821 return Model::WorkflowStatusMapper::GetNameForWorkflowStatus(result.GetStatus()) == expected.get<Aws::String>();
822 }));
823
824 auto operation = [this](const RequestT& req) { return static_cast<DerivedClient*>(this)->GetWorkflow(req); };
825 Aws::Utils::Waiter<RequestT, OutcomeT> waiter(3, 10, std::move(acceptors), operation, "WaitUntilWorkflowActive");
826 return waiter.Wait(request);
827 }
828
830 const Model::GetWorkflowVersionRequest& request) {
831 using OutcomeT = Model::GetWorkflowVersionOutcome;
832 using RequestT = Model::GetWorkflowVersionRequest;
835 "WorkflowVersionActiveWaiter", Aws::Utils::WaiterState::SUCCESS, Aws::String("ACTIVE"),
836 [](const Model::GetWorkflowVersionOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
837 if (!outcome.IsSuccess()) return false;
838 const auto& result = outcome.GetResult();
839 return Model::WorkflowStatusMapper::GetNameForWorkflowStatus(result.GetStatus()) == expected.get<Aws::String>();
840 }));
842 "WorkflowVersionActiveWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("CREATING"),
843 [](const Model::GetWorkflowVersionOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
844 if (!outcome.IsSuccess()) return false;
845 const auto& result = outcome.GetResult();
846 return Model::WorkflowStatusMapper::GetNameForWorkflowStatus(result.GetStatus()) == expected.get<Aws::String>();
847 }));
849 "WorkflowVersionActiveWaiter", Aws::Utils::WaiterState::RETRY, Aws::String("UPDATING"),
850 [](const Model::GetWorkflowVersionOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
851 if (!outcome.IsSuccess()) return false;
852 const auto& result = outcome.GetResult();
853 return Model::WorkflowStatusMapper::GetNameForWorkflowStatus(result.GetStatus()) == expected.get<Aws::String>();
854 }));
856 "WorkflowVersionActiveWaiter", Aws::Utils::WaiterState::FAILURE, Aws::String("FAILED"),
857 [](const Model::GetWorkflowVersionOutcome& outcome, const Aws::Utils::ExpectedValue& expected) -> bool {
858 if (!outcome.IsSuccess()) return false;
859 const auto& result = outcome.GetResult();
860 return Model::WorkflowStatusMapper::GetNameForWorkflowStatus(result.GetStatus()) == expected.get<Aws::String>();
861 }));
862
863 auto operation = [this](const RequestT& req) { return static_cast<DerivedClient*>(this)->GetWorkflowVersion(req); };
864 Aws::Utils::Waiter<RequestT, OutcomeT> waiter(3, 10, std::move(acceptors), operation, "WaitUntilWorkflowVersionActive");
865 return waiter.Wait(request);
866 }
867};
868} // namespace Omics
869} // namespace Aws
Aws::Utils::WaiterOutcome< Model::GetRunOutcome > WaitUntilRunCompleted(const Model::GetRunRequest &request)
Aws::Utils::WaiterOutcome< Model::GetAnnotationStoreVersionOutcome > WaitUntilAnnotationStoreVersionDeleted(const Model::GetAnnotationStoreVersionRequest &request)
Aws::Utils::WaiterOutcome< Model::GetReadSetExportJobOutcome > WaitUntilReadSetExportJobCompleted(const Model::GetReadSetExportJobRequest &request)
Aws::Utils::WaiterOutcome< Model::GetVariantStoreOutcome > WaitUntilVariantStoreDeleted(const Model::GetVariantStoreRequest &request)
Aws::Utils::WaiterOutcome< Model::GetVariantImportJobOutcome > WaitUntilVariantImportJobCreated(const Model::GetVariantImportJobRequest &request)
Aws::Utils::WaiterOutcome< Model::GetAnnotationStoreVersionOutcome > WaitUntilAnnotationStoreVersionCreated(const Model::GetAnnotationStoreVersionRequest &request)
Aws::Utils::WaiterOutcome< Model::GetWorkflowVersionOutcome > WaitUntilWorkflowVersionActive(const Model::GetWorkflowVersionRequest &request)
Aws::Utils::WaiterOutcome< Model::GetWorkflowOutcome > WaitUntilWorkflowActive(const Model::GetWorkflowRequest &request)
Aws::Utils::WaiterOutcome< Model::GetVariantStoreOutcome > WaitUntilVariantStoreCreated(const Model::GetVariantStoreRequest &request)
Aws::Utils::WaiterOutcome< Model::GetReferenceImportJobOutcome > WaitUntilReferenceImportJobCompleted(const Model::GetReferenceImportJobRequest &request)
Aws::Utils::WaiterOutcome< Model::GetRunTaskOutcome > WaitUntilTaskCompleted(const Model::GetRunTaskRequest &request)
Aws::Utils::WaiterOutcome< Model::GetAnnotationStoreOutcome > WaitUntilAnnotationStoreDeleted(const Model::GetAnnotationStoreRequest &request)
Aws::Utils::WaiterOutcome< Model::GetAnnotationStoreOutcome > WaitUntilAnnotationStoreCreated(const Model::GetAnnotationStoreRequest &request)
Aws::Utils::WaiterOutcome< Model::GetReadSetActivationJobOutcome > WaitUntilReadSetActivationJobCompleted(const Model::GetReadSetActivationJobRequest &request)
Aws::Utils::WaiterOutcome< Model::GetRunOutcome > WaitUntilRunRunning(const Model::GetRunRequest &request)
Aws::Utils::WaiterOutcome< Model::GetAnnotationImportJobOutcome > WaitUntilAnnotationImportJobCreated(const Model::GetAnnotationImportJobRequest &request)
Definition OmicsWaiter.h:55
Aws::Utils::WaiterOutcome< Model::GetReadSetImportJobOutcome > WaitUntilReadSetImportJobCompleted(const Model::GetReadSetImportJobRequest &request)
Aws::Utils::WaiterOutcome< Model::GetRunTaskOutcome > WaitUntilTaskRunning(const Model::GetRunTaskRequest &request)
bool IsSuccess() const
const R & GetResult() const
WaiterOutcome< OutcomeT > Wait(const RequestT &request)
AWS_OMICS_API Aws::String GetNameForJobStatus(JobStatus value)
AWS_OMICS_API Aws::String GetNameForReadSetActivationJobStatus(ReadSetActivationJobStatus value)
AWS_OMICS_API Aws::String GetNameForReadSetExportJobStatus(ReadSetExportJobStatus value)
AWS_OMICS_API Aws::String GetNameForReadSetImportJobStatus(ReadSetImportJobStatus value)
AWS_OMICS_API Aws::String GetNameForReferenceImportJobStatus(ReferenceImportJobStatus value)
AWS_OMICS_API Aws::String GetNameForRunStatus(RunStatus value)
AWS_OMICS_API Aws::String GetNameForStoreStatus(StoreStatus value)
AWS_OMICS_API Aws::String GetNameForTaskStatus(TaskStatus value)
AWS_OMICS_API Aws::String GetNameForVersionStatus(VersionStatus value)
AWS_OMICS_API Aws::String GetNameForWorkflowStatus(WorkflowStatus value)
Aws::Utils::Outcome< GetReadSetImportJobResult, OmicsError > GetReadSetImportJobOutcome
Aws::Utils::Outcome< GetRunTaskResult, OmicsError > GetRunTaskOutcome
Aws::Utils::Outcome< GetVariantStoreResult, OmicsError > GetVariantStoreOutcome
Aws::Utils::Outcome< GetAnnotationStoreResult, OmicsError > GetAnnotationStoreOutcome
Aws::Utils::Outcome< GetWorkflowVersionResult, OmicsError > GetWorkflowVersionOutcome
Aws::Utils::Outcome< GetVariantImportJobResult, OmicsError > GetVariantImportJobOutcome
Aws::Utils::Outcome< GetReadSetExportJobResult, OmicsError > GetReadSetExportJobOutcome
Aws::Utils::Outcome< GetWorkflowResult, OmicsError > GetWorkflowOutcome
Aws::Utils::Outcome< GetAnnotationStoreVersionResult, OmicsError > GetAnnotationStoreVersionOutcome
Aws::Utils::Outcome< GetRunResult, OmicsError > GetRunOutcome
Aws::Utils::Outcome< GetReadSetActivationJobResult, OmicsError > GetReadSetActivationJobOutcome
Aws::Utils::Outcome< GetAnnotationImportJobResult, OmicsError > GetAnnotationImportJobOutcome
Aws::Utils::Outcome< GetReferenceImportJobResult, OmicsError > GetReferenceImportJobOutcome
Crt::Variant< int, bool, Aws::String > ExpectedValue
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
UniquePtr< T > MakeUnique(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector