/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace TranscribeService { namespace Model { /** *

Provides additional optional settings for your request, including content * redaction, automatic language identification; allows you to apply custom * language models, custom vocabulary filters, and custom * vocabularies.

See Also:

AWS * API Reference

*/ class CallAnalyticsJobSettings { public: AWS_TRANSCRIBESERVICE_API CallAnalyticsJobSettings(); AWS_TRANSCRIBESERVICE_API CallAnalyticsJobSettings(Aws::Utils::Json::JsonView jsonValue); AWS_TRANSCRIBESERVICE_API CallAnalyticsJobSettings& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_TRANSCRIBESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the custom vocabulary you want to include in your Call Analytics * transcription request. Custom vocabulary names are case sensitive.

*/ inline const Aws::String& GetVocabularyName() const{ return m_vocabularyName; } /** *

The name of the custom vocabulary you want to include in your Call Analytics * transcription request. Custom vocabulary names are case sensitive.

*/ inline bool VocabularyNameHasBeenSet() const { return m_vocabularyNameHasBeenSet; } /** *

The name of the custom vocabulary you want to include in your Call Analytics * transcription request. Custom vocabulary names are case sensitive.

*/ inline void SetVocabularyName(const Aws::String& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = value; } /** *

The name of the custom vocabulary you want to include in your Call Analytics * transcription request. Custom vocabulary names are case sensitive.

*/ inline void SetVocabularyName(Aws::String&& value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName = std::move(value); } /** *

The name of the custom vocabulary you want to include in your Call Analytics * transcription request. Custom vocabulary names are case sensitive.

*/ inline void SetVocabularyName(const char* value) { m_vocabularyNameHasBeenSet = true; m_vocabularyName.assign(value); } /** *

The name of the custom vocabulary you want to include in your Call Analytics * transcription request. Custom vocabulary names are case sensitive.

*/ inline CallAnalyticsJobSettings& WithVocabularyName(const Aws::String& value) { SetVocabularyName(value); return *this;} /** *

The name of the custom vocabulary you want to include in your Call Analytics * transcription request. Custom vocabulary names are case sensitive.

*/ inline CallAnalyticsJobSettings& WithVocabularyName(Aws::String&& value) { SetVocabularyName(std::move(value)); return *this;} /** *

The name of the custom vocabulary you want to include in your Call Analytics * transcription request. Custom vocabulary names are case sensitive.

*/ inline CallAnalyticsJobSettings& WithVocabularyName(const char* value) { SetVocabularyName(value); return *this;} /** *

The name of the custom vocabulary filter you want to include in your Call * Analytics transcription request. Custom vocabulary filter names are case * sensitive.

Note that if you include VocabularyFilterName in * your request, you must also include VocabularyFilterMethod.

*/ inline const Aws::String& GetVocabularyFilterName() const{ return m_vocabularyFilterName; } /** *

The name of the custom vocabulary filter you want to include in your Call * Analytics transcription request. Custom vocabulary filter names are case * sensitive.

Note that if you include VocabularyFilterName in * your request, you must also include VocabularyFilterMethod.

*/ inline bool VocabularyFilterNameHasBeenSet() const { return m_vocabularyFilterNameHasBeenSet; } /** *

The name of the custom vocabulary filter you want to include in your Call * Analytics transcription request. Custom vocabulary filter names are case * sensitive.

Note that if you include VocabularyFilterName in * your request, you must also include VocabularyFilterMethod.

*/ inline void SetVocabularyFilterName(const Aws::String& value) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName = value; } /** *

The name of the custom vocabulary filter you want to include in your Call * Analytics transcription request. Custom vocabulary filter names are case * sensitive.

Note that if you include VocabularyFilterName in * your request, you must also include VocabularyFilterMethod.

*/ inline void SetVocabularyFilterName(Aws::String&& value) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName = std::move(value); } /** *

The name of the custom vocabulary filter you want to include in your Call * Analytics transcription request. Custom vocabulary filter names are case * sensitive.

Note that if you include VocabularyFilterName in * your request, you must also include VocabularyFilterMethod.

*/ inline void SetVocabularyFilterName(const char* value) { m_vocabularyFilterNameHasBeenSet = true; m_vocabularyFilterName.assign(value); } /** *

The name of the custom vocabulary filter you want to include in your Call * Analytics transcription request. Custom vocabulary filter names are case * sensitive.

Note that if you include VocabularyFilterName in * your request, you must also include VocabularyFilterMethod.

*/ inline CallAnalyticsJobSettings& WithVocabularyFilterName(const Aws::String& value) { SetVocabularyFilterName(value); return *this;} /** *

The name of the custom vocabulary filter you want to include in your Call * Analytics transcription request. Custom vocabulary filter names are case * sensitive.

Note that if you include VocabularyFilterName in * your request, you must also include VocabularyFilterMethod.

*/ inline CallAnalyticsJobSettings& WithVocabularyFilterName(Aws::String&& value) { SetVocabularyFilterName(std::move(value)); return *this;} /** *

The name of the custom vocabulary filter you want to include in your Call * Analytics transcription request. Custom vocabulary filter names are case * sensitive.

Note that if you include VocabularyFilterName in * your request, you must also include VocabularyFilterMethod.

*/ inline CallAnalyticsJobSettings& WithVocabularyFilterName(const char* value) { SetVocabularyFilterName(value); return *this;} /** *

Specify how you want your custom vocabulary filter applied to your * transcript.

To replace words with ***, choose * mask.

To delete words, choose remove.

To * flag words without changing them, choose tag.

*/ inline const VocabularyFilterMethod& GetVocabularyFilterMethod() const{ return m_vocabularyFilterMethod; } /** *

Specify how you want your custom vocabulary filter applied to your * transcript.

To replace words with ***, choose * mask.

To delete words, choose remove.

To * flag words without changing them, choose tag.

*/ inline bool VocabularyFilterMethodHasBeenSet() const { return m_vocabularyFilterMethodHasBeenSet; } /** *

Specify how you want your custom vocabulary filter applied to your * transcript.

To replace words with ***, choose * mask.

To delete words, choose remove.

To * flag words without changing them, choose tag.

*/ inline void SetVocabularyFilterMethod(const VocabularyFilterMethod& value) { m_vocabularyFilterMethodHasBeenSet = true; m_vocabularyFilterMethod = value; } /** *

Specify how you want your custom vocabulary filter applied to your * transcript.

To replace words with ***, choose * mask.

To delete words, choose remove.

To * flag words without changing them, choose tag.

*/ inline void SetVocabularyFilterMethod(VocabularyFilterMethod&& value) { m_vocabularyFilterMethodHasBeenSet = true; m_vocabularyFilterMethod = std::move(value); } /** *

Specify how you want your custom vocabulary filter applied to your * transcript.

To replace words with ***, choose * mask.

To delete words, choose remove.

To * flag words without changing them, choose tag.

*/ inline CallAnalyticsJobSettings& WithVocabularyFilterMethod(const VocabularyFilterMethod& value) { SetVocabularyFilterMethod(value); return *this;} /** *

Specify how you want your custom vocabulary filter applied to your * transcript.

To replace words with ***, choose * mask.

To delete words, choose remove.

To * flag words without changing them, choose tag.

*/ inline CallAnalyticsJobSettings& WithVocabularyFilterMethod(VocabularyFilterMethod&& value) { SetVocabularyFilterMethod(std::move(value)); return *this;} /** *

The name of the custom language model you want to use when processing your * Call Analytics job. Note that custom language model names are case * sensitive.

The language of the specified custom language model must match * the language code that you specify in your transcription request. If the * languages don't match, the custom language model isn't applied. There are no * errors or warnings associated with a language mismatch.

*/ inline const Aws::String& GetLanguageModelName() const{ return m_languageModelName; } /** *

The name of the custom language model you want to use when processing your * Call Analytics job. Note that custom language model names are case * sensitive.

The language of the specified custom language model must match * the language code that you specify in your transcription request. If the * languages don't match, the custom language model isn't applied. There are no * errors or warnings associated with a language mismatch.

*/ inline bool LanguageModelNameHasBeenSet() const { return m_languageModelNameHasBeenSet; } /** *

The name of the custom language model you want to use when processing your * Call Analytics job. Note that custom language model names are case * sensitive.

The language of the specified custom language model must match * the language code that you specify in your transcription request. If the * languages don't match, the custom language model isn't applied. There are no * errors or warnings associated with a language mismatch.

*/ inline void SetLanguageModelName(const Aws::String& value) { m_languageModelNameHasBeenSet = true; m_languageModelName = value; } /** *

The name of the custom language model you want to use when processing your * Call Analytics job. Note that custom language model names are case * sensitive.

The language of the specified custom language model must match * the language code that you specify in your transcription request. If the * languages don't match, the custom language model isn't applied. There are no * errors or warnings associated with a language mismatch.

*/ inline void SetLanguageModelName(Aws::String&& value) { m_languageModelNameHasBeenSet = true; m_languageModelName = std::move(value); } /** *

The name of the custom language model you want to use when processing your * Call Analytics job. Note that custom language model names are case * sensitive.

The language of the specified custom language model must match * the language code that you specify in your transcription request. If the * languages don't match, the custom language model isn't applied. There are no * errors or warnings associated with a language mismatch.

*/ inline void SetLanguageModelName(const char* value) { m_languageModelNameHasBeenSet = true; m_languageModelName.assign(value); } /** *

The name of the custom language model you want to use when processing your * Call Analytics job. Note that custom language model names are case * sensitive.

The language of the specified custom language model must match * the language code that you specify in your transcription request. If the * languages don't match, the custom language model isn't applied. There are no * errors or warnings associated with a language mismatch.

*/ inline CallAnalyticsJobSettings& WithLanguageModelName(const Aws::String& value) { SetLanguageModelName(value); return *this;} /** *

The name of the custom language model you want to use when processing your * Call Analytics job. Note that custom language model names are case * sensitive.

The language of the specified custom language model must match * the language code that you specify in your transcription request. If the * languages don't match, the custom language model isn't applied. There are no * errors or warnings associated with a language mismatch.

*/ inline CallAnalyticsJobSettings& WithLanguageModelName(Aws::String&& value) { SetLanguageModelName(std::move(value)); return *this;} /** *

The name of the custom language model you want to use when processing your * Call Analytics job. Note that custom language model names are case * sensitive.

The language of the specified custom language model must match * the language code that you specify in your transcription request. If the * languages don't match, the custom language model isn't applied. There are no * errors or warnings associated with a language mismatch.

*/ inline CallAnalyticsJobSettings& WithLanguageModelName(const char* value) { SetLanguageModelName(value); return *this;} inline const ContentRedaction& GetContentRedaction() const{ return m_contentRedaction; } inline bool ContentRedactionHasBeenSet() const { return m_contentRedactionHasBeenSet; } inline void SetContentRedaction(const ContentRedaction& value) { m_contentRedactionHasBeenSet = true; m_contentRedaction = value; } inline void SetContentRedaction(ContentRedaction&& value) { m_contentRedactionHasBeenSet = true; m_contentRedaction = std::move(value); } inline CallAnalyticsJobSettings& WithContentRedaction(const ContentRedaction& value) { SetContentRedaction(value); return *this;} inline CallAnalyticsJobSettings& WithContentRedaction(ContentRedaction&& value) { SetContentRedaction(std::move(value)); return *this;} /** *

You can specify two or more language codes that represent the languages you * think may be present in your media. Including more than five is not recommended. * If you're unsure what languages are present, do not include this parameter.

*

Including language options can improve the accuracy of language * identification.

For a list of languages supported with Call Analytics, * refer to the Supported * languages table.

To transcribe speech in Modern Standard Arabic * (ar-SA), your media file must be encoded at a sample rate of 16,000 * Hz or higher.

*/ inline const Aws::Vector& GetLanguageOptions() const{ return m_languageOptions; } /** *

You can specify two or more language codes that represent the languages you * think may be present in your media. Including more than five is not recommended. * If you're unsure what languages are present, do not include this parameter.

*

Including language options can improve the accuracy of language * identification.

For a list of languages supported with Call Analytics, * refer to the Supported * languages table.

To transcribe speech in Modern Standard Arabic * (ar-SA), your media file must be encoded at a sample rate of 16,000 * Hz or higher.

*/ inline bool LanguageOptionsHasBeenSet() const { return m_languageOptionsHasBeenSet; } /** *

You can specify two or more language codes that represent the languages you * think may be present in your media. Including more than five is not recommended. * If you're unsure what languages are present, do not include this parameter.

*

Including language options can improve the accuracy of language * identification.

For a list of languages supported with Call Analytics, * refer to the Supported * languages table.

To transcribe speech in Modern Standard Arabic * (ar-SA), your media file must be encoded at a sample rate of 16,000 * Hz or higher.

*/ inline void SetLanguageOptions(const Aws::Vector& value) { m_languageOptionsHasBeenSet = true; m_languageOptions = value; } /** *

You can specify two or more language codes that represent the languages you * think may be present in your media. Including more than five is not recommended. * If you're unsure what languages are present, do not include this parameter.

*

Including language options can improve the accuracy of language * identification.

For a list of languages supported with Call Analytics, * refer to the Supported * languages table.

To transcribe speech in Modern Standard Arabic * (ar-SA), your media file must be encoded at a sample rate of 16,000 * Hz or higher.

*/ inline void SetLanguageOptions(Aws::Vector&& value) { m_languageOptionsHasBeenSet = true; m_languageOptions = std::move(value); } /** *

You can specify two or more language codes that represent the languages you * think may be present in your media. Including more than five is not recommended. * If you're unsure what languages are present, do not include this parameter.

*

Including language options can improve the accuracy of language * identification.

For a list of languages supported with Call Analytics, * refer to the Supported * languages table.

To transcribe speech in Modern Standard Arabic * (ar-SA), your media file must be encoded at a sample rate of 16,000 * Hz or higher.

*/ inline CallAnalyticsJobSettings& WithLanguageOptions(const Aws::Vector& value) { SetLanguageOptions(value); return *this;} /** *

You can specify two or more language codes that represent the languages you * think may be present in your media. Including more than five is not recommended. * If you're unsure what languages are present, do not include this parameter.

*

Including language options can improve the accuracy of language * identification.

For a list of languages supported with Call Analytics, * refer to the Supported * languages table.

To transcribe speech in Modern Standard Arabic * (ar-SA), your media file must be encoded at a sample rate of 16,000 * Hz or higher.

*/ inline CallAnalyticsJobSettings& WithLanguageOptions(Aws::Vector&& value) { SetLanguageOptions(std::move(value)); return *this;} /** *

You can specify two or more language codes that represent the languages you * think may be present in your media. Including more than five is not recommended. * If you're unsure what languages are present, do not include this parameter.

*

Including language options can improve the accuracy of language * identification.

For a list of languages supported with Call Analytics, * refer to the Supported * languages table.

To transcribe speech in Modern Standard Arabic * (ar-SA), your media file must be encoded at a sample rate of 16,000 * Hz or higher.

*/ inline CallAnalyticsJobSettings& AddLanguageOptions(const LanguageCode& value) { m_languageOptionsHasBeenSet = true; m_languageOptions.push_back(value); return *this; } /** *

You can specify two or more language codes that represent the languages you * think may be present in your media. Including more than five is not recommended. * If you're unsure what languages are present, do not include this parameter.

*

Including language options can improve the accuracy of language * identification.

For a list of languages supported with Call Analytics, * refer to the Supported * languages table.

To transcribe speech in Modern Standard Arabic * (ar-SA), your media file must be encoded at a sample rate of 16,000 * Hz or higher.

*/ inline CallAnalyticsJobSettings& AddLanguageOptions(LanguageCode&& value) { m_languageOptionsHasBeenSet = true; m_languageOptions.push_back(std::move(value)); return *this; } /** *

If using automatic language identification in your request and you want to * apply a custom language model, a custom vocabulary, or a custom vocabulary * filter, include LanguageIdSettings with the relevant sub-parameters * (VocabularyName, LanguageModelName, and * VocabularyFilterName).

LanguageIdSettings * supports two to five language codes. Each language code you include can have an * associated custom language model, custom vocabulary, and custom vocabulary * filter. The language codes that you specify must match the languages of the * associated custom language models, custom vocabularies, and custom vocabulary * filters.

It's recommended that you include LanguageOptions * when using LanguageIdSettings to ensure that the correct language * dialect is identified. For example, if you specify a custom vocabulary that is * in en-US but Amazon Transcribe determines that the language spoken * in your media is en-AU, your custom vocabulary is not * applied to your transcription. If you include LanguageOptions and * include en-US as the only English language dialect, your custom * vocabulary is applied to your transcription.

If you want to * include a custom language model, custom vocabulary, or custom vocabulary filter * with your request but do not want to use automatic language * identification, use instead the parameter with the * LanguageModelName, VocabularyName, or * VocabularyFilterName sub-parameters.

For a list of languages * supported with Call Analytics, refer to Supported * languages and language-specific features.

*/ inline const Aws::Map& GetLanguageIdSettings() const{ return m_languageIdSettings; } /** *

If using automatic language identification in your request and you want to * apply a custom language model, a custom vocabulary, or a custom vocabulary * filter, include LanguageIdSettings with the relevant sub-parameters * (VocabularyName, LanguageModelName, and * VocabularyFilterName).

LanguageIdSettings * supports two to five language codes. Each language code you include can have an * associated custom language model, custom vocabulary, and custom vocabulary * filter. The language codes that you specify must match the languages of the * associated custom language models, custom vocabularies, and custom vocabulary * filters.

It's recommended that you include LanguageOptions * when using LanguageIdSettings to ensure that the correct language * dialect is identified. For example, if you specify a custom vocabulary that is * in en-US but Amazon Transcribe determines that the language spoken * in your media is en-AU, your custom vocabulary is not * applied to your transcription. If you include LanguageOptions and * include en-US as the only English language dialect, your custom * vocabulary is applied to your transcription.

If you want to * include a custom language model, custom vocabulary, or custom vocabulary filter * with your request but do not want to use automatic language * identification, use instead the parameter with the * LanguageModelName, VocabularyName, or * VocabularyFilterName sub-parameters.

For a list of languages * supported with Call Analytics, refer to Supported * languages and language-specific features.

*/ inline bool LanguageIdSettingsHasBeenSet() const { return m_languageIdSettingsHasBeenSet; } /** *

If using automatic language identification in your request and you want to * apply a custom language model, a custom vocabulary, or a custom vocabulary * filter, include LanguageIdSettings with the relevant sub-parameters * (VocabularyName, LanguageModelName, and * VocabularyFilterName).

LanguageIdSettings * supports two to five language codes. Each language code you include can have an * associated custom language model, custom vocabulary, and custom vocabulary * filter. The language codes that you specify must match the languages of the * associated custom language models, custom vocabularies, and custom vocabulary * filters.

It's recommended that you include LanguageOptions * when using LanguageIdSettings to ensure that the correct language * dialect is identified. For example, if you specify a custom vocabulary that is * in en-US but Amazon Transcribe determines that the language spoken * in your media is en-AU, your custom vocabulary is not * applied to your transcription. If you include LanguageOptions and * include en-US as the only English language dialect, your custom * vocabulary is applied to your transcription.

If you want to * include a custom language model, custom vocabulary, or custom vocabulary filter * with your request but do not want to use automatic language * identification, use instead the parameter with the * LanguageModelName, VocabularyName, or * VocabularyFilterName sub-parameters.

For a list of languages * supported with Call Analytics, refer to Supported * languages and language-specific features.

*/ inline void SetLanguageIdSettings(const Aws::Map& value) { m_languageIdSettingsHasBeenSet = true; m_languageIdSettings = value; } /** *

If using automatic language identification in your request and you want to * apply a custom language model, a custom vocabulary, or a custom vocabulary * filter, include LanguageIdSettings with the relevant sub-parameters * (VocabularyName, LanguageModelName, and * VocabularyFilterName).

LanguageIdSettings * supports two to five language codes. Each language code you include can have an * associated custom language model, custom vocabulary, and custom vocabulary * filter. The language codes that you specify must match the languages of the * associated custom language models, custom vocabularies, and custom vocabulary * filters.

It's recommended that you include LanguageOptions * when using LanguageIdSettings to ensure that the correct language * dialect is identified. For example, if you specify a custom vocabulary that is * in en-US but Amazon Transcribe determines that the language spoken * in your media is en-AU, your custom vocabulary is not * applied to your transcription. If you include LanguageOptions and * include en-US as the only English language dialect, your custom * vocabulary is applied to your transcription.

If you want to * include a custom language model, custom vocabulary, or custom vocabulary filter * with your request but do not want to use automatic language * identification, use instead the parameter with the * LanguageModelName, VocabularyName, or * VocabularyFilterName sub-parameters.

For a list of languages * supported with Call Analytics, refer to Supported * languages and language-specific features.

*/ inline void SetLanguageIdSettings(Aws::Map&& value) { m_languageIdSettingsHasBeenSet = true; m_languageIdSettings = std::move(value); } /** *

If using automatic language identification in your request and you want to * apply a custom language model, a custom vocabulary, or a custom vocabulary * filter, include LanguageIdSettings with the relevant sub-parameters * (VocabularyName, LanguageModelName, and * VocabularyFilterName).

LanguageIdSettings * supports two to five language codes. Each language code you include can have an * associated custom language model, custom vocabulary, and custom vocabulary * filter. The language codes that you specify must match the languages of the * associated custom language models, custom vocabularies, and custom vocabulary * filters.

It's recommended that you include LanguageOptions * when using LanguageIdSettings to ensure that the correct language * dialect is identified. For example, if you specify a custom vocabulary that is * in en-US but Amazon Transcribe determines that the language spoken * in your media is en-AU, your custom vocabulary is not * applied to your transcription. If you include LanguageOptions and * include en-US as the only English language dialect, your custom * vocabulary is applied to your transcription.

If you want to * include a custom language model, custom vocabulary, or custom vocabulary filter * with your request but do not want to use automatic language * identification, use instead the parameter with the * LanguageModelName, VocabularyName, or * VocabularyFilterName sub-parameters.

For a list of languages * supported with Call Analytics, refer to Supported * languages and language-specific features.

*/ inline CallAnalyticsJobSettings& WithLanguageIdSettings(const Aws::Map& value) { SetLanguageIdSettings(value); return *this;} /** *

If using automatic language identification in your request and you want to * apply a custom language model, a custom vocabulary, or a custom vocabulary * filter, include LanguageIdSettings with the relevant sub-parameters * (VocabularyName, LanguageModelName, and * VocabularyFilterName).

LanguageIdSettings * supports two to five language codes. Each language code you include can have an * associated custom language model, custom vocabulary, and custom vocabulary * filter. The language codes that you specify must match the languages of the * associated custom language models, custom vocabularies, and custom vocabulary * filters.

It's recommended that you include LanguageOptions * when using LanguageIdSettings to ensure that the correct language * dialect is identified. For example, if you specify a custom vocabulary that is * in en-US but Amazon Transcribe determines that the language spoken * in your media is en-AU, your custom vocabulary is not * applied to your transcription. If you include LanguageOptions and * include en-US as the only English language dialect, your custom * vocabulary is applied to your transcription.

If you want to * include a custom language model, custom vocabulary, or custom vocabulary filter * with your request but do not want to use automatic language * identification, use instead the parameter with the * LanguageModelName, VocabularyName, or * VocabularyFilterName sub-parameters.

For a list of languages * supported with Call Analytics, refer to Supported * languages and language-specific features.

*/ inline CallAnalyticsJobSettings& WithLanguageIdSettings(Aws::Map&& value) { SetLanguageIdSettings(std::move(value)); return *this;} /** *

If using automatic language identification in your request and you want to * apply a custom language model, a custom vocabulary, or a custom vocabulary * filter, include LanguageIdSettings with the relevant sub-parameters * (VocabularyName, LanguageModelName, and * VocabularyFilterName).

LanguageIdSettings * supports two to five language codes. Each language code you include can have an * associated custom language model, custom vocabulary, and custom vocabulary * filter. The language codes that you specify must match the languages of the * associated custom language models, custom vocabularies, and custom vocabulary * filters.

It's recommended that you include LanguageOptions * when using LanguageIdSettings to ensure that the correct language * dialect is identified. For example, if you specify a custom vocabulary that is * in en-US but Amazon Transcribe determines that the language spoken * in your media is en-AU, your custom vocabulary is not * applied to your transcription. If you include LanguageOptions and * include en-US as the only English language dialect, your custom * vocabulary is applied to your transcription.

If you want to * include a custom language model, custom vocabulary, or custom vocabulary filter * with your request but do not want to use automatic language * identification, use instead the parameter with the * LanguageModelName, VocabularyName, or * VocabularyFilterName sub-parameters.

For a list of languages * supported with Call Analytics, refer to Supported * languages and language-specific features.

*/ inline CallAnalyticsJobSettings& AddLanguageIdSettings(const LanguageCode& key, const LanguageIdSettings& value) { m_languageIdSettingsHasBeenSet = true; m_languageIdSettings.emplace(key, value); return *this; } /** *

If using automatic language identification in your request and you want to * apply a custom language model, a custom vocabulary, or a custom vocabulary * filter, include LanguageIdSettings with the relevant sub-parameters * (VocabularyName, LanguageModelName, and * VocabularyFilterName).

LanguageIdSettings * supports two to five language codes. Each language code you include can have an * associated custom language model, custom vocabulary, and custom vocabulary * filter. The language codes that you specify must match the languages of the * associated custom language models, custom vocabularies, and custom vocabulary * filters.

It's recommended that you include LanguageOptions * when using LanguageIdSettings to ensure that the correct language * dialect is identified. For example, if you specify a custom vocabulary that is * in en-US but Amazon Transcribe determines that the language spoken * in your media is en-AU, your custom vocabulary is not * applied to your transcription. If you include LanguageOptions and * include en-US as the only English language dialect, your custom * vocabulary is applied to your transcription.

If you want to * include a custom language model, custom vocabulary, or custom vocabulary filter * with your request but do not want to use automatic language * identification, use instead the parameter with the * LanguageModelName, VocabularyName, or * VocabularyFilterName sub-parameters.

For a list of languages * supported with Call Analytics, refer to Supported * languages and language-specific features.

*/ inline CallAnalyticsJobSettings& AddLanguageIdSettings(LanguageCode&& key, const LanguageIdSettings& value) { m_languageIdSettingsHasBeenSet = true; m_languageIdSettings.emplace(std::move(key), value); return *this; } /** *

If using automatic language identification in your request and you want to * apply a custom language model, a custom vocabulary, or a custom vocabulary * filter, include LanguageIdSettings with the relevant sub-parameters * (VocabularyName, LanguageModelName, and * VocabularyFilterName).

LanguageIdSettings * supports two to five language codes. Each language code you include can have an * associated custom language model, custom vocabulary, and custom vocabulary * filter. The language codes that you specify must match the languages of the * associated custom language models, custom vocabularies, and custom vocabulary * filters.

It's recommended that you include LanguageOptions * when using LanguageIdSettings to ensure that the correct language * dialect is identified. For example, if you specify a custom vocabulary that is * in en-US but Amazon Transcribe determines that the language spoken * in your media is en-AU, your custom vocabulary is not * applied to your transcription. If you include LanguageOptions and * include en-US as the only English language dialect, your custom * vocabulary is applied to your transcription.

If you want to * include a custom language model, custom vocabulary, or custom vocabulary filter * with your request but do not want to use automatic language * identification, use instead the parameter with the * LanguageModelName, VocabularyName, or * VocabularyFilterName sub-parameters.

For a list of languages * supported with Call Analytics, refer to Supported * languages and language-specific features.

*/ inline CallAnalyticsJobSettings& AddLanguageIdSettings(const LanguageCode& key, LanguageIdSettings&& value) { m_languageIdSettingsHasBeenSet = true; m_languageIdSettings.emplace(key, std::move(value)); return *this; } /** *

If using automatic language identification in your request and you want to * apply a custom language model, a custom vocabulary, or a custom vocabulary * filter, include LanguageIdSettings with the relevant sub-parameters * (VocabularyName, LanguageModelName, and * VocabularyFilterName).

LanguageIdSettings * supports two to five language codes. Each language code you include can have an * associated custom language model, custom vocabulary, and custom vocabulary * filter. The language codes that you specify must match the languages of the * associated custom language models, custom vocabularies, and custom vocabulary * filters.

It's recommended that you include LanguageOptions * when using LanguageIdSettings to ensure that the correct language * dialect is identified. For example, if you specify a custom vocabulary that is * in en-US but Amazon Transcribe determines that the language spoken * in your media is en-AU, your custom vocabulary is not * applied to your transcription. If you include LanguageOptions and * include en-US as the only English language dialect, your custom * vocabulary is applied to your transcription.

If you want to * include a custom language model, custom vocabulary, or custom vocabulary filter * with your request but do not want to use automatic language * identification, use instead the parameter with the * LanguageModelName, VocabularyName, or * VocabularyFilterName sub-parameters.

For a list of languages * supported with Call Analytics, refer to Supported * languages and language-specific features.

*/ inline CallAnalyticsJobSettings& AddLanguageIdSettings(LanguageCode&& key, LanguageIdSettings&& value) { m_languageIdSettingsHasBeenSet = true; m_languageIdSettings.emplace(std::move(key), std::move(value)); return *this; } private: Aws::String m_vocabularyName; bool m_vocabularyNameHasBeenSet = false; Aws::String m_vocabularyFilterName; bool m_vocabularyFilterNameHasBeenSet = false; VocabularyFilterMethod m_vocabularyFilterMethod; bool m_vocabularyFilterMethodHasBeenSet = false; Aws::String m_languageModelName; bool m_languageModelNameHasBeenSet = false; ContentRedaction m_contentRedaction; bool m_contentRedactionHasBeenSet = false; Aws::Vector m_languageOptions; bool m_languageOptionsHasBeenSet = false; Aws::Map m_languageIdSettings; bool m_languageIdSettingsHasBeenSet = false; }; } // namespace Model } // namespace TranscribeService } // namespace Aws