/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a document approval review.See Also:
AWS
* API Reference
The action to take on a document approval review request.
*/ inline const DocumentReviewAction& GetAction() const{ return m_action; } /** *The action to take on a document approval review request.
*/ inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; } /** *The action to take on a document approval review request.
*/ inline void SetAction(const DocumentReviewAction& value) { m_actionHasBeenSet = true; m_action = value; } /** *The action to take on a document approval review request.
*/ inline void SetAction(DocumentReviewAction&& value) { m_actionHasBeenSet = true; m_action = std::move(value); } /** *The action to take on a document approval review request.
*/ inline DocumentReviews& WithAction(const DocumentReviewAction& value) { SetAction(value); return *this;} /** *The action to take on a document approval review request.
*/ inline DocumentReviews& WithAction(DocumentReviewAction&& value) { SetAction(std::move(value)); return *this;} /** *A comment entered by a user in your organization about the document review * request.
*/ inline const Aws::VectorA comment entered by a user in your organization about the document review * request.
*/ inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; } /** *A comment entered by a user in your organization about the document review * request.
*/ inline void SetComment(const Aws::VectorA comment entered by a user in your organization about the document review * request.
*/ inline void SetComment(Aws::VectorA comment entered by a user in your organization about the document review * request.
*/ inline DocumentReviews& WithComment(const Aws::VectorA comment entered by a user in your organization about the document review * request.
*/ inline DocumentReviews& WithComment(Aws::VectorA comment entered by a user in your organization about the document review * request.
*/ inline DocumentReviews& AddComment(const DocumentReviewCommentSource& value) { m_commentHasBeenSet = true; m_comment.push_back(value); return *this; } /** *A comment entered by a user in your organization about the document review * request.
*/ inline DocumentReviews& AddComment(DocumentReviewCommentSource&& value) { m_commentHasBeenSet = true; m_comment.push_back(std::move(value)); return *this; } private: DocumentReviewAction m_action; bool m_actionHasBeenSet = false; Aws::Vector