/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace LexModelsV2 { namespace Model { /** *

An object containing the results for the utterance metrics you requested and * the bin and/or group(s) they refer to, if applicable.

See Also:

* AWS * API Reference

*/ class AnalyticsUtteranceResult { public: AWS_LEXMODELSV2_API AnalyticsUtteranceResult(); AWS_LEXMODELSV2_API AnalyticsUtteranceResult(Aws::Utils::Json::JsonView jsonValue); AWS_LEXMODELSV2_API AnalyticsUtteranceResult& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A list of objects containing the criteria you requested for binning results * and the values of the bins.

*/ inline const Aws::Vector& GetBinKeys() const{ return m_binKeys; } /** *

A list of objects containing the criteria you requested for binning results * and the values of the bins.

*/ inline bool BinKeysHasBeenSet() const { return m_binKeysHasBeenSet; } /** *

A list of objects containing the criteria you requested for binning results * and the values of the bins.

*/ inline void SetBinKeys(const Aws::Vector& value) { m_binKeysHasBeenSet = true; m_binKeys = value; } /** *

A list of objects containing the criteria you requested for binning results * and the values of the bins.

*/ inline void SetBinKeys(Aws::Vector&& value) { m_binKeysHasBeenSet = true; m_binKeys = std::move(value); } /** *

A list of objects containing the criteria you requested for binning results * and the values of the bins.

*/ inline AnalyticsUtteranceResult& WithBinKeys(const Aws::Vector& value) { SetBinKeys(value); return *this;} /** *

A list of objects containing the criteria you requested for binning results * and the values of the bins.

*/ inline AnalyticsUtteranceResult& WithBinKeys(Aws::Vector&& value) { SetBinKeys(std::move(value)); return *this;} /** *

A list of objects containing the criteria you requested for binning results * and the values of the bins.

*/ inline AnalyticsUtteranceResult& AddBinKeys(const AnalyticsBinKey& value) { m_binKeysHasBeenSet = true; m_binKeys.push_back(value); return *this; } /** *

A list of objects containing the criteria you requested for binning results * and the values of the bins.

*/ inline AnalyticsUtteranceResult& AddBinKeys(AnalyticsBinKey&& value) { m_binKeysHasBeenSet = true; m_binKeys.push_back(std::move(value)); return *this; } /** *

A list of objects containing the criteria you requested for grouping results * and the values of the bins.

*/ inline const Aws::Vector& GetGroupByKeys() const{ return m_groupByKeys; } /** *

A list of objects containing the criteria you requested for grouping results * and the values of the bins.

*/ inline bool GroupByKeysHasBeenSet() const { return m_groupByKeysHasBeenSet; } /** *

A list of objects containing the criteria you requested for grouping results * and the values of the bins.

*/ inline void SetGroupByKeys(const Aws::Vector& value) { m_groupByKeysHasBeenSet = true; m_groupByKeys = value; } /** *

A list of objects containing the criteria you requested for grouping results * and the values of the bins.

*/ inline void SetGroupByKeys(Aws::Vector&& value) { m_groupByKeysHasBeenSet = true; m_groupByKeys = std::move(value); } /** *

A list of objects containing the criteria you requested for grouping results * and the values of the bins.

*/ inline AnalyticsUtteranceResult& WithGroupByKeys(const Aws::Vector& value) { SetGroupByKeys(value); return *this;} /** *

A list of objects containing the criteria you requested for grouping results * and the values of the bins.

*/ inline AnalyticsUtteranceResult& WithGroupByKeys(Aws::Vector&& value) { SetGroupByKeys(std::move(value)); return *this;} /** *

A list of objects containing the criteria you requested for grouping results * and the values of the bins.

*/ inline AnalyticsUtteranceResult& AddGroupByKeys(const AnalyticsUtteranceGroupByKey& value) { m_groupByKeysHasBeenSet = true; m_groupByKeys.push_back(value); return *this; } /** *

A list of objects containing the criteria you requested for grouping results * and the values of the bins.

*/ inline AnalyticsUtteranceResult& AddGroupByKeys(AnalyticsUtteranceGroupByKey&& value) { m_groupByKeysHasBeenSet = true; m_groupByKeys.push_back(std::move(value)); return *this; } /** *

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.

*/ inline const Aws::Vector& GetMetricsResults() const{ return m_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.

*/ inline bool MetricsResultsHasBeenSet() const { return m_metricsResultsHasBeenSet; } /** *

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.

*/ inline void SetMetricsResults(const Aws::Vector& value) { m_metricsResultsHasBeenSet = true; m_metricsResults = value; } /** *

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.

*/ inline void SetMetricsResults(Aws::Vector&& value) { m_metricsResultsHasBeenSet = true; m_metricsResults = std::move(value); } /** *

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.

*/ inline AnalyticsUtteranceResult& WithMetricsResults(const Aws::Vector& value) { SetMetricsResults(value); return *this;} /** *

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.

*/ inline AnalyticsUtteranceResult& WithMetricsResults(Aws::Vector&& value) { SetMetricsResults(std::move(value)); return *this;} /** *

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.

*/ inline AnalyticsUtteranceResult& AddMetricsResults(const AnalyticsUtteranceMetricResult& value) { m_metricsResultsHasBeenSet = true; m_metricsResults.push_back(value); return *this; } /** *

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.

*/ inline AnalyticsUtteranceResult& AddMetricsResults(AnalyticsUtteranceMetricResult&& value) { m_metricsResultsHasBeenSet = true; m_metricsResults.push_back(std::move(value)); return *this; } /** *

A list of objects containing information about the last used intent at the * time of an utterance.

*/ inline const Aws::Vector& GetAttributeResults() const{ return m_attributeResults; } /** *

A list of objects containing information about the last used intent at the * time of an utterance.

*/ inline bool AttributeResultsHasBeenSet() const { return m_attributeResultsHasBeenSet; } /** *

A list of objects containing information about the last used intent at the * time of an utterance.

*/ inline void SetAttributeResults(const Aws::Vector& value) { m_attributeResultsHasBeenSet = true; m_attributeResults = value; } /** *

A list of objects containing information about the last used intent at the * time of an utterance.

*/ inline void SetAttributeResults(Aws::Vector&& value) { m_attributeResultsHasBeenSet = true; m_attributeResults = std::move(value); } /** *

A list of objects containing information about the last used intent at the * time of an utterance.

*/ inline AnalyticsUtteranceResult& WithAttributeResults(const Aws::Vector& value) { SetAttributeResults(value); return *this;} /** *

A list of objects containing information about the last used intent at the * time of an utterance.

*/ inline AnalyticsUtteranceResult& WithAttributeResults(Aws::Vector&& value) { SetAttributeResults(std::move(value)); return *this;} /** *

A list of objects containing information about the last used intent at the * time of an utterance.

*/ inline AnalyticsUtteranceResult& AddAttributeResults(const AnalyticsUtteranceAttributeResult& value) { m_attributeResultsHasBeenSet = true; m_attributeResults.push_back(value); return *this; } /** *

A list of objects containing information about the last used intent at the * time of an utterance.

*/ inline AnalyticsUtteranceResult& AddAttributeResults(AnalyticsUtteranceAttributeResult&& value) { m_attributeResultsHasBeenSet = true; m_attributeResults.push_back(std::move(value)); return *this; } private: Aws::Vector m_binKeys; bool m_binKeysHasBeenSet = false; Aws::Vector m_groupByKeys; bool m_groupByKeysHasBeenSet = false; Aws::Vector m_metricsResults; bool m_metricsResultsHasBeenSet = false; Aws::Vector m_attributeResults; bool m_attributeResultsHasBeenSet = false; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws