/* * 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 DescribeTestSetGeneration operation. /// public partial class DescribeTestSetGenerationResponse : AmazonWebServiceResponse { private DateTime? _creationDateTime; private string _description; private List _failureReasons = new List(); private TestSetGenerationDataSource _generationDataSource; private DateTime? _lastUpdatedDateTime; private string _roleArn; private TestSetStorageLocation _storageLocation; private string _testSetGenerationId; private TestSetGenerationStatus _testSetGenerationStatus; private string _testSetId; private string _testSetName; /// /// Gets and sets the property CreationDateTime. /// /// The creation date and time for the test set generation. /// /// 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 test set generation. /// /// [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 FailureReasons. /// /// The reasons the test set generation failed. /// /// 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 GenerationDataSource. /// /// The data source of the test set used for the test set generation. /// /// public TestSetGenerationDataSource GenerationDataSource { get { return this._generationDataSource; } set { this._generationDataSource = value; } } // Check to see if GenerationDataSource property is set internal bool IsSetGenerationDataSource() { return this._generationDataSource != null; } /// /// Gets and sets the property LastUpdatedDateTime. /// /// The date and time of the last update for the test set generation. /// /// 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 RoleArn. /// /// The roleARN of the test set used for the test set generation. /// /// [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 StorageLocation. /// /// The Amazon S3 storage location for the test set generation. /// /// 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 TestSetGenerationId. /// /// The unique identifier of the test set generation. /// /// [AWSProperty(Min=10, Max=10)] public string TestSetGenerationId { get { return this._testSetGenerationId; } set { this._testSetGenerationId = value; } } // Check to see if TestSetGenerationId property is set internal bool IsSetTestSetGenerationId() { return this._testSetGenerationId != null; } /// /// Gets and sets the property TestSetGenerationStatus. /// /// The status for the test set generation. /// /// public TestSetGenerationStatus TestSetGenerationStatus { get { return this._testSetGenerationStatus; } set { this._testSetGenerationStatus = value; } } // Check to see if TestSetGenerationStatus property is set internal bool IsSetTestSetGenerationStatus() { return this._testSetGenerationStatus != null; } /// /// Gets and sets the property TestSetId. /// /// The unique identifier for the test set created for the generated test set. /// /// [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 generated 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; } } }