7#include <aws/codecommit/CodeCommit_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
49 template<
typename CommentIdT = Aws::String>
50 void SetCommentId(CommentIdT&& value) { m_commentIdHasBeenSet =
true; m_commentId = std::forward<CommentIdT>(value); }
51 template<
typename CommentIdT = Aws::String>
61 template<
typename ContentT = Aws::String>
62 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
63 template<
typename ContentT = Aws::String>
73 template<
typename InReplyToT = Aws::String>
74 void SetInReplyTo(InReplyToT&& value) { m_inReplyToHasBeenSet =
true; m_inReplyTo = std::forward<InReplyToT>(value); }
75 template<
typename InReplyToT = Aws::String>
85 template<
typename CreationDateT = Aws::Utils::DateTime>
86 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
87 template<
typename CreationDateT = Aws::Utils::DateTime>
98 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
99 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
100 template<
typename LastModifiedDateT = Aws::Utils::DateTime>
110 template<
typename AuthorArnT = Aws::String>
111 void SetAuthorArn(AuthorArnT&& value) { m_authorArnHasBeenSet =
true; m_authorArn = std::forward<AuthorArnT>(value); }
112 template<
typename AuthorArnT = Aws::String>
122 inline void SetDeleted(
bool value) { m_deletedHasBeenSet =
true; m_deleted = value; }
135 template<
typename ClientRequestTokenT = Aws::String>
136 void SetClientRequestToken(ClientRequestTokenT&& value) { m_clientRequestTokenHasBeenSet =
true; m_clientRequestToken = std::forward<ClientRequestTokenT>(value); }
137 template<
typename ClientRequestTokenT = Aws::String>
148 template<
typename CallerReactionsT = Aws::Vector<Aws::String>>
149 void SetCallerReactions(CallerReactionsT&& value) { m_callerReactionsHasBeenSet =
true; m_callerReactions = std::forward<CallerReactionsT>(value); }
150 template<
typename CallerReactionsT = Aws::Vector<Aws::String>>
152 template<
typename CallerReactionsT = Aws::String>
153 Comment&
AddCallerReactions(CallerReactionsT&& value) { m_callerReactionsHasBeenSet =
true; m_callerReactions.emplace_back(std::forward<CallerReactionsT>(value));
return *
this; }
163 template<
typename ReactionCountsT = Aws::Map<Aws::String,
int>>
164 void SetReactionCounts(ReactionCountsT&& value) { m_reactionCountsHasBeenSet =
true; m_reactionCounts = std::forward<ReactionCountsT>(value); }
165 template<
typename ReactionCountsT = Aws::Map<Aws::String,
int>>
168 m_reactionCountsHasBeenSet =
true; m_reactionCounts.emplace(key, value);
return *
this;
174 bool m_commentIdHasBeenSet =
false;
177 bool m_contentHasBeenSet =
false;
180 bool m_inReplyToHasBeenSet =
false;
183 bool m_creationDateHasBeenSet =
false;
186 bool m_lastModifiedDateHasBeenSet =
false;
189 bool m_authorArnHasBeenSet =
false;
191 bool m_deleted{
false};
192 bool m_deletedHasBeenSet =
false;
195 bool m_clientRequestTokenHasBeenSet =
false;
198 bool m_callerReactionsHasBeenSet =
false;
201 bool m_reactionCountsHasBeenSet =
false;
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue