aws_sdk_omics/operation/get_run/
_get_run_output.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2#[allow(missing_docs)] // documentation missing in model
3#[non_exhaustive]
4#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
5pub struct GetRunOutput {
6    /// <p>The run's ARN.</p>
7    pub arn: ::std::option::Option<::std::string::String>,
8    /// <p>The run's ID.</p>
9    pub id: ::std::option::Option<::std::string::String>,
10    /// <p>The run cache associated with the run.</p>
11    pub cache_id: ::std::option::Option<::std::string::String>,
12    /// <p>The run cache behavior for the run.</p>
13    pub cache_behavior: ::std::option::Option<crate::types::CacheBehavior>,
14    /// <p>The actual Nextflow engine version that Amazon Web Services HealthOmics used for the run. The other workflow definition languages don't provide a value for this field.</p>
15    pub engine_version: ::std::option::Option<::std::string::String>,
16    /// <p>The run's status.</p>
17    pub status: ::std::option::Option<crate::types::RunStatus>,
18    /// <p>The run's workflow ID.</p>
19    pub workflow_id: ::std::option::Option<::std::string::String>,
20    /// <p>The run's workflow type.</p>
21    pub workflow_type: ::std::option::Option<crate::types::WorkflowType>,
22    /// <p>The run's ID.</p>
23    pub run_id: ::std::option::Option<::std::string::String>,
24    /// <p>The run's service role ARN.</p>
25    pub role_arn: ::std::option::Option<::std::string::String>,
26    /// <p>The run's name.</p>
27    pub name: ::std::option::Option<::std::string::String>,
28    /// <p>The run's group ID.</p>
29    pub run_group_id: ::std::option::Option<::std::string::String>,
30    /// <p>The run's priority.</p>
31    pub priority: ::std::option::Option<i32>,
32    /// <p>The run's definition.</p>
33    pub definition: ::std::option::Option<::std::string::String>,
34    /// <p>The run's digest.</p>
35    pub digest: ::std::option::Option<::std::string::String>,
36    /// <p>The run's parameters.</p>
37    pub parameters: ::std::option::Option<::aws_smithy_types::Document>,
38    /// <p>The run's storage capacity in gibibytes. For dynamic storage, after the run has completed, this value is the maximum amount of storage used during the run.</p>
39    pub storage_capacity: ::std::option::Option<i32>,
40    /// <p>The run's output URI.</p>
41    pub output_uri: ::std::option::Option<::std::string::String>,
42    /// <p>The run's log level.</p>
43    pub log_level: ::std::option::Option<crate::types::RunLogLevel>,
44    /// <p>The run's resource digests.</p>
45    pub resource_digests: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
46    /// <p>Who started the run.</p>
47    pub started_by: ::std::option::Option<::std::string::String>,
48    /// <p>When the run was created.</p>
49    pub creation_time: ::std::option::Option<::aws_smithy_types::DateTime>,
50    /// <p>When the run started.</p>
51    pub start_time: ::std::option::Option<::aws_smithy_types::DateTime>,
52    /// <p>The run's stop time.</p>
53    pub stop_time: ::std::option::Option<::aws_smithy_types::DateTime>,
54    /// <p>The run's status message.</p>
55    pub status_message: ::std::option::Option<::std::string::String>,
56    /// <p>The run's tags.</p>
57    pub tags: ::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>>,
58    /// <p>The computational accelerator used to run the workflow.</p>
59    pub accelerators: ::std::option::Option<crate::types::Accelerators>,
60    /// <p>The run's retention mode.</p>
61    pub retention_mode: ::std::option::Option<crate::types::RunRetentionMode>,
62    /// <p>The reason a run has failed.</p>
63    pub failure_reason: ::std::option::Option<::std::string::String>,
64    /// <p>The location of the run log.</p>
65    pub log_location: ::std::option::Option<crate::types::RunLogLocation>,
66    /// <p>The universally unique identifier for a run.</p>
67    pub uuid: ::std::option::Option<::std::string::String>,
68    /// <p>The destination for workflow outputs.</p>
69    pub run_output_uri: ::std::option::Option<::std::string::String>,
70    /// <p>The run's storage type.</p>
71    pub storage_type: ::std::option::Option<crate::types::StorageType>,
72    /// <p>The ID of the workflow owner.</p>
73    pub workflow_owner_id: ::std::option::Option<::std::string::String>,
74    /// <p>The workflow version name.</p>
75    pub workflow_version_name: ::std::option::Option<::std::string::String>,
76    /// <p>The universally unique identifier (UUID) value for the workflow.</p>
77    pub workflow_uuid: ::std::option::Option<::std::string::String>,
78    _request_id: Option<String>,
79}
80impl GetRunOutput {
81    /// <p>The run's ARN.</p>
82    pub fn arn(&self) -> ::std::option::Option<&str> {
83        self.arn.as_deref()
84    }
85    /// <p>The run's ID.</p>
86    pub fn id(&self) -> ::std::option::Option<&str> {
87        self.id.as_deref()
88    }
89    /// <p>The run cache associated with the run.</p>
90    pub fn cache_id(&self) -> ::std::option::Option<&str> {
91        self.cache_id.as_deref()
92    }
93    /// <p>The run cache behavior for the run.</p>
94    pub fn cache_behavior(&self) -> ::std::option::Option<&crate::types::CacheBehavior> {
95        self.cache_behavior.as_ref()
96    }
97    /// <p>The actual Nextflow engine version that Amazon Web Services HealthOmics used for the run. The other workflow definition languages don't provide a value for this field.</p>
98    pub fn engine_version(&self) -> ::std::option::Option<&str> {
99        self.engine_version.as_deref()
100    }
101    /// <p>The run's status.</p>
102    pub fn status(&self) -> ::std::option::Option<&crate::types::RunStatus> {
103        self.status.as_ref()
104    }
105    /// <p>The run's workflow ID.</p>
106    pub fn workflow_id(&self) -> ::std::option::Option<&str> {
107        self.workflow_id.as_deref()
108    }
109    /// <p>The run's workflow type.</p>
110    pub fn workflow_type(&self) -> ::std::option::Option<&crate::types::WorkflowType> {
111        self.workflow_type.as_ref()
112    }
113    /// <p>The run's ID.</p>
114    pub fn run_id(&self) -> ::std::option::Option<&str> {
115        self.run_id.as_deref()
116    }
117    /// <p>The run's service role ARN.</p>
118    pub fn role_arn(&self) -> ::std::option::Option<&str> {
119        self.role_arn.as_deref()
120    }
121    /// <p>The run's name.</p>
122    pub fn name(&self) -> ::std::option::Option<&str> {
123        self.name.as_deref()
124    }
125    /// <p>The run's group ID.</p>
126    pub fn run_group_id(&self) -> ::std::option::Option<&str> {
127        self.run_group_id.as_deref()
128    }
129    /// <p>The run's priority.</p>
130    pub fn priority(&self) -> ::std::option::Option<i32> {
131        self.priority
132    }
133    /// <p>The run's definition.</p>
134    pub fn definition(&self) -> ::std::option::Option<&str> {
135        self.definition.as_deref()
136    }
137    /// <p>The run's digest.</p>
138    pub fn digest(&self) -> ::std::option::Option<&str> {
139        self.digest.as_deref()
140    }
141    /// <p>The run's parameters.</p>
142    pub fn parameters(&self) -> ::std::option::Option<&::aws_smithy_types::Document> {
143        self.parameters.as_ref()
144    }
145    /// <p>The run's storage capacity in gibibytes. For dynamic storage, after the run has completed, this value is the maximum amount of storage used during the run.</p>
146    pub fn storage_capacity(&self) -> ::std::option::Option<i32> {
147        self.storage_capacity
148    }
149    /// <p>The run's output URI.</p>
150    pub fn output_uri(&self) -> ::std::option::Option<&str> {
151        self.output_uri.as_deref()
152    }
153    /// <p>The run's log level.</p>
154    pub fn log_level(&self) -> ::std::option::Option<&crate::types::RunLogLevel> {
155        self.log_level.as_ref()
156    }
157    /// <p>The run's resource digests.</p>
158    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    /// <p>Who started the run.</p>
162    pub fn started_by(&self) -> ::std::option::Option<&str> {
163        self.started_by.as_deref()
164    }
165    /// <p>When the run was created.</p>
166    pub fn creation_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
167        self.creation_time.as_ref()
168    }
169    /// <p>When the run started.</p>
170    pub fn start_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
171        self.start_time.as_ref()
172    }
173    /// <p>The run's stop time.</p>
174    pub fn stop_time(&self) -> ::std::option::Option<&::aws_smithy_types::DateTime> {
175        self.stop_time.as_ref()
176    }
177    /// <p>The run's status message.</p>
178    pub fn status_message(&self) -> ::std::option::Option<&str> {
179        self.status_message.as_deref()
180    }
181    /// <p>The run's tags.</p>
182    pub fn tags(&self) -> ::std::option::Option<&::std::collections::HashMap<::std::string::String, ::std::string::String>> {
183        self.tags.as_ref()
184    }
185    /// <p>The computational accelerator used to run the workflow.</p>
186    pub fn accelerators(&self) -> ::std::option::Option<&crate::types::Accelerators> {
187        self.accelerators.as_ref()
188    }
189    /// <p>The run's retention mode.</p>
190    pub fn retention_mode(&self) -> ::std::option::Option<&crate::types::RunRetentionMode> {
191        self.retention_mode.as_ref()
192    }
193    /// <p>The reason a run has failed.</p>
194    pub fn failure_reason(&self) -> ::std::option::Option<&str> {
195        self.failure_reason.as_deref()
196    }
197    /// <p>The location of the run log.</p>
198    pub fn log_location(&self) -> ::std::option::Option<&crate::types::RunLogLocation> {
199        self.log_location.as_ref()
200    }
201    /// <p>The universally unique identifier for a run.</p>
202    pub fn uuid(&self) -> ::std::option::Option<&str> {
203        self.uuid.as_deref()
204    }
205    /// <p>The destination for workflow outputs.</p>
206    pub fn run_output_uri(&self) -> ::std::option::Option<&str> {
207        self.run_output_uri.as_deref()
208    }
209    /// <p>The run's storage type.</p>
210    pub fn storage_type(&self) -> ::std::option::Option<&crate::types::StorageType> {
211        self.storage_type.as_ref()
212    }
213    /// <p>The ID of the workflow owner.</p>
214    pub fn workflow_owner_id(&self) -> ::std::option::Option<&str> {
215        self.workflow_owner_id.as_deref()
216    }
217    /// <p>The workflow version name.</p>
218    pub fn workflow_version_name(&self) -> ::std::option::Option<&str> {
219        self.workflow_version_name.as_deref()
220    }
221    /// <p>The universally unique identifier (UUID) value for the workflow.</p>
222    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    /// Creates a new builder-style object to manufacture [`GetRunOutput`](crate::operation::get_run::GetRunOutput).
233    pub fn builder() -> crate::operation::get_run::builders::GetRunOutputBuilder {
234        crate::operation::get_run::builders::GetRunOutputBuilder::default()
235    }
236}
237
238/// A builder for [`GetRunOutput`](crate::operation::get_run::GetRunOutput).
239#[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    /// <p>The run's ARN.</p>
282    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    /// <p>The run's ARN.</p>
287    pub fn set_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
288        self.arn = input;
289        self
290    }
291    /// <p>The run's ARN.</p>
292    pub fn get_arn(&self) -> &::std::option::Option<::std::string::String> {
293        &self.arn
294    }
295    /// <p>The run's ID.</p>
296    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    /// <p>The run's ID.</p>
301    pub fn set_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
302        self.id = input;
303        self
304    }
305    /// <p>The run's ID.</p>
306    pub fn get_id(&self) -> &::std::option::Option<::std::string::String> {
307        &self.id
308    }
309    /// <p>The run cache associated with the run.</p>
310    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    /// <p>The run cache associated with the run.</p>
315    pub fn set_cache_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
316        self.cache_id = input;
317        self
318    }
319    /// <p>The run cache associated with the run.</p>
320    pub fn get_cache_id(&self) -> &::std::option::Option<::std::string::String> {
321        &self.cache_id
322    }
323    /// <p>The run cache behavior for the run.</p>
324    pub fn cache_behavior(mut self, input: crate::types::CacheBehavior) -> Self {
325        self.cache_behavior = ::std::option::Option::Some(input);
326        self
327    }
328    /// <p>The run cache behavior for the run.</p>
329    pub fn set_cache_behavior(mut self, input: ::std::option::Option<crate::types::CacheBehavior>) -> Self {
330        self.cache_behavior = input;
331        self
332    }
333    /// <p>The run cache behavior for the run.</p>
334    pub fn get_cache_behavior(&self) -> &::std::option::Option<crate::types::CacheBehavior> {
335        &self.cache_behavior
336    }
337    /// <p>The actual Nextflow engine version that Amazon Web Services HealthOmics used for the run. The other workflow definition languages don't provide a value for this field.</p>
338    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    /// <p>The actual Nextflow engine version that Amazon Web Services HealthOmics used for the run. The other workflow definition languages don't provide a value for this field.</p>
343    pub fn set_engine_version(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
344        self.engine_version = input;
345        self
346    }
347    /// <p>The actual Nextflow engine version that Amazon Web Services HealthOmics used for the run. The other workflow definition languages don't provide a value for this field.</p>
348    pub fn get_engine_version(&self) -> &::std::option::Option<::std::string::String> {
349        &self.engine_version
350    }
351    /// <p>The run's status.</p>
352    pub fn status(mut self, input: crate::types::RunStatus) -> Self {
353        self.status = ::std::option::Option::Some(input);
354        self
355    }
356    /// <p>The run's status.</p>
357    pub fn set_status(mut self, input: ::std::option::Option<crate::types::RunStatus>) -> Self {
358        self.status = input;
359        self
360    }
361    /// <p>The run's status.</p>
362    pub fn get_status(&self) -> &::std::option::Option<crate::types::RunStatus> {
363        &self.status
364    }
365    /// <p>The run's workflow ID.</p>
366    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    /// <p>The run's workflow ID.</p>
371    pub fn set_workflow_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
372        self.workflow_id = input;
373        self
374    }
375    /// <p>The run's workflow ID.</p>
376    pub fn get_workflow_id(&self) -> &::std::option::Option<::std::string::String> {
377        &self.workflow_id
378    }
379    /// <p>The run's workflow type.</p>
380    pub fn workflow_type(mut self, input: crate::types::WorkflowType) -> Self {
381        self.workflow_type = ::std::option::Option::Some(input);
382        self
383    }
384    /// <p>The run's workflow type.</p>
385    pub fn set_workflow_type(mut self, input: ::std::option::Option<crate::types::WorkflowType>) -> Self {
386        self.workflow_type = input;
387        self
388    }
389    /// <p>The run's workflow type.</p>
390    pub fn get_workflow_type(&self) -> &::std::option::Option<crate::types::WorkflowType> {
391        &self.workflow_type
392    }
393    /// <p>The run's ID.</p>
394    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    /// <p>The run's ID.</p>
399    pub fn set_run_id(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
400        self.run_id = input;
401        self
402    }
403    /// <p>The run's ID.</p>
404    pub fn get_run_id(&self) -> &::std::option::Option<::std::string::String> {
405        &self.run_id
406    }
407    /// <p>The run's service role ARN.</p>
408    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    /// <p>The run's service role ARN.</p>
413    pub fn set_role_arn(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
414        self.role_arn = input;
415        self
416    }
417    /// <p>The run's service role ARN.</p>
418    pub fn get_role_arn(&self) -> &::std::option::Option<::std::string::String> {
419        &self.role_arn
420    }
421    /// <p>The run's name.</p>
422    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    /// <p>The run's name.</p>
427    pub fn set_name(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
428        self.name = input;
429        self
430    }
431    /// <p>The run's name.</p>
432    pub fn get_name(&self) -> &::std::option::Option<::std::string::String> {
433        &self.name
434    }
435    /// <p>The run's group ID.</p>
436    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    /// <p>The run's group ID.</p>
441    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    /// <p>The run's group ID.</p>
446    pub fn get_run_group_id(&self) -> &::std::option::Option<::std::string::String> {
447        &self.run_group_id
448    }
449    /// <p>The run's priority.</p>
450    pub fn priority(mut self, input: i32) -> Self {
451        self.priority = ::std::option::Option::Some(input);
452        self
453    }
454    /// <p>The run's priority.</p>
455    pub fn set_priority(mut self, input: ::std::option::Option<i32>) -> Self {
456        self.priority = input;
457        self
458    }
459    /// <p>The run's priority.</p>
460    pub fn get_priority(&self) -> &::std::option::Option<i32> {
461        &self.priority
462    }
463    /// <p>The run's definition.</p>
464    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    /// <p>The run's definition.</p>
469    pub fn set_definition(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
470        self.definition = input;
471        self
472    }
473    /// <p>The run's definition.</p>
474    pub fn get_definition(&self) -> &::std::option::Option<::std::string::String> {
475        &self.definition
476    }
477    /// <p>The run's digest.</p>
478    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    /// <p>The run's digest.</p>
483    pub fn set_digest(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
484        self.digest = input;
485        self
486    }
487    /// <p>The run's digest.</p>
488    pub fn get_digest(&self) -> &::std::option::Option<::std::string::String> {
489        &self.digest
490    }
491    /// <p>The run's parameters.</p>
492    pub fn parameters(mut self, input: ::aws_smithy_types::Document) -> Self {
493        self.parameters = ::std::option::Option::Some(input);
494        self
495    }
496    /// <p>The run's parameters.</p>
497    pub fn set_parameters(mut self, input: ::std::option::Option<::aws_smithy_types::Document>) -> Self {
498        self.parameters = input;
499        self
500    }
501    /// <p>The run's parameters.</p>
502    pub fn get_parameters(&self) -> &::std::option::Option<::aws_smithy_types::Document> {
503        &self.parameters
504    }
505    /// <p>The run's storage capacity in gibibytes. For dynamic storage, after the run has completed, this value is the maximum amount of storage used during the run.</p>
506    pub fn storage_capacity(mut self, input: i32) -> Self {
507        self.storage_capacity = ::std::option::Option::Some(input);
508        self
509    }
510    /// <p>The run's storage capacity in gibibytes. For dynamic storage, after the run has completed, this value is the maximum amount of storage used during the run.</p>
511    pub fn set_storage_capacity(mut self, input: ::std::option::Option<i32>) -> Self {
512        self.storage_capacity = input;
513        self
514    }
515    /// <p>The run's storage capacity in gibibytes. For dynamic storage, after the run has completed, this value is the maximum amount of storage used during the run.</p>
516    pub fn get_storage_capacity(&self) -> &::std::option::Option<i32> {
517        &self.storage_capacity
518    }
519    /// <p>The run's output URI.</p>
520    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    /// <p>The run's output URI.</p>
525    pub fn set_output_uri(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
526        self.output_uri = input;
527        self
528    }
529    /// <p>The run's output URI.</p>
530    pub fn get_output_uri(&self) -> &::std::option::Option<::std::string::String> {
531        &self.output_uri
532    }
533    /// <p>The run's log level.</p>
534    pub fn log_level(mut self, input: crate::types::RunLogLevel) -> Self {
535        self.log_level = ::std::option::Option::Some(input);
536        self
537    }
538    /// <p>The run's log level.</p>
539    pub fn set_log_level(mut self, input: ::std::option::Option<crate::types::RunLogLevel>) -> Self {
540        self.log_level = input;
541        self
542    }
543    /// <p>The run's log level.</p>
544    pub fn get_log_level(&self) -> &::std::option::Option<crate::types::RunLogLevel> {
545        &self.log_level
546    }
547    /// Adds a key-value pair to `resource_digests`.
548    ///
549    /// To override the contents of this collection use [`set_resource_digests`](Self::set_resource_digests).
550    ///
551    /// <p>The run's resource digests.</p>
552    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    /// <p>The run's resource digests.</p>
563    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    /// <p>The run's resource digests.</p>
571    pub fn get_resource_digests(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
572        &self.resource_digests
573    }
574    /// <p>Who started the run.</p>
575    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    /// <p>Who started the run.</p>
580    pub fn set_started_by(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
581        self.started_by = input;
582        self
583    }
584    /// <p>Who started the run.</p>
585    pub fn get_started_by(&self) -> &::std::option::Option<::std::string::String> {
586        &self.started_by
587    }
588    /// <p>When the run was created.</p>
589    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    /// <p>When the run was created.</p>
594    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    /// <p>When the run was created.</p>
599    pub fn get_creation_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
600        &self.creation_time
601    }
602    /// <p>When the run started.</p>
603    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    /// <p>When the run started.</p>
608    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    /// <p>When the run started.</p>
613    pub fn get_start_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
614        &self.start_time
615    }
616    /// <p>The run's stop time.</p>
617    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    /// <p>The run's stop time.</p>
622    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    /// <p>The run's stop time.</p>
627    pub fn get_stop_time(&self) -> &::std::option::Option<::aws_smithy_types::DateTime> {
628        &self.stop_time
629    }
630    /// <p>The run's status message.</p>
631    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    /// <p>The run's status message.</p>
636    pub fn set_status_message(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
637        self.status_message = input;
638        self
639    }
640    /// <p>The run's status message.</p>
641    pub fn get_status_message(&self) -> &::std::option::Option<::std::string::String> {
642        &self.status_message
643    }
644    /// Adds a key-value pair to `tags`.
645    ///
646    /// To override the contents of this collection use [`set_tags`](Self::set_tags).
647    ///
648    /// <p>The run's tags.</p>
649    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    /// <p>The run's tags.</p>
656    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    /// <p>The run's tags.</p>
661    pub fn get_tags(&self) -> &::std::option::Option<::std::collections::HashMap<::std::string::String, ::std::string::String>> {
662        &self.tags
663    }
664    /// <p>The computational accelerator used to run the workflow.</p>
665    pub fn accelerators(mut self, input: crate::types::Accelerators) -> Self {
666        self.accelerators = ::std::option::Option::Some(input);
667        self
668    }
669    /// <p>The computational accelerator used to run the workflow.</p>
670    pub fn set_accelerators(mut self, input: ::std::option::Option<crate::types::Accelerators>) -> Self {
671        self.accelerators = input;
672        self
673    }
674    /// <p>The computational accelerator used to run the workflow.</p>
675    pub fn get_accelerators(&self) -> &::std::option::Option<crate::types::Accelerators> {
676        &self.accelerators
677    }
678    /// <p>The run's retention mode.</p>
679    pub fn retention_mode(mut self, input: crate::types::RunRetentionMode) -> Self {
680        self.retention_mode = ::std::option::Option::Some(input);
681        self
682    }
683    /// <p>The run's retention mode.</p>
684    pub fn set_retention_mode(mut self, input: ::std::option::Option<crate::types::RunRetentionMode>) -> Self {
685        self.retention_mode = input;
686        self
687    }
688    /// <p>The run's retention mode.</p>
689    pub fn get_retention_mode(&self) -> &::std::option::Option<crate::types::RunRetentionMode> {
690        &self.retention_mode
691    }
692    /// <p>The reason a run has failed.</p>
693    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    /// <p>The reason a run has failed.</p>
698    pub fn set_failure_reason(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
699        self.failure_reason = input;
700        self
701    }
702    /// <p>The reason a run has failed.</p>
703    pub fn get_failure_reason(&self) -> &::std::option::Option<::std::string::String> {
704        &self.failure_reason
705    }
706    /// <p>The location of the run log.</p>
707    pub fn log_location(mut self, input: crate::types::RunLogLocation) -> Self {
708        self.log_location = ::std::option::Option::Some(input);
709        self
710    }
711    /// <p>The location of the run log.</p>
712    pub fn set_log_location(mut self, input: ::std::option::Option<crate::types::RunLogLocation>) -> Self {
713        self.log_location = input;
714        self
715    }
716    /// <p>The location of the run log.</p>
717    pub fn get_log_location(&self) -> &::std::option::Option<crate::types::RunLogLocation> {
718        &self.log_location
719    }
720    /// <p>The universally unique identifier for a run.</p>
721    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    /// <p>The universally unique identifier for a run.</p>
726    pub fn set_uuid(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
727        self.uuid = input;
728        self
729    }
730    /// <p>The universally unique identifier for a run.</p>
731    pub fn get_uuid(&self) -> &::std::option::Option<::std::string::String> {
732        &self.uuid
733    }
734    /// <p>The destination for workflow outputs.</p>
735    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    /// <p>The destination for workflow outputs.</p>
740    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    /// <p>The destination for workflow outputs.</p>
745    pub fn get_run_output_uri(&self) -> &::std::option::Option<::std::string::String> {
746        &self.run_output_uri
747    }
748    /// <p>The run's storage type.</p>
749    pub fn storage_type(mut self, input: crate::types::StorageType) -> Self {
750        self.storage_type = ::std::option::Option::Some(input);
751        self
752    }
753    /// <p>The run's storage type.</p>
754    pub fn set_storage_type(mut self, input: ::std::option::Option<crate::types::StorageType>) -> Self {
755        self.storage_type = input;
756        self
757    }
758    /// <p>The run's storage type.</p>
759    pub fn get_storage_type(&self) -> &::std::option::Option<crate::types::StorageType> {
760        &self.storage_type
761    }
762    /// <p>The ID of the workflow owner.</p>
763    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    /// <p>The ID of the workflow owner.</p>
768    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    /// <p>The ID of the workflow owner.</p>
773    pub fn get_workflow_owner_id(&self) -> &::std::option::Option<::std::string::String> {
774        &self.workflow_owner_id
775    }
776    /// <p>The workflow version name.</p>
777    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    /// <p>The workflow version name.</p>
782    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    /// <p>The workflow version name.</p>
787    pub fn get_workflow_version_name(&self) -> &::std::option::Option<::std::string::String> {
788        &self.workflow_version_name
789    }
790    /// <p>The universally unique identifier (UUID) value for the workflow.</p>
791    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    /// <p>The universally unique identifier (UUID) value for the workflow.</p>
796    pub fn set_workflow_uuid(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
797        self.workflow_uuid = input;
798        self
799    }
800    /// <p>The universally unique identifier (UUID) value for the workflow.</p>
801    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    /// Consumes the builder and constructs a [`GetRunOutput`](crate::operation::get_run::GetRunOutput).
814    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}