/*
* 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
{
///
/// Contains information about the user messages in the turn in the input.
///
public partial class UserTurnInputSpecification
{
private Dictionary _requestAttributes = new Dictionary();
private InputSessionStateSpecification _sessionState;
private UtteranceInputSpecification _utteranceInput;
///
/// Gets and sets the property RequestAttributes.
///
/// Request attributes of the user turn.
///
///
public Dictionary RequestAttributes
{
get { return this._requestAttributes; }
set { this._requestAttributes = value; }
}
// Check to see if RequestAttributes property is set
internal bool IsSetRequestAttributes()
{
return this._requestAttributes != null && this._requestAttributes.Count > 0;
}
///
/// Gets and sets the property SessionState.
///
/// Contains information about the session state in the input.
///
///
public InputSessionStateSpecification SessionState
{
get { return this._sessionState; }
set { this._sessionState = value; }
}
// Check to see if SessionState property is set
internal bool IsSetSessionState()
{
return this._sessionState != null;
}
///
/// Gets and sets the property UtteranceInput.
///
/// The utterance input in the user turn.
///
///
[AWSProperty(Required=true)]
public UtteranceInputSpecification UtteranceInput
{
get { return this._utteranceInput; }
set { this._utteranceInput = value; }
}
// Check to see if UtteranceInput property is set
internal bool IsSetUtteranceInput()
{
return this._utteranceInput != null;
}
}
}