Struct aws_sdk_wisdom::operation::notify_recommendations_received::builders::NotifyRecommendationsReceivedInputBuilder
source · #[non_exhaustive]pub struct NotifyRecommendationsReceivedInputBuilder { /* private fields */ }
Expand description
A builder for NotifyRecommendationsReceivedInput
.
Implementations§
source§impl NotifyRecommendationsReceivedInputBuilder
impl NotifyRecommendationsReceivedInputBuilder
sourcepub fn assistant_id(self, input: impl Into<String>) -> Self
pub fn assistant_id(self, input: impl Into<String>) -> Self
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
This field is required.sourcepub fn set_assistant_id(self, input: Option<String>) -> Self
pub fn set_assistant_id(self, input: Option<String>) -> Self
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn get_assistant_id(&self) -> &Option<String>
pub fn get_assistant_id(&self) -> &Option<String>
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn session_id(self, input: impl Into<String>) -> Self
pub fn session_id(self, input: impl Into<String>) -> Self
The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.
This field is required.sourcepub fn set_session_id(self, input: Option<String>) -> Self
pub fn set_session_id(self, input: Option<String>) -> Self
The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn get_session_id(&self) -> &Option<String>
pub fn get_session_id(&self) -> &Option<String>
The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.
sourcepub fn recommendation_ids(self, input: impl Into<String>) -> Self
pub fn recommendation_ids(self, input: impl Into<String>) -> Self
Appends an item to recommendation_ids
.
To override the contents of this collection use set_recommendation_ids
.
The identifiers of the recommendations.
sourcepub fn set_recommendation_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_recommendation_ids(self, input: Option<Vec<String>>) -> Self
The identifiers of the recommendations.
sourcepub fn get_recommendation_ids(&self) -> &Option<Vec<String>>
pub fn get_recommendation_ids(&self) -> &Option<Vec<String>>
The identifiers of the recommendations.
sourcepub fn build(self) -> Result<NotifyRecommendationsReceivedInput, BuildError>
pub fn build(self) -> Result<NotifyRecommendationsReceivedInput, BuildError>
Consumes the builder and constructs a NotifyRecommendationsReceivedInput
.
source§impl NotifyRecommendationsReceivedInputBuilder
impl NotifyRecommendationsReceivedInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<NotifyRecommendationsReceivedOutput, SdkError<NotifyRecommendationsReceivedError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<NotifyRecommendationsReceivedOutput, SdkError<NotifyRecommendationsReceivedError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for NotifyRecommendationsReceivedInputBuilder
impl Clone for NotifyRecommendationsReceivedInputBuilder
source§fn clone(&self) -> NotifyRecommendationsReceivedInputBuilder
fn clone(&self) -> NotifyRecommendationsReceivedInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for NotifyRecommendationsReceivedInputBuilder
impl Default for NotifyRecommendationsReceivedInputBuilder
source§fn default() -> NotifyRecommendationsReceivedInputBuilder
fn default() -> NotifyRecommendationsReceivedInputBuilder
source§impl PartialEq for NotifyRecommendationsReceivedInputBuilder
impl PartialEq for NotifyRecommendationsReceivedInputBuilder
source§fn eq(&self, other: &NotifyRecommendationsReceivedInputBuilder) -> bool
fn eq(&self, other: &NotifyRecommendationsReceivedInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NotifyRecommendationsReceivedInputBuilder
Auto Trait Implementations§
impl Freeze for NotifyRecommendationsReceivedInputBuilder
impl RefUnwindSafe for NotifyRecommendationsReceivedInputBuilder
impl Send for NotifyRecommendationsReceivedInputBuilder
impl Sync for NotifyRecommendationsReceivedInputBuilder
impl Unpin for NotifyRecommendationsReceivedInputBuilder
impl UnwindSafe for NotifyRecommendationsReceivedInputBuilder
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