/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the name of the custom language model that was included in the
* specified transcription job. Only use ModelSettings
with the
* LanguageModelName
sub-parameter if you're not using
* automatic language identification (). If using
*
LanguageIdSettings
in your request, this parameter contains a
* LanguageModelName
sub-parameter.See Also:
AWS
* API Reference
The name of the custom language model you want to use when processing your * transcription 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 * transcription 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 * transcription 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 * transcription 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 * transcription 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 * transcription 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 ModelSettings& WithLanguageModelName(const Aws::String& value) { SetLanguageModelName(value); return *this;} /** *The name of the custom language model you want to use when processing your * transcription 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 ModelSettings& WithLanguageModelName(Aws::String&& value) { SetLanguageModelName(std::move(value)); return *this;} /** *The name of the custom language model you want to use when processing your * transcription 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 ModelSettings& WithLanguageModelName(const char* value) { SetLanguageModelName(value); return *this;} private: Aws::String m_languageModelName; bool m_languageModelNameHasBeenSet = false; }; } // namespace Model } // namespace TranscribeService } // namespace Aws