#[non_exhaustive]pub struct SearchPromptsOutputBuilder { /* private fields */ }
Expand description
A builder for SearchPromptsOutput
.
Implementations§
source§impl SearchPromptsOutputBuilder
impl SearchPromptsOutputBuilder
sourcepub fn prompts(self, input: Prompt) -> Self
pub fn prompts(self, input: Prompt) -> Self
Appends an item to prompts
.
To override the contents of this collection use set_prompts
.
Information about the prompts.
sourcepub fn set_prompts(self, input: Option<Vec<Prompt>>) -> Self
pub fn set_prompts(self, input: Option<Vec<Prompt>>) -> Self
Information about the prompts.
sourcepub fn get_prompts(&self) -> &Option<Vec<Prompt>>
pub fn get_prompts(&self) -> &Option<Vec<Prompt>>
Information about the prompts.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If there are additional results, this is the token for 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
If there are additional results, this is the token for the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If there are additional results, this is the token for the next set of results.
sourcepub fn approximate_total_count(self, input: i64) -> Self
pub fn approximate_total_count(self, input: i64) -> Self
The total number of quick connects which matched your search query.
sourcepub fn set_approximate_total_count(self, input: Option<i64>) -> Self
pub fn set_approximate_total_count(self, input: Option<i64>) -> Self
The total number of quick connects which matched your search query.
sourcepub fn get_approximate_total_count(&self) -> &Option<i64>
pub fn get_approximate_total_count(&self) -> &Option<i64>
The total number of quick connects which matched your search query.
sourcepub fn build(self) -> SearchPromptsOutput
pub fn build(self) -> SearchPromptsOutput
Consumes the builder and constructs a SearchPromptsOutput
.
Trait Implementations§
source§impl Clone for SearchPromptsOutputBuilder
impl Clone for SearchPromptsOutputBuilder
source§fn clone(&self) -> SearchPromptsOutputBuilder
fn clone(&self) -> SearchPromptsOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SearchPromptsOutputBuilder
impl Debug for SearchPromptsOutputBuilder
source§impl Default for SearchPromptsOutputBuilder
impl Default for SearchPromptsOutputBuilder
source§fn default() -> SearchPromptsOutputBuilder
fn default() -> SearchPromptsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SearchPromptsOutputBuilder
impl PartialEq for SearchPromptsOutputBuilder
source§fn eq(&self, other: &SearchPromptsOutputBuilder) -> bool
fn eq(&self, other: &SearchPromptsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SearchPromptsOutputBuilder
Auto Trait Implementations§
impl Freeze for SearchPromptsOutputBuilder
impl RefUnwindSafe for SearchPromptsOutputBuilder
impl Send for SearchPromptsOutputBuilder
impl Sync for SearchPromptsOutputBuilder
impl Unpin for SearchPromptsOutputBuilder
impl UnwindSafe for SearchPromptsOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.