/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AuditManager.Model
{
///
/// Container for the parameters to the BatchImportEvidenceToAssessmentControl operation.
/// Adds one or more pieces of evidence to a control in an Audit Manager assessment.
///
///
///
/// You can import manual evidence from any S3 bucket by specifying the S3 URI of the
/// object. You can also upload a file from your browser, or enter plain text in response
/// to a risk assessment question.
///
///
///
/// The following restrictions apply to this action:
///
/// -
///
///
manualEvidence
can be only one of the following: evidenceFileName
,
/// s3ResourcePath
, or textResponse
///
/// -
///
/// Maximum size of an individual evidence file: 100 MB
///
///
-
///
/// Number of daily manual evidence uploads per control: 100
///
///
-
///
/// Supported file formats: See Supported
/// file types for manual evidence in the Audit Manager User Guide
///
///
///
/// For more information about Audit Manager service restrictions, see Quotas
/// and restrictions for Audit Manager.
///
///
public partial class BatchImportEvidenceToAssessmentControlRequest : AmazonAuditManagerRequest
{
private string _assessmentId;
private string _controlId;
private string _controlSetId;
private List _manualEvidence = new List();
///
/// Gets and sets the property AssessmentId.
///
/// The identifier for the assessment.
///
///
[AWSProperty(Required=true, Min=36, Max=36)]
public string AssessmentId
{
get { return this._assessmentId; }
set { this._assessmentId = value; }
}
// Check to see if AssessmentId property is set
internal bool IsSetAssessmentId()
{
return this._assessmentId != null;
}
///
/// Gets and sets the property ControlId.
///
/// The identifier for the control.
///
///
[AWSProperty(Required=true, Min=36, Max=36)]
public string ControlId
{
get { return this._controlId; }
set { this._controlId = value; }
}
// Check to see if ControlId property is set
internal bool IsSetControlId()
{
return this._controlId != null;
}
///
/// Gets and sets the property ControlSetId.
///
/// The identifier for the control set.
///
///
[AWSProperty(Required=true, Min=1, Max=300)]
public string ControlSetId
{
get { return this._controlSetId; }
set { this._controlSetId = value; }
}
// Check to see if ControlSetId property is set
internal bool IsSetControlSetId()
{
return this._controlSetId != null;
}
///
/// Gets and sets the property ManualEvidence.
///
/// The list of manual evidence objects.
///
///
[AWSProperty(Required=true, Min=1, Max=50)]
public List ManualEvidence
{
get { return this._manualEvidence; }
set { this._manualEvidence = value; }
}
// Check to see if ManualEvidence property is set
internal bool IsSetManualEvidence()
{
return this._manualEvidence != null && this._manualEvidence.Count > 0;
}
}
}