AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
AnalyticsIntentMetric.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/AnalyticsIntentMetricName.h>
9#include <aws/lexv2-models/model/AnalyticsMetricStatistic.h>
10#include <aws/lexv2-models/model/AnalyticsSortOrder.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace LexModelsV2 {
22namespace Model {
23
32 public:
33 AWS_LEXMODELSV2_API AnalyticsIntentMetric() = default;
34 AWS_LEXMODELSV2_API AnalyticsIntentMetric(Aws::Utils::Json::JsonView jsonValue);
36 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
48 inline AnalyticsIntentMetricName GetName() const { return m_name; }
49 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 m_nameHasBeenSet = true;
52 m_name = value;
53 }
55 SetName(value);
56 return *this;
57 }
59
61
69 inline AnalyticsMetricStatistic GetStatistic() const { return m_statistic; }
70 inline bool StatisticHasBeenSet() const { return m_statisticHasBeenSet; }
72 m_statisticHasBeenSet = true;
73 m_statistic = value;
74 }
76 SetStatistic(value);
77 return *this;
78 }
80
82
85 inline AnalyticsSortOrder GetOrder() const { return m_order; }
86 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
87 inline void SetOrder(AnalyticsSortOrder value) {
88 m_orderHasBeenSet = true;
89 m_order = value;
90 }
92 SetOrder(value);
93 return *this;
94 }
96 private:
98
100
102 bool m_nameHasBeenSet = false;
103 bool m_statisticHasBeenSet = false;
104 bool m_orderHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace LexModelsV2
109} // namespace Aws
void SetName(AnalyticsIntentMetricName value)
AnalyticsIntentMetric & WithOrder(AnalyticsSortOrder value)
AWS_LEXMODELSV2_API AnalyticsIntentMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AnalyticsIntentMetric & WithStatistic(AnalyticsMetricStatistic value)
AWS_LEXMODELSV2_API AnalyticsIntentMetric(Aws::Utils::Json::JsonView jsonValue)
AnalyticsIntentMetric & WithName(AnalyticsIntentMetricName value)
void SetStatistic(AnalyticsMetricStatistic value)
AWS_LEXMODELSV2_API AnalyticsIntentMetric()=default
Aws::Utils::Json::JsonValue JsonValue