AWS SDK for C++

AWS SDK for C++ Version 1.11.812

Loading...
Searching...
No Matches
BotLocaleImportSpecification.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
9#include <aws/lexv2-models/model/AudioFillerSettings.h>
10#include <aws/lexv2-models/model/SpeechDetectionSensitivity.h>
11#include <aws/lexv2-models/model/SpeechRecognitionSettings.h>
12#include <aws/lexv2-models/model/UnifiedSpeechSettings.h>
13#include <aws/lexv2-models/model/VoiceSettings.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace LexModelsV2 {
25namespace Model {
26
34 public:
35 AWS_LEXMODELSV2_API BotLocaleImportSpecification() = default;
38 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
44 inline const Aws::String& GetBotId() const { return m_botId; }
45 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
46 template <typename BotIdT = Aws::String>
47 void SetBotId(BotIdT&& value) {
48 m_botIdHasBeenSet = true;
49 m_botId = std::forward<BotIdT>(value);
50 }
51 template <typename BotIdT = Aws::String>
53 SetBotId(std::forward<BotIdT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
64 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
65 template <typename BotVersionT = Aws::String>
66 void SetBotVersion(BotVersionT&& value) {
67 m_botVersionHasBeenSet = true;
68 m_botVersion = std::forward<BotVersionT>(value);
69 }
70 template <typename BotVersionT = Aws::String>
72 SetBotVersion(std::forward<BotVersionT>(value));
73 return *this;
74 }
76
78
86 inline const Aws::String& GetLocaleId() const { return m_localeId; }
87 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
88 template <typename LocaleIdT = Aws::String>
89 void SetLocaleId(LocaleIdT&& value) {
90 m_localeIdHasBeenSet = true;
91 m_localeId = std::forward<LocaleIdT>(value);
92 }
93 template <typename LocaleIdT = Aws::String>
95 SetLocaleId(std::forward<LocaleIdT>(value));
96 return *this;
97 }
99
101
115 inline double GetNluIntentConfidenceThreshold() const { return m_nluIntentConfidenceThreshold; }
116 inline bool NluIntentConfidenceThresholdHasBeenSet() const { return m_nluIntentConfidenceThresholdHasBeenSet; }
117 inline void SetNluIntentConfidenceThreshold(double value) {
118 m_nluIntentConfidenceThresholdHasBeenSet = true;
119 m_nluIntentConfidenceThreshold = value;
120 }
123 return *this;
124 }
126
128
129 inline const VoiceSettings& GetVoiceSettings() const { return m_voiceSettings; }
130 inline bool VoiceSettingsHasBeenSet() const { return m_voiceSettingsHasBeenSet; }
131 template <typename VoiceSettingsT = VoiceSettings>
132 void SetVoiceSettings(VoiceSettingsT&& value) {
133 m_voiceSettingsHasBeenSet = true;
134 m_voiceSettings = std::forward<VoiceSettingsT>(value);
135 }
136 template <typename VoiceSettingsT = VoiceSettings>
138 SetVoiceSettings(std::forward<VoiceSettingsT>(value));
139 return *this;
140 }
142
144
148 inline const SpeechRecognitionSettings& GetSpeechRecognitionSettings() const { return m_speechRecognitionSettings; }
149 inline bool SpeechRecognitionSettingsHasBeenSet() const { return m_speechRecognitionSettingsHasBeenSet; }
150 template <typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
151 void SetSpeechRecognitionSettings(SpeechRecognitionSettingsT&& value) {
152 m_speechRecognitionSettingsHasBeenSet = true;
153 m_speechRecognitionSettings = std::forward<SpeechRecognitionSettingsT>(value);
154 }
155 template <typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
156 BotLocaleImportSpecification& WithSpeechRecognitionSettings(SpeechRecognitionSettingsT&& value) {
157 SetSpeechRecognitionSettings(std::forward<SpeechRecognitionSettingsT>(value));
158 return *this;
159 }
161
163
168 inline SpeechDetectionSensitivity GetSpeechDetectionSensitivity() const { return m_speechDetectionSensitivity; }
169 inline bool SpeechDetectionSensitivityHasBeenSet() const { return m_speechDetectionSensitivityHasBeenSet; }
171 m_speechDetectionSensitivityHasBeenSet = true;
172 m_speechDetectionSensitivity = value;
173 }
176 return *this;
177 }
179
181
185 inline const UnifiedSpeechSettings& GetUnifiedSpeechSettings() const { return m_unifiedSpeechSettings; }
186 inline bool UnifiedSpeechSettingsHasBeenSet() const { return m_unifiedSpeechSettingsHasBeenSet; }
187 template <typename UnifiedSpeechSettingsT = UnifiedSpeechSettings>
188 void SetUnifiedSpeechSettings(UnifiedSpeechSettingsT&& value) {
189 m_unifiedSpeechSettingsHasBeenSet = true;
190 m_unifiedSpeechSettings = std::forward<UnifiedSpeechSettingsT>(value);
191 }
192 template <typename UnifiedSpeechSettingsT = UnifiedSpeechSettings>
194 SetUnifiedSpeechSettings(std::forward<UnifiedSpeechSettingsT>(value));
195 return *this;
196 }
198
200
205 inline const AudioFillerSettings& GetAudioFillerSettings() const { return m_audioFillerSettings; }
206 inline bool AudioFillerSettingsHasBeenSet() const { return m_audioFillerSettingsHasBeenSet; }
207 template <typename AudioFillerSettingsT = AudioFillerSettings>
208 void SetAudioFillerSettings(AudioFillerSettingsT&& value) {
209 m_audioFillerSettingsHasBeenSet = true;
210 m_audioFillerSettings = std::forward<AudioFillerSettingsT>(value);
211 }
212 template <typename AudioFillerSettingsT = AudioFillerSettings>
214 SetAudioFillerSettings(std::forward<AudioFillerSettingsT>(value));
215 return *this;
216 }
218 private:
219 Aws::String m_botId;
220
221 Aws::String m_botVersion;
222
223 Aws::String m_localeId;
224
225 double m_nluIntentConfidenceThreshold{0.0};
226
227 VoiceSettings m_voiceSettings;
228
229 SpeechRecognitionSettings m_speechRecognitionSettings;
230
232
233 UnifiedSpeechSettings m_unifiedSpeechSettings;
234
235 AudioFillerSettings m_audioFillerSettings;
236 bool m_botIdHasBeenSet = false;
237 bool m_botVersionHasBeenSet = false;
238 bool m_localeIdHasBeenSet = false;
239 bool m_nluIntentConfidenceThresholdHasBeenSet = false;
240 bool m_voiceSettingsHasBeenSet = false;
241 bool m_speechRecognitionSettingsHasBeenSet = false;
242 bool m_speechDetectionSensitivityHasBeenSet = false;
243 bool m_unifiedSpeechSettingsHasBeenSet = false;
244 bool m_audioFillerSettingsHasBeenSet = false;
245};
246
247} // namespace Model
248} // namespace LexModelsV2
249} // namespace Aws
BotLocaleImportSpecification & WithSpeechRecognitionSettings(SpeechRecognitionSettingsT &&value)
BotLocaleImportSpecification & WithSpeechDetectionSensitivity(SpeechDetectionSensitivity value)
BotLocaleImportSpecification & WithUnifiedSpeechSettings(UnifiedSpeechSettingsT &&value)
BotLocaleImportSpecification & WithBotId(BotIdT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LEXMODELSV2_API BotLocaleImportSpecification()=default
BotLocaleImportSpecification & WithBotVersion(BotVersionT &&value)
void SetSpeechDetectionSensitivity(SpeechDetectionSensitivity value)
AWS_LEXMODELSV2_API BotLocaleImportSpecification(Aws::Utils::Json::JsonView jsonValue)
void SetSpeechRecognitionSettings(SpeechRecognitionSettingsT &&value)
BotLocaleImportSpecification & WithVoiceSettings(VoiceSettingsT &&value)
BotLocaleImportSpecification & WithNluIntentConfidenceThreshold(double value)
AWS_LEXMODELSV2_API BotLocaleImportSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
BotLocaleImportSpecification & WithAudioFillerSettings(AudioFillerSettingsT &&value)
BotLocaleImportSpecification & WithLocaleId(LocaleIdT &&value)
const SpeechRecognitionSettings & GetSpeechRecognitionSettings() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue