#[non_exhaustive]pub struct SearchIndexInputBuilder { /* private fields */ }Expand description
A builder for SearchIndexInput.
Implementations§
source§impl SearchIndexInputBuilder
impl SearchIndexInputBuilder
sourcepub fn index_name(self, input: impl Into<String>) -> Self
pub fn index_name(self, input: impl Into<String>) -> Self
The search index name.
sourcepub fn set_index_name(self, input: Option<String>) -> Self
pub fn set_index_name(self, input: Option<String>) -> Self
The search index name.
sourcepub fn get_index_name(&self) -> &Option<String>
pub fn get_index_name(&self) -> &Option<String>
The search index name.
sourcepub fn query_string(self, input: impl Into<String>) -> Self
pub fn query_string(self, input: impl Into<String>) -> Self
The search query string. For more information about the search query syntax, see Query syntax.
This field is required.sourcepub fn set_query_string(self, input: Option<String>) -> Self
pub fn set_query_string(self, input: Option<String>) -> Self
The search query string. For more information about the search query syntax, see Query syntax.
sourcepub fn get_query_string(&self) -> &Option<String>
pub fn get_query_string(&self) -> &Option<String>
The search query string. For more information about the search query syntax, see Query syntax.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token used to get the next set of results, or null if there are no additional results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token used to get the next set of results, or null if there are no additional results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token used to get the next set of results, or null if there are no additional 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 at one time. This maximum number cannot exceed 100. The response might contain fewer results but will never contain more. You can use nextToken to retrieve the next set of results until nextToken returns NULL.
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 at one time. This maximum number cannot exceed 100. The response might contain fewer results but will never contain more. You can use nextToken to retrieve the next set of results until nextToken returns NULL.
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 at one time. This maximum number cannot exceed 100. The response might contain fewer results but will never contain more. You can use nextToken to retrieve the next set of results until nextToken returns NULL.
sourcepub fn query_version(self, input: impl Into<String>) -> Self
pub fn query_version(self, input: impl Into<String>) -> Self
The query version.
sourcepub fn set_query_version(self, input: Option<String>) -> Self
pub fn set_query_version(self, input: Option<String>) -> Self
The query version.
sourcepub fn get_query_version(&self) -> &Option<String>
pub fn get_query_version(&self) -> &Option<String>
The query version.
sourcepub fn build(self) -> Result<SearchIndexInput, BuildError>
pub fn build(self) -> Result<SearchIndexInput, BuildError>
Consumes the builder and constructs a SearchIndexInput.
source§impl SearchIndexInputBuilder
impl SearchIndexInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<SearchIndexOutput, SdkError<SearchIndexError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<SearchIndexOutput, SdkError<SearchIndexError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SearchIndexInputBuilder
impl Clone for SearchIndexInputBuilder
source§fn clone(&self) -> SearchIndexInputBuilder
fn clone(&self) -> SearchIndexInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SearchIndexInputBuilder
impl Debug for SearchIndexInputBuilder
source§impl Default for SearchIndexInputBuilder
impl Default for SearchIndexInputBuilder
source§fn default() -> SearchIndexInputBuilder
fn default() -> SearchIndexInputBuilder
source§impl PartialEq for SearchIndexInputBuilder
impl PartialEq for SearchIndexInputBuilder
source§fn eq(&self, other: &SearchIndexInputBuilder) -> bool
fn eq(&self, other: &SearchIndexInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SearchIndexInputBuilder
Auto Trait Implementations§
impl Freeze for SearchIndexInputBuilder
impl RefUnwindSafe for SearchIndexInputBuilder
impl Send for SearchIndexInputBuilder
impl Sync for SearchIndexInputBuilder
impl Unpin for SearchIndexInputBuilder
impl UnwindSafe for SearchIndexInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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