/** * 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 BatchDisassociateAssessmentReportEvidenceRequest : public AuditManagerRequest { public: AWS_AUDITMANAGER_API BatchDisassociateAssessmentReportEvidenceRequest(); // 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 "BatchDisassociateAssessmentReportEvidence"; } AWS_AUDITMANAGER_API Aws::String SerializePayload() const override; /** *

The identifier for the assessment.

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

The identifier for the assessment.

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

The identifier for the assessment.

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

The identifier for the assessment.

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

The identifier for the assessment.

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

The identifier for the assessment.

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

The identifier for the assessment.

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

The identifier for the assessment.

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

The identifier for the folder that the evidence is stored in.

*/ inline const Aws::String& GetEvidenceFolderId() const{ return m_evidenceFolderId; } /** *

The identifier for the folder that the evidence is stored in.

*/ inline bool EvidenceFolderIdHasBeenSet() const { return m_evidenceFolderIdHasBeenSet; } /** *

The identifier for the folder that the evidence is stored in.

*/ inline void SetEvidenceFolderId(const Aws::String& value) { m_evidenceFolderIdHasBeenSet = true; m_evidenceFolderId = value; } /** *

The identifier for the folder that the evidence is stored in.

*/ inline void SetEvidenceFolderId(Aws::String&& value) { m_evidenceFolderIdHasBeenSet = true; m_evidenceFolderId = std::move(value); } /** *

The identifier for the folder that the evidence is stored in.

*/ inline void SetEvidenceFolderId(const char* value) { m_evidenceFolderIdHasBeenSet = true; m_evidenceFolderId.assign(value); } /** *

The identifier for the folder that the evidence is stored in.

*/ inline BatchDisassociateAssessmentReportEvidenceRequest& WithEvidenceFolderId(const Aws::String& value) { SetEvidenceFolderId(value); return *this;} /** *

The identifier for the folder that the evidence is stored in.

*/ inline BatchDisassociateAssessmentReportEvidenceRequest& WithEvidenceFolderId(Aws::String&& value) { SetEvidenceFolderId(std::move(value)); return *this;} /** *

The identifier for the folder that the evidence is stored in.

*/ inline BatchDisassociateAssessmentReportEvidenceRequest& WithEvidenceFolderId(const char* value) { SetEvidenceFolderId(value); return *this;} /** *

The list of evidence identifiers.

*/ inline const Aws::Vector& GetEvidenceIds() const{ return m_evidenceIds; } /** *

The list of evidence identifiers.

*/ inline bool EvidenceIdsHasBeenSet() const { return m_evidenceIdsHasBeenSet; } /** *

The list of evidence identifiers.

*/ inline void SetEvidenceIds(const Aws::Vector& value) { m_evidenceIdsHasBeenSet = true; m_evidenceIds = value; } /** *

The list of evidence identifiers.

*/ inline void SetEvidenceIds(Aws::Vector&& value) { m_evidenceIdsHasBeenSet = true; m_evidenceIds = std::move(value); } /** *

The list of evidence identifiers.

*/ inline BatchDisassociateAssessmentReportEvidenceRequest& WithEvidenceIds(const Aws::Vector& value) { SetEvidenceIds(value); return *this;} /** *

The list of evidence identifiers.

*/ inline BatchDisassociateAssessmentReportEvidenceRequest& WithEvidenceIds(Aws::Vector&& value) { SetEvidenceIds(std::move(value)); return *this;} /** *

The list of evidence identifiers.

*/ inline BatchDisassociateAssessmentReportEvidenceRequest& AddEvidenceIds(const Aws::String& value) { m_evidenceIdsHasBeenSet = true; m_evidenceIds.push_back(value); return *this; } /** *

The list of evidence identifiers.

*/ inline BatchDisassociateAssessmentReportEvidenceRequest& AddEvidenceIds(Aws::String&& value) { m_evidenceIdsHasBeenSet = true; m_evidenceIds.push_back(std::move(value)); return *this; } /** *

The list of evidence identifiers.

*/ inline BatchDisassociateAssessmentReportEvidenceRequest& AddEvidenceIds(const char* value) { m_evidenceIdsHasBeenSet = true; m_evidenceIds.push_back(value); return *this; } private: Aws::String m_assessmentId; bool m_assessmentIdHasBeenSet = false; Aws::String m_evidenceFolderId; bool m_evidenceFolderIdHasBeenSet = false; Aws::Vector m_evidenceIds; bool m_evidenceIdsHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws