7#include <aws/ssm/SSM_EXPORTS.h>
8#include <aws/ssm/model/DocumentReviewAction.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ssm/model/DocumentReviewCommentSource.h>
59 template<
typename CommentT = Aws::Vector<DocumentReviewCommentSource>>
60 void SetComment(CommentT&& value) { m_commentHasBeenSet =
true; m_comment = std::forward<CommentT>(value); }
61 template<
typename CommentT = Aws::Vector<DocumentReviewCommentSource>>
63 template<
typename CommentT = DocumentReviewCommentSource>
64 DocumentReviews&
AddComment(CommentT&& value) { m_commentHasBeenSet =
true; m_comment.emplace_back(std::forward<CommentT>(value));
return *
this; }
69 bool m_actionHasBeenSet =
false;
72 bool m_commentHasBeenSet =
false;
DocumentReviewAction GetAction() const
const Aws::Vector< DocumentReviewCommentSource > & GetComment() const
DocumentReviews & WithComment(CommentT &&value)
void SetAction(DocumentReviewAction value)
void SetComment(CommentT &&value)
bool CommentHasBeenSet() const
bool ActionHasBeenSet() const
AWS_SSM_API DocumentReviews(Aws::Utils::Json::JsonView jsonValue)
AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SSM_API DocumentReviews & operator=(Aws::Utils::Json::JsonView jsonValue)
DocumentReviews & AddComment(CommentT &&value)
DocumentReviews & WithAction(DocumentReviewAction value)
AWS_SSM_API DocumentReviews()=default
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue