1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetWorkflow`](crate::operation::get_workflow::builders::GetWorkflowFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::get_workflow::builders::GetWorkflowFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_workflow::builders::GetWorkflowFluentBuilder::set_name):<br>required: **true**<br><p>The name of the workflow to retrieve.</p><br>
    ///   - [`include_graph(bool)`](crate::operation::get_workflow::builders::GetWorkflowFluentBuilder::include_graph) / [`set_include_graph(Option<bool>)`](crate::operation::get_workflow::builders::GetWorkflowFluentBuilder::set_include_graph):<br>required: **false**<br><p>Specifies whether to include a graph when returning the workflow resource metadata.</p><br>
    /// - On success, responds with [`GetWorkflowOutput`](crate::operation::get_workflow::GetWorkflowOutput) with field(s):
    ///   - [`workflow(Option<Workflow>)`](crate::operation::get_workflow::GetWorkflowOutput::workflow): <p>The resource metadata for the workflow.</p>
    /// - On failure, responds with [`SdkError<GetWorkflowError>`](crate::operation::get_workflow::GetWorkflowError)
    pub fn get_workflow(&self) -> crate::operation::get_workflow::builders::GetWorkflowFluentBuilder {
        crate::operation::get_workflow::builders::GetWorkflowFluentBuilder::new(self.handle.clone())
    }
}