/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the codeguru-reviewer-2019-09-19.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.CodeGuruReviewer.Model { /// /// Container for the parameters to the ListRecommendationFeedback operation. /// Returns a list of RecommendationFeedbackSummary /// objects that contain customer recommendation feedback for all CodeGuru Reviewer users. /// public partial class ListRecommendationFeedbackRequest : AmazonCodeGuruReviewerRequest { private string _codeReviewArn; private int? _maxResults; private string _nextToken; private List _recommendationIds = new List(); private List _userIds = new List(); /// /// Gets and sets the property CodeReviewArn. /// /// The Amazon Resource Name (ARN) of the CodeReview /// object. /// /// [AWSProperty(Required=true, Min=1, Max=1600)] public string CodeReviewArn { get { return this._codeReviewArn; } set { this._codeReviewArn = value; } } // Check to see if CodeReviewArn property is set internal bool IsSetCodeReviewArn() { return this._codeReviewArn != null; } /// /// Gets and sets the property MaxResults. /// /// The maximum number of results that are returned per call. The default is 100. /// /// [AWSProperty(Min=1, Max=100)] public int MaxResults { get { return this._maxResults.GetValueOrDefault(); } set { this._maxResults = value; } } // Check to see if MaxResults property is set internal bool IsSetMaxResults() { return this._maxResults.HasValue; } /// /// Gets and sets the property NextToken. /// /// 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. /// /// [AWSProperty(Min=1, Max=2048)] public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } /// /// Gets and sets the property RecommendationIds. /// /// Used to query the recommendation feedback for a given recommendation. /// /// [AWSProperty(Min=1, Max=100)] public List RecommendationIds { get { return this._recommendationIds; } set { this._recommendationIds = value; } } // Check to see if RecommendationIds property is set internal bool IsSetRecommendationIds() { return this._recommendationIds != null && this._recommendationIds.Count > 0; } /// /// Gets and sets the property UserIds. /// /// 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. /// /// [AWSProperty(Min=1, Max=100)] public List UserIds { get { return this._userIds; } set { this._userIds = value; } } // Check to see if UserIds property is set internal bool IsSetUserIds() { return this._userIds != null && this._userIds.Count > 0; } } }