AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AnalyticsUtteranceMetric.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/AnalyticsUtteranceMetricName.h>
9#include <aws/lexv2-models/model/AnalyticsMetricStatistic.h>
10#include <aws/lexv2-models/model/AnalyticsSortOrder.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LexModelsV2
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_LEXMODELSV2_API AnalyticsUtteranceMetric() = default;
41 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
54 inline AnalyticsUtteranceMetricName GetName() const { return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 inline void SetName(AnalyticsUtteranceMetricName value) { m_nameHasBeenSet = true; m_name = value; }
59
61
69 inline AnalyticsMetricStatistic GetStatistic() const { return m_statistic; }
70 inline bool StatisticHasBeenSet() const { return m_statisticHasBeenSet; }
71 inline void SetStatistic(AnalyticsMetricStatistic value) { m_statisticHasBeenSet = true; m_statistic = value; }
74
76
79 inline AnalyticsSortOrder GetOrder() const { return m_order; }
80 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
81 inline void SetOrder(AnalyticsSortOrder value) { m_orderHasBeenSet = true; m_order = value; }
82 inline AnalyticsUtteranceMetric& WithOrder(AnalyticsSortOrder value) { SetOrder(value); return *this;}
84 private:
85
87 bool m_nameHasBeenSet = false;
88
90 bool m_statisticHasBeenSet = false;
91
93 bool m_orderHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace LexModelsV2
98} // namespace Aws
AWS_LEXMODELSV2_API AnalyticsUtteranceMetric()=default
AnalyticsUtteranceMetric & WithName(AnalyticsUtteranceMetricName value)
AnalyticsUtteranceMetric & WithOrder(AnalyticsSortOrder value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API AnalyticsUtteranceMetric(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API AnalyticsUtteranceMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetName(AnalyticsUtteranceMetricName value)
AnalyticsUtteranceMetric & WithStatistic(AnalyticsMetricStatistic value)
Aws::Utils::Json::JsonValue JsonValue