AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListRecommendationFeedbackRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace CodeGuruReviewer
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_CODEGURUREVIEWER_API ListRecommendationFeedbackRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListRecommendationFeedback"; }
36
37 AWS_CODEGURUREVIEWER_API Aws::String SerializePayload() const override;
38
39 AWS_CODEGURUREVIEWER_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
49 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
50 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
51 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
52 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
53 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
54 inline ListRecommendationFeedbackRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
55 inline ListRecommendationFeedbackRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
56 inline ListRecommendationFeedbackRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
58
60
64 inline int GetMaxResults() const{ return m_maxResults; }
65 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
66 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
67 inline ListRecommendationFeedbackRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
69
71
76 inline const Aws::String& GetCodeReviewArn() const{ return m_codeReviewArn; }
77 inline bool CodeReviewArnHasBeenSet() const { return m_codeReviewArnHasBeenSet; }
78 inline void SetCodeReviewArn(const Aws::String& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = value; }
79 inline void SetCodeReviewArn(Aws::String&& value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn = std::move(value); }
80 inline void SetCodeReviewArn(const char* value) { m_codeReviewArnHasBeenSet = true; m_codeReviewArn.assign(value); }
82 inline ListRecommendationFeedbackRequest& WithCodeReviewArn(Aws::String&& value) { SetCodeReviewArn(std::move(value)); return *this;}
83 inline ListRecommendationFeedbackRequest& WithCodeReviewArn(const char* value) { SetCodeReviewArn(value); return *this;}
85
87
97 inline const Aws::Vector<Aws::String>& GetUserIds() const{ return m_userIds; }
98 inline bool UserIdsHasBeenSet() const { return m_userIdsHasBeenSet; }
99 inline void SetUserIds(const Aws::Vector<Aws::String>& value) { m_userIdsHasBeenSet = true; m_userIds = value; }
100 inline void SetUserIds(Aws::Vector<Aws::String>&& value) { m_userIdsHasBeenSet = true; m_userIds = std::move(value); }
102 inline ListRecommendationFeedbackRequest& WithUserIds(Aws::Vector<Aws::String>&& value) { SetUserIds(std::move(value)); return *this;}
103 inline ListRecommendationFeedbackRequest& AddUserIds(const Aws::String& value) { m_userIdsHasBeenSet = true; m_userIds.push_back(value); return *this; }
104 inline ListRecommendationFeedbackRequest& AddUserIds(Aws::String&& value) { m_userIdsHasBeenSet = true; m_userIds.push_back(std::move(value)); return *this; }
105 inline ListRecommendationFeedbackRequest& AddUserIds(const char* value) { m_userIdsHasBeenSet = true; m_userIds.push_back(value); return *this; }
107
109
112 inline const Aws::Vector<Aws::String>& GetRecommendationIds() const{ return m_recommendationIds; }
113 inline bool RecommendationIdsHasBeenSet() const { return m_recommendationIdsHasBeenSet; }
114 inline void SetRecommendationIds(const Aws::Vector<Aws::String>& value) { m_recommendationIdsHasBeenSet = true; m_recommendationIds = value; }
115 inline void SetRecommendationIds(Aws::Vector<Aws::String>&& value) { m_recommendationIdsHasBeenSet = true; m_recommendationIds = std::move(value); }
118 inline ListRecommendationFeedbackRequest& AddRecommendationIds(const Aws::String& value) { m_recommendationIdsHasBeenSet = true; m_recommendationIds.push_back(value); return *this; }
119 inline ListRecommendationFeedbackRequest& AddRecommendationIds(Aws::String&& value) { m_recommendationIdsHasBeenSet = true; m_recommendationIds.push_back(std::move(value)); return *this; }
120 inline ListRecommendationFeedbackRequest& AddRecommendationIds(const char* value) { m_recommendationIdsHasBeenSet = true; m_recommendationIds.push_back(value); return *this; }
122 private:
123
124 Aws::String m_nextToken;
125 bool m_nextTokenHasBeenSet = false;
126
127 int m_maxResults;
128 bool m_maxResultsHasBeenSet = false;
129
130 Aws::String m_codeReviewArn;
131 bool m_codeReviewArnHasBeenSet = false;
132
133 Aws::Vector<Aws::String> m_userIds;
134 bool m_userIdsHasBeenSet = false;
135
136 Aws::Vector<Aws::String> m_recommendationIds;
137 bool m_recommendationIdsHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace CodeGuruReviewer
142} // namespace Aws
AWS_CODEGURUREVIEWER_API Aws::String SerializePayload() const override
ListRecommendationFeedbackRequest & AddRecommendationIds(const Aws::String &value)
ListRecommendationFeedbackRequest & AddRecommendationIds(const char *value)
ListRecommendationFeedbackRequest & WithUserIds(const Aws::Vector< Aws::String > &value)
ListRecommendationFeedbackRequest & AddUserIds(Aws::String &&value)
ListRecommendationFeedbackRequest & WithCodeReviewArn(const Aws::String &value)
ListRecommendationFeedbackRequest & WithNextToken(const Aws::String &value)
ListRecommendationFeedbackRequest & WithRecommendationIds(const Aws::Vector< Aws::String > &value)
ListRecommendationFeedbackRequest & WithCodeReviewArn(Aws::String &&value)
ListRecommendationFeedbackRequest & WithNextToken(const char *value)
ListRecommendationFeedbackRequest & WithNextToken(Aws::String &&value)
ListRecommendationFeedbackRequest & AddUserIds(const char *value)
ListRecommendationFeedbackRequest & AddRecommendationIds(Aws::String &&value)
ListRecommendationFeedbackRequest & AddUserIds(const Aws::String &value)
ListRecommendationFeedbackRequest & WithRecommendationIds(Aws::Vector< Aws::String > &&value)
AWS_CODEGURUREVIEWER_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListRecommendationFeedbackRequest & WithCodeReviewArn(const char *value)
ListRecommendationFeedbackRequest & WithUserIds(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector