/* * 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 UpdateTestSet operation. /// public partial class UpdateTestSetResponse : AmazonWebServiceResponse { private DateTime? _creationDateTime; private string _description; private DateTime? _lastUpdatedDateTime; private TestSetModality _modality; private int? _numTurns; private string _roleArn; private TestSetStatus _status; private TestSetStorageLocation _storageLocation; private string _testSetId; private string _testSetName; /// /// Gets and sets the property CreationDateTime. /// /// The creation date and time for the updated test set. /// /// 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 Description. /// /// The test set description for the updated test set. /// /// [AWSProperty(Min=0, Max=200)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property LastUpdatedDateTime. /// /// The date and time of the last update for the updated test set. /// /// 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 Modality. /// /// Indicates whether audio or text is used for the updated test set. /// /// public TestSetModality Modality { get { return this._modality; } set { this._modality = value; } } // Check to see if Modality property is set internal bool IsSetModality() { return this._modality != null; } /// /// Gets and sets the property NumTurns. /// /// The number of conversation turns from the updated test set. /// /// public int NumTurns { get { return this._numTurns.GetValueOrDefault(); } set { this._numTurns = value; } } // Check to see if NumTurns property is set internal bool IsSetNumTurns() { return this._numTurns.HasValue; } /// /// Gets and sets the property RoleArn. /// /// The roleARN used for any operation in the test set to access resources in the Amazon /// Web Services account. /// /// [AWSProperty(Min=32, Max=2048)] public string RoleArn { get { return this._roleArn; } set { this._roleArn = value; } } // Check to see if RoleArn property is set internal bool IsSetRoleArn() { return this._roleArn != null; } /// /// Gets and sets the property Status. /// /// The status for the updated test set. /// /// public TestSetStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// /// Gets and sets the property StorageLocation. /// /// The Amazon S3 storage location for the updated test set. /// /// public TestSetStorageLocation StorageLocation { get { return this._storageLocation; } set { this._storageLocation = value; } } // Check to see if StorageLocation property is set internal bool IsSetStorageLocation() { return this._storageLocation != null; } /// /// Gets and sets the property TestSetId. /// /// The test set Id for which update test operation to be performed. /// /// [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; } /// /// Gets and sets the property TestSetName. /// /// The test set name for the updated test set. /// /// [AWSProperty(Min=1, Max=100)] public string TestSetName { get { return this._testSetName; } set { this._testSetName = value; } } // Check to see if TestSetName property is set internal bool IsSetTestSetName() { return this._testSetName != null; } } }