Struct aws_sdk_codegurureviewer::operation::list_recommendation_feedback::ListRecommendationFeedbackInput
source · #[non_exhaustive]pub struct ListRecommendationFeedbackInput {
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub code_review_arn: Option<String>,
pub user_ids: Option<Vec<String>>,
pub recommendation_ids: Option<Vec<String>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.next_token: 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.
max_results: Option<i32>
The maximum number of results that are returned per call. The default is 100.
code_review_arn: Option<String>
The Amazon Resource Name (ARN) of the CodeReview object.
user_ids: 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.
recommendation_ids: Option<Vec<String>>
Used to query the recommendation feedback for a given recommendation.
Implementations§
source§impl ListRecommendationFeedbackInput
impl ListRecommendationFeedbackInput
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
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) -> Option<i32>
pub fn 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) -> Option<&str>
pub fn code_review_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the CodeReview object.
sourcepub fn user_ids(&self) -> &[String]
pub fn user_ids(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .user_ids.is_none()
.
sourcepub fn recommendation_ids(&self) -> &[String]
pub fn recommendation_ids(&self) -> &[String]
Used to query the recommendation feedback for a given recommendation.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .recommendation_ids.is_none()
.
source§impl ListRecommendationFeedbackInput
impl ListRecommendationFeedbackInput
sourcepub fn builder() -> ListRecommendationFeedbackInputBuilder
pub fn builder() -> ListRecommendationFeedbackInputBuilder
Creates a new builder-style object to manufacture ListRecommendationFeedbackInput
.
Trait Implementations§
source§impl Clone for ListRecommendationFeedbackInput
impl Clone for ListRecommendationFeedbackInput
source§fn clone(&self) -> ListRecommendationFeedbackInput
fn clone(&self) -> ListRecommendationFeedbackInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ListRecommendationFeedbackInput
impl PartialEq for ListRecommendationFeedbackInput
source§fn eq(&self, other: &ListRecommendationFeedbackInput) -> bool
fn eq(&self, other: &ListRecommendationFeedbackInput) -> bool
self
and other
values to be equal, and is used
by ==
.