7#include <aws/codeguru-reviewer/CodeGuruReviewer_EXPORTS.h>
8#include <aws/codeguru-reviewer/model/Reaction.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace CodeGuruReviewer {
45 template <
typename CodeReviewArnT = Aws::String>
47 m_codeReviewArnHasBeenSet =
true;
48 m_codeReviewArn = std::forward<CodeReviewArnT>(value);
50 template <
typename CodeReviewArnT = Aws::String>
64 template <
typename RecommendationIdT = Aws::String>
66 m_recommendationIdHasBeenSet =
true;
67 m_recommendationId = std::forward<RecommendationIdT>(value);
69 template <
typename RecommendationIdT = Aws::String>
83 template <
typename ReactionsT = Aws::Vector<Reaction>>
85 m_reactionsHasBeenSet =
true;
86 m_reactions = std::forward<ReactionsT>(value);
88 template <
typename ReactionsT = Aws::Vector<Reaction>>
94 m_reactionsHasBeenSet =
true;
95 m_reactions.push_back(value);
111 template <
typename UserIdT = Aws::String>
113 m_userIdHasBeenSet =
true;
114 m_userId = std::forward<UserIdT>(value);
116 template <
typename UserIdT = Aws::String>
129 template <
typename CreatedTimeStampT = Aws::Utils::DateTime>
131 m_createdTimeStampHasBeenSet =
true;
132 m_createdTimeStamp = std::forward<CreatedTimeStampT>(value);
134 template <
typename CreatedTimeStampT = Aws::Utils::DateTime>
147 template <
typename LastUpdatedTimeStampT = Aws::Utils::DateTime>
149 m_lastUpdatedTimeStampHasBeenSet =
true;
150 m_lastUpdatedTimeStamp = std::forward<LastUpdatedTimeStampT>(value);
152 template <
typename LastUpdatedTimeStampT = Aws::Utils::DateTime>
170 bool m_codeReviewArnHasBeenSet =
false;
171 bool m_recommendationIdHasBeenSet =
false;
172 bool m_reactionsHasBeenSet =
false;
173 bool m_userIdHasBeenSet =
false;
174 bool m_createdTimeStampHasBeenSet =
false;
175 bool m_lastUpdatedTimeStampHasBeenSet =
false;
AWS_CODEGURUREVIEWER_API RecommendationFeedback()=default
bool ReactionsHasBeenSet() const
RecommendationFeedback & WithCreatedTimeStamp(CreatedTimeStampT &&value)
void SetCodeReviewArn(CodeReviewArnT &&value)
const Aws::String & GetUserId() const
const Aws::Vector< Reaction > & GetReactions() const
RecommendationFeedback & WithCodeReviewArn(CodeReviewArnT &&value)
bool LastUpdatedTimeStampHasBeenSet() const
RecommendationFeedback & WithUserId(UserIdT &&value)
RecommendationFeedback & WithReactions(ReactionsT &&value)
RecommendationFeedback & WithRecommendationId(RecommendationIdT &&value)
AWS_CODEGURUREVIEWER_API RecommendationFeedback(Aws::Utils::Json::JsonView jsonValue)
bool CreatedTimeStampHasBeenSet() const
bool UserIdHasBeenSet() const
bool CodeReviewArnHasBeenSet() const
const Aws::String & GetRecommendationId() const
RecommendationFeedback & WithLastUpdatedTimeStamp(LastUpdatedTimeStampT &&value)
void SetReactions(ReactionsT &&value)
void SetLastUpdatedTimeStamp(LastUpdatedTimeStampT &&value)
void SetRecommendationId(RecommendationIdT &&value)
const Aws::Utils::DateTime & GetCreatedTimeStamp() const
const Aws::String & GetCodeReviewArn() const
RecommendationFeedback & AddReactions(Reaction value)
AWS_CODEGURUREVIEWER_API RecommendationFeedback & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RecommendationIdHasBeenSet() const
void SetCreatedTimeStamp(CreatedTimeStampT &&value)
const Aws::Utils::DateTime & GetLastUpdatedTimeStamp() const
AWS_CODEGURUREVIEWER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUserId(UserIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue