/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides information on the speech contained in a discreet utterance when
* multi-language identification is enabled in your request. This utterance
* represents a block of speech consisting of one language, preceded or followed by
* a block of speech in a different language.See Also:
AWS
* API Reference
Provides the language code for each language identified in your media.
*/ inline const LanguageCode& GetLanguageCode() const{ return m_languageCode; } /** *Provides the language code for each language identified in your media.
*/ inline bool LanguageCodeHasBeenSet() const { return m_languageCodeHasBeenSet; } /** *Provides the language code for each language identified in your media.
*/ inline void SetLanguageCode(const LanguageCode& value) { m_languageCodeHasBeenSet = true; m_languageCode = value; } /** *Provides the language code for each language identified in your media.
*/ inline void SetLanguageCode(LanguageCode&& value) { m_languageCodeHasBeenSet = true; m_languageCode = std::move(value); } /** *Provides the language code for each language identified in your media.
*/ inline LanguageCodeItem& WithLanguageCode(const LanguageCode& value) { SetLanguageCode(value); return *this;} /** *Provides the language code for each language identified in your media.
*/ inline LanguageCodeItem& WithLanguageCode(LanguageCode&& value) { SetLanguageCode(std::move(value)); return *this;} /** *Provides the total time, in seconds, each identified language is spoken in * your media.
*/ inline double GetDurationInSeconds() const{ return m_durationInSeconds; } /** *Provides the total time, in seconds, each identified language is spoken in * your media.
*/ inline bool DurationInSecondsHasBeenSet() const { return m_durationInSecondsHasBeenSet; } /** *Provides the total time, in seconds, each identified language is spoken in * your media.
*/ inline void SetDurationInSeconds(double value) { m_durationInSecondsHasBeenSet = true; m_durationInSeconds = value; } /** *Provides the total time, in seconds, each identified language is spoken in * your media.
*/ inline LanguageCodeItem& WithDurationInSeconds(double value) { SetDurationInSeconds(value); return *this;} private: LanguageCode m_languageCode; bool m_languageCodeHasBeenSet = false; double m_durationInSeconds; bool m_durationInSecondsHasBeenSet = false; }; } // namespace Model } // namespace TranscribeService } // namespace Aws