/*
* 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 import in an import list.
///
public partial class ImportSummary
{
private DateTime? _creationDateTime;
private string _importedResourceId;
private string _importedResourceName;
private ImportResourceType _importedResourceType;
private string _importId;
private ImportStatus _importStatus;
private DateTime? _lastUpdatedDateTime;
private MergeStrategy _mergeStrategy;
///
/// Gets and sets the property CreationDateTime.
///
/// The date and time that the import 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 ImportedResourceId.
///
/// The unique identifier that Amazon Lex assigned to the imported resource.
///
///
[AWSProperty(Min=5, Max=10)]
public string ImportedResourceId
{
get { return this._importedResourceId; }
set { this._importedResourceId = value; }
}
// Check to see if ImportedResourceId property is set
internal bool IsSetImportedResourceId()
{
return this._importedResourceId != null;
}
///
/// Gets and sets the property ImportedResourceName.
///
/// The name that you gave the imported resource.
///
///
[AWSProperty(Min=1, Max=100)]
public string ImportedResourceName
{
get { return this._importedResourceName; }
set { this._importedResourceName = value; }
}
// Check to see if ImportedResourceName property is set
internal bool IsSetImportedResourceName()
{
return this._importedResourceName != null;
}
///
/// Gets and sets the property ImportedResourceType.
///
/// The type of resource that was imported.
///
///
public ImportResourceType ImportedResourceType
{
get { return this._importedResourceType; }
set { this._importedResourceType = value; }
}
// Check to see if ImportedResourceType property is set
internal bool IsSetImportedResourceType()
{
return this._importedResourceType != null;
}
///
/// Gets and sets the property ImportId.
///
/// The unique identifier that Amazon Lex assigned to the import.
///
///
[AWSProperty(Min=10, Max=10)]
public string ImportId
{
get { return this._importId; }
set { this._importId = value; }
}
// Check to see if ImportId property is set
internal bool IsSetImportId()
{
return this._importId != null;
}
///
/// Gets and sets the property ImportStatus.
///
/// The status of the resource. When the status is Completed
the resource
/// is ready to build.
///
///
public ImportStatus ImportStatus
{
get { return this._importStatus; }
set { this._importStatus = value; }
}
// Check to see if ImportStatus property is set
internal bool IsSetImportStatus()
{
return this._importStatus != null;
}
///
/// Gets and sets the property LastUpdatedDateTime.
///
/// The date and time that the import 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 MergeStrategy.
///
/// The strategy used to merge existing bot or bot locale definitions with the imported
/// definition.
///
///
public MergeStrategy MergeStrategy
{
get { return this._mergeStrategy; }
set { this._mergeStrategy = value; }
}
// Check to see if MergeStrategy property is set
internal bool IsSetMergeStrategy()
{
return this._mergeStrategy != null;
}
}
}