/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SSM { namespace Model { /** *

Information about the result of a document review request.

See * Also:

AWS * API Reference

*/ class ReviewInformation { public: AWS_SSM_API ReviewInformation(); AWS_SSM_API ReviewInformation(Aws::Utils::Json::JsonView jsonValue); AWS_SSM_API ReviewInformation& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SSM_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The time that the reviewer took action on the document review request.

*/ inline const Aws::Utils::DateTime& GetReviewedTime() const{ return m_reviewedTime; } /** *

The time that the reviewer took action on the document review request.

*/ inline bool ReviewedTimeHasBeenSet() const { return m_reviewedTimeHasBeenSet; } /** *

The time that the reviewer took action on the document review request.

*/ inline void SetReviewedTime(const Aws::Utils::DateTime& value) { m_reviewedTimeHasBeenSet = true; m_reviewedTime = value; } /** *

The time that the reviewer took action on the document review request.

*/ inline void SetReviewedTime(Aws::Utils::DateTime&& value) { m_reviewedTimeHasBeenSet = true; m_reviewedTime = std::move(value); } /** *

The time that the reviewer took action on the document review request.

*/ inline ReviewInformation& WithReviewedTime(const Aws::Utils::DateTime& value) { SetReviewedTime(value); return *this;} /** *

The time that the reviewer took action on the document review request.

*/ inline ReviewInformation& WithReviewedTime(Aws::Utils::DateTime&& value) { SetReviewedTime(std::move(value)); return *this;} /** *

The current status of the document review request.

*/ inline const ReviewStatus& GetStatus() const{ return m_status; } /** *

The current status of the document review request.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The current status of the document review request.

*/ inline void SetStatus(const ReviewStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The current status of the document review request.

*/ inline void SetStatus(ReviewStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The current status of the document review request.

*/ inline ReviewInformation& WithStatus(const ReviewStatus& value) { SetStatus(value); return *this;} /** *

The current status of the document review request.

*/ inline ReviewInformation& WithStatus(ReviewStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The reviewer assigned to take action on the document review request.

*/ inline const Aws::String& GetReviewer() const{ return m_reviewer; } /** *

The reviewer assigned to take action on the document review request.

*/ inline bool ReviewerHasBeenSet() const { return m_reviewerHasBeenSet; } /** *

The reviewer assigned to take action on the document review request.

*/ inline void SetReviewer(const Aws::String& value) { m_reviewerHasBeenSet = true; m_reviewer = value; } /** *

The reviewer assigned to take action on the document review request.

*/ inline void SetReviewer(Aws::String&& value) { m_reviewerHasBeenSet = true; m_reviewer = std::move(value); } /** *

The reviewer assigned to take action on the document review request.

*/ inline void SetReviewer(const char* value) { m_reviewerHasBeenSet = true; m_reviewer.assign(value); } /** *

The reviewer assigned to take action on the document review request.

*/ inline ReviewInformation& WithReviewer(const Aws::String& value) { SetReviewer(value); return *this;} /** *

The reviewer assigned to take action on the document review request.

*/ inline ReviewInformation& WithReviewer(Aws::String&& value) { SetReviewer(std::move(value)); return *this;} /** *

The reviewer assigned to take action on the document review request.

*/ inline ReviewInformation& WithReviewer(const char* value) { SetReviewer(value); return *this;} private: Aws::Utils::DateTime m_reviewedTime; bool m_reviewedTimeHasBeenSet = false; ReviewStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_reviewer; bool m_reviewerHasBeenSet = false; }; } // namespace Model } // namespace SSM } // namespace Aws