Struct aws_sdk_codegurureviewer::operation::put_recommendation_feedback::builders::PutRecommendationFeedbackInputBuilder
source · #[non_exhaustive]pub struct PutRecommendationFeedbackInputBuilder { /* private fields */ }Expand description
A builder for PutRecommendationFeedbackInput.
Implementations§
source§impl PutRecommendationFeedbackInputBuilder
impl PutRecommendationFeedbackInputBuilder
sourcepub fn code_review_arn(self, input: impl Into<String>) -> Self
pub fn code_review_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the CodeReview object.
This field is required.sourcepub fn set_code_review_arn(self, input: Option<String>) -> Self
pub fn set_code_review_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the CodeReview object.
sourcepub fn get_code_review_arn(&self) -> &Option<String>
pub fn get_code_review_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the CodeReview object.
sourcepub fn recommendation_id(self, input: impl Into<String>) -> Self
pub fn recommendation_id(self, input: impl Into<String>) -> Self
The recommendation ID that can be used to track the provided recommendations and then to collect the feedback.
This field is required.sourcepub fn set_recommendation_id(self, input: Option<String>) -> Self
pub fn set_recommendation_id(self, input: Option<String>) -> Self
The recommendation ID that can be used to track the provided recommendations and then to collect the feedback.
sourcepub fn get_recommendation_id(&self) -> &Option<String>
pub fn get_recommendation_id(&self) -> &Option<String>
The recommendation ID that can be used to track the provided recommendations and then to collect the feedback.
sourcepub fn reactions(self, input: Reaction) -> Self
pub fn reactions(self, input: Reaction) -> Self
Appends an item to reactions.
To override the contents of this collection use set_reactions.
List for storing reactions. Reactions are utf-8 text code for emojis. If you send an empty list it clears all your feedback.
sourcepub fn set_reactions(self, input: Option<Vec<Reaction>>) -> Self
pub fn set_reactions(self, input: Option<Vec<Reaction>>) -> Self
List for storing reactions. Reactions are utf-8 text code for emojis. If you send an empty list it clears all your feedback.
sourcepub fn get_reactions(&self) -> &Option<Vec<Reaction>>
pub fn get_reactions(&self) -> &Option<Vec<Reaction>>
List for storing reactions. Reactions are utf-8 text code for emojis. If you send an empty list it clears all your feedback.
sourcepub fn build(self) -> Result<PutRecommendationFeedbackInput, BuildError>
pub fn build(self) -> Result<PutRecommendationFeedbackInput, BuildError>
Consumes the builder and constructs a PutRecommendationFeedbackInput.
source§impl PutRecommendationFeedbackInputBuilder
impl PutRecommendationFeedbackInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<PutRecommendationFeedbackOutput, SdkError<PutRecommendationFeedbackError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<PutRecommendationFeedbackOutput, SdkError<PutRecommendationFeedbackError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutRecommendationFeedbackInputBuilder
impl Clone for PutRecommendationFeedbackInputBuilder
source§fn clone(&self) -> PutRecommendationFeedbackInputBuilder
fn clone(&self) -> PutRecommendationFeedbackInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PutRecommendationFeedbackInputBuilder
impl Default for PutRecommendationFeedbackInputBuilder
source§fn default() -> PutRecommendationFeedbackInputBuilder
fn default() -> PutRecommendationFeedbackInputBuilder
source§impl PartialEq for PutRecommendationFeedbackInputBuilder
impl PartialEq for PutRecommendationFeedbackInputBuilder
source§fn eq(&self, other: &PutRecommendationFeedbackInputBuilder) -> bool
fn eq(&self, other: &PutRecommendationFeedbackInputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PutRecommendationFeedbackInputBuilder
Auto Trait Implementations§
impl Freeze for PutRecommendationFeedbackInputBuilder
impl RefUnwindSafe for PutRecommendationFeedbackInputBuilder
impl Send for PutRecommendationFeedbackInputBuilder
impl Sync for PutRecommendationFeedbackInputBuilder
impl Unpin for PutRecommendationFeedbackInputBuilder
impl UnwindSafe for PutRecommendationFeedbackInputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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