1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetOrder`](crate::operation::get_order::builders::GetOrderFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`order_id(impl Into<String>)`](crate::operation::get_order::builders::GetOrderFluentBuilder::order_id) / [`set_order_id(Option<String>)`](crate::operation::get_order::builders::GetOrderFluentBuilder::set_order_id):<br>required: **true**<br><p>The ID of the order.</p><br>
    /// - On success, responds with [`GetOrderOutput`](crate::operation::get_order::GetOrderOutput) with field(s):
    ///   - [`order(Option<Order>)`](crate::operation::get_order::GetOrderOutput::order): <p>Information about an order.</p>
    /// - On failure, responds with [`SdkError<GetOrderError>`](crate::operation::get_order::GetOrderError)
    pub fn get_order(&self) -> crate::operation::get_order::builders::GetOrderFluentBuilder {
        crate::operation::get_order::builders::GetOrderFluentBuilder::new(self.handle.clone())
    }
}