#[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 in Connect 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 in Connect 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 in Connect 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 in Connect 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 ==.impl StructuralPartialEq for QueryAssistantInput
Auto Trait Implementations§
impl Freeze for QueryAssistantInput
impl RefUnwindSafe for QueryAssistantInput
impl Send for QueryAssistantInput
impl Sync for QueryAssistantInput
impl Unpin for QueryAssistantInput
impl UnwindSafe for QueryAssistantInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more