/* * 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 { /// /// Container for the parameters to the ListIntentPaths operation. /// Retrieves summary statistics for a path of intents that users take over sessions with /// your bot. The following fields are required: /// /// /// /// Use the optional filters field to filter the results. /// /// public partial class ListIntentPathsRequest : AmazonLexModelsV2Request { private string _botId; private DateTime? _endDateTime; private List _filters = new List(); private string _intentPath; private DateTime? _startDateTime; /// /// Gets and sets the property BotId. /// /// The identifier for the bot for which you want to retrieve intent path metrics. /// /// [AWSProperty(Required=true, Min=10, Max=10)] public string BotId { get { return this._botId; } set { this._botId = value; } } // Check to see if BotId property is set internal bool IsSetBotId() { return this._botId != null; } /// /// Gets and sets the property EndDateTime. /// /// The date and time that marks the end of the range of time for which you want to see /// intent path metrics. /// /// [AWSProperty(Required=true)] public DateTime EndDateTime { get { return this._endDateTime.GetValueOrDefault(); } set { this._endDateTime = value; } } // Check to see if EndDateTime property is set internal bool IsSetEndDateTime() { return this._endDateTime.HasValue; } /// /// Gets and sets the property Filters. /// /// A list of objects, each describes a condition by which you want to filter the results. /// /// [AWSProperty(Min=1, Max=5)] public List Filters { get { return this._filters; } set { this._filters = value; } } // Check to see if Filters property is set internal bool IsSetFilters() { return this._filters != null && this._filters.Count > 0; } /// /// Gets and sets the property IntentPath. /// /// The intent path for which you want to retrieve metrics. Use a forward slash to separate /// intents in the path. For example: /// ///
  • /// /// /BookCar /// ///
  • /// /// /BookCar/BookHotel /// ///
  • /// /// /BookHotel/BookCar /// ///
///
[AWSProperty(Required=true, 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 StartDateTime. /// /// The date and time that marks the beginning of the range of time for which you want /// to see intent path metrics. /// /// [AWSProperty(Required=true)] public DateTime StartDateTime { get { return this._startDateTime.GetValueOrDefault(); } set { this._startDateTime = value; } } // Check to see if StartDateTime property is set internal bool IsSetStartDateTime() { return this._startDateTime.HasValue; } } }