/* * 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 the results for the intent metrics you requested and the bin /// and/or group(s) they refer to, if applicable. /// public partial class AnalyticsIntentResult { private List _binKeys = new List(); private List _groupByKeys = new List(); private List _metricsResults = new List(); /// /// Gets and sets the property BinKeys. /// /// A list of objects containing the criteria you requested for binning results and the /// values of the bins. /// /// [AWSProperty(Min=1, Max=1)] public List BinKeys { get { return this._binKeys; } set { this._binKeys = value; } } // Check to see if BinKeys property is set internal bool IsSetBinKeys() { return this._binKeys != null && this._binKeys.Count > 0; } /// /// Gets and sets the property GroupByKeys. /// /// A list of objects containing the criteria you requested for grouping results and the /// values of the groups. /// /// public List GroupByKeys { get { return this._groupByKeys; } set { this._groupByKeys = value; } } // Check to see if GroupByKeys property is set internal bool IsSetGroupByKeys() { return this._groupByKeys != null && this._groupByKeys.Count > 0; } /// /// Gets and sets the property MetricsResults. /// /// A list of objects, each of which contains a metric you want to list, the statistic /// for the metric you want to return, and the method by which to organize the results. /// /// public List MetricsResults { get { return this._metricsResults; } set { this._metricsResults = value; } } // Check to see if MetricsResults property is set internal bool IsSetMetricsResults() { return this._metricsResults != null && this._metricsResults.Count > 0; } } }