AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalyticsIntentResult.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lexv2-models/model/AnalyticsBinKey.h>
10#include <aws/lexv2-models/model/AnalyticsIntentGroupByKey.h>
11#include <aws/lexv2-models/model/AnalyticsIntentMetricResult.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace LexModelsV2
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_LEXMODELSV2_API AnalyticsIntentResult();
39 AWS_LEXMODELSV2_API AnalyticsIntentResult(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
49 inline const Aws::Vector<AnalyticsBinKey>& GetBinKeys() const{ return m_binKeys; }
50 inline bool BinKeysHasBeenSet() const { return m_binKeysHasBeenSet; }
51 inline void SetBinKeys(const Aws::Vector<AnalyticsBinKey>& value) { m_binKeysHasBeenSet = true; m_binKeys = value; }
52 inline void SetBinKeys(Aws::Vector<AnalyticsBinKey>&& value) { m_binKeysHasBeenSet = true; m_binKeys = std::move(value); }
53 inline AnalyticsIntentResult& WithBinKeys(const Aws::Vector<AnalyticsBinKey>& value) { SetBinKeys(value); return *this;}
54 inline AnalyticsIntentResult& WithBinKeys(Aws::Vector<AnalyticsBinKey>&& value) { SetBinKeys(std::move(value)); return *this;}
55 inline AnalyticsIntentResult& AddBinKeys(const AnalyticsBinKey& value) { m_binKeysHasBeenSet = true; m_binKeys.push_back(value); return *this; }
56 inline AnalyticsIntentResult& AddBinKeys(AnalyticsBinKey&& value) { m_binKeysHasBeenSet = true; m_binKeys.push_back(std::move(value)); return *this; }
58
60
64 inline const Aws::Vector<AnalyticsIntentGroupByKey>& GetGroupByKeys() const{ return m_groupByKeys; }
65 inline bool GroupByKeysHasBeenSet() const { return m_groupByKeysHasBeenSet; }
66 inline void SetGroupByKeys(const Aws::Vector<AnalyticsIntentGroupByKey>& value) { m_groupByKeysHasBeenSet = true; m_groupByKeys = value; }
67 inline void SetGroupByKeys(Aws::Vector<AnalyticsIntentGroupByKey>&& value) { m_groupByKeysHasBeenSet = true; m_groupByKeys = std::move(value); }
70 inline AnalyticsIntentResult& AddGroupByKeys(const AnalyticsIntentGroupByKey& value) { m_groupByKeysHasBeenSet = true; m_groupByKeys.push_back(value); return *this; }
71 inline AnalyticsIntentResult& AddGroupByKeys(AnalyticsIntentGroupByKey&& value) { m_groupByKeysHasBeenSet = true; m_groupByKeys.push_back(std::move(value)); return *this; }
73
75
80 inline const Aws::Vector<AnalyticsIntentMetricResult>& GetMetricsResults() const{ return m_metricsResults; }
81 inline bool MetricsResultsHasBeenSet() const { return m_metricsResultsHasBeenSet; }
82 inline void SetMetricsResults(const Aws::Vector<AnalyticsIntentMetricResult>& value) { m_metricsResultsHasBeenSet = true; m_metricsResults = value; }
83 inline void SetMetricsResults(Aws::Vector<AnalyticsIntentMetricResult>&& value) { m_metricsResultsHasBeenSet = true; m_metricsResults = std::move(value); }
86 inline AnalyticsIntentResult& AddMetricsResults(const AnalyticsIntentMetricResult& value) { m_metricsResultsHasBeenSet = true; m_metricsResults.push_back(value); return *this; }
87 inline AnalyticsIntentResult& AddMetricsResults(AnalyticsIntentMetricResult&& value) { m_metricsResultsHasBeenSet = true; m_metricsResults.push_back(std::move(value)); return *this; }
89 private:
90
92 bool m_binKeysHasBeenSet = false;
93
95 bool m_groupByKeysHasBeenSet = false;
96
98 bool m_metricsResultsHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace LexModelsV2
103} // namespace Aws
AnalyticsIntentResult & WithMetricsResults(Aws::Vector< AnalyticsIntentMetricResult > &&value)
void SetBinKeys(const Aws::Vector< AnalyticsBinKey > &value)
AnalyticsIntentResult & AddMetricsResults(AnalyticsIntentMetricResult &&value)
const Aws::Vector< AnalyticsBinKey > & GetBinKeys() const
void SetMetricsResults(const Aws::Vector< AnalyticsIntentMetricResult > &value)
AnalyticsIntentResult & AddGroupByKeys(const AnalyticsIntentGroupByKey &value)
const Aws::Vector< AnalyticsIntentGroupByKey > & GetGroupByKeys() const
AnalyticsIntentResult & AddBinKeys(const AnalyticsBinKey &value)
void SetGroupByKeys(const Aws::Vector< AnalyticsIntentGroupByKey > &value)
AnalyticsIntentResult & WithBinKeys(const Aws::Vector< AnalyticsBinKey > &value)
AnalyticsIntentResult & AddBinKeys(AnalyticsBinKey &&value)
AnalyticsIntentResult & WithGroupByKeys(Aws::Vector< AnalyticsIntentGroupByKey > &&value)
AnalyticsIntentResult & AddMetricsResults(const AnalyticsIntentMetricResult &value)
AnalyticsIntentResult & AddGroupByKeys(AnalyticsIntentGroupByKey &&value)
AnalyticsIntentResult & WithMetricsResults(const Aws::Vector< AnalyticsIntentMetricResult > &value)
AnalyticsIntentResult & WithBinKeys(Aws::Vector< AnalyticsBinKey > &&value)
const Aws::Vector< AnalyticsIntentMetricResult > & GetMetricsResults() const
void SetMetricsResults(Aws::Vector< AnalyticsIntentMetricResult > &&value)
void SetGroupByKeys(Aws::Vector< AnalyticsIntentGroupByKey > &&value)
void SetBinKeys(Aws::Vector< AnalyticsBinKey > &&value)
AWS_LEXMODELSV2_API AnalyticsIntentResult(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AnalyticsIntentResult & WithGroupByKeys(const Aws::Vector< AnalyticsIntentGroupByKey > &value)
AWS_LEXMODELSV2_API AnalyticsIntentResult & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue