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