#[non_exhaustive]pub struct QueryAssistantInputBuilder { /* private fields */ }
Expand description
A builder for QueryAssistantInput
.
Implementations§
source§impl QueryAssistantInputBuilder
impl QueryAssistantInputBuilder
sourcepub fn assistant_id(self, input: impl Into<String>) -> Self
pub fn assistant_id(self, input: impl Into<String>) -> Self
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn set_assistant_id(self, input: Option<String>) -> Self
pub fn set_assistant_id(self, input: Option<String>) -> Self
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn get_assistant_id(&self) -> &Option<String>
pub fn get_assistant_id(&self) -> &Option<String>
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn query_text(self, input: impl Into<String>) -> Self
pub fn query_text(self, input: impl Into<String>) -> Self
The text to search for.
sourcepub fn set_query_text(self, input: Option<String>) -> Self
pub fn set_query_text(self, input: Option<String>) -> Self
The text to search for.
sourcepub fn get_query_text(&self) -> &Option<String>
pub fn get_query_text(&self) -> &Option<String>
The text to search for.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
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 set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
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 get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &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.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return per page.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return per page.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return per page.
sourcepub fn build(self) -> Result<QueryAssistantInput, BuildError>
pub fn build(self) -> Result<QueryAssistantInput, BuildError>
Consumes the builder and constructs a QueryAssistantInput
.
source§impl QueryAssistantInputBuilder
impl QueryAssistantInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<QueryAssistantOutput, SdkError<QueryAssistantError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<QueryAssistantOutput, SdkError<QueryAssistantError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for QueryAssistantInputBuilder
impl Clone for QueryAssistantInputBuilder
source§fn clone(&self) -> QueryAssistantInputBuilder
fn clone(&self) -> QueryAssistantInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for QueryAssistantInputBuilder
impl Debug for QueryAssistantInputBuilder
source§impl Default for QueryAssistantInputBuilder
impl Default for QueryAssistantInputBuilder
source§fn default() -> QueryAssistantInputBuilder
fn default() -> QueryAssistantInputBuilder
source§impl PartialEq<QueryAssistantInputBuilder> for QueryAssistantInputBuilder
impl PartialEq<QueryAssistantInputBuilder> for QueryAssistantInputBuilder
source§fn eq(&self, other: &QueryAssistantInputBuilder) -> bool
fn eq(&self, other: &QueryAssistantInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.