AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename IntentsT = IntentStatistics>
50 void SetIntents(IntentsT&& value) { m_intentsHasBeenSet = true; m_intents = std::forward<IntentsT>(value); }
51 template<typename IntentsT = IntentStatistics>
52 BotRecommendationResultStatistics& WithIntents(IntentsT&& value) { SetIntents(std::forward<IntentsT>(value)); return *this;}
54
56
60 inline const SlotTypeStatistics& GetSlotTypes() const { return m_slotTypes; }
61 inline bool SlotTypesHasBeenSet() const { return m_slotTypesHasBeenSet; }
62 template<typename SlotTypesT = SlotTypeStatistics>
63 void SetSlotTypes(SlotTypesT&& value) { m_slotTypesHasBeenSet = true; m_slotTypes = std::forward<SlotTypesT>(value); }
64 template<typename SlotTypesT = SlotTypeStatistics>
65 BotRecommendationResultStatistics& WithSlotTypes(SlotTypesT&& value) { SetSlotTypes(std::forward<SlotTypesT>(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(IntentsT &&value)
BotRecommendationResultStatistics & WithSlotTypes(SlotTypesT &&value)
AWS_LEXMODELSV2_API BotRecommendationResultStatistics(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API BotRecommendationResultStatistics()=default
AWS_LEXMODELSV2_API BotRecommendationResultStatistics & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue