#[non_exhaustive]pub struct GetOutcomesOutputBuilder { /* private fields */ }
Expand description
A builder for GetOutcomesOutput
.
Implementations§
source§impl GetOutcomesOutputBuilder
impl GetOutcomesOutputBuilder
sourcepub fn outcomes(self, input: Outcome) -> Self
pub fn outcomes(self, input: Outcome) -> Self
Appends an item to outcomes
.
To override the contents of this collection use set_outcomes
.
The outcomes.
sourcepub fn set_outcomes(self, input: Option<Vec<Outcome>>) -> Self
pub fn set_outcomes(self, input: Option<Vec<Outcome>>) -> Self
The outcomes.
sourcepub fn get_outcomes(&self) -> &Option<Vec<Outcome>>
pub fn get_outcomes(&self) -> &Option<Vec<Outcome>>
The outcomes.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The next page token for subsequent requests.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The next page token for subsequent requests.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The next page token for subsequent requests.
sourcepub fn build(self) -> GetOutcomesOutput
pub fn build(self) -> GetOutcomesOutput
Consumes the builder and constructs a GetOutcomesOutput
.
Trait Implementations§
source§impl Clone for GetOutcomesOutputBuilder
impl Clone for GetOutcomesOutputBuilder
source§fn clone(&self) -> GetOutcomesOutputBuilder
fn clone(&self) -> GetOutcomesOutputBuilder
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 GetOutcomesOutputBuilder
impl Debug for GetOutcomesOutputBuilder
source§impl Default for GetOutcomesOutputBuilder
impl Default for GetOutcomesOutputBuilder
source§fn default() -> GetOutcomesOutputBuilder
fn default() -> GetOutcomesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetOutcomesOutputBuilder
impl PartialEq for GetOutcomesOutputBuilder
source§fn eq(&self, other: &GetOutcomesOutputBuilder) -> bool
fn eq(&self, other: &GetOutcomesOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetOutcomesOutputBuilder
Auto Trait Implementations§
impl Freeze for GetOutcomesOutputBuilder
impl RefUnwindSafe for GetOutcomesOutputBuilder
impl Send for GetOutcomesOutputBuilder
impl Sync for GetOutcomesOutputBuilder
impl Unpin for GetOutcomesOutputBuilder
impl UnwindSafe for GetOutcomesOutputBuilder
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.