AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const AnalyticsIntentMetricName& GetName() const{ return m_name; }
55 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 inline void SetName(const AnalyticsIntentMetricName& value) { m_nameHasBeenSet = true; m_name = value; }
57 inline void SetName(AnalyticsIntentMetricName&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
58 inline AnalyticsIntentMetric& WithName(const AnalyticsIntentMetricName& value) { SetName(value); return *this;}
59 inline AnalyticsIntentMetric& WithName(AnalyticsIntentMetricName&& value) { SetName(std::move(value)); return *this;}
61
63
71 inline const AnalyticsMetricStatistic& GetStatistic() const{ return m_statistic; }
72 inline bool StatisticHasBeenSet() const { return m_statisticHasBeenSet; }
73 inline void SetStatistic(const AnalyticsMetricStatistic& value) { m_statisticHasBeenSet = true; m_statistic = value; }
74 inline void SetStatistic(AnalyticsMetricStatistic&& value) { m_statisticHasBeenSet = true; m_statistic = std::move(value); }
75 inline AnalyticsIntentMetric& WithStatistic(const AnalyticsMetricStatistic& value) { SetStatistic(value); return *this;}
76 inline AnalyticsIntentMetric& WithStatistic(AnalyticsMetricStatistic&& value) { SetStatistic(std::move(value)); return *this;}
78
80
83 inline const AnalyticsSortOrder& GetOrder() const{ return m_order; }
84 inline bool OrderHasBeenSet() const { return m_orderHasBeenSet; }
85 inline void SetOrder(const AnalyticsSortOrder& value) { m_orderHasBeenSet = true; m_order = value; }
86 inline void SetOrder(AnalyticsSortOrder&& value) { m_orderHasBeenSet = true; m_order = std::move(value); }
87 inline AnalyticsIntentMetric& WithOrder(const AnalyticsSortOrder& value) { SetOrder(value); return *this;}
88 inline AnalyticsIntentMetric& WithOrder(AnalyticsSortOrder&& value) { SetOrder(std::move(value)); return *this;}
90 private:
91
93 bool m_nameHasBeenSet = false;
94
95 AnalyticsMetricStatistic m_statistic;
96 bool m_statisticHasBeenSet = false;
97
98 AnalyticsSortOrder m_order;
99 bool m_orderHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace LexModelsV2
104} // namespace Aws
AnalyticsIntentMetric & WithStatistic(AnalyticsMetricStatistic &&value)
void SetName(const AnalyticsIntentMetricName &value)
void SetOrder(const AnalyticsSortOrder &value)
AWS_LEXMODELSV2_API AnalyticsIntentMetric & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(AnalyticsIntentMetricName &&value)
AnalyticsIntentMetric & WithStatistic(const AnalyticsMetricStatistic &value)
AnalyticsIntentMetric & WithName(AnalyticsIntentMetricName &&value)
AWS_LEXMODELSV2_API AnalyticsIntentMetric(Aws::Utils::Json::JsonView jsonValue)
AnalyticsIntentMetric & WithName(const AnalyticsIntentMetricName &value)
const AnalyticsMetricStatistic & GetStatistic() const
AnalyticsIntentMetric & WithOrder(AnalyticsSortOrder &&value)
const AnalyticsIntentMetricName & GetName() const
void SetStatistic(AnalyticsMetricStatistic &&value)
void SetStatistic(const AnalyticsMetricStatistic &value)
AnalyticsIntentMetric & WithOrder(const AnalyticsSortOrder &value)
Aws::Utils::Json::JsonValue JsonValue