/* * 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 CreateAssessmentReport operation. /// Creates an assessment report for the specified assessment. /// public partial class CreateAssessmentReportRequest : AmazonAuditManagerRequest { private string _assessmentId; private string _description; private string _name; private string _queryStatement; /// /// 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 Description. /// /// The description of the assessment report. /// /// [AWSProperty(Max=1000)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property Name. /// /// The name of the new assessment report. /// /// [AWSProperty(Required=true, Min=1, Max=300)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property QueryStatement. /// /// A SQL statement that represents an evidence finder query. /// /// /// /// Provide this parameter when you want to generate an assessment report from the results /// of an evidence finder search query. When you use this parameter, Audit Manager generates /// a one-time report using only the evidence from the query output. This report does /// not include any assessment evidence that was manually added /// to a report using the console, or associated /// with a report using the API. /// /// /// /// To use this parameter, the enablementStatus /// of evidence finder must be ENABLED. /// /// /// /// For examples and help resolving queryStatement validation exceptions, /// see Troubleshooting /// evidence finder issues in the Audit Manager User Guide. /// /// [AWSProperty(Min=1, Max=10000)] public string QueryStatement { get { return this._queryStatement; } set { this._queryStatement = value; } } // Check to see if QueryStatement property is set internal bool IsSetQueryStatement() { return this._queryStatement != null; } } }