1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutFeedback`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`application_id(impl Into<String>)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::set_application_id):<br>required: **true**<br><p>The identifier of the application associated with the feedback.</p><br>
    ///   - [`user_id(impl Into<String>)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::set_user_id):<br>required: **false**<br><p>The identifier of the user giving the feedback.</p><br>
    ///   - [`conversation_id(impl Into<String>)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::conversation_id) / [`set_conversation_id(Option<String>)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::set_conversation_id):<br>required: **true**<br><p>The identifier of the conversation the feedback is attached to.</p><br>
    ///   - [`message_id(impl Into<String>)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::message_id) / [`set_message_id(Option<String>)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::set_message_id):<br>required: **true**<br><p>The identifier of the chat message that the feedback was given for.</p><br>
    ///   - [`message_copied_at(DateTime)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::message_copied_at) / [`set_message_copied_at(Option<DateTime>)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::set_message_copied_at):<br>required: **false**<br><p>The timestamp for when the feedback was recorded.</p><br>
    ///   - [`message_usefulness(MessageUsefulnessFeedback)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::message_usefulness) / [`set_message_usefulness(Option<MessageUsefulnessFeedback>)`](crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::set_message_usefulness):<br>required: **false**<br><p>The feedback usefulness value given by the user to the chat message.</p><br>
    /// - On success, responds with [`PutFeedbackOutput`](crate::operation::put_feedback::PutFeedbackOutput)
    /// - On failure, responds with [`SdkError<PutFeedbackError>`](crate::operation::put_feedback::PutFeedbackError)
    pub fn put_feedback(&self) -> crate::operation::put_feedback::builders::PutFeedbackFluentBuilder {
        crate::operation::put_feedback::builders::PutFeedbackFluentBuilder::new(self.handle.clone())
    }
}