/*
* 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 models.lex.v2-2020-08-07.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.LexModelsV2.Model
{
///
/// This is the response object from the DescribeTestSetDiscrepancyReport operation.
///
public partial class DescribeTestSetDiscrepancyReportResponse : AmazonWebServiceResponse
{
private DateTime? _creationDateTime;
private List _failureReasons = new List();
private DateTime? _lastUpdatedDataTime;
private TestSetDiscrepancyReportResourceTarget _target;
private string _testSetDiscrepancyRawOutputUrl;
private string _testSetDiscrepancyReportId;
private TestSetDiscrepancyReportStatus _testSetDiscrepancyReportStatus;
private TestSetDiscrepancyErrors _testSetDiscrepancyTopErrors;
private string _testSetId;
///
/// Gets and sets the property CreationDateTime.
///
/// The time and date of creation for the test set discrepancy report.
///
///
public DateTime CreationDateTime
{
get { return this._creationDateTime.GetValueOrDefault(); }
set { this._creationDateTime = value; }
}
// Check to see if CreationDateTime property is set
internal bool IsSetCreationDateTime()
{
return this._creationDateTime.HasValue;
}
///
/// Gets and sets the property FailureReasons.
///
/// The failure report for the test set discrepancy report generation action.
///
///
public List FailureReasons
{
get { return this._failureReasons; }
set { this._failureReasons = value; }
}
// Check to see if FailureReasons property is set
internal bool IsSetFailureReasons()
{
return this._failureReasons != null && this._failureReasons.Count > 0;
}
///
/// Gets and sets the property LastUpdatedDataTime.
///
/// The date and time of the last update for the test set discrepancy report.
///
///
public DateTime LastUpdatedDataTime
{
get { return this._lastUpdatedDataTime.GetValueOrDefault(); }
set { this._lastUpdatedDataTime = value; }
}
// Check to see if LastUpdatedDataTime property is set
internal bool IsSetLastUpdatedDataTime()
{
return this._lastUpdatedDataTime.HasValue;
}
///
/// Gets and sets the property Target.
///
/// The target bot location for the test set discrepancy report.
///
///
public TestSetDiscrepancyReportResourceTarget Target
{
get { return this._target; }
set { this._target = value; }
}
// Check to see if Target property is set
internal bool IsSetTarget()
{
return this._target != null;
}
///
/// Gets and sets the property TestSetDiscrepancyRawOutputUrl.
///
/// Pre-signed Amazon S3 URL to download the test set discrepancy report.
///
///
[AWSProperty(Min=1, Max=1024)]
public string TestSetDiscrepancyRawOutputUrl
{
get { return this._testSetDiscrepancyRawOutputUrl; }
set { this._testSetDiscrepancyRawOutputUrl = value; }
}
// Check to see if TestSetDiscrepancyRawOutputUrl property is set
internal bool IsSetTestSetDiscrepancyRawOutputUrl()
{
return this._testSetDiscrepancyRawOutputUrl != null;
}
///
/// Gets and sets the property TestSetDiscrepancyReportId.
///
/// The unique identifier of the test set discrepancy report to describe.
///
///
[AWSProperty(Min=10, Max=10)]
public string TestSetDiscrepancyReportId
{
get { return this._testSetDiscrepancyReportId; }
set { this._testSetDiscrepancyReportId = value; }
}
// Check to see if TestSetDiscrepancyReportId property is set
internal bool IsSetTestSetDiscrepancyReportId()
{
return this._testSetDiscrepancyReportId != null;
}
///
/// Gets and sets the property TestSetDiscrepancyReportStatus.
///
/// The status for the test set discrepancy report.
///
///
public TestSetDiscrepancyReportStatus TestSetDiscrepancyReportStatus
{
get { return this._testSetDiscrepancyReportStatus; }
set { this._testSetDiscrepancyReportStatus = value; }
}
// Check to see if TestSetDiscrepancyReportStatus property is set
internal bool IsSetTestSetDiscrepancyReportStatus()
{
return this._testSetDiscrepancyReportStatus != null;
}
///
/// Gets and sets the property TestSetDiscrepancyTopErrors.
///
/// The top 200 error results from the test set discrepancy report.
///
///
public TestSetDiscrepancyErrors TestSetDiscrepancyTopErrors
{
get { return this._testSetDiscrepancyTopErrors; }
set { this._testSetDiscrepancyTopErrors = value; }
}
// Check to see if TestSetDiscrepancyTopErrors property is set
internal bool IsSetTestSetDiscrepancyTopErrors()
{
return this._testSetDiscrepancyTopErrors != null;
}
///
/// Gets and sets the property TestSetId.
///
/// The test set Id for the test set discrepancy report.
///
///
[AWSProperty(Min=10, Max=10)]
public string TestSetId
{
get { return this._testSetId; }
set { this._testSetId = value; }
}
// Check to see if TestSetId property is set
internal bool IsSetTestSetId()
{
return this._testSetId != null;
}
}
}