/*
* 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
{
///
/// Provides summary information about an export in an export list.
///
public partial class ExportSummary
{
private DateTime? _creationDateTime;
private string _exportId;
private ExportStatus _exportStatus;
private ImportExportFileFormat _fileFormat;
private DateTime? _lastUpdatedDateTime;
private ExportResourceSpecification _resourceSpecification;
///
/// Gets and sets the property CreationDateTime.
///
/// The date and time that the export was created.
///
///
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 ExportId.
///
/// The unique identifier that Amazon Lex assigned to the export.
///
///
[AWSProperty(Min=10, Max=10)]
public string ExportId
{
get { return this._exportId; }
set { this._exportId = value; }
}
// Check to see if ExportId property is set
internal bool IsSetExportId()
{
return this._exportId != null;
}
///
/// Gets and sets the property ExportStatus.
///
/// The status of the export. When the status is Completed
the export is
/// ready to download.
///
///
public ExportStatus ExportStatus
{
get { return this._exportStatus; }
set { this._exportStatus = value; }
}
// Check to see if ExportStatus property is set
internal bool IsSetExportStatus()
{
return this._exportStatus != null;
}
///
/// Gets and sets the property FileFormat.
///
/// The file format used in the export files.
///
///
public ImportExportFileFormat FileFormat
{
get { return this._fileFormat; }
set { this._fileFormat = value; }
}
// Check to see if FileFormat property is set
internal bool IsSetFileFormat()
{
return this._fileFormat != null;
}
///
/// Gets and sets the property LastUpdatedDateTime.
///
/// The date and time that the export was last updated.
///
///
public DateTime LastUpdatedDateTime
{
get { return this._lastUpdatedDateTime.GetValueOrDefault(); }
set { this._lastUpdatedDateTime = value; }
}
// Check to see if LastUpdatedDateTime property is set
internal bool IsSetLastUpdatedDateTime()
{
return this._lastUpdatedDateTime.HasValue;
}
///
/// Gets and sets the property ResourceSpecification.
///
/// Information about the bot or bot locale that was exported.
///
///
public ExportResourceSpecification ResourceSpecification
{
get { return this._resourceSpecification; }
set { this._resourceSpecification = value; }
}
// Check to see if ResourceSpecification property is set
internal bool IsSetResourceSpecification()
{
return this._resourceSpecification != null;
}
}
}