/* * 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 { /// /// Container for the parameters to the StartTestSetGeneration operation. /// The action to start the generation of test set. /// public partial class StartTestSetGenerationRequest : AmazonLexModelsV2Request { private string _description; private TestSetGenerationDataSource _generationDataSource; private string _roleArn; private TestSetStorageLocation _storageLocation; private string _testSetName; private Dictionary _testSetTags = new Dictionary(); /// /// Gets and sets the property Description. /// /// The test set description for the test set generation request. /// /// [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 GenerationDataSource. /// /// The data source for the test set generation. /// /// [AWSProperty(Required=true)] 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 RoleArn. /// /// The roleARN used for any operation in the test set to access resources in the Amazon /// Web Services account. /// /// [AWSProperty(Required=true, 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. /// /// [AWSProperty(Required=true)] 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 TestSetName. /// /// The test set name for the test set generation request. /// /// [AWSProperty(Required=true, 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; } /// /// Gets and sets the property TestSetTags. /// /// A list of tags to add to the test set. You can only add tags when you import/generate /// a new test set. You can't use the UpdateTestSet operation to update tags. /// To update tags, use the TagResource operation. /// /// [AWSProperty(Min=0, Max=200)] public Dictionary TestSetTags { get { return this._testSetTags; } set { this._testSetTags = value; } } // Check to see if TestSetTags property is set internal bool IsSetTestSetTags() { return this._testSetTags != null && this._testSetTags.Count > 0; } } }