/* * 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 StartImport operation. /// public partial class StartImportResponse : AmazonWebServiceResponse { private DateTime? _creationDateTime; private string _importId; private ImportStatus _importStatus; private MergeStrategy _mergeStrategy; private ImportResourceSpecification _resourceSpecification; /// /// Gets and sets the property CreationDateTime. /// /// The date and time that the import request 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 ImportId. /// /// A unique identifier for 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 current status of the import. When the status is Complete the bot, /// bot alias, or custom vocabulary is ready to use. /// /// 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 MergeStrategy. /// /// The strategy used when there was a name conflict between the imported resource and /// an existing resource. When the merge strategy is FailOnConflict existing /// resources are not overwritten and the import fails. /// /// 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; } /// /// Gets and sets the property ResourceSpecification. /// /// The parameters used when importing the resource. /// /// public ImportResourceSpecification ResourceSpecification { get { return this._resourceSpecification; } set { this._resourceSpecification = value; } } // Check to see if ResourceSpecification property is set internal bool IsSetResourceSpecification() { return this._resourceSpecification != null; } } }