AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
NluImprovementSpecification.h
1
6#pragma once
7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/AssistedNluMode.h>
9#include <aws/lexv2-models/model/IntentDisambiguationSettings.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
31 public:
32 AWS_LEXMODELSV2_API NluImprovementSpecification() = default;
35 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline bool GetEnabled() const { return m_enabled; }
44 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
45 inline void SetEnabled(bool value) {
46 m_enabledHasBeenSet = true;
47 m_enabled = value;
48 }
50 SetEnabled(value);
51 return *this;
52 }
54
56
61 inline AssistedNluMode GetAssistedNluMode() const { return m_assistedNluMode; }
62 inline bool AssistedNluModeHasBeenSet() const { return m_assistedNluModeHasBeenSet; }
64 m_assistedNluModeHasBeenSet = true;
65 m_assistedNluMode = value;
66 }
68 SetAssistedNluMode(value);
69 return *this;
70 }
72
74
79 inline const IntentDisambiguationSettings& GetIntentDisambiguationSettings() const { return m_intentDisambiguationSettings; }
80 inline bool IntentDisambiguationSettingsHasBeenSet() const { return m_intentDisambiguationSettingsHasBeenSet; }
81 template <typename IntentDisambiguationSettingsT = IntentDisambiguationSettings>
82 void SetIntentDisambiguationSettings(IntentDisambiguationSettingsT&& value) {
83 m_intentDisambiguationSettingsHasBeenSet = true;
84 m_intentDisambiguationSettings = std::forward<IntentDisambiguationSettingsT>(value);
85 }
86 template <typename IntentDisambiguationSettingsT = IntentDisambiguationSettings>
87 NluImprovementSpecification& WithIntentDisambiguationSettings(IntentDisambiguationSettingsT&& value) {
88 SetIntentDisambiguationSettings(std::forward<IntentDisambiguationSettingsT>(value));
89 return *this;
90 }
92 private:
93 bool m_enabled{false};
94
96
97 IntentDisambiguationSettings m_intentDisambiguationSettings;
98 bool m_enabledHasBeenSet = false;
99 bool m_assistedNluModeHasBeenSet = false;
100 bool m_intentDisambiguationSettingsHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace LexModelsV2
105} // namespace Aws
AWS_LEXMODELSV2_API NluImprovementSpecification()=default
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
NluImprovementSpecification & WithIntentDisambiguationSettings(IntentDisambiguationSettingsT &&value)
const IntentDisambiguationSettings & GetIntentDisambiguationSettings() const
AWS_LEXMODELSV2_API NluImprovementSpecification(Aws::Utils::Json::JsonView jsonValue)
void SetIntentDisambiguationSettings(IntentDisambiguationSettingsT &&value)
AWS_LEXMODELSV2_API NluImprovementSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
NluImprovementSpecification & WithAssistedNluMode(AssistedNluMode value)
Aws::Utils::Json::JsonValue JsonValue