/* * 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 StartTestExecution operation. /// The action to start test set execution. /// public partial class StartTestExecutionRequest : AmazonLexModelsV2Request { private TestExecutionApiMode _apiMode; private TestExecutionTarget _target; private TestExecutionModality _testExecutionModality; private string _testSetId; /// /// Gets and sets the property ApiMode. /// /// Indicates whether we use streaming or non-streaming APIs for the test set execution. /// For streaming, StartConversation Runtime API is used. Whereas, for non-streaming, /// RecognizeUtterance and RecognizeText Amazon Lex Runtime API are used. /// /// [AWSProperty(Required=true)] public TestExecutionApiMode ApiMode { get { return this._apiMode; } set { this._apiMode = value; } } // Check to see if ApiMode property is set internal bool IsSetApiMode() { return this._apiMode != null; } /// /// Gets and sets the property Target. /// /// The target bot for the test set execution. /// /// [AWSProperty(Required=true)] public TestExecutionTarget Target { get { return this._target; } set { this._target = value; } } // Check to see if Target property is set internal bool IsSetTarget() { return this._target != null; } /// /// Gets and sets the property TestExecutionModality. /// /// Indicates whether audio or text is used. /// /// public TestExecutionModality TestExecutionModality { get { return this._testExecutionModality; } set { this._testExecutionModality = value; } } // Check to see if TestExecutionModality property is set internal bool IsSetTestExecutionModality() { return this._testExecutionModality != null; } /// /// Gets and sets the property TestSetId. /// /// The test set Id for the test set execution. /// /// [AWSProperty(Required=true, 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; } } }