AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BotRecommendationResultStatistics.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/IntentStatistics.h>
9#include <aws/lexv2-models/model/SlotTypeStatistics.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 BotRecommendationResultStatistics();
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const IntentStatistics& GetIntents() const{ return m_intents; }
48 inline bool IntentsHasBeenSet() const { return m_intentsHasBeenSet; }
49 inline void SetIntents(const IntentStatistics& value) { m_intentsHasBeenSet = true; m_intents = value; }
50 inline void SetIntents(IntentStatistics&& value) { m_intentsHasBeenSet = true; m_intents = std::move(value); }
51 inline BotRecommendationResultStatistics& WithIntents(const IntentStatistics& value) { SetIntents(value); return *this;}
52 inline BotRecommendationResultStatistics& WithIntents(IntentStatistics&& value) { SetIntents(std::move(value)); return *this;}
54
56
60 inline const SlotTypeStatistics& GetSlotTypes() const{ return m_slotTypes; }
61 inline bool SlotTypesHasBeenSet() const { return m_slotTypesHasBeenSet; }
62 inline void SetSlotTypes(const SlotTypeStatistics& value) { m_slotTypesHasBeenSet = true; m_slotTypes = value; }
63 inline void SetSlotTypes(SlotTypeStatistics&& value) { m_slotTypesHasBeenSet = true; m_slotTypes = std::move(value); }
65 inline BotRecommendationResultStatistics& WithSlotTypes(SlotTypeStatistics&& value) { SetSlotTypes(std::move(value)); return *this;}
67 private:
68
69 IntentStatistics m_intents;
70 bool m_intentsHasBeenSet = false;
71
72 SlotTypeStatistics m_slotTypes;
73 bool m_slotTypesHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace LexModelsV2
78} // namespace Aws
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
BotRecommendationResultStatistics & WithIntents(const IntentStatistics &value)
BotRecommendationResultStatistics & WithSlotTypes(SlotTypeStatistics &&value)
AWS_LEXMODELSV2_API BotRecommendationResultStatistics(Aws::Utils::Json::JsonView jsonValue)
BotRecommendationResultStatistics & WithSlotTypes(const SlotTypeStatistics &value)
BotRecommendationResultStatistics & WithIntents(IntentStatistics &&value)
AWS_LEXMODELSV2_API BotRecommendationResultStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue