AWS SDK for C++

AWS SDK for C++ Version 1.11.757

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace LexModelsV2 {
21namespace Model {
22
30 public:
31 AWS_LEXMODELSV2_API BotRecommendationResultStatistics() = default;
34 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const IntentStatistics& GetIntents() const { return m_intents; }
42 inline bool IntentsHasBeenSet() const { return m_intentsHasBeenSet; }
43 template <typename IntentsT = IntentStatistics>
44 void SetIntents(IntentsT&& value) {
45 m_intentsHasBeenSet = true;
46 m_intents = std::forward<IntentsT>(value);
47 }
48 template <typename IntentsT = IntentStatistics>
50 SetIntents(std::forward<IntentsT>(value));
51 return *this;
52 }
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) {
64 m_slotTypesHasBeenSet = true;
65 m_slotTypes = std::forward<SlotTypesT>(value);
66 }
67 template <typename SlotTypesT = SlotTypeStatistics>
69 SetSlotTypes(std::forward<SlotTypesT>(value));
70 return *this;
71 }
73 private:
74 IntentStatistics m_intents;
75
76 SlotTypeStatistics m_slotTypes;
77 bool m_intentsHasBeenSet = false;
78 bool m_slotTypesHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace LexModelsV2
83} // 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