/*
* 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
{
///
/// An object containing information about the requested path.
///
public partial class AnalyticsIntentNodeSummary
{
private int? _intentCount;
private int? _intentLevel;
private string _intentName;
private string _intentPath;
private AnalyticsNodeType _nodeType;
///
/// Gets and sets the property IntentCount.
///
/// The total number of sessions that follow the given path to the given intent.
///
///
public int IntentCount
{
get { return this._intentCount.GetValueOrDefault(); }
set { this._intentCount = value; }
}
// Check to see if IntentCount property is set
internal bool IsSetIntentCount()
{
return this._intentCount.HasValue;
}
///
/// Gets and sets the property IntentLevel.
///
/// The number of intents up to and including the requested path.
///
///
[AWSProperty(Min=0, Max=100)]
public int IntentLevel
{
get { return this._intentLevel.GetValueOrDefault(); }
set { this._intentLevel = value; }
}
// Check to see if IntentLevel property is set
internal bool IsSetIntentLevel()
{
return this._intentLevel.HasValue;
}
///
/// Gets and sets the property IntentName.
///
/// The name of the intent at the end of the requested path.
///
///
[AWSProperty(Min=1, Max=100)]
public string IntentName
{
get { return this._intentName; }
set { this._intentName = value; }
}
// Check to see if IntentName property is set
internal bool IsSetIntentName()
{
return this._intentName != null;
}
///
/// Gets and sets the property IntentPath.
///
/// The path.
///
///
[AWSProperty(Min=1, Max=1024)]
public string IntentPath
{
get { return this._intentPath; }
set { this._intentPath = value; }
}
// Check to see if IntentPath property is set
internal bool IsSetIntentPath()
{
return this._intentPath != null;
}
///
/// Gets and sets the property NodeType.
///
/// Specifies whether the node is the end of a path (Exit
) or not (Inner
).
///
///
public AnalyticsNodeType NodeType
{
get { return this._nodeType; }
set { this._nodeType = value; }
}
// Check to see if NodeType property is set
internal bool IsSetNodeType()
{
return this._nodeType != null;
}
}
}