/*
* 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
{
///
/// This is the response object from the ValidateAssessmentReportIntegrity operation.
///
public partial class ValidateAssessmentReportIntegrityResponse : AmazonWebServiceResponse
{
private string _signatureAlgorithm;
private string _signatureDateTime;
private string _signatureKeyId;
private bool? _signatureValid;
private List _validationErrors = new List();
///
/// Gets and sets the property SignatureAlgorithm.
///
/// The signature algorithm that's used to code sign the assessment report file.
///
///
[AWSProperty(Min=0, Max=2048)]
public string SignatureAlgorithm
{
get { return this._signatureAlgorithm; }
set { this._signatureAlgorithm = value; }
}
// Check to see if SignatureAlgorithm property is set
internal bool IsSetSignatureAlgorithm()
{
return this._signatureAlgorithm != null;
}
///
/// Gets and sets the property SignatureDateTime.
///
/// The date and time signature that specifies when the assessment report was created.
///
///
///
[AWSProperty(Min=0, Max=2048)]
public string SignatureDateTime
{
get { return this._signatureDateTime; }
set { this._signatureDateTime = value; }
}
// Check to see if SignatureDateTime property is set
internal bool IsSetSignatureDateTime()
{
return this._signatureDateTime != null;
}
///
/// Gets and sets the property SignatureKeyId.
///
/// The unique identifier for the validation signature key.
///
///
[AWSProperty(Min=0, Max=2048)]
public string SignatureKeyId
{
get { return this._signatureKeyId; }
set { this._signatureKeyId = value; }
}
// Check to see if SignatureKeyId property is set
internal bool IsSetSignatureKeyId()
{
return this._signatureKeyId != null;
}
///
/// Gets and sets the property SignatureValid.
///
/// Specifies whether the signature key is valid.
///
///
public bool SignatureValid
{
get { return this._signatureValid.GetValueOrDefault(); }
set { this._signatureValid = value; }
}
// Check to see if SignatureValid property is set
internal bool IsSetSignatureValid()
{
return this._signatureValid.HasValue;
}
///
/// Gets and sets the property ValidationErrors.
///
/// Represents any errors that occurred when validating the assessment report.
///
///
public List ValidationErrors
{
get { return this._validationErrors; }
set { this._validationErrors = value; }
}
// Check to see if ValidationErrors property is set
internal bool IsSetValidationErrors()
{
return this._validationErrors != null && this._validationErrors.Count > 0;
}
}
}