/*
* 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 StartTestExecution operation.
///
public partial class StartTestExecutionResponse : AmazonWebServiceResponse
{
private TestExecutionApiMode _apiMode;
private DateTime? _creationDateTime;
private TestExecutionTarget _target;
private string _testExecutionId;
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 Amazon Lex Runtime API is used. Whereas for non-streaming,
/// RecognizeUtterance and RecognizeText Amazon Lex Runtime API are used.
///
///
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 CreationDateTime.
///
/// The creation date and time for the test set execution.
///
///
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 Target.
///
/// The target bot for the test set execution.
///
///
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 TestExecutionId.
///
/// The unique identifier of the test set execution.
///
///
[AWSProperty(Min=10, Max=10)]
public string TestExecutionId
{
get { return this._testExecutionId; }
set { this._testExecutionId = value; }
}
// Check to see if TestExecutionId property is set
internal bool IsSetTestExecutionId()
{
return this._testExecutionId != 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(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;
}
}
}