1#[allow(missing_docs)] #[non_exhaustive]
4#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
5pub struct GetRunOutput {
6 pub arn: ::std::option::Option<::std::string::String>,
8 pub id: ::std::option::Option<::std::string::String>,
10 pub cache_id: ::std::option::Option<::std::string::String>,
12 pub cache_behavior: ::std::option::Option<crate::types::CacheBehavior>,
14 pub engine_version: ::std::option::Option<::std::string::String>,
16 pub status: ::std::option::Option<crate::types::RunStatus>,
18 pub workflow_id: ::std::option::Option<::std::string::String>,
20 pub workflow_type: ::std::option::Option<crate::types::WorkflowType>,
22 pub run_id: ::std::option::Option<::std::string::String>,
24 pub role_arn: ::std::option::Option<::std::string::String>,
26 pub name: ::std::option::Option<::std::string::String>,
28 pub run_group_id: ::std::option::Option<::std::string::String>,
30 pub priority: ::std::option::Option<i32>,
32 pub definition: ::std::option::Option<::std::string::String>,
34 pub digest: ::std::option::Option<::std::string::String>,
36 pub parameters: ::std::option::Option<::aws_smithy_types::Document>,
38 pub storage_capacity: ::std::option::Option<i32>,
40 pub output_uri: ::std::option::Option<::std::string::String>,
42 pub log_level: ::std::option::Option<crate::types::RunLogLevel>,
44 pub resource_digests: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
46 pub started_by: ::std::option::Option<::std::string::String>,
48 pub creation_time: ::std::option::Option<::aws_smithy_types::DateTime>,
50 pub start_time: ::std::option::Option<::aws_smithy_types::DateTime>,
52 pub stop_time: ::std::option::Option<::aws_smithy_types::DateTime>,
54 pub status_message: ::std::option::Option<::std::string::String>,
56 pub tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
58 pub accelerators: ::std::option::Option<crate::types::Accelerators>,
60 pub retention_mode: ::std::option::Option<crate::types::RunRetentionMode>,
62 pub failure_reason: ::std::option::Option<::std::string::String>,
64 pub log_location: ::std::option::Option<crate::types::RunLogLocation>,
66 pub uuid: ::std::option::Option<::std::string::String>,
68 pub run_output_uri: ::std::option::Option<::std::string::String>,
70 pub storage_type: ::std::option::Option<crate::types::StorageType>,
72 pub workflow_owner_id: ::std::option::Option<::std::string::String>,
74 _request_id: Option<String>,
75}
76impl GetRunOutput {
77 pub fn arn(&self) -> ::std::option::Option<&str> {
79 self.arn.as_deref()
80 }
81 pub fn id(&self) -> ::std::option::Option<&str> {
83 self.id.as_deref()
84 }
85 pub fn cache_id(&self) -> ::std::option::Option<&str> {
87 self.cache_id.as_deref()
88 }
89 pub fn cache_behavior(&self) -> ::std::option::Option<&crate::types::CacheBehavior> {
91 self.cache_behavior.as_ref()
92 }
93 pub fn engine_version(&self) -> ::std::option::Option<&str> {
95 self.engine_version.as_deref()
96 }
97 pub fn status(&self) -> ::std::option::Option<&crate::types::RunStatus> {
99 self.status.as_ref()
100 }
101 pub fn workflow_id(&self) -> ::std::option::Option<&str> {
103 self.workflow_id.as_deref()
104 }
105 pub fn workflow_type(&self) -> ::std::option::Option<&crate::types::WorkflowType> {
107 self.workflow_type.as_ref()
108 }
109 pub fn run_id(&self) -> ::std::option::Option<&str> {
111 self.run_id.as_deref()
112 }
113 pub fn role_arn(&self) -> ::std::option::Option<&str> {
115 self.role_arn.as_deref()
116 }
117 pub fn name(&self) -> ::std::option::Option<&str> {
119 self.name.as_deref()
120 }
121 pub fn run_group_id(&self) -> ::std::option::Option<&str> {
123 self.run_group_id.as_deref()
124 }
125 pub fn priority(&self) -> ::std::option::Option<i32> {
127 self.priority
128 }
129 pub fn definition(&self) -> ::std::option::Option<&str> {
131 self.definition.as_deref()
132 }
133 pub fn digest(&self) -> ::std::option::Option<&str> {
135 self.digest.as_deref()
136 }
137 pub fn parameters(&self) -> ::std::option::Option<&::aws_smithy_types::Document> {
139 self.parameters.as_ref()
140 }
141 pub fn storage_capacity(&self) -> ::std::option::Option<i32> {
143 self.storage_capacity
144 }
145 pub fn output_uri(&self) -> ::std::option::Option<&str> {
147 self.output_uri.as_deref()
148 }
149 pub fn log_level(&self) -> ::std::option::Option<&crate::types::RunLogLevel> {
151 self.log_level.as_ref()
152 }
153 pub fn resource_digests(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
155 self.resource_digests.as_ref()
156 }
157 pub fn started_by(&self) -> ::std::option::Option<&str> {
159 self.started_by.as_deref()
160 }
161 pub fn creation_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
163 self.creation_time.as_ref()
164 }
165 pub fn start_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
167 self.start_time.as_ref()
168 }
169 pub fn stop_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
171 self.stop_time.as_ref()
172 }
173 pub fn status_message(&self) -> ::std::option::Option<&str> {
175 self.status_message.as_deref()
176 }
177 pub fn tags(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
179 self.tags.as_ref()
180 }
181 pub fn accelerators(&self) -> ::std::option::Option<&crate::types::Accelerators> {
183 self.accelerators.as_ref()
184 }
185 pub fn retention_mode(&self) -> ::std::option::Option<&crate::types::RunRetentionMode> {
187 self.retention_mode.as_ref()
188 }
189 pub fn failure_reason(&self) -> ::std::option::Option<&str> {
191 self.failure_reason.as_deref()
192 }
193 pub fn log_location(&self) -> ::std::option::Option<&crate::types::RunLogLocation> {
195 self.log_location.as_ref()
196 }
197 pub fn uuid(&self) -> ::std::option::Option<&str> {
199 self.uuid.as_deref()
200 }
201 pub fn run_output_uri(&self) -> ::std::option::Option<&str> {
203 self.run_output_uri.as_deref()
204 }
205 pub fn storage_type(&self) -> ::std::option::Option<&crate::types::StorageType> {
207 self.storage_type.as_ref()
208 }
209 pub fn workflow_owner_id(&self) -> ::std::option::Option<&str> {
211 self.workflow_owner_id.as_deref()
212 }
213}
214impl ::aws_types::request_id::RequestId for GetRunOutput {
215 fn request_id(&self) -> Option<&str> {
216 self._request_id.as_deref()
217 }
218}
219impl GetRunOutput {
220 pub fn builder() -> crate::operation::get_run::builders::GetRunOutputBuilder {
222 crate::operation::get_run::builders::GetRunOutputBuilder::default()
223 }
224}
225
226#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
228#[non_exhaustive]
229pub struct GetRunOutputBuilder {
230 pub(crate) arn: ::std::option::Option<::std::string::String>,
231 pub(crate) id: ::std::option::Option<::std::string::String>,
232 pub(crate) cache_id: ::std::option::Option<::std::string::String>,
233 pub(crate) cache_behavior: ::std::option::Option<crate::types::CacheBehavior>,
234 pub(crate) engine_version: ::std::option::Option<::std::string::String>,
235 pub(crate) status: ::std::option::Option<crate::types::RunStatus>,
236 pub(crate) workflow_id: ::std::option::Option<::std::string::String>,
237 pub(crate) workflow_type: ::std::option::Option<crate::types::WorkflowType>,
238 pub(crate) run_id: ::std::option::Option<::std::string::String>,
239 pub(crate) role_arn: ::std::option::Option<::std::string::String>,
240 pub(crate) name: ::std::option::Option<::std::string::String>,
241 pub(crate) run_group_id: ::std::option::Option<::std::string::String>,
242 pub(crate) priority: ::std::option::Option<i32>,
243 pub(crate) definition: ::std::option::Option<::std::string::String>,
244 pub(crate) digest: ::std::option::Option<::std::string::String>,
245 pub(crate) parameters: ::std::option::Option<::aws_smithy_types::Document>,
246 pub(crate) storage_capacity: ::std::option::Option<i32>,
247 pub(crate) output_uri: ::std::option::Option<::std::string::String>,
248 pub(crate) log_level: ::std::option::Option<crate::types::RunLogLevel>,
249 pub(crate) resource_digests: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
250 pub(crate) started_by: ::std::option::Option<::std::string::String>,
251 pub(crate) creation_time: ::std::option::Option<::aws_smithy_types::DateTime>,
252 pub(crate) start_time: ::std::option::Option<::aws_smithy_types::DateTime>,
253 pub(crate) stop_time: ::std::option::Option<::aws_smithy_types::DateTime>,
254 pub(crate) status_message: ::std::option::Option<::std::string::String>,
255 pub(crate) tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
256 pub(crate) accelerators: ::std::option::Option<crate::types::Accelerators>,
257 pub(crate) retention_mode: ::std::option::Option<crate::types::RunRetentionMode>,
258 pub(crate) failure_reason: ::std::option::Option<::std::string::String>,
259 pub(crate) log_location: ::std::option::Option<crate::types::RunLogLocation>,
260 pub(crate) uuid: ::std::option::Option<::std::string::String>,
261 pub(crate) run_output_uri: ::std::option::Option<::std::string::String>,
262 pub(crate) storage_type: ::std::option::Option<crate::types::StorageType>,
263 pub(crate) workflow_owner_id: ::std::option::Option<::std::string::String>,
264 _request_id: Option<String>,
265}
266impl GetRunOutputBuilder {
267 pub fn arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
269 self.arn = ::std::option::Option::Some(input.into());
270 self
271 }
272 pub fn set_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
274 self.arn = input;
275 self
276 }
277 pub fn get_arn(&self) -> &::std::option::Option<::std::string::String> {
279 &self.arn
280 }
281 pub fn id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
283 self.id = ::std::option::Option::Some(input.into());
284 self
285 }
286 pub fn set_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
288 self.id = input;
289 self
290 }
291 pub fn get_id(&self) -> &::std::option::Option<::std::string::String> {
293 &self.id
294 }
295 pub fn cache_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
297 self.cache_id = ::std::option::Option::Some(input.into());
298 self
299 }
300 pub fn set_cache_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
302 self.cache_id = input;
303 self
304 }
305 pub fn get_cache_id(&self) -> &::std::option::Option<::std::string::String> {
307 &self.cache_id
308 }
309 pub fn cache_behavior(mut self, input: crate::types::CacheBehavior) -> Self {
311 self.cache_behavior = ::std::option::Option::Some(input);
312 self
313 }
314 pub fn set_cache_behavior(mut self, input: ::std::option::Option<crate::types::CacheBehavior>) -> Self {
316 self.cache_behavior = input;
317 self
318 }
319 pub fn get_cache_behavior(&self) -> &::std::option::Option<crate::types::CacheBehavior> {
321 &self.cache_behavior
322 }
323 pub fn engine_version(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
325 self.engine_version = ::std::option::Option::Some(input.into());
326 self
327 }
328 pub fn set_engine_version(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
330 self.engine_version = input;
331 self
332 }
333 pub fn get_engine_version(&self) -> &::std::option::Option<::std::string::String> {
335 &self.engine_version
336 }
337 pub fn status(mut self, input: crate::types::RunStatus) -> Self {
339 self.status = ::std::option::Option::Some(input);
340 self
341 }
342 pub fn set_status(mut self, input: ::std::option::Option<crate::types::RunStatus>) -> Self {
344 self.status = input;
345 self
346 }
347 pub fn get_status(&self) -> &::std::option::Option<crate::types::RunStatus> {
349 &self.status
350 }
351 pub fn workflow_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
353 self.workflow_id = ::std::option::Option::Some(input.into());
354 self
355 }
356 pub fn set_workflow_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
358 self.workflow_id = input;
359 self
360 }
361 pub fn get_workflow_id(&self) -> &::std::option::Option<::std::string::String> {
363 &self.workflow_id
364 }
365 pub fn workflow_type(mut self, input: crate::types::WorkflowType) -> Self {
367 self.workflow_type = ::std::option::Option::Some(input);
368 self
369 }
370 pub fn set_workflow_type(mut self, input: ::std::option::Option<crate::types::WorkflowType>) -> Self {
372 self.workflow_type = input;
373 self
374 }
375 pub fn get_workflow_type(&self) -> &::std::option::Option<crate::types::WorkflowType> {
377 &self.workflow_type
378 }
379 pub fn run_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
381 self.run_id = ::std::option::Option::Some(input.into());
382 self
383 }
384 pub fn set_run_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
386 self.run_id = input;
387 self
388 }
389 pub fn get_run_id(&self) -> &::std::option::Option<::std::string::String> {
391 &self.run_id
392 }
393 pub fn role_arn(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
395 self.role_arn = ::std::option::Option::Some(input.into());
396 self
397 }
398 pub fn set_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
400 self.role_arn = input;
401 self
402 }
403 pub fn get_role_arn(&self) -> &::std::option::Option<::std::string::String> {
405 &self.role_arn
406 }
407 pub fn name(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
409 self.name = ::std::option::Option::Some(input.into());
410 self
411 }
412 pub fn set_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
414 self.name = input;
415 self
416 }
417 pub fn get_name(&self) -> &::std::option::Option<::std::string::String> {
419 &self.name
420 }
421 pub fn run_group_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
423 self.run_group_id = ::std::option::Option::Some(input.into());
424 self
425 }
426 pub fn set_run_group_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
428 self.run_group_id = input;
429 self
430 }
431 pub fn get_run_group_id(&self) -> &::std::option::Option<::std::string::String> {
433 &self.run_group_id
434 }
435 pub fn priority(mut self, input: i32) -> Self {
437 self.priority = ::std::option::Option::Some(input);
438 self
439 }
440 pub fn set_priority(mut self, input: ::std::option::Option<i32>) -> Self {
442 self.priority = input;
443 self
444 }
445 pub fn get_priority(&self) -> &::std::option::Option<i32> {
447 &self.priority
448 }
449 pub fn definition(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
451 self.definition = ::std::option::Option::Some(input.into());
452 self
453 }
454 pub fn set_definition(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
456 self.definition = input;
457 self
458 }
459 pub fn get_definition(&self) -> &::std::option::Option<::std::string::String> {
461 &self.definition
462 }
463 pub fn digest(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
465 self.digest = ::std::option::Option::Some(input.into());
466 self
467 }
468 pub fn set_digest(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
470 self.digest = input;
471 self
472 }
473 pub fn get_digest(&self) -> &::std::option::Option<::std::string::String> {
475 &self.digest
476 }
477 pub fn parameters(mut self, input: ::aws_smithy_types::Document) -> Self {
479 self.parameters = ::std::option::Option::Some(input);
480 self
481 }
482 pub fn set_parameters(mut self, input: ::std::option::Option<::aws_smithy_types::Document>) -> Self {
484 self.parameters = input;
485 self
486 }
487 pub fn get_parameters(&self) -> &::std::option::Option<::aws_smithy_types::Document> {
489 &self.parameters
490 }
491 pub fn storage_capacity(mut self, input: i32) -> Self {
493 self.storage_capacity = ::std::option::Option::Some(input);
494 self
495 }
496 pub fn set_storage_capacity(mut self, input: ::std::option::Option<i32>) -> Self {
498 self.storage_capacity = input;
499 self
500 }
501 pub fn get_storage_capacity(&self) -> &::std::option::Option<i32> {
503 &self.storage_capacity
504 }
505 pub fn output_uri(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
507 self.output_uri = ::std::option::Option::Some(input.into());
508 self
509 }
510 pub fn set_output_uri(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
512 self.output_uri = input;
513 self
514 }
515 pub fn get_output_uri(&self) -> &::std::option::Option<::std::string::String> {
517 &self.output_uri
518 }
519 pub fn log_level(mut self, input: crate::types::RunLogLevel) -> Self {
521 self.log_level = ::std::option::Option::Some(input);
522 self
523 }
524 pub fn set_log_level(mut self, input: ::std::option::Option<crate::types::RunLogLevel>) -> Self {
526 self.log_level = input;
527 self
528 }
529 pub fn get_log_level(&self) -> &::std::option::Option<crate::types::RunLogLevel> {
531 &self.log_level
532 }
533 pub fn resource_digests(
539 mut self,
540 k: impl ::std::convert::Into<::std::string::String>,
541 v: impl ::std::convert::Into<::std::string::String>,
542 ) -> Self {
543 let mut hash_map = self.resource_digests.unwrap_or_default();
544 hash_map.insert(k.into(), v.into());
545 self.resource_digests = ::std::option::Option::Some(hash_map);
546 self
547 }
548 pub fn set_resource_digests(
550 mut self,
551 input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
552 ) -> Self {
553 self.resource_digests = input;
554 self
555 }
556 pub fn get_resource_digests(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
558 &self.resource_digests
559 }
560 pub fn started_by(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
562 self.started_by = ::std::option::Option::Some(input.into());
563 self
564 }
565 pub fn set_started_by(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
567 self.started_by = input;
568 self
569 }
570 pub fn get_started_by(&self) -> &::std::option::Option<::std::string::String> {
572 &self.started_by
573 }
574 pub fn creation_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
576 self.creation_time = ::std::option::Option::Some(input);
577 self
578 }
579 pub fn set_creation_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
581 self.creation_time = input;
582 self
583 }
584 pub fn get_creation_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
586 &self.creation_time
587 }
588 pub fn start_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
590 self.start_time = ::std::option::Option::Some(input);
591 self
592 }
593 pub fn set_start_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
595 self.start_time = input;
596 self
597 }
598 pub fn get_start_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
600 &self.start_time
601 }
602 pub fn stop_time(mut self, input: ::aws_smithy_types::DateTime) -> Self {
604 self.stop_time = ::std::option::Option::Some(input);
605 self
606 }
607 pub fn set_stop_time(mut self, input: ::std::option::Option<::aws_smithy_types::DateTime>) -> Self {
609 self.stop_time = input;
610 self
611 }
612 pub fn get_stop_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
614 &self.stop_time
615 }
616 pub fn status_message(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
618 self.status_message = ::std::option::Option::Some(input.into());
619 self
620 }
621 pub fn set_status_message(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
623 self.status_message = input;
624 self
625 }
626 pub fn get_status_message(&self) -> &::std::option::Option<::std::string::String> {
628 &self.status_message
629 }
630 pub fn tags(mut self, k: impl ::std::convert::Into<::std::string::String>, v: impl ::std::convert::Into<::std::string::String>) -> Self {
636 let mut hash_map = self.tags.unwrap_or_default();
637 hash_map.insert(k.into(), v.into());
638 self.tags = ::std::option::Option::Some(hash_map);
639 self
640 }
641 pub fn set_tags(mut self, input: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>) -> Self {
643 self.tags = input;
644 self
645 }
646 pub fn get_tags(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
648 &self.tags
649 }
650 pub fn accelerators(mut self, input: crate::types::Accelerators) -> Self {
652 self.accelerators = ::std::option::Option::Some(input);
653 self
654 }
655 pub fn set_accelerators(mut self, input: ::std::option::Option<crate::types::Accelerators>) -> Self {
657 self.accelerators = input;
658 self
659 }
660 pub fn get_accelerators(&self) -> &::std::option::Option<crate::types::Accelerators> {
662 &self.accelerators
663 }
664 pub fn retention_mode(mut self, input: crate::types::RunRetentionMode) -> Self {
666 self.retention_mode = ::std::option::Option::Some(input);
667 self
668 }
669 pub fn set_retention_mode(mut self, input: ::std::option::Option<crate::types::RunRetentionMode>) -> Self {
671 self.retention_mode = input;
672 self
673 }
674 pub fn get_retention_mode(&self) -> &::std::option::Option<crate::types::RunRetentionMode> {
676 &self.retention_mode
677 }
678 pub fn failure_reason(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
680 self.failure_reason = ::std::option::Option::Some(input.into());
681 self
682 }
683 pub fn set_failure_reason(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
685 self.failure_reason = input;
686 self
687 }
688 pub fn get_failure_reason(&self) -> &::std::option::Option<::std::string::String> {
690 &self.failure_reason
691 }
692 pub fn log_location(mut self, input: crate::types::RunLogLocation) -> Self {
694 self.log_location = ::std::option::Option::Some(input);
695 self
696 }
697 pub fn set_log_location(mut self, input: ::std::option::Option<crate::types::RunLogLocation>) -> Self {
699 self.log_location = input;
700 self
701 }
702 pub fn get_log_location(&self) -> &::std::option::Option<crate::types::RunLogLocation> {
704 &self.log_location
705 }
706 pub fn uuid(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
708 self.uuid = ::std::option::Option::Some(input.into());
709 self
710 }
711 pub fn set_uuid(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
713 self.uuid = input;
714 self
715 }
716 pub fn get_uuid(&self) -> &::std::option::Option<::std::string::String> {
718 &self.uuid
719 }
720 pub fn run_output_uri(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
722 self.run_output_uri = ::std::option::Option::Some(input.into());
723 self
724 }
725 pub fn set_run_output_uri(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
727 self.run_output_uri = input;
728 self
729 }
730 pub fn get_run_output_uri(&self) -> &::std::option::Option<::std::string::String> {
732 &self.run_output_uri
733 }
734 pub fn storage_type(mut self, input: crate::types::StorageType) -> Self {
736 self.storage_type = ::std::option::Option::Some(input);
737 self
738 }
739 pub fn set_storage_type(mut self, input: ::std::option::Option<crate::types::StorageType>) -> Self {
741 self.storage_type = input;
742 self
743 }
744 pub fn get_storage_type(&self) -> &::std::option::Option<crate::types::StorageType> {
746 &self.storage_type
747 }
748 pub fn workflow_owner_id(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
750 self.workflow_owner_id = ::std::option::Option::Some(input.into());
751 self
752 }
753 pub fn set_workflow_owner_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
755 self.workflow_owner_id = input;
756 self
757 }
758 pub fn get_workflow_owner_id(&self) -> &::std::option::Option<::std::string::String> {
760 &self.workflow_owner_id
761 }
762 pub(crate) fn _request_id(mut self, request_id: impl Into<String>) -> Self {
763 self._request_id = Some(request_id.into());
764 self
765 }
766
767 pub(crate) fn _set_request_id(&mut self, request_id: Option<String>) -> &mut Self {
768 self._request_id = request_id;
769 self
770 }
771 pub fn build(self) -> crate::operation::get_run::GetRunOutput {
773 crate::operation::get_run::GetRunOutput {
774 arn: self.arn,
775 id: self.id,
776 cache_id: self.cache_id,
777 cache_behavior: self.cache_behavior,
778 engine_version: self.engine_version,
779 status: self.status,
780 workflow_id: self.workflow_id,
781 workflow_type: self.workflow_type,
782 run_id: self.run_id,
783 role_arn: self.role_arn,
784 name: self.name,
785 run_group_id: self.run_group_id,
786 priority: self.priority,
787 definition: self.definition,
788 digest: self.digest,
789 parameters: self.parameters,
790 storage_capacity: self.storage_capacity,
791 output_uri: self.output_uri,
792 log_level: self.log_level,
793 resource_digests: self.resource_digests,
794 started_by: self.started_by,
795 creation_time: self.creation_time,
796 start_time: self.start_time,
797 stop_time: self.stop_time,
798 status_message: self.status_message,
799 tags: self.tags,
800 accelerators: self.accelerators,
801 retention_mode: self.retention_mode,
802 failure_reason: self.failure_reason,
803 log_location: self.log_location,
804 uuid: self.uuid,
805 run_output_uri: self.run_output_uri,
806 storage_type: self.storage_type,
807 workflow_owner_id: self.workflow_owner_id,
808 _request_id: self._request_id,
809 }
810 }
811}