/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace AuditManager { namespace Model { /** */ class GetEvidenceRequest : public AuditManagerRequest { public: AWS_AUDITMANAGER_API GetEvidenceRequest(); // 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 "GetEvidence"; } 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 GetEvidenceRequest& WithAssessmentId(const Aws::String& value) { SetAssessmentId(value); return *this;} /** *

The unique identifier for the assessment.

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

The unique identifier for the assessment.

*/ inline GetEvidenceRequest& 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 GetEvidenceRequest& WithControlSetId(const Aws::String& value) { SetControlSetId(value); return *this;} /** *

The unique identifier for the control set.

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

The unique identifier for the control set.

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

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

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

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

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

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

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

The unique 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 unique identifier for the folder that the evidence is stored in.

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

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

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

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

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

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

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

The unique identifier for the evidence.

*/ inline const Aws::String& GetEvidenceId() const{ return m_evidenceId; } /** *

The unique identifier for the evidence.

*/ inline bool EvidenceIdHasBeenSet() const { return m_evidenceIdHasBeenSet; } /** *

The unique identifier for the evidence.

*/ inline void SetEvidenceId(const Aws::String& value) { m_evidenceIdHasBeenSet = true; m_evidenceId = value; } /** *

The unique identifier for the evidence.

*/ inline void SetEvidenceId(Aws::String&& value) { m_evidenceIdHasBeenSet = true; m_evidenceId = std::move(value); } /** *

The unique identifier for the evidence.

*/ inline void SetEvidenceId(const char* value) { m_evidenceIdHasBeenSet = true; m_evidenceId.assign(value); } /** *

The unique identifier for the evidence.

*/ inline GetEvidenceRequest& WithEvidenceId(const Aws::String& value) { SetEvidenceId(value); return *this;} /** *

The unique identifier for the evidence.

*/ inline GetEvidenceRequest& WithEvidenceId(Aws::String&& value) { SetEvidenceId(std::move(value)); return *this;} /** *

The unique identifier for the evidence.

*/ inline GetEvidenceRequest& WithEvidenceId(const char* value) { SetEvidenceId(value); return *this;} private: Aws::String m_assessmentId; bool m_assessmentIdHasBeenSet = false; Aws::String m_controlSetId; bool m_controlSetIdHasBeenSet = false; Aws::String m_evidenceFolderId; bool m_evidenceFolderIdHasBeenSet = false; Aws::String m_evidenceId; bool m_evidenceIdHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws