1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetQApp`](crate::operation::get_q_app::builders::GetQAppFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::get_q_app::builders::GetQAppFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::get_q_app::builders::GetQAppFluentBuilder::set_instance_id):<br>required: **true**<br><p>The unique identifier of the Amazon Q Business application environment instance.</p><br>
    ///   - [`app_id(impl Into<String>)`](crate::operation::get_q_app::builders::GetQAppFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::get_q_app::builders::GetQAppFluentBuilder::set_app_id):<br>required: **true**<br><p>The unique identifier of the Q App to retrieve.</p><br>
    /// - On success, responds with [`GetQAppOutput`](crate::operation::get_q_app::GetQAppOutput) with field(s):
    ///   - [`app_id(String)`](crate::operation::get_q_app::GetQAppOutput::app_id): <p>The unique identifier of the Q App.</p>
    ///   - [`app_arn(String)`](crate::operation::get_q_app::GetQAppOutput::app_arn): <p>The Amazon Resource Name (ARN) of the Q App.</p>
    ///   - [`title(String)`](crate::operation::get_q_app::GetQAppOutput::title): <p>The title of the Q App.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_q_app::GetQAppOutput::description): <p>The description of the Q App.</p>
    ///   - [`initial_prompt(Option<String>)`](crate::operation::get_q_app::GetQAppOutput::initial_prompt): <p>The initial prompt displayed when the Q App is started.</p>
    ///   - [`app_version(i32)`](crate::operation::get_q_app::GetQAppOutput::app_version): <p>The version of the Q App.</p>
    ///   - [`status(AppStatus)`](crate::operation::get_q_app::GetQAppOutput::status): <p>The status of the Q App.</p>
    ///   - [`created_at(DateTime)`](crate::operation::get_q_app::GetQAppOutput::created_at): <p>The date and time the Q App was created.</p>
    ///   - [`created_by(String)`](crate::operation::get_q_app::GetQAppOutput::created_by): <p>The user who created the Q App.</p>
    ///   - [`updated_at(DateTime)`](crate::operation::get_q_app::GetQAppOutput::updated_at): <p>The date and time the Q App was last updated.</p>
    ///   - [`updated_by(String)`](crate::operation::get_q_app::GetQAppOutput::updated_by): <p>The user who last updated the Q App.</p>
    ///   - [`required_capabilities(Option<Vec::<AppRequiredCapability>>)`](crate::operation::get_q_app::GetQAppOutput::required_capabilities): <p>The capabilities required to run the Q App, such as file upload or third-party integrations.</p>
    ///   - [`app_definition(Option<AppDefinition>)`](crate::operation::get_q_app::GetQAppOutput::app_definition): <p>The full definition of the Q App, specifying the cards and flow.</p>
    /// - On failure, responds with [`SdkError<GetQAppError>`](crate::operation::get_q_app::GetQAppError)
    pub fn get_q_app(&self) -> crate::operation::get_q_app::builders::GetQAppFluentBuilder {
        crate::operation::get_q_app::builders::GetQAppFluentBuilder::new(self.handle.clone())
    }
}