Struct aws_sdk_qconnect::operation::search_quick_responses::builders::SearchQuickResponsesOutputBuilder
source · #[non_exhaustive]pub struct SearchQuickResponsesOutputBuilder { /* private fields */ }Expand description
A builder for SearchQuickResponsesOutput.
Implementations§
source§impl SearchQuickResponsesOutputBuilder
impl SearchQuickResponsesOutputBuilder
sourcepub fn results(self, input: QuickResponseSearchResultData) -> Self
pub fn results(self, input: QuickResponseSearchResultData) -> Self
Appends an item to results.
To override the contents of this collection use set_results.
The results of the quick response search.
sourcepub fn set_results(
self,
input: Option<Vec<QuickResponseSearchResultData>>
) -> Self
pub fn set_results( self, input: Option<Vec<QuickResponseSearchResultData>> ) -> Self
The results of the quick response search.
sourcepub fn get_results(&self) -> &Option<Vec<QuickResponseSearchResultData>>
pub fn get_results(&self) -> &Option<Vec<QuickResponseSearchResultData>>
The results of the quick response search.
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 build(self) -> Result<SearchQuickResponsesOutput, BuildError>
pub fn build(self) -> Result<SearchQuickResponsesOutput, BuildError>
Consumes the builder and constructs a SearchQuickResponsesOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for SearchQuickResponsesOutputBuilder
impl Clone for SearchQuickResponsesOutputBuilder
source§fn clone(&self) -> SearchQuickResponsesOutputBuilder
fn clone(&self) -> SearchQuickResponsesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for SearchQuickResponsesOutputBuilder
impl Default for SearchQuickResponsesOutputBuilder
source§fn default() -> SearchQuickResponsesOutputBuilder
fn default() -> SearchQuickResponsesOutputBuilder
source§impl PartialEq for SearchQuickResponsesOutputBuilder
impl PartialEq for SearchQuickResponsesOutputBuilder
source§fn eq(&self, other: &SearchQuickResponsesOutputBuilder) -> bool
fn eq(&self, other: &SearchQuickResponsesOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.