AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeRecommendationFeedbackRequest.h
1
6#pragma once
7#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h>
8#include <aws/codeguru-reviewer/CodeGuruReviewerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
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:
28 AWS_CODEGURUREVIEWER_API DescribeRecommendationFeedbackRequest();
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_CODEGURUREVIEWER_API Aws::String SerializePayload() const override;
37
38 AWS_CODEGURUREVIEWER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
47 inline const Aws::String& GetCodeReviewArn() const{ return m_codeReviewArn; }
48 inline bool CodeReviewArnHasBeenSet() const { return m_codeReviewArnHasBeenSet; }
49 inline void SetCodeReviewArn(const Aws::String& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = value; }
50 inline void SetCodeReviewArn(Aws::String&& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = std::move(value); }
51 inline void SetCodeReviewArn(const char* value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn.assign(value); }
53 inline DescribeRecommendationFeedbackRequest& WithCodeReviewArn(Aws::String&& value) { SetCodeReviewArn(std::move(value)); return *this;}
54 inline DescribeRecommendationFeedbackRequest& WithCodeReviewArn(const char* value) { SetCodeReviewArn(value); return *this;}
56
58
62 inline const Aws::String& GetRecommendationId() const{ return m_recommendationId; }
63 inline bool RecommendationIdHasBeenSet() const { return m_recommendationIdHasBeenSet; }
64 inline void SetRecommendationId(const Aws::String& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = value; }
65 inline void SetRecommendationId(Aws::String&& value) { m_recommendationIdHasBeenSet = true; m_recommendationId = std::move(value); }
66 inline void SetRecommendationId(const char* value) { m_recommendationIdHasBeenSet = true; m_recommendationId.assign(value); }
69 inline DescribeRecommendationFeedbackRequest& WithRecommendationId(const char* value) { SetRecommendationId(value); return *this;}
71
73
83 inline const Aws::String& GetUserId() const{ return m_userId; }
84 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
85 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
86 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
87 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
88 inline DescribeRecommendationFeedbackRequest& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
89 inline DescribeRecommendationFeedbackRequest& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
90 inline DescribeRecommendationFeedbackRequest& WithUserId(const char* value) { SetUserId(value); return *this;}
92 private:
93
94 Aws::String m_codeReviewArn;
95 bool m_codeReviewArnHasBeenSet = false;
96
97 Aws::String m_recommendationId;
98 bool m_recommendationIdHasBeenSet = false;
99
100 Aws::String m_userId;
101 bool m_userIdHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace CodeGuruReviewer
106} // namespace Aws
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