AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AnalyticsUtteranceMetricResult.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace LexModelsV2
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LEXMODELSV2_API AnalyticsUtteranceMetricResult() = default;
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
51 inline AnalyticsUtteranceMetricName GetName() const { return m_name; }
52 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 inline void SetName(AnalyticsUtteranceMetricName value) { m_nameHasBeenSet = true; m_name = value; }
56
58
66 inline AnalyticsMetricStatistic GetStatistic() const { return m_statistic; }
67 inline bool StatisticHasBeenSet() const { return m_statisticHasBeenSet; }
68 inline void SetStatistic(AnalyticsMetricStatistic value) { m_statisticHasBeenSet = true; m_statistic = value; }
71
73
76 inline double GetValue() const { return m_value; }
77 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
78 inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; }
79 inline AnalyticsUtteranceMetricResult& WithValue(double value) { SetValue(value); return *this;}
81 private:
82
84 bool m_nameHasBeenSet = false;
85
87 bool m_statisticHasBeenSet = false;
88
89 double m_value{0.0};
90 bool m_valueHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace LexModelsV2
95} // namespace Aws
AnalyticsUtteranceMetricResult & WithStatistic(AnalyticsMetricStatistic value)
AnalyticsUtteranceMetricResult & WithName(AnalyticsUtteranceMetricName value)
AWS_LEXMODELSV2_API AnalyticsUtteranceMetricResult()=default
AWS_LEXMODELSV2_API AnalyticsUtteranceMetricResult(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API AnalyticsUtteranceMetricResult & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue