#[non_exhaustive]pub struct QueryAssistantInput {
pub assistant_id: Option<String>,
pub query_text: Option<String>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub session_id: Option<String>,
pub query_condition: Option<Vec<QueryCondition>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.assistant_id: Option<String>The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
query_text: Option<String>The text to search for.
next_token: Option<String>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
max_results: Option<i32>The maximum number of results to return per page.
session_id: Option<String>The identifier of the Amazon Q session. Can be either the ID or the ARN. URLs cannot contain the ARN.
query_condition: Option<Vec<QueryCondition>>Information about how to query content.
Implementations§
source§impl QueryAssistantInput
impl QueryAssistantInput
sourcepub fn assistant_id(&self) -> Option<&str>
pub fn assistant_id(&self) -> Option<&str>
The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn query_text(&self) -> Option<&str>
pub fn query_text(&self) -> Option<&str>
The text to search for.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of results to return per page.
sourcepub fn session_id(&self) -> Option<&str>
pub fn session_id(&self) -> Option<&str>
The identifier of the Amazon Q session. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn query_condition(&self) -> &[QueryCondition]
pub fn query_condition(&self) -> &[QueryCondition]
Information about how to query content.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .query_condition.is_none().
source§impl QueryAssistantInput
impl QueryAssistantInput
sourcepub fn builder() -> QueryAssistantInputBuilder
pub fn builder() -> QueryAssistantInputBuilder
Creates a new builder-style object to manufacture QueryAssistantInput.
Trait Implementations§
source§impl Clone for QueryAssistantInput
impl Clone for QueryAssistantInput
source§fn clone(&self) -> QueryAssistantInput
fn clone(&self) -> QueryAssistantInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for QueryAssistantInput
impl Debug for QueryAssistantInput
source§impl PartialEq for QueryAssistantInput
impl PartialEq for QueryAssistantInput
source§fn eq(&self, other: &QueryAssistantInput) -> bool
fn eq(&self, other: &QueryAssistantInput) -> bool
self and other values to be equal, and is used
by ==.