AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalyticsSessionResult.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/AnalyticsSessionGroupByKey.h>
11#include <aws/lexv2-models/model/AnalyticsSessionMetricResult.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
37 {
38 public:
39 AWS_LEXMODELSV2_API AnalyticsSessionResult();
40 AWS_LEXMODELSV2_API AnalyticsSessionResult(Aws::Utils::Json::JsonView jsonValue);
42 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
50 inline const Aws::Vector<AnalyticsBinKey>& GetBinKeys() const{ return m_binKeys; }
51 inline bool BinKeysHasBeenSet() const { return m_binKeysHasBeenSet; }
52 inline void SetBinKeys(const Aws::Vector<AnalyticsBinKey>& value) { m_binKeysHasBeenSet = true; m_binKeys = value; }
53 inline void SetBinKeys(Aws::Vector<AnalyticsBinKey>&& value) { m_binKeysHasBeenSet = true; m_binKeys = std::move(value); }
54 inline AnalyticsSessionResult& WithBinKeys(const Aws::Vector<AnalyticsBinKey>& value) { SetBinKeys(value); return *this;}
55 inline AnalyticsSessionResult& WithBinKeys(Aws::Vector<AnalyticsBinKey>&& value) { SetBinKeys(std::move(value)); return *this;}
56 inline AnalyticsSessionResult& AddBinKeys(const AnalyticsBinKey& value) { m_binKeysHasBeenSet = true; m_binKeys.push_back(value); return *this; }
57 inline AnalyticsSessionResult& AddBinKeys(AnalyticsBinKey&& value) { m_binKeysHasBeenSet = true; m_binKeys.push_back(std::move(value)); return *this; }
59
61
65 inline const Aws::Vector<AnalyticsSessionGroupByKey>& GetGroupByKeys() const{ return m_groupByKeys; }
66 inline bool GroupByKeysHasBeenSet() const { return m_groupByKeysHasBeenSet; }
67 inline void SetGroupByKeys(const Aws::Vector<AnalyticsSessionGroupByKey>& value) { m_groupByKeysHasBeenSet = true; m_groupByKeys = value; }
68 inline void SetGroupByKeys(Aws::Vector<AnalyticsSessionGroupByKey>&& value) { m_groupByKeysHasBeenSet = true; m_groupByKeys = std::move(value); }
71 inline AnalyticsSessionResult& AddGroupByKeys(const AnalyticsSessionGroupByKey& value) { m_groupByKeysHasBeenSet = true; m_groupByKeys.push_back(value); return *this; }
72 inline AnalyticsSessionResult& AddGroupByKeys(AnalyticsSessionGroupByKey&& value) { m_groupByKeysHasBeenSet = true; m_groupByKeys.push_back(std::move(value)); return *this; }
74
76
81 inline const Aws::Vector<AnalyticsSessionMetricResult>& GetMetricsResults() const{ return m_metricsResults; }
82 inline bool MetricsResultsHasBeenSet() const { return m_metricsResultsHasBeenSet; }
83 inline void SetMetricsResults(const Aws::Vector<AnalyticsSessionMetricResult>& value) { m_metricsResultsHasBeenSet = true; m_metricsResults = value; }
84 inline void SetMetricsResults(Aws::Vector<AnalyticsSessionMetricResult>&& value) { m_metricsResultsHasBeenSet = true; m_metricsResults = std::move(value); }
87 inline AnalyticsSessionResult& AddMetricsResults(const AnalyticsSessionMetricResult& value) { m_metricsResultsHasBeenSet = true; m_metricsResults.push_back(value); return *this; }
88 inline AnalyticsSessionResult& AddMetricsResults(AnalyticsSessionMetricResult&& value) { m_metricsResultsHasBeenSet = true; m_metricsResults.push_back(std::move(value)); return *this; }
90 private:
91
93 bool m_binKeysHasBeenSet = false;
94
96 bool m_groupByKeysHasBeenSet = false;
97
99 bool m_metricsResultsHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace LexModelsV2
104} // namespace Aws
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AnalyticsSessionResult & AddGroupByKeys(AnalyticsSessionGroupByKey &&value)
AnalyticsSessionResult & AddBinKeys(AnalyticsBinKey &&value)
AnalyticsSessionResult & AddGroupByKeys(const AnalyticsSessionGroupByKey &value)
AnalyticsSessionResult & WithGroupByKeys(Aws::Vector< AnalyticsSessionGroupByKey > &&value)
const Aws::Vector< AnalyticsSessionMetricResult > & GetMetricsResults() const
void SetBinKeys(const Aws::Vector< AnalyticsBinKey > &value)
void SetBinKeys(Aws::Vector< AnalyticsBinKey > &&value)
void SetGroupByKeys(Aws::Vector< AnalyticsSessionGroupByKey > &&value)
AWS_LEXMODELSV2_API AnalyticsSessionResult & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API AnalyticsSessionResult(Aws::Utils::Json::JsonView jsonValue)
AnalyticsSessionResult & WithMetricsResults(const Aws::Vector< AnalyticsSessionMetricResult > &value)
void SetGroupByKeys(const Aws::Vector< AnalyticsSessionGroupByKey > &value)
AnalyticsSessionResult & WithBinKeys(const Aws::Vector< AnalyticsBinKey > &value)
AnalyticsSessionResult & WithBinKeys(Aws::Vector< AnalyticsBinKey > &&value)
const Aws::Vector< AnalyticsBinKey > & GetBinKeys() const
AnalyticsSessionResult & AddMetricsResults(const AnalyticsSessionMetricResult &value)
AnalyticsSessionResult & AddMetricsResults(AnalyticsSessionMetricResult &&value)
AnalyticsSessionResult & WithMetricsResults(Aws::Vector< AnalyticsSessionMetricResult > &&value)
AnalyticsSessionResult & AddBinKeys(const AnalyticsBinKey &value)
void SetMetricsResults(const Aws::Vector< AnalyticsSessionMetricResult > &value)
const Aws::Vector< AnalyticsSessionGroupByKey > & GetGroupByKeys() const
AnalyticsSessionResult & WithGroupByKeys(const Aws::Vector< AnalyticsSessionGroupByKey > &value)
void SetMetricsResults(Aws::Vector< AnalyticsSessionMetricResult > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue