AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
DescribeRecommendationFeedbackRequest.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace CodeGuruReviewer
19{
20namespace 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
37
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
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
133
139
144 inline DescribeRecommendationFeedbackRequest& WithRecommendationId(const char* value) { SetRecommendationId(value); return *this;}
145
146
157 inline const Aws::String& GetUserId() const{ return m_userId; }
158
169 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
170
181 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
182
193 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
194
205 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
206
217 inline DescribeRecommendationFeedbackRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
218
229 inline DescribeRecommendationFeedbackRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
230
241 inline DescribeRecommendationFeedbackRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
242
243 private:
244
245 Aws::String m_codeReviewArn;
246 bool m_codeReviewArnHasBeenSet = false;
247
248 Aws::String m_recommendationId;
249 bool m_recommendationIdHasBeenSet = false;
250
251 Aws::String m_userId;
252 bool m_userIdHasBeenSet = false;
253 };
254
255} // namespace Model
256} // namespace CodeGuruReviewer
257} // namespace Aws
#define AWS_CODEGURUREVIEWER_API
DescribeRecommendationFeedbackRequest & WithCodeReviewArn(const char *value)
DescribeRecommendationFeedbackRequest & WithUserId(const Aws::String &value)
DescribeRecommendationFeedbackRequest & WithCodeReviewArn(const Aws::String &value)
DescribeRecommendationFeedbackRequest & WithCodeReviewArn(Aws::String &&value)
AWS_CODEGURUREVIEWER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeRecommendationFeedbackRequest & WithRecommendationId(Aws::String &&value)
DescribeRecommendationFeedbackRequest & WithRecommendationId(const Aws::String &value)
DescribeRecommendationFeedbackRequest & WithRecommendationId(const char *value)
DescribeRecommendationFeedbackRequest & WithUserId(Aws::String &&value)
AWS_CODEGURUREVIEWER_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String