AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
AnalyticsUtteranceMetricResult.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/AnalyticsMetricStatistic.h>
9#include <aws/lexv2-models/model/AnalyticsUtteranceMetricName.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace LexModelsV2 {
21namespace Model {
22
30 public:
31 AWS_LEXMODELSV2_API AnalyticsUtteranceMetricResult() = default;
34 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
45 inline AnalyticsUtteranceMetricName GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 m_nameHasBeenSet = true;
49 m_name = value;
50 }
52 SetName(value);
53 return *this;
54 }
56
58
66 inline AnalyticsMetricStatistic GetStatistic() const { return m_statistic; }
67 inline bool StatisticHasBeenSet() const { return m_statisticHasBeenSet; }
69 m_statisticHasBeenSet = true;
70 m_statistic = value;
71 }
73 SetStatistic(value);
74 return *this;
75 }
77
79
82 inline double GetValue() const { return m_value; }
83 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
84 inline void SetValue(double value) {
85 m_valueHasBeenSet = true;
86 m_value = value;
87 }
89 SetValue(value);
90 return *this;
91 }
93 private:
95
97
98 double m_value{0.0};
99 bool m_nameHasBeenSet = false;
100 bool m_statisticHasBeenSet = false;
101 bool m_valueHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace LexModelsV2
106} // 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