AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalyticsUtteranceResult.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/AnalyticsUtteranceGroupByKey.h>
11#include <aws/lexv2-models/model/AnalyticsUtteranceMetricResult.h>
12#include <aws/lexv2-models/model/AnalyticsUtteranceAttributeResult.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace LexModelsV2
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_LEXMODELSV2_API AnalyticsUtteranceResult();
43 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
51 inline const Aws::Vector<AnalyticsBinKey>& GetBinKeys() const{ return m_binKeys; }
52 inline bool BinKeysHasBeenSet() const { return m_binKeysHasBeenSet; }
53 inline void SetBinKeys(const Aws::Vector<AnalyticsBinKey>& value) { m_binKeysHasBeenSet = true; m_binKeys = value; }
54 inline void SetBinKeys(Aws::Vector<AnalyticsBinKey>&& value) { m_binKeysHasBeenSet = true; m_binKeys = std::move(value); }
55 inline AnalyticsUtteranceResult& WithBinKeys(const Aws::Vector<AnalyticsBinKey>& value) { SetBinKeys(value); return *this;}
56 inline AnalyticsUtteranceResult& WithBinKeys(Aws::Vector<AnalyticsBinKey>&& value) { SetBinKeys(std::move(value)); return *this;}
57 inline AnalyticsUtteranceResult& AddBinKeys(const AnalyticsBinKey& value) { m_binKeysHasBeenSet = true; m_binKeys.push_back(value); return *this; }
58 inline AnalyticsUtteranceResult& AddBinKeys(AnalyticsBinKey&& value) { m_binKeysHasBeenSet = true; m_binKeys.push_back(std::move(value)); return *this; }
60
62
66 inline const Aws::Vector<AnalyticsUtteranceGroupByKey>& GetGroupByKeys() const{ return m_groupByKeys; }
67 inline bool GroupByKeysHasBeenSet() const { return m_groupByKeysHasBeenSet; }
68 inline void SetGroupByKeys(const Aws::Vector<AnalyticsUtteranceGroupByKey>& value) { m_groupByKeysHasBeenSet = true; m_groupByKeys = value; }
69 inline void SetGroupByKeys(Aws::Vector<AnalyticsUtteranceGroupByKey>&& value) { m_groupByKeysHasBeenSet = true; m_groupByKeys = std::move(value); }
72 inline AnalyticsUtteranceResult& AddGroupByKeys(const AnalyticsUtteranceGroupByKey& value) { m_groupByKeysHasBeenSet = true; m_groupByKeys.push_back(value); return *this; }
73 inline AnalyticsUtteranceResult& AddGroupByKeys(AnalyticsUtteranceGroupByKey&& value) { m_groupByKeysHasBeenSet = true; m_groupByKeys.push_back(std::move(value)); return *this; }
75
77
82 inline const Aws::Vector<AnalyticsUtteranceMetricResult>& GetMetricsResults() const{ return m_metricsResults; }
83 inline bool MetricsResultsHasBeenSet() const { return m_metricsResultsHasBeenSet; }
84 inline void SetMetricsResults(const Aws::Vector<AnalyticsUtteranceMetricResult>& value) { m_metricsResultsHasBeenSet = true; m_metricsResults = value; }
85 inline void SetMetricsResults(Aws::Vector<AnalyticsUtteranceMetricResult>&& value) { m_metricsResultsHasBeenSet = true; m_metricsResults = std::move(value); }
88 inline AnalyticsUtteranceResult& AddMetricsResults(const AnalyticsUtteranceMetricResult& value) { m_metricsResultsHasBeenSet = true; m_metricsResults.push_back(value); return *this; }
89 inline AnalyticsUtteranceResult& AddMetricsResults(AnalyticsUtteranceMetricResult&& value) { m_metricsResultsHasBeenSet = true; m_metricsResults.push_back(std::move(value)); return *this; }
91
93
97 inline const Aws::Vector<AnalyticsUtteranceAttributeResult>& GetAttributeResults() const{ return m_attributeResults; }
98 inline bool AttributeResultsHasBeenSet() const { return m_attributeResultsHasBeenSet; }
99 inline void SetAttributeResults(const Aws::Vector<AnalyticsUtteranceAttributeResult>& value) { m_attributeResultsHasBeenSet = true; m_attributeResults = value; }
100 inline void SetAttributeResults(Aws::Vector<AnalyticsUtteranceAttributeResult>&& value) { m_attributeResultsHasBeenSet = true; m_attributeResults = std::move(value); }
103 inline AnalyticsUtteranceResult& AddAttributeResults(const AnalyticsUtteranceAttributeResult& value) { m_attributeResultsHasBeenSet = true; m_attributeResults.push_back(value); return *this; }
104 inline AnalyticsUtteranceResult& AddAttributeResults(AnalyticsUtteranceAttributeResult&& value) { m_attributeResultsHasBeenSet = true; m_attributeResults.push_back(std::move(value)); return *this; }
106 private:
107
109 bool m_binKeysHasBeenSet = false;
110
112 bool m_groupByKeysHasBeenSet = false;
113
115 bool m_metricsResultsHasBeenSet = false;
116
118 bool m_attributeResultsHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace LexModelsV2
123} // namespace Aws
AnalyticsUtteranceResult & AddBinKeys(AnalyticsBinKey &&value)
AnalyticsUtteranceResult & WithMetricsResults(const Aws::Vector< AnalyticsUtteranceMetricResult > &value)
AnalyticsUtteranceResult & AddBinKeys(const AnalyticsBinKey &value)
AnalyticsUtteranceResult & WithAttributeResults(Aws::Vector< AnalyticsUtteranceAttributeResult > &&value)
AnalyticsUtteranceResult & AddAttributeResults(const AnalyticsUtteranceAttributeResult &value)
const Aws::Vector< AnalyticsUtteranceGroupByKey > & GetGroupByKeys() const
void SetAttributeResults(Aws::Vector< AnalyticsUtteranceAttributeResult > &&value)
AnalyticsUtteranceResult & WithGroupByKeys(Aws::Vector< AnalyticsUtteranceGroupByKey > &&value)
AWS_LEXMODELSV2_API AnalyticsUtteranceResult(Aws::Utils::Json::JsonView jsonValue)
void SetMetricsResults(Aws::Vector< AnalyticsUtteranceMetricResult > &&value)
AnalyticsUtteranceResult & AddAttributeResults(AnalyticsUtteranceAttributeResult &&value)
AnalyticsUtteranceResult & AddMetricsResults(AnalyticsUtteranceMetricResult &&value)
AnalyticsUtteranceResult & AddMetricsResults(const AnalyticsUtteranceMetricResult &value)
void SetBinKeys(Aws::Vector< AnalyticsBinKey > &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AnalyticsUtteranceResult & AddGroupByKeys(AnalyticsUtteranceGroupByKey &&value)
const Aws::Vector< AnalyticsBinKey > & GetBinKeys() const
void SetAttributeResults(const Aws::Vector< AnalyticsUtteranceAttributeResult > &value)
const Aws::Vector< AnalyticsUtteranceAttributeResult > & GetAttributeResults() const
void SetGroupByKeys(const Aws::Vector< AnalyticsUtteranceGroupByKey > &value)
AnalyticsUtteranceResult & WithBinKeys(const Aws::Vector< AnalyticsBinKey > &value)
AWS_LEXMODELSV2_API AnalyticsUtteranceResult & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AnalyticsUtteranceMetricResult > & GetMetricsResults() const
AnalyticsUtteranceResult & AddGroupByKeys(const AnalyticsUtteranceGroupByKey &value)
void SetMetricsResults(const Aws::Vector< AnalyticsUtteranceMetricResult > &value)
AnalyticsUtteranceResult & WithGroupByKeys(const Aws::Vector< AnalyticsUtteranceGroupByKey > &value)
AnalyticsUtteranceResult & WithAttributeResults(const Aws::Vector< AnalyticsUtteranceAttributeResult > &value)
void SetGroupByKeys(Aws::Vector< AnalyticsUtteranceGroupByKey > &&value)
void SetBinKeys(const Aws::Vector< AnalyticsBinKey > &value)
AnalyticsUtteranceResult & WithMetricsResults(Aws::Vector< AnalyticsUtteranceMetricResult > &&value)
AnalyticsUtteranceResult & WithBinKeys(Aws::Vector< AnalyticsBinKey > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue