/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The folder where Audit Manager stores evidence for an assessment.
* See Also:
AWS
* API Reference
The name of the evidence folder.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the evidence folder.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the evidence folder.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the evidence folder.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the evidence folder.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the evidence folder.
*/ inline AssessmentEvidenceFolder& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the evidence folder.
*/ inline AssessmentEvidenceFolder& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the evidence folder.
*/ inline AssessmentEvidenceFolder& WithName(const char* value) { SetName(value); return *this;} /** *The date when the first evidence was added to the evidence folder.
*/ inline const Aws::Utils::DateTime& GetDate() const{ return m_date; } /** *The date when the first evidence was added to the evidence folder.
*/ inline bool DateHasBeenSet() const { return m_dateHasBeenSet; } /** *The date when the first evidence was added to the evidence folder.
*/ inline void SetDate(const Aws::Utils::DateTime& value) { m_dateHasBeenSet = true; m_date = value; } /** *The date when the first evidence was added to the evidence folder.
*/ inline void SetDate(Aws::Utils::DateTime&& value) { m_dateHasBeenSet = true; m_date = std::move(value); } /** *The date when the first evidence was added to the evidence folder.
*/ inline AssessmentEvidenceFolder& WithDate(const Aws::Utils::DateTime& value) { SetDate(value); return *this;} /** *The date when the first evidence was added to the evidence folder.
*/ inline AssessmentEvidenceFolder& WithDate(Aws::Utils::DateTime&& value) { SetDate(std::move(value)); return *this;} /** *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 AssessmentEvidenceFolder& WithAssessmentId(const Aws::String& value) { SetAssessmentId(value); return *this;} /** *The identifier for the assessment.
*/ inline AssessmentEvidenceFolder& WithAssessmentId(Aws::String&& value) { SetAssessmentId(std::move(value)); return *this;} /** *The identifier for the assessment.
*/ inline AssessmentEvidenceFolder& WithAssessmentId(const char* value) { SetAssessmentId(value); return *this;} /** *The identifier for the control set.
*/ inline const Aws::String& GetControlSetId() const{ return m_controlSetId; } /** *The identifier for the control set.
*/ inline bool ControlSetIdHasBeenSet() const { return m_controlSetIdHasBeenSet; } /** *The identifier for the control set.
*/ inline void SetControlSetId(const Aws::String& value) { m_controlSetIdHasBeenSet = true; m_controlSetId = value; } /** *The identifier for the control set.
*/ inline void SetControlSetId(Aws::String&& value) { m_controlSetIdHasBeenSet = true; m_controlSetId = std::move(value); } /** *The identifier for the control set.
*/ inline void SetControlSetId(const char* value) { m_controlSetIdHasBeenSet = true; m_controlSetId.assign(value); } /** *The identifier for the control set.
*/ inline AssessmentEvidenceFolder& WithControlSetId(const Aws::String& value) { SetControlSetId(value); return *this;} /** *The identifier for the control set.
*/ inline AssessmentEvidenceFolder& WithControlSetId(Aws::String&& value) { SetControlSetId(std::move(value)); return *this;} /** *The identifier for the control set.
*/ inline AssessmentEvidenceFolder& WithControlSetId(const char* value) { SetControlSetId(value); return *this;} /** *The unique identifier for the control.
*/ inline const Aws::String& GetControlId() const{ return m_controlId; } /** *The unique identifier for the control.
*/ inline bool ControlIdHasBeenSet() const { return m_controlIdHasBeenSet; } /** *The unique identifier for the control.
*/ inline void SetControlId(const Aws::String& value) { m_controlIdHasBeenSet = true; m_controlId = value; } /** *The unique identifier for the control.
*/ inline void SetControlId(Aws::String&& value) { m_controlIdHasBeenSet = true; m_controlId = std::move(value); } /** *The unique identifier for the control.
*/ inline void SetControlId(const char* value) { m_controlIdHasBeenSet = true; m_controlId.assign(value); } /** *The unique identifier for the control.
*/ inline AssessmentEvidenceFolder& WithControlId(const Aws::String& value) { SetControlId(value); return *this;} /** *The unique identifier for the control.
*/ inline AssessmentEvidenceFolder& WithControlId(Aws::String&& value) { SetControlId(std::move(value)); return *this;} /** *The unique identifier for the control.
*/ inline AssessmentEvidenceFolder& WithControlId(const char* value) { SetControlId(value); return *this;} /** *The identifier for the folder that the evidence is stored in.
*/ inline const Aws::String& GetId() const{ return m_id; } /** *The identifier for the folder that the evidence is stored in.
*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *The identifier for the folder that the evidence is stored in.
*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *The identifier for the folder that the evidence is stored in.
*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *The identifier for the folder that the evidence is stored in.
*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *The identifier for the folder that the evidence is stored in.
*/ inline AssessmentEvidenceFolder& WithId(const Aws::String& value) { SetId(value); return *this;} /** *The identifier for the folder that the evidence is stored in.
*/ inline AssessmentEvidenceFolder& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *The identifier for the folder that the evidence is stored in.
*/ inline AssessmentEvidenceFolder& WithId(const char* value) { SetId(value); return *this;} /** *The Amazon Web Service that the evidence was collected from.
*/ inline const Aws::String& GetDataSource() const{ return m_dataSource; } /** *The Amazon Web Service that the evidence was collected from.
*/ inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; } /** *The Amazon Web Service that the evidence was collected from.
*/ inline void SetDataSource(const Aws::String& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; } /** *The Amazon Web Service that the evidence was collected from.
*/ inline void SetDataSource(Aws::String&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); } /** *The Amazon Web Service that the evidence was collected from.
*/ inline void SetDataSource(const char* value) { m_dataSourceHasBeenSet = true; m_dataSource.assign(value); } /** *The Amazon Web Service that the evidence was collected from.
*/ inline AssessmentEvidenceFolder& WithDataSource(const Aws::String& value) { SetDataSource(value); return *this;} /** *The Amazon Web Service that the evidence was collected from.
*/ inline AssessmentEvidenceFolder& WithDataSource(Aws::String&& value) { SetDataSource(std::move(value)); return *this;} /** *The Amazon Web Service that the evidence was collected from.
*/ inline AssessmentEvidenceFolder& WithDataSource(const char* value) { SetDataSource(value); return *this;} /** *The name of the user who created the evidence folder.
*/ inline const Aws::String& GetAuthor() const{ return m_author; } /** *The name of the user who created the evidence folder.
*/ inline bool AuthorHasBeenSet() const { return m_authorHasBeenSet; } /** *The name of the user who created the evidence folder.
*/ inline void SetAuthor(const Aws::String& value) { m_authorHasBeenSet = true; m_author = value; } /** *The name of the user who created the evidence folder.
*/ inline void SetAuthor(Aws::String&& value) { m_authorHasBeenSet = true; m_author = std::move(value); } /** *The name of the user who created the evidence folder.
*/ inline void SetAuthor(const char* value) { m_authorHasBeenSet = true; m_author.assign(value); } /** *The name of the user who created the evidence folder.
*/ inline AssessmentEvidenceFolder& WithAuthor(const Aws::String& value) { SetAuthor(value); return *this;} /** *The name of the user who created the evidence folder.
*/ inline AssessmentEvidenceFolder& WithAuthor(Aws::String&& value) { SetAuthor(std::move(value)); return *this;} /** *The name of the user who created the evidence folder.
*/ inline AssessmentEvidenceFolder& WithAuthor(const char* value) { SetAuthor(value); return *this;} /** *The total amount of evidence in the evidence folder.
*/ inline int GetTotalEvidence() const{ return m_totalEvidence; } /** *The total amount of evidence in the evidence folder.
*/ inline bool TotalEvidenceHasBeenSet() const { return m_totalEvidenceHasBeenSet; } /** *The total amount of evidence in the evidence folder.
*/ inline void SetTotalEvidence(int value) { m_totalEvidenceHasBeenSet = true; m_totalEvidence = value; } /** *The total amount of evidence in the evidence folder.
*/ inline AssessmentEvidenceFolder& WithTotalEvidence(int value) { SetTotalEvidence(value); return *this;} /** *The total count of evidence that's included in the assessment report.
*/ inline int GetAssessmentReportSelectionCount() const{ return m_assessmentReportSelectionCount; } /** *The total count of evidence that's included in the assessment report.
*/ inline bool AssessmentReportSelectionCountHasBeenSet() const { return m_assessmentReportSelectionCountHasBeenSet; } /** *The total count of evidence that's included in the assessment report.
*/ inline void SetAssessmentReportSelectionCount(int value) { m_assessmentReportSelectionCountHasBeenSet = true; m_assessmentReportSelectionCount = value; } /** *The total count of evidence that's included in the assessment report.
*/ inline AssessmentEvidenceFolder& WithAssessmentReportSelectionCount(int value) { SetAssessmentReportSelectionCount(value); return *this;} /** *The name of the control.
*/ inline const Aws::String& GetControlName() const{ return m_controlName; } /** *The name of the control.
*/ inline bool ControlNameHasBeenSet() const { return m_controlNameHasBeenSet; } /** *The name of the control.
*/ inline void SetControlName(const Aws::String& value) { m_controlNameHasBeenSet = true; m_controlName = value; } /** *The name of the control.
*/ inline void SetControlName(Aws::String&& value) { m_controlNameHasBeenSet = true; m_controlName = std::move(value); } /** *The name of the control.
*/ inline void SetControlName(const char* value) { m_controlNameHasBeenSet = true; m_controlName.assign(value); } /** *The name of the control.
*/ inline AssessmentEvidenceFolder& WithControlName(const Aws::String& value) { SetControlName(value); return *this;} /** *The name of the control.
*/ inline AssessmentEvidenceFolder& WithControlName(Aws::String&& value) { SetControlName(std::move(value)); return *this;} /** *The name of the control.
*/ inline AssessmentEvidenceFolder& WithControlName(const char* value) { SetControlName(value); return *this;} /** *The amount of evidence that's included in the evidence folder.
*/ inline int GetEvidenceResourcesIncludedCount() const{ return m_evidenceResourcesIncludedCount; } /** *The amount of evidence that's included in the evidence folder.
*/ inline bool EvidenceResourcesIncludedCountHasBeenSet() const { return m_evidenceResourcesIncludedCountHasBeenSet; } /** *The amount of evidence that's included in the evidence folder.
*/ inline void SetEvidenceResourcesIncludedCount(int value) { m_evidenceResourcesIncludedCountHasBeenSet = true; m_evidenceResourcesIncludedCount = value; } /** *The amount of evidence that's included in the evidence folder.
*/ inline AssessmentEvidenceFolder& WithEvidenceResourcesIncludedCount(int value) { SetEvidenceResourcesIncludedCount(value); return *this;} /** *The number of evidence that falls under the configuration data category. * This evidence is collected from configuration snapshots of other Amazon Web * Services such as Amazon EC2, Amazon S3, or IAM.
*/ inline int GetEvidenceByTypeConfigurationDataCount() const{ return m_evidenceByTypeConfigurationDataCount; } /** *The number of evidence that falls under the configuration data category. * This evidence is collected from configuration snapshots of other Amazon Web * Services such as Amazon EC2, Amazon S3, or IAM.
*/ inline bool EvidenceByTypeConfigurationDataCountHasBeenSet() const { return m_evidenceByTypeConfigurationDataCountHasBeenSet; } /** *The number of evidence that falls under the configuration data category. * This evidence is collected from configuration snapshots of other Amazon Web * Services such as Amazon EC2, Amazon S3, or IAM.
*/ inline void SetEvidenceByTypeConfigurationDataCount(int value) { m_evidenceByTypeConfigurationDataCountHasBeenSet = true; m_evidenceByTypeConfigurationDataCount = value; } /** *The number of evidence that falls under the configuration data category. * This evidence is collected from configuration snapshots of other Amazon Web * Services such as Amazon EC2, Amazon S3, or IAM.
*/ inline AssessmentEvidenceFolder& WithEvidenceByTypeConfigurationDataCount(int value) { SetEvidenceByTypeConfigurationDataCount(value); return *this;} /** *The number of evidence that falls under the manual category. This evidence * is imported manually.
*/ inline int GetEvidenceByTypeManualCount() const{ return m_evidenceByTypeManualCount; } /** *The number of evidence that falls under the manual category. This evidence * is imported manually.
*/ inline bool EvidenceByTypeManualCountHasBeenSet() const { return m_evidenceByTypeManualCountHasBeenSet; } /** *The number of evidence that falls under the manual category. This evidence * is imported manually.
*/ inline void SetEvidenceByTypeManualCount(int value) { m_evidenceByTypeManualCountHasBeenSet = true; m_evidenceByTypeManualCount = value; } /** *The number of evidence that falls under the manual category. This evidence * is imported manually.
*/ inline AssessmentEvidenceFolder& WithEvidenceByTypeManualCount(int value) { SetEvidenceByTypeManualCount(value); return *this;} /** *The number of evidence that falls under the compliance check category. This * evidence is collected from Config or Security Hub.
*/ inline int GetEvidenceByTypeComplianceCheckCount() const{ return m_evidenceByTypeComplianceCheckCount; } /** *The number of evidence that falls under the compliance check category. This * evidence is collected from Config or Security Hub.
*/ inline bool EvidenceByTypeComplianceCheckCountHasBeenSet() const { return m_evidenceByTypeComplianceCheckCountHasBeenSet; } /** *The number of evidence that falls under the compliance check category. This * evidence is collected from Config or Security Hub.
*/ inline void SetEvidenceByTypeComplianceCheckCount(int value) { m_evidenceByTypeComplianceCheckCountHasBeenSet = true; m_evidenceByTypeComplianceCheckCount = value; } /** *The number of evidence that falls under the compliance check category. This * evidence is collected from Config or Security Hub.
*/ inline AssessmentEvidenceFolder& WithEvidenceByTypeComplianceCheckCount(int value) { SetEvidenceByTypeComplianceCheckCount(value); return *this;} /** *The total number of issues that were reported directly from Security Hub, * Config, or both.
*/ inline int GetEvidenceByTypeComplianceCheckIssuesCount() const{ return m_evidenceByTypeComplianceCheckIssuesCount; } /** *The total number of issues that were reported directly from Security Hub, * Config, or both.
*/ inline bool EvidenceByTypeComplianceCheckIssuesCountHasBeenSet() const { return m_evidenceByTypeComplianceCheckIssuesCountHasBeenSet; } /** *The total number of issues that were reported directly from Security Hub, * Config, or both.
*/ inline void SetEvidenceByTypeComplianceCheckIssuesCount(int value) { m_evidenceByTypeComplianceCheckIssuesCountHasBeenSet = true; m_evidenceByTypeComplianceCheckIssuesCount = value; } /** *The total number of issues that were reported directly from Security Hub, * Config, or both.
*/ inline AssessmentEvidenceFolder& WithEvidenceByTypeComplianceCheckIssuesCount(int value) { SetEvidenceByTypeComplianceCheckIssuesCount(value); return *this;} /** *The number of evidence that falls under the user activity category. This * evidence is collected from CloudTrail logs.
*/ inline int GetEvidenceByTypeUserActivityCount() const{ return m_evidenceByTypeUserActivityCount; } /** *The number of evidence that falls under the user activity category. This * evidence is collected from CloudTrail logs.
*/ inline bool EvidenceByTypeUserActivityCountHasBeenSet() const { return m_evidenceByTypeUserActivityCountHasBeenSet; } /** *The number of evidence that falls under the user activity category. This * evidence is collected from CloudTrail logs.
*/ inline void SetEvidenceByTypeUserActivityCount(int value) { m_evidenceByTypeUserActivityCountHasBeenSet = true; m_evidenceByTypeUserActivityCount = value; } /** *The number of evidence that falls under the user activity category. This * evidence is collected from CloudTrail logs.
*/ inline AssessmentEvidenceFolder& WithEvidenceByTypeUserActivityCount(int value) { SetEvidenceByTypeUserActivityCount(value); return *this;} /** *The total number of Amazon Web Services resources that were assessed to * generate the evidence.
*/ inline int GetEvidenceAwsServiceSourceCount() const{ return m_evidenceAwsServiceSourceCount; } /** *The total number of Amazon Web Services resources that were assessed to * generate the evidence.
*/ inline bool EvidenceAwsServiceSourceCountHasBeenSet() const { return m_evidenceAwsServiceSourceCountHasBeenSet; } /** *The total number of Amazon Web Services resources that were assessed to * generate the evidence.
*/ inline void SetEvidenceAwsServiceSourceCount(int value) { m_evidenceAwsServiceSourceCountHasBeenSet = true; m_evidenceAwsServiceSourceCount = value; } /** *The total number of Amazon Web Services resources that were assessed to * generate the evidence.
*/ inline AssessmentEvidenceFolder& WithEvidenceAwsServiceSourceCount(int value) { SetEvidenceAwsServiceSourceCount(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::Utils::DateTime m_date; bool m_dateHasBeenSet = false; Aws::String m_assessmentId; bool m_assessmentIdHasBeenSet = false; Aws::String m_controlSetId; bool m_controlSetIdHasBeenSet = false; Aws::String m_controlId; bool m_controlIdHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_dataSource; bool m_dataSourceHasBeenSet = false; Aws::String m_author; bool m_authorHasBeenSet = false; int m_totalEvidence; bool m_totalEvidenceHasBeenSet = false; int m_assessmentReportSelectionCount; bool m_assessmentReportSelectionCountHasBeenSet = false; Aws::String m_controlName; bool m_controlNameHasBeenSet = false; int m_evidenceResourcesIncludedCount; bool m_evidenceResourcesIncludedCountHasBeenSet = false; int m_evidenceByTypeConfigurationDataCount; bool m_evidenceByTypeConfigurationDataCountHasBeenSet = false; int m_evidenceByTypeManualCount; bool m_evidenceByTypeManualCountHasBeenSet = false; int m_evidenceByTypeComplianceCheckCount; bool m_evidenceByTypeComplianceCheckCountHasBeenSet = false; int m_evidenceByTypeComplianceCheckIssuesCount; bool m_evidenceByTypeComplianceCheckIssuesCountHasBeenSet = false; int m_evidenceByTypeUserActivityCount; bool m_evidenceByTypeUserActivityCountHasBeenSet = false; int m_evidenceAwsServiceSourceCount; bool m_evidenceAwsServiceSourceCountHasBeenSet = false; }; } // namespace Model } // namespace AuditManager } // namespace Aws