/** * 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 AuditManager { namespace Model { /** */ class UpdateAssessmentControlSetStatusRequest : public AuditManagerRequest { public: AWS_AUDITMANAGER_API UpdateAssessmentControlSetStatusRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "UpdateAssessmentControlSetStatus"; } AWS_AUDITMANAGER_API Aws::String SerializePayload() const override; /** *

The unique identifier for the assessment.

*/ inline const Aws::String& GetAssessmentId() const{ return m_assessmentId; } /** *

The unique identifier for the assessment.

*/ inline bool AssessmentIdHasBeenSet() const { return m_assessmentIdHasBeenSet; } /** *

The unique identifier for the assessment.

*/ inline void SetAssessmentId(const Aws::String& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = value; } /** *

The unique identifier for the assessment.

*/ inline void SetAssessmentId(Aws::String&& value) { m_assessmentIdHasBeenSet = true; m_assessmentId = std::move(value); } /** *

The unique identifier for the assessment.

*/ inline void SetAssessmentId(const char* value) { m_assessmentIdHasBeenSet = true; m_assessmentId.assign(value); } /** *

The unique identifier for the assessment.

*/ inline UpdateAssessmentControlSetStatusRequest& WithAssessmentId(const Aws::String& value) { SetAssessmentId(value); return *this;} /** *

The unique identifier for the assessment.

*/ inline UpdateAssessmentControlSetStatusRequest& WithAssessmentId(Aws::String&& value) { SetAssessmentId(std::move(value)); return *this;} /** *

The unique identifier for the assessment.

*/ inline UpdateAssessmentControlSetStatusRequest& WithAssessmentId(const char* value) { SetAssessmentId(value); return *this;} /** *

The unique identifier for the control set.

*/ inline const Aws::String& GetControlSetId() const{ return m_controlSetId; } /** *

The unique identifier for the control set.

*/ inline bool ControlSetIdHasBeenSet() const { return m_controlSetIdHasBeenSet; } /** *

The unique identifier for the control set.

*/ inline void SetControlSetId(const Aws::String& value) { m_controlSetIdHasBeenSet = true; m_controlSetId = value; } /** *

The unique identifier for the control set.

*/ inline void SetControlSetId(Aws::String&& value) { m_controlSetIdHasBeenSet = true; m_controlSetId = std::move(value); } /** *

The unique identifier for the control set.

*/ inline void SetControlSetId(const char* value) { m_controlSetIdHasBeenSet = true; m_controlSetId.assign(value); } /** *

The unique identifier for the control set.

*/ inline UpdateAssessmentControlSetStatusRequest& WithControlSetId(const Aws::String& value) { SetControlSetId(value); return *this;} /** *

The unique identifier for the control set.

*/ inline UpdateAssessmentControlSetStatusRequest& WithControlSetId(Aws::String&& value) { SetControlSetId(std::move(value)); return *this;} /** *

The unique identifier for the control set.

*/ inline UpdateAssessmentControlSetStatusRequest& WithControlSetId(const char* value) { SetControlSetId(value); return *this;} /** *

The status of the control set that's being updated.

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

The status of the control set that's being updated.

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

The status of the control set that's being updated.

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

The status of the control set that's being updated.

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

The status of the control set that's being updated.

*/ inline UpdateAssessmentControlSetStatusRequest& WithStatus(const ControlSetStatus& value) { SetStatus(value); return *this;} /** *

The status of the control set that's being updated.

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

The comment that's related to the status update.

*/ inline const Aws::String& GetComment() const{ return m_comment; } /** *

The comment that's related to the status update.

*/ inline bool CommentHasBeenSet() const { return m_commentHasBeenSet; } /** *

The comment that's related to the status update.

*/ inline void SetComment(const Aws::String& value) { m_commentHasBeenSet = true; m_comment = value; } /** *

The comment that's related to the status update.

*/ inline void SetComment(Aws::String&& value) { m_commentHasBeenSet = true; m_comment = std::move(value); } /** *

The comment that's related to the status update.

*/ inline void SetComment(const char* value) { m_commentHasBeenSet = true; m_comment.assign(value); } /** *

The comment that's related to the status update.

*/ inline UpdateAssessmentControlSetStatusRequest& WithComment(const Aws::String& value) { SetComment(value); return *this;} /** *

The comment that's related to the status update.

*/ inline UpdateAssessmentControlSetStatusRequest& WithComment(Aws::String&& value) { SetComment(std::move(value)); return *this;} /** *

The comment that's related to the status update.

*/ inline UpdateAssessmentControlSetStatusRequest& WithComment(const char* value) { SetComment(value); return *this;} private: Aws::String m_assessmentId; bool m_assessmentIdHasBeenSet = false; Aws::String m_controlSetId; bool m_controlSetIdHasBeenSet = false; ControlSetStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_comment; bool m_commentHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws