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 ==
.