Struct aws_sdk_datazone::operation::search::builders::SearchOutputBuilder
source · #[non_exhaustive]pub struct SearchOutputBuilder { /* private fields */ }Expand description
A builder for SearchOutput.
Implementations§
source§impl SearchOutputBuilder
impl SearchOutputBuilder
sourcepub fn items(self, input: SearchInventoryResultItem) -> Self
pub fn items(self, input: SearchInventoryResultItem) -> Self
Appends an item to items.
To override the contents of this collection use set_items.
The results of the Search action.
sourcepub fn set_items(self, input: Option<Vec<SearchInventoryResultItem>>) -> Self
pub fn set_items(self, input: Option<Vec<SearchInventoryResultItem>>) -> Self
The results of the Search action.
sourcepub fn get_items(&self) -> &Option<Vec<SearchInventoryResultItem>>
pub fn get_items(&self) -> &Option<Vec<SearchInventoryResultItem>>
The results of the Search action.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
When the number of results is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of results, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to Search to list 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
When the number of results is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of results, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to Search to list the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
When the number of results is greater than the default value for the MaxResults parameter, or if you explicitly specify a value for MaxResults that is less than the number of results, the response includes a pagination token named NextToken. You can specify this NextToken value in a subsequent call to Search to list the next set of results.
sourcepub fn total_match_count(self, input: i32) -> Self
pub fn total_match_count(self, input: i32) -> Self
Total number of search results.
sourcepub fn set_total_match_count(self, input: Option<i32>) -> Self
pub fn set_total_match_count(self, input: Option<i32>) -> Self
Total number of search results.
sourcepub fn get_total_match_count(&self) -> &Option<i32>
pub fn get_total_match_count(&self) -> &Option<i32>
Total number of search results.
sourcepub fn build(self) -> SearchOutput
pub fn build(self) -> SearchOutput
Consumes the builder and constructs a SearchOutput.
Trait Implementations§
source§impl Clone for SearchOutputBuilder
impl Clone for SearchOutputBuilder
source§fn clone(&self) -> SearchOutputBuilder
fn clone(&self) -> SearchOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SearchOutputBuilder
impl Debug for SearchOutputBuilder
source§impl Default for SearchOutputBuilder
impl Default for SearchOutputBuilder
source§fn default() -> SearchOutputBuilder
fn default() -> SearchOutputBuilder
source§impl PartialEq for SearchOutputBuilder
impl PartialEq for SearchOutputBuilder
source§fn eq(&self, other: &SearchOutputBuilder) -> bool
fn eq(&self, other: &SearchOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SearchOutputBuilder
Auto Trait Implementations§
impl Freeze for SearchOutputBuilder
impl RefUnwindSafe for SearchOutputBuilder
impl Send for SearchOutputBuilder
impl Sync for SearchOutputBuilder
impl Unpin for SearchOutputBuilder
impl UnwindSafe for SearchOutputBuilder
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