/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 intent metrics you requested and the * bin and/or group(s) they refer to, if applicable.

See Also:

AWS * API Reference

*/ class AnalyticsIntentResult { public: AWS_LEXMODELSV2_API AnalyticsIntentResult(); AWS_LEXMODELSV2_API AnalyticsIntentResult(Aws::Utils::Json::JsonView jsonValue); AWS_LEXMODELSV2_API AnalyticsIntentResult& 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 AnalyticsIntentResult& 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 AnalyticsIntentResult& 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 AnalyticsIntentResult& 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 AnalyticsIntentResult& 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 groups.

*/ 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 groups.

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

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

*/ 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 groups.

*/ 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 groups.

*/ inline AnalyticsIntentResult& 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 groups.

*/ inline AnalyticsIntentResult& 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 groups.

*/ inline AnalyticsIntentResult& AddGroupByKeys(const AnalyticsIntentGroupByKey& 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 groups.

*/ inline AnalyticsIntentResult& AddGroupByKeys(AnalyticsIntentGroupByKey&& 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 AnalyticsIntentResult& 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 AnalyticsIntentResult& 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 AnalyticsIntentResult& AddMetricsResults(const AnalyticsIntentMetricResult& 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 AnalyticsIntentResult& AddMetricsResults(AnalyticsIntentMetricResult&& value) { m_metricsResultsHasBeenSet = true; m_metricsResults.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; }; } // namespace Model } // namespace LexModelsV2 } // namespace Aws