AWS SDK for C++

AWS SDK for C++ Version 1.11.906

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/SpeakerDiarizationSettings.h>
11#include <aws/lexv2-models/model/SpeechDetectionSensitivity.h>
12#include <aws/lexv2-models/model/SpeechRecognitionSettings.h>
13#include <aws/lexv2-models/model/UnifiedSpeechSettings.h>
14#include <aws/lexv2-models/model/VoiceSettings.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace LexModelsV2 {
26namespace Model {
27
35 public:
36 AWS_LEXMODELSV2_API BotLocaleImportSpecification() = default;
39 AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetBotId() const { return m_botId; }
46 inline bool BotIdHasBeenSet() const { return m_botIdHasBeenSet; }
47 template <typename BotIdT = Aws::String>
48 void SetBotId(BotIdT&& value) {
49 m_botIdHasBeenSet = true;
50 m_botId = std::forward<BotIdT>(value);
51 }
52 template <typename BotIdT = Aws::String>
54 SetBotId(std::forward<BotIdT>(value));
55 return *this;
56 }
58
60
64 inline const Aws::String& GetBotVersion() const { return m_botVersion; }
65 inline bool BotVersionHasBeenSet() const { return m_botVersionHasBeenSet; }
66 template <typename BotVersionT = Aws::String>
67 void SetBotVersion(BotVersionT&& value) {
68 m_botVersionHasBeenSet = true;
69 m_botVersion = std::forward<BotVersionT>(value);
70 }
71 template <typename BotVersionT = Aws::String>
73 SetBotVersion(std::forward<BotVersionT>(value));
74 return *this;
75 }
77
79
87 inline const Aws::String& GetLocaleId() const { return m_localeId; }
88 inline bool LocaleIdHasBeenSet() const { return m_localeIdHasBeenSet; }
89 template <typename LocaleIdT = Aws::String>
90 void SetLocaleId(LocaleIdT&& value) {
91 m_localeIdHasBeenSet = true;
92 m_localeId = std::forward<LocaleIdT>(value);
93 }
94 template <typename LocaleIdT = Aws::String>
96 SetLocaleId(std::forward<LocaleIdT>(value));
97 return *this;
98 }
100
102
116 inline double GetNluIntentConfidenceThreshold() const { return m_nluIntentConfidenceThreshold; }
117 inline bool NluIntentConfidenceThresholdHasBeenSet() const { return m_nluIntentConfidenceThresholdHasBeenSet; }
118 inline void SetNluIntentConfidenceThreshold(double value) {
119 m_nluIntentConfidenceThresholdHasBeenSet = true;
120 m_nluIntentConfidenceThreshold = value;
121 }
124 return *this;
125 }
127
129
130 inline const VoiceSettings& GetVoiceSettings() const { return m_voiceSettings; }
131 inline bool VoiceSettingsHasBeenSet() const { return m_voiceSettingsHasBeenSet; }
132 template <typename VoiceSettingsT = VoiceSettings>
133 void SetVoiceSettings(VoiceSettingsT&& value) {
134 m_voiceSettingsHasBeenSet = true;
135 m_voiceSettings = std::forward<VoiceSettingsT>(value);
136 }
137 template <typename VoiceSettingsT = VoiceSettings>
139 SetVoiceSettings(std::forward<VoiceSettingsT>(value));
140 return *this;
141 }
143
145
149 inline const SpeechRecognitionSettings& GetSpeechRecognitionSettings() const { return m_speechRecognitionSettings; }
150 inline bool SpeechRecognitionSettingsHasBeenSet() const { return m_speechRecognitionSettingsHasBeenSet; }
151 template <typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
152 void SetSpeechRecognitionSettings(SpeechRecognitionSettingsT&& value) {
153 m_speechRecognitionSettingsHasBeenSet = true;
154 m_speechRecognitionSettings = std::forward<SpeechRecognitionSettingsT>(value);
155 }
156 template <typename SpeechRecognitionSettingsT = SpeechRecognitionSettings>
157 BotLocaleImportSpecification& WithSpeechRecognitionSettings(SpeechRecognitionSettingsT&& value) {
158 SetSpeechRecognitionSettings(std::forward<SpeechRecognitionSettingsT>(value));
159 return *this;
160 }
162
164
169 inline SpeechDetectionSensitivity GetSpeechDetectionSensitivity() const { return m_speechDetectionSensitivity; }
170 inline bool SpeechDetectionSensitivityHasBeenSet() const { return m_speechDetectionSensitivityHasBeenSet; }
172 m_speechDetectionSensitivityHasBeenSet = true;
173 m_speechDetectionSensitivity = value;
174 }
177 return *this;
178 }
180
182
186 inline const UnifiedSpeechSettings& GetUnifiedSpeechSettings() const { return m_unifiedSpeechSettings; }
187 inline bool UnifiedSpeechSettingsHasBeenSet() const { return m_unifiedSpeechSettingsHasBeenSet; }
188 template <typename UnifiedSpeechSettingsT = UnifiedSpeechSettings>
189 void SetUnifiedSpeechSettings(UnifiedSpeechSettingsT&& value) {
190 m_unifiedSpeechSettingsHasBeenSet = true;
191 m_unifiedSpeechSettings = std::forward<UnifiedSpeechSettingsT>(value);
192 }
193 template <typename UnifiedSpeechSettingsT = UnifiedSpeechSettings>
195 SetUnifiedSpeechSettings(std::forward<UnifiedSpeechSettingsT>(value));
196 return *this;
197 }
199
201
206 inline const AudioFillerSettings& GetAudioFillerSettings() const { return m_audioFillerSettings; }
207 inline bool AudioFillerSettingsHasBeenSet() const { return m_audioFillerSettingsHasBeenSet; }
208 template <typename AudioFillerSettingsT = AudioFillerSettings>
209 void SetAudioFillerSettings(AudioFillerSettingsT&& value) {
210 m_audioFillerSettingsHasBeenSet = true;
211 m_audioFillerSettings = std::forward<AudioFillerSettingsT>(value);
212 }
213 template <typename AudioFillerSettingsT = AudioFillerSettings>
215 SetAudioFillerSettings(std::forward<AudioFillerSettingsT>(value));
216 return *this;
217 }
219
221
225 inline const SpeakerDiarizationSettings& GetSpeakerDiarizationSettings() const { return m_speakerDiarizationSettings; }
226 inline bool SpeakerDiarizationSettingsHasBeenSet() const { return m_speakerDiarizationSettingsHasBeenSet; }
227 template <typename SpeakerDiarizationSettingsT = SpeakerDiarizationSettings>
228 void SetSpeakerDiarizationSettings(SpeakerDiarizationSettingsT&& value) {
229 m_speakerDiarizationSettingsHasBeenSet = true;
230 m_speakerDiarizationSettings = std::forward<SpeakerDiarizationSettingsT>(value);
231 }
232 template <typename SpeakerDiarizationSettingsT = SpeakerDiarizationSettings>
233 BotLocaleImportSpecification& WithSpeakerDiarizationSettings(SpeakerDiarizationSettingsT&& value) {
234 SetSpeakerDiarizationSettings(std::forward<SpeakerDiarizationSettingsT>(value));
235 return *this;
236 }
238 private:
239 Aws::String m_botId;
240
241 Aws::String m_botVersion;
242
243 Aws::String m_localeId;
244
245 double m_nluIntentConfidenceThreshold{0.0};
246
247 VoiceSettings m_voiceSettings;
248
249 SpeechRecognitionSettings m_speechRecognitionSettings;
250
252
253 UnifiedSpeechSettings m_unifiedSpeechSettings;
254
255 AudioFillerSettings m_audioFillerSettings;
256
257 SpeakerDiarizationSettings m_speakerDiarizationSettings;
258 bool m_botIdHasBeenSet = false;
259 bool m_botVersionHasBeenSet = false;
260 bool m_localeIdHasBeenSet = false;
261 bool m_nluIntentConfidenceThresholdHasBeenSet = false;
262 bool m_voiceSettingsHasBeenSet = false;
263 bool m_speechRecognitionSettingsHasBeenSet = false;
264 bool m_speechDetectionSensitivityHasBeenSet = false;
265 bool m_unifiedSpeechSettingsHasBeenSet = false;
266 bool m_audioFillerSettingsHasBeenSet = false;
267 bool m_speakerDiarizationSettingsHasBeenSet = false;
268};
269
270} // namespace Model
271} // namespace LexModelsV2
272} // namespace Aws
BotLocaleImportSpecification & WithSpeechRecognitionSettings(SpeechRecognitionSettingsT &&value)
BotLocaleImportSpecification & WithSpeakerDiarizationSettings(SpeakerDiarizationSettingsT &&value)
BotLocaleImportSpecification & WithSpeechDetectionSensitivity(SpeechDetectionSensitivity value)
BotLocaleImportSpecification & WithUnifiedSpeechSettings(UnifiedSpeechSettingsT &&value)
BotLocaleImportSpecification & WithBotId(BotIdT &&value)
void SetSpeakerDiarizationSettings(SpeakerDiarizationSettingsT &&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)
const SpeakerDiarizationSettings & GetSpeakerDiarizationSettings() const
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