AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#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 AnalyticsIntentMetric() = default;
39 AWS_LEXMODELSV2_API AnalyticsIntentMetric(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
54 inline AnalyticsIntentMetricName GetName() const { return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 inline void SetName(AnalyticsIntentMetricName value) { m_nameHasBeenSet = true; m_name = value; }
57 inline AnalyticsIntentMetric& WithName(AnalyticsIntentMetricName value) { SetName(value); return *this;}
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 AnalyticsIntentMetric& 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
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