AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
51 inline const AnalyticsUtteranceMetricName& GetName() const{ return m_name; }
52 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 inline void SetName(const AnalyticsUtteranceMetricName& value) { m_nameHasBeenSet = true; m_name = value; }
54 inline void SetName(AnalyticsUtteranceMetricName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
55 inline AnalyticsUtteranceMetricResult& WithName(const AnalyticsUtteranceMetricName& value) { SetName(value); return *this;}
56 inline AnalyticsUtteranceMetricResult& WithName(AnalyticsUtteranceMetricName&& value) { SetName(std::move(value)); return *this;}
58
60
68 inline const AnalyticsMetricStatistic& GetStatistic() const{ return m_statistic; }
69 inline bool StatisticHasBeenSet() const { return m_statisticHasBeenSet; }
70 inline void SetStatistic(const AnalyticsMetricStatistic& value) { m_statisticHasBeenSet = true; m_statistic = value; }
71 inline void SetStatistic(AnalyticsMetricStatistic&& value) { m_statisticHasBeenSet = true; m_statistic = std::move(value); }
73 inline AnalyticsUtteranceMetricResult& WithStatistic(AnalyticsMetricStatistic&& value) { SetStatistic(std::move(value)); return *this;}
75
77
80 inline double GetValue() const{ return m_value; }
81 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
82 inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; }
83 inline AnalyticsUtteranceMetricResult& WithValue(double value) { SetValue(value); return *this;}
85 private:
86
88 bool m_nameHasBeenSet = false;
89
90 AnalyticsMetricStatistic m_statistic;
91 bool m_statisticHasBeenSet = false;
92
93 double m_value;
94 bool m_valueHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace LexModelsV2
99} // namespace Aws
AnalyticsUtteranceMetricResult & WithName(AnalyticsUtteranceMetricName &&value)
AnalyticsUtteranceMetricResult & WithStatistic(const AnalyticsMetricStatistic &value)
void SetName(const AnalyticsUtteranceMetricName &value)
AnalyticsUtteranceMetricResult & WithName(const AnalyticsUtteranceMetricName &value)
AWS_LEXMODELSV2_API AnalyticsUtteranceMetricResult(Aws::Utils::Json::JsonView jsonValue)
AnalyticsUtteranceMetricResult & WithStatistic(AnalyticsMetricStatistic &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API AnalyticsUtteranceMetricResult & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue