AWS SDK for C++  1.9.1
AWS SDK for C++
DescribeRecommendationFeedbackRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace CodeGuruReviewer
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeRecommendationFeedback"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
46  inline const Aws::String& GetCodeReviewArn() const{ return m_codeReviewArn; }
47 
53  inline bool CodeReviewArnHasBeenSet() const { return m_codeReviewArnHasBeenSet; }
54 
60  inline void SetCodeReviewArn(const Aws::String& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = value; }
61 
67  inline void SetCodeReviewArn(Aws::String&& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = std::move(value); }
68 
74  inline void SetCodeReviewArn(const char* value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn.assign(value); }
75 
81  inline DescribeRecommendationFeedbackRequest& WithCodeReviewArn(const Aws::String& value) { SetCodeReviewArn(value); return *this;}
82 
88  inline DescribeRecommendationFeedbackRequest& WithCodeReviewArn(Aws::String&& value) { SetCodeReviewArn(std::move(value)); return *this;}
89 
95  inline DescribeRecommendationFeedbackRequest& WithCodeReviewArn(const char* value) { SetCodeReviewArn(value); return *this;}
96 
97 
102  inline const Aws::String& GetRecommendationId() const{ return m_recommendationId; }
103 
108  inline bool RecommendationIdHasBeenSet() const { return m_recommendationIdHasBeenSet; }
109 
114  inline void SetRecommendationId(const Aws::String& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = value; }
115 
120  inline void SetRecommendationId(Aws::String&& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = std::move(value); }
121 
126  inline void SetRecommendationId(const char* value) { m_recommendationIdHasBeenSet = true; m_recommendationId.assign(value); }
127 
132  inline DescribeRecommendationFeedbackRequest& WithRecommendationId(const Aws::String& value) { SetRecommendationId(value); return *this;}
133 
138  inline DescribeRecommendationFeedbackRequest& WithRecommendationId(Aws::String&& value) { SetRecommendationId(std::move(value)); return *this;}
139 
144  inline DescribeRecommendationFeedbackRequest& WithRecommendationId(const char* value) { SetRecommendationId(value); return *this;}
145 
146 
156  inline const Aws::String& GetUserId() const{ return m_userId; }
157 
167  inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
168 
178  inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
179 
189  inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
190 
200  inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
201 
211  inline DescribeRecommendationFeedbackRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
212 
222  inline DescribeRecommendationFeedbackRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
223 
233  inline DescribeRecommendationFeedbackRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
234 
235  private:
236 
237  Aws::String m_codeReviewArn;
238  bool m_codeReviewArnHasBeenSet;
239 
240  Aws::String m_recommendationId;
241  bool m_recommendationIdHasBeenSet;
242 
243  Aws::String m_userId;
244  bool m_userIdHasBeenSet;
245  };
246 
247 } // namespace Model
248 } // namespace CodeGuruReviewer
249 } // namespace Aws
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::WithRecommendationId
DescribeRecommendationFeedbackRequest & WithRecommendationId(const char *value)
Definition: DescribeRecommendationFeedbackRequest.h:144
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::WithUserId
DescribeRecommendationFeedbackRequest & WithUserId(const char *value)
Definition: DescribeRecommendationFeedbackRequest.h:233
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::GetUserId
const Aws::String & GetUserId() const
Definition: DescribeRecommendationFeedbackRequest.h:156
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::CodeReviewArnHasBeenSet
bool CodeReviewArnHasBeenSet() const
Definition: DescribeRecommendationFeedbackRequest.h:53
Aws::Http::URI
Definition: URI.h:32
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::SetUserId
void SetUserId(Aws::String &&value)
Definition: DescribeRecommendationFeedbackRequest.h:189
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::WithRecommendationId
DescribeRecommendationFeedbackRequest & WithRecommendationId(Aws::String &&value)
Definition: DescribeRecommendationFeedbackRequest.h:138
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::WithRecommendationId
DescribeRecommendationFeedbackRequest & WithRecommendationId(const Aws::String &value)
Definition: DescribeRecommendationFeedbackRequest.h:132
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::UserIdHasBeenSet
bool UserIdHasBeenSet() const
Definition: DescribeRecommendationFeedbackRequest.h:167
CodeGuruReviewerRequest.h
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::WithUserId
DescribeRecommendationFeedbackRequest & WithUserId(const Aws::String &value)
Definition: DescribeRecommendationFeedbackRequest.h:211
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::SetCodeReviewArn
void SetCodeReviewArn(const Aws::String &value)
Definition: DescribeRecommendationFeedbackRequest.h:60
AWS_CODEGURUREVIEWER_API
#define AWS_CODEGURUREVIEWER_API
Definition: CodeGuruReviewer_EXPORTS.h:28
Aws::CodeGuruReviewer::CodeGuruReviewerRequest
Definition: CodeGuruReviewerRequest.h:17
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::DescribeRecommendationFeedbackRequest
DescribeRecommendationFeedbackRequest()
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::SetUserId
void SetUserId(const char *value)
Definition: DescribeRecommendationFeedbackRequest.h:200
CodeGuruReviewer_EXPORTS.h
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::RecommendationIdHasBeenSet
bool RecommendationIdHasBeenSet() const
Definition: DescribeRecommendationFeedbackRequest.h:108
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::WithCodeReviewArn
DescribeRecommendationFeedbackRequest & WithCodeReviewArn(Aws::String &&value)
Definition: DescribeRecommendationFeedbackRequest.h:88
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::SetUserId
void SetUserId(const Aws::String &value)
Definition: DescribeRecommendationFeedbackRequest.h:178
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::SetRecommendationId
void SetRecommendationId(const Aws::String &value)
Definition: DescribeRecommendationFeedbackRequest.h:114
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::SetCodeReviewArn
void SetCodeReviewArn(const char *value)
Definition: DescribeRecommendationFeedbackRequest.h:74
AWSString.h
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::SetCodeReviewArn
void SetCodeReviewArn(Aws::String &&value)
Definition: DescribeRecommendationFeedbackRequest.h:67
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::WithCodeReviewArn
DescribeRecommendationFeedbackRequest & WithCodeReviewArn(const Aws::String &value)
Definition: DescribeRecommendationFeedbackRequest.h:81
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::SetRecommendationId
void SetRecommendationId(Aws::String &&value)
Definition: DescribeRecommendationFeedbackRequest.h:120
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::WithUserId
DescribeRecommendationFeedbackRequest & WithUserId(Aws::String &&value)
Definition: DescribeRecommendationFeedbackRequest.h:222
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::GetCodeReviewArn
const Aws::String & GetCodeReviewArn() const
Definition: DescribeRecommendationFeedbackRequest.h:46
Aws
Definition: AccessManagementClient.h:15
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest
Definition: DescribeRecommendationFeedbackRequest.h:26
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeRecommendationFeedbackRequest.h:34
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::SetRecommendationId
void SetRecommendationId(const char *value)
Definition: DescribeRecommendationFeedbackRequest.h:126
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::GetRecommendationId
const Aws::String & GetRecommendationId() const
Definition: DescribeRecommendationFeedbackRequest.h:102
Aws::CodeGuruReviewer::Model::DescribeRecommendationFeedbackRequest::WithCodeReviewArn
DescribeRecommendationFeedbackRequest & WithCodeReviewArn(const char *value)
Definition: DescribeRecommendationFeedbackRequest.h:95