/*
* 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
{
///
/// Summary information about an intent returned by the ListIntents
operation.
///
public partial class IntentSummary
{
private string _description;
private List _inputContexts = new List();
private string _intentId;
private string _intentName;
private DateTime? _lastUpdatedDateTime;
private List _outputContexts = new List();
private string _parentIntentSignature;
///
/// Gets and sets the property Description.
///
/// The description of the intent.
///
///
[AWSProperty(Min=0, Max=200)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property InputContexts.
///
/// The input contexts that must be active for this intent to be considered for recognition.
///
///
[AWSProperty(Min=0, Max=5)]
public List InputContexts
{
get { return this._inputContexts; }
set { this._inputContexts = value; }
}
// Check to see if InputContexts property is set
internal bool IsSetInputContexts()
{
return this._inputContexts != null && this._inputContexts.Count > 0;
}
///
/// Gets and sets the property IntentId.
///
/// The unique identifier assigned to the intent. Use this ID to get detailed information
/// about the intent with the DescribeIntent
operation.
///
///
[AWSProperty(Min=10, Max=10)]
public string IntentId
{
get { return this._intentId; }
set { this._intentId = value; }
}
// Check to see if IntentId property is set
internal bool IsSetIntentId()
{
return this._intentId != null;
}
///
/// Gets and sets the property IntentName.
///
/// The name of the intent.
///
///
[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 LastUpdatedDateTime.
///
/// The timestamp of the date and time that the intent was last updated.
///
///
public DateTime LastUpdatedDateTime
{
get { return this._lastUpdatedDateTime.GetValueOrDefault(); }
set { this._lastUpdatedDateTime = value; }
}
// Check to see if LastUpdatedDateTime property is set
internal bool IsSetLastUpdatedDateTime()
{
return this._lastUpdatedDateTime.HasValue;
}
///
/// Gets and sets the property OutputContexts.
///
/// The output contexts that are activated when this intent is fulfilled.
///
///
[AWSProperty(Min=0, Max=10)]
public List OutputContexts
{
get { return this._outputContexts; }
set { this._outputContexts = value; }
}
// Check to see if OutputContexts property is set
internal bool IsSetOutputContexts()
{
return this._outputContexts != null && this._outputContexts.Count > 0;
}
///
/// Gets and sets the property ParentIntentSignature.
///
/// If this intent is derived from a built-in intent, the name of the parent intent.
///
///
public string ParentIntentSignature
{
get { return this._parentIntentSignature; }
set { this._parentIntentSignature = value; }
}
// Check to see if ParentIntentSignature property is set
internal bool IsSetParentIntentSignature()
{
return this._parentIntentSignature != null;
}
}
}