Struct aws_sdk_codegurureviewer::operation::list_recommendation_feedback::builders::ListRecommendationFeedbackInputBuilder
source · #[non_exhaustive]pub struct ListRecommendationFeedbackInputBuilder { /* private fields */ }Expand description
A builder for ListRecommendationFeedbackInput.
Implementations§
source§impl ListRecommendationFeedbackInputBuilder
impl ListRecommendationFeedbackInputBuilder
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results that are returned per call. The default is 100.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results that are returned per call. The default is 100.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results that are returned per call. The default is 100.
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 user_ids(self, input: impl Into<String>) -> Self
pub fn user_ids(self, input: impl Into<String>) -> Self
Appends an item to user_ids.
To override the contents of this collection use set_user_ids.
An Amazon Web Services user's account ID or Amazon Resource Name (ARN). Use this ID to query the recommendation feedback for a code review from that user.
The UserId is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.
sourcepub fn set_user_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_user_ids(self, input: Option<Vec<String>>) -> Self
An Amazon Web Services user's account ID or Amazon Resource Name (ARN). Use this ID to query the recommendation feedback for a code review from that user.
The UserId is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.
sourcepub fn get_user_ids(&self) -> &Option<Vec<String>>
pub fn get_user_ids(&self) -> &Option<Vec<String>>
An Amazon Web Services user's account ID or Amazon Resource Name (ARN). Use this ID to query the recommendation feedback for a code review from that user.
The UserId is an IAM principal that can be specified as an Amazon Web Services account ID or an Amazon Resource Name (ARN). For more information, see Specifying a Principal in the Amazon Web Services Identity and Access Management User Guide.
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.
Used to query the recommendation feedback for a given recommendation.
sourcepub fn set_recommendation_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_recommendation_ids(self, input: Option<Vec<String>>) -> Self
Used to query the recommendation feedback for a given recommendation.
sourcepub fn get_recommendation_ids(&self) -> &Option<Vec<String>>
pub fn get_recommendation_ids(&self) -> &Option<Vec<String>>
Used to query the recommendation feedback for a given recommendation.
sourcepub fn build(self) -> Result<ListRecommendationFeedbackInput, BuildError>
pub fn build(self) -> Result<ListRecommendationFeedbackInput, BuildError>
Consumes the builder and constructs a ListRecommendationFeedbackInput.
source§impl ListRecommendationFeedbackInputBuilder
impl ListRecommendationFeedbackInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListRecommendationFeedbackOutput, SdkError<ListRecommendationFeedbackError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListRecommendationFeedbackOutput, SdkError<ListRecommendationFeedbackError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListRecommendationFeedbackInputBuilder
impl Clone for ListRecommendationFeedbackInputBuilder
source§fn clone(&self) -> ListRecommendationFeedbackInputBuilder
fn clone(&self) -> ListRecommendationFeedbackInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListRecommendationFeedbackInputBuilder
impl Default for ListRecommendationFeedbackInputBuilder
source§fn default() -> ListRecommendationFeedbackInputBuilder
fn default() -> ListRecommendationFeedbackInputBuilder
source§impl PartialEq for ListRecommendationFeedbackInputBuilder
impl PartialEq for ListRecommendationFeedbackInputBuilder
source§fn eq(&self, other: &ListRecommendationFeedbackInputBuilder) -> bool
fn eq(&self, other: &ListRecommendationFeedbackInputBuilder) -> bool
self and other values to be equal, and is used
by ==.