/*
* 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 inspector-2016-02-16.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.Inspector.Model
{
///
/// Container for the parameters to the GetAssessmentReport operation.
/// Produces an assessment report that includes detailed and comprehensive results of
/// a specified assessment run.
///
public partial class GetAssessmentReportRequest : AmazonInspectorRequest
{
private string _assessmentRunArn;
private ReportFileFormat _reportFileFormat;
private ReportType _reportType;
///
/// Gets and sets the property AssessmentRunArn.
///
/// The ARN that specifies the assessment run for which you want to generate a report.
///
///
[AWSProperty(Required=true, Min=1, Max=300)]
public string AssessmentRunArn
{
get { return this._assessmentRunArn; }
set { this._assessmentRunArn = value; }
}
// Check to see if AssessmentRunArn property is set
internal bool IsSetAssessmentRunArn()
{
return this._assessmentRunArn != null;
}
///
/// Gets and sets the property ReportFileFormat.
///
/// Specifies the file format (html or pdf) of the assessment report that you want to
/// generate.
///
///
[AWSProperty(Required=true)]
public ReportFileFormat ReportFileFormat
{
get { return this._reportFileFormat; }
set { this._reportFileFormat = value; }
}
// Check to see if ReportFileFormat property is set
internal bool IsSetReportFileFormat()
{
return this._reportFileFormat != null;
}
///
/// Gets and sets the property ReportType.
///
/// Specifies the type of the assessment report that you want to generate. There are two
/// types of assessment reports: a finding report and a full report. For more information,
/// see Assessment
/// Reports.
///
///
[AWSProperty(Required=true)]
public ReportType ReportType
{
get { return this._reportType; }
set { this._reportType = value; }
}
// Check to see if ReportType property is set
internal bool IsSetReportType()
{
return this._reportType != null;
}
}
}