AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EngineTranscribeSettings.h
1
6#pragma once
7#include <aws/chime/Chime_EXPORTS.h>
8#include <aws/chime/model/TranscribeLanguageCode.h>
9#include <aws/chime/model/TranscribeVocabularyFilterMethod.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/chime/model/TranscribeRegion.h>
12#include <aws/chime/model/TranscribePartialResultsStability.h>
13#include <aws/chime/model/TranscribeContentIdentificationType.h>
14#include <aws/chime/model/TranscribeContentRedactionType.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Chime
28{
29namespace Model
30{
31
45 {
46 public:
47 AWS_CHIME_API EngineTranscribeSettings();
50 AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const;
51
52
54
59 inline const TranscribeLanguageCode& GetLanguageCode() const{ return m_languageCode; }
60 inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; }
61 inline void SetLanguageCode(const TranscribeLanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; }
62 inline void SetLanguageCode(TranscribeLanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); }
64 inline EngineTranscribeSettings& WithLanguageCode(TranscribeLanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;}
66
68
74 inline const TranscribeVocabularyFilterMethod& GetVocabularyFilterMethod() const{ return m_vocabularyFilterMethod; }
75 inline bool VocabularyFilterMethodHasBeenSet() const { return m_vocabularyFilterMethodHasBeenSet; }
76 inline void SetVocabularyFilterMethod(const TranscribeVocabularyFilterMethod& value) { m_vocabularyFilterMethodHasBeenSet = true; m_vocabularyFilterMethod = value; }
77 inline void SetVocabularyFilterMethod(TranscribeVocabularyFilterMethod&& value) { m_vocabularyFilterMethodHasBeenSet = true; m_vocabularyFilterMethod = std::move(value); }
81
83
92 inline const Aws::String& GetVocabularyFilterName() const{ return m_vocabularyFilterName; }
93 inline bool VocabularyFilterNameHasBeenSet() const { return m_vocabularyFilterNameHasBeenSet; }
94 inline void SetVocabularyFilterName(const Aws::String& value) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName = value; }
95 inline void SetVocabularyFilterName(Aws::String&& value) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName = std::move(value); }
96 inline void SetVocabularyFilterName(const char* value) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName.assign(value); }
98 inline EngineTranscribeSettings& WithVocabularyFilterName(Aws::String&& value) { SetVocabularyFilterName(std::move(value)); return *this;}
99 inline EngineTranscribeSettings& WithVocabularyFilterName(const char* value) { SetVocabularyFilterName(value); return *this;}
101
103
112 inline const Aws::String& GetVocabularyName() const{ return m_vocabularyName; }
113 inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; }
114 inline void SetVocabularyName(const Aws::String& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = value; }
115 inline void SetVocabularyName(Aws::String&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::move(value); }
116 inline void SetVocabularyName(const char* value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName.assign(value); }
117 inline EngineTranscribeSettings& WithVocabularyName(const Aws::String& value) { SetVocabularyName(value); return *this;}
118 inline EngineTranscribeSettings& WithVocabularyName(Aws::String&& value) { SetVocabularyName(std::move(value)); return *this;}
119 inline EngineTranscribeSettings& WithVocabularyName(const char* value) { SetVocabularyName(value); return *this;}
121
123
134 inline const TranscribeRegion& GetRegion() const{ return m_region; }
135 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
136 inline void SetRegion(const TranscribeRegion& value) { m_regionHasBeenSet = true; m_region = value; }
137 inline void SetRegion(TranscribeRegion&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
138 inline EngineTranscribeSettings& WithRegion(const TranscribeRegion& value) { SetRegion(value); return *this;}
139 inline EngineTranscribeSettings& WithRegion(TranscribeRegion&& value) { SetRegion(std::move(value)); return *this;}
141
143
147 inline bool GetEnablePartialResultsStabilization() const{ return m_enablePartialResultsStabilization; }
148 inline bool EnablePartialResultsStabilizationHasBeenSet() const { return m_enablePartialResultsStabilizationHasBeenSet; }
149 inline void SetEnablePartialResultsStabilization(bool value) { m_enablePartialResultsStabilizationHasBeenSet = true; m_enablePartialResultsStabilization = value; }
152
154
160 inline const TranscribePartialResultsStability& GetPartialResultsStability() const{ return m_partialResultsStability; }
161 inline bool PartialResultsStabilityHasBeenSet() const { return m_partialResultsStabilityHasBeenSet; }
162 inline void SetPartialResultsStability(const TranscribePartialResultsStability& value) { m_partialResultsStabilityHasBeenSet = true; m_partialResultsStability = value; }
163 inline void SetPartialResultsStability(TranscribePartialResultsStability&& value) { m_partialResultsStabilityHasBeenSet = true; m_partialResultsStability = std::move(value); }
167
169
175 inline const TranscribeContentIdentificationType& GetContentIdentificationType() const{ return m_contentIdentificationType; }
176 inline bool ContentIdentificationTypeHasBeenSet() const { return m_contentIdentificationTypeHasBeenSet; }
177 inline void SetContentIdentificationType(const TranscribeContentIdentificationType& value) { m_contentIdentificationTypeHasBeenSet = true; m_contentIdentificationType = value; }
178 inline void SetContentIdentificationType(TranscribeContentIdentificationType&& value) { m_contentIdentificationTypeHasBeenSet = true; m_contentIdentificationType = std::move(value); }
182
184
190 inline const TranscribeContentRedactionType& GetContentRedactionType() const{ return m_contentRedactionType; }
191 inline bool ContentRedactionTypeHasBeenSet() const { return m_contentRedactionTypeHasBeenSet; }
192 inline void SetContentRedactionType(const TranscribeContentRedactionType& value) { m_contentRedactionTypeHasBeenSet = true; m_contentRedactionType = value; }
193 inline void SetContentRedactionType(TranscribeContentRedactionType&& value) { m_contentRedactionTypeHasBeenSet = true; m_contentRedactionType = std::move(value); }
197
199
214 inline const Aws::String& GetPiiEntityTypes() const{ return m_piiEntityTypes; }
215 inline bool PiiEntityTypesHasBeenSet() const { return m_piiEntityTypesHasBeenSet; }
216 inline void SetPiiEntityTypes(const Aws::String& value) { m_piiEntityTypesHasBeenSet = true; m_piiEntityTypes = value; }
217 inline void SetPiiEntityTypes(Aws::String&& value) { m_piiEntityTypesHasBeenSet = true; m_piiEntityTypes = std::move(value); }
218 inline void SetPiiEntityTypes(const char* value) { m_piiEntityTypesHasBeenSet = true; m_piiEntityTypes.assign(value); }
219 inline EngineTranscribeSettings& WithPiiEntityTypes(const Aws::String& value) { SetPiiEntityTypes(value); return *this;}
220 inline EngineTranscribeSettings& WithPiiEntityTypes(Aws::String&& value) { SetPiiEntityTypes(std::move(value)); return *this;}
221 inline EngineTranscribeSettings& WithPiiEntityTypes(const char* value) { SetPiiEntityTypes(value); return *this;}
223
225
234 inline const Aws::String& GetLanguageModelName() const{ return m_languageModelName; }
235 inline bool LanguageModelNameHasBeenSet() const { return m_languageModelNameHasBeenSet; }
236 inline void SetLanguageModelName(const Aws::String& value) { m_languageModelNameHasBeenSet = true; m_languageModelName = value; }
237 inline void SetLanguageModelName(Aws::String&& value) { m_languageModelNameHasBeenSet = true; m_languageModelName = std::move(value); }
238 inline void SetLanguageModelName(const char* value) { m_languageModelNameHasBeenSet = true; m_languageModelName.assign(value); }
240 inline EngineTranscribeSettings& WithLanguageModelName(Aws::String&& value) { SetLanguageModelName(std::move(value)); return *this;}
241 inline EngineTranscribeSettings& WithLanguageModelName(const char* value) { SetLanguageModelName(value); return *this;}
243
245
256 inline bool GetIdentifyLanguage() const{ return m_identifyLanguage; }
257 inline bool IdentifyLanguageHasBeenSet() const { return m_identifyLanguageHasBeenSet; }
258 inline void SetIdentifyLanguage(bool value) { m_identifyLanguageHasBeenSet = true; m_identifyLanguage = value; }
259 inline EngineTranscribeSettings& WithIdentifyLanguage(bool value) { SetIdentifyLanguage(value); return *this;}
261
263
273 inline const Aws::String& GetLanguageOptions() const{ return m_languageOptions; }
274 inline bool LanguageOptionsHasBeenSet() const { return m_languageOptionsHasBeenSet; }
275 inline void SetLanguageOptions(const Aws::String& value) { m_languageOptionsHasBeenSet = true; m_languageOptions = value; }
276 inline void SetLanguageOptions(Aws::String&& value) { m_languageOptionsHasBeenSet = true; m_languageOptions = std::move(value); }
277 inline void SetLanguageOptions(const char* value) { m_languageOptionsHasBeenSet = true; m_languageOptions.assign(value); }
278 inline EngineTranscribeSettings& WithLanguageOptions(const Aws::String& value) { SetLanguageOptions(value); return *this;}
279 inline EngineTranscribeSettings& WithLanguageOptions(Aws::String&& value) { SetLanguageOptions(std::move(value)); return *this;}
280 inline EngineTranscribeSettings& WithLanguageOptions(const char* value) { SetLanguageOptions(value); return *this;}
282
284
289 inline const TranscribeLanguageCode& GetPreferredLanguage() const{ return m_preferredLanguage; }
290 inline bool PreferredLanguageHasBeenSet() const { return m_preferredLanguageHasBeenSet; }
291 inline void SetPreferredLanguage(const TranscribeLanguageCode& value) { m_preferredLanguageHasBeenSet = true; m_preferredLanguage = value; }
292 inline void SetPreferredLanguage(TranscribeLanguageCode&& value) { m_preferredLanguageHasBeenSet = true; m_preferredLanguage = std::move(value); }
296
298
307 inline const Aws::String& GetVocabularyNames() const{ return m_vocabularyNames; }
308 inline bool VocabularyNamesHasBeenSet() const { return m_vocabularyNamesHasBeenSet; }
309 inline void SetVocabularyNames(const Aws::String& value) { m_vocabularyNamesHasBeenSet = true; m_vocabularyNames = value; }
310 inline void SetVocabularyNames(Aws::String&& value) { m_vocabularyNamesHasBeenSet = true; m_vocabularyNames = std::move(value); }
311 inline void SetVocabularyNames(const char* value) { m_vocabularyNamesHasBeenSet = true; m_vocabularyNames.assign(value); }
312 inline EngineTranscribeSettings& WithVocabularyNames(const Aws::String& value) { SetVocabularyNames(value); return *this;}
313 inline EngineTranscribeSettings& WithVocabularyNames(Aws::String&& value) { SetVocabularyNames(std::move(value)); return *this;}
314 inline EngineTranscribeSettings& WithVocabularyNames(const char* value) { SetVocabularyNames(value); return *this;}
316
318
327 inline const Aws::String& GetVocabularyFilterNames() const{ return m_vocabularyFilterNames; }
328 inline bool VocabularyFilterNamesHasBeenSet() const { return m_vocabularyFilterNamesHasBeenSet; }
329 inline void SetVocabularyFilterNames(const Aws::String& value) { m_vocabularyFilterNamesHasBeenSet = true; m_vocabularyFilterNames = value; }
330 inline void SetVocabularyFilterNames(Aws::String&& value) { m_vocabularyFilterNamesHasBeenSet = true; m_vocabularyFilterNames = std::move(value); }
331 inline void SetVocabularyFilterNames(const char* value) { m_vocabularyFilterNamesHasBeenSet = true; m_vocabularyFilterNames.assign(value); }
334 inline EngineTranscribeSettings& WithVocabularyFilterNames(const char* value) { SetVocabularyFilterNames(value); return *this;}
336 private:
337
338 TranscribeLanguageCode m_languageCode;
339 bool m_languageCodeHasBeenSet = false;
340
341 TranscribeVocabularyFilterMethod m_vocabularyFilterMethod;
342 bool m_vocabularyFilterMethodHasBeenSet = false;
343
344 Aws::String m_vocabularyFilterName;
345 bool m_vocabularyFilterNameHasBeenSet = false;
346
347 Aws::String m_vocabularyName;
348 bool m_vocabularyNameHasBeenSet = false;
349
350 TranscribeRegion m_region;
351 bool m_regionHasBeenSet = false;
352
353 bool m_enablePartialResultsStabilization;
354 bool m_enablePartialResultsStabilizationHasBeenSet = false;
355
356 TranscribePartialResultsStability m_partialResultsStability;
357 bool m_partialResultsStabilityHasBeenSet = false;
358
359 TranscribeContentIdentificationType m_contentIdentificationType;
360 bool m_contentIdentificationTypeHasBeenSet = false;
361
362 TranscribeContentRedactionType m_contentRedactionType;
363 bool m_contentRedactionTypeHasBeenSet = false;
364
365 Aws::String m_piiEntityTypes;
366 bool m_piiEntityTypesHasBeenSet = false;
367
368 Aws::String m_languageModelName;
369 bool m_languageModelNameHasBeenSet = false;
370
371 bool m_identifyLanguage;
372 bool m_identifyLanguageHasBeenSet = false;
373
374 Aws::String m_languageOptions;
375 bool m_languageOptionsHasBeenSet = false;
376
377 TranscribeLanguageCode m_preferredLanguage;
378 bool m_preferredLanguageHasBeenSet = false;
379
380 Aws::String m_vocabularyNames;
381 bool m_vocabularyNamesHasBeenSet = false;
382
383 Aws::String m_vocabularyFilterNames;
384 bool m_vocabularyFilterNamesHasBeenSet = false;
385 };
386
387} // namespace Model
388} // namespace Chime
389} // namespace Aws
EngineTranscribeSettings & WithRegion(const TranscribeRegion &value)
EngineTranscribeSettings & WithLanguageCode(const TranscribeLanguageCode &value)
const TranscribePartialResultsStability & GetPartialResultsStability() const
void SetContentRedactionType(const TranscribeContentRedactionType &value)
const TranscribeLanguageCode & GetLanguageCode() const
EngineTranscribeSettings & WithVocabularyFilterNames(const char *value)
const TranscribeContentRedactionType & GetContentRedactionType() const
EngineTranscribeSettings & WithPiiEntityTypes(Aws::String &&value)
EngineTranscribeSettings & WithVocabularyFilterName(const char *value)
void SetLanguageCode(const TranscribeLanguageCode &value)
EngineTranscribeSettings & WithVocabularyFilterName(Aws::String &&value)
void SetContentIdentificationType(const TranscribeContentIdentificationType &value)
EngineTranscribeSettings & WithIdentifyLanguage(bool value)
void SetPartialResultsStability(TranscribePartialResultsStability &&value)
void SetVocabularyFilterNames(const Aws::String &value)
EngineTranscribeSettings & WithContentRedactionType(TranscribeContentRedactionType &&value)
EngineTranscribeSettings & WithContentIdentificationType(const TranscribeContentIdentificationType &value)
EngineTranscribeSettings & WithRegion(TranscribeRegion &&value)
EngineTranscribeSettings & WithPreferredLanguage(TranscribeLanguageCode &&value)
const TranscribeVocabularyFilterMethod & GetVocabularyFilterMethod() const
EngineTranscribeSettings & WithLanguageOptions(const char *value)
const TranscribeContentIdentificationType & GetContentIdentificationType() const
void SetPreferredLanguage(TranscribeLanguageCode &&value)
EngineTranscribeSettings & WithPartialResultsStability(TranscribePartialResultsStability &&value)
EngineTranscribeSettings & WithVocabularyFilterNames(const Aws::String &value)
void SetContentRedactionType(TranscribeContentRedactionType &&value)
AWS_CHIME_API Aws::Utils::Json::JsonValue Jsonize() const
EngineTranscribeSettings & WithVocabularyName(Aws::String &&value)
EngineTranscribeSettings & WithLanguageModelName(const Aws::String &value)
EngineTranscribeSettings & WithLanguageOptions(Aws::String &&value)
EngineTranscribeSettings & WithVocabularyNames(const Aws::String &value)
EngineTranscribeSettings & WithVocabularyFilterMethod(TranscribeVocabularyFilterMethod &&value)
EngineTranscribeSettings & WithPartialResultsStability(const TranscribePartialResultsStability &value)
void SetVocabularyFilterMethod(TranscribeVocabularyFilterMethod &&value)
EngineTranscribeSettings & WithVocabularyName(const char *value)
EngineTranscribeSettings & WithLanguageModelName(const char *value)
EngineTranscribeSettings & WithVocabularyFilterNames(Aws::String &&value)
const TranscribeLanguageCode & GetPreferredLanguage() const
void SetVocabularyFilterMethod(const TranscribeVocabularyFilterMethod &value)
EngineTranscribeSettings & WithContentRedactionType(const TranscribeContentRedactionType &value)
EngineTranscribeSettings & WithPiiEntityTypes(const Aws::String &value)
void SetPartialResultsStability(const TranscribePartialResultsStability &value)
EngineTranscribeSettings & WithPiiEntityTypes(const char *value)
EngineTranscribeSettings & WithLanguageOptions(const Aws::String &value)
EngineTranscribeSettings & WithEnablePartialResultsStabilization(bool value)
EngineTranscribeSettings & WithVocabularyFilterMethod(const TranscribeVocabularyFilterMethod &value)
EngineTranscribeSettings & WithPreferredLanguage(const TranscribeLanguageCode &value)
AWS_CHIME_API EngineTranscribeSettings(Aws::Utils::Json::JsonView jsonValue)
EngineTranscribeSettings & WithVocabularyName(const Aws::String &value)
EngineTranscribeSettings & WithContentIdentificationType(TranscribeContentIdentificationType &&value)
EngineTranscribeSettings & WithVocabularyNames(const char *value)
EngineTranscribeSettings & WithLanguageCode(TranscribeLanguageCode &&value)
void SetRegion(const TranscribeRegion &value)
void SetVocabularyFilterName(const Aws::String &value)
EngineTranscribeSettings & WithVocabularyFilterName(const Aws::String &value)
void SetContentIdentificationType(TranscribeContentIdentificationType &&value)
AWS_CHIME_API EngineTranscribeSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPreferredLanguage(const TranscribeLanguageCode &value)
EngineTranscribeSettings & WithLanguageModelName(Aws::String &&value)
EngineTranscribeSettings & WithVocabularyNames(Aws::String &&value)
void SetLanguageCode(TranscribeLanguageCode &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue