/*
* 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
{
///
/// The current state of the conversation with the user.
///
public partial class DialogState
{
private DialogAction _dialogAction;
private IntentOverride _intent;
private Dictionary _sessionAttributes = new Dictionary();
///
/// Gets and sets the property DialogAction.
///
public DialogAction DialogAction
{
get { return this._dialogAction; }
set { this._dialogAction = value; }
}
// Check to see if DialogAction property is set
internal bool IsSetDialogAction()
{
return this._dialogAction != null;
}
///
/// Gets and sets the property Intent.
///
public IntentOverride Intent
{
get { return this._intent; }
set { this._intent = value; }
}
// Check to see if Intent property is set
internal bool IsSetIntent()
{
return this._intent != null;
}
///
/// Gets and sets the property SessionAttributes.
///
/// Map of key/value pairs representing session-specific context information. It contains
/// application information passed between Amazon Lex and a client application.
///
///
public Dictionary SessionAttributes
{
get { return this._sessionAttributes; }
set { this._sessionAttributes = value; }
}
// Check to see if SessionAttributes property is set
internal bool IsSetSessionAttributes()
{
return this._sessionAttributes != null && this._sessionAttributes.Count > 0;
}
}
}