/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A source file for the input sidecar captions used during the transcoding
* process.See Also:
AWS
* API Reference
The name of the sidecar caption file that you want Elastic Transcoder to * include in the output file.
*/ inline const Aws::String& GetKey() const{ return m_key; } /** *The name of the sidecar caption file that you want Elastic Transcoder to * include in the output file.
*/ inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; } /** *The name of the sidecar caption file that you want Elastic Transcoder to * include in the output file.
*/ inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; } /** *The name of the sidecar caption file that you want Elastic Transcoder to * include in the output file.
*/ inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); } /** *The name of the sidecar caption file that you want Elastic Transcoder to * include in the output file.
*/ inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); } /** *The name of the sidecar caption file that you want Elastic Transcoder to * include in the output file.
*/ inline CaptionSource& WithKey(const Aws::String& value) { SetKey(value); return *this;} /** *The name of the sidecar caption file that you want Elastic Transcoder to * include in the output file.
*/ inline CaptionSource& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;} /** *The name of the sidecar caption file that you want Elastic Transcoder to * include in the output file.
*/ inline CaptionSource& WithKey(const char* value) { SetKey(value); return *this;} /** *A string that specifies the language of the caption. If you specified * multiple inputs with captions, the caption language must match in order to be * included in the output. Specify this as one of:
2-character ISO * 639-1 code
3-character ISO 639-2 code
For * more information on ISO language codes and language names, see the List of ISO * 639-1 codes.
*/ inline const Aws::String& GetLanguage() const{ return m_language; } /** *A string that specifies the language of the caption. If you specified * multiple inputs with captions, the caption language must match in order to be * included in the output. Specify this as one of:
2-character ISO * 639-1 code
3-character ISO 639-2 code
For * more information on ISO language codes and language names, see the List of ISO * 639-1 codes.
*/ inline bool LanguageHasBeenSet() const { return m_languageHasBeenSet; } /** *A string that specifies the language of the caption. If you specified * multiple inputs with captions, the caption language must match in order to be * included in the output. Specify this as one of:
2-character ISO * 639-1 code
3-character ISO 639-2 code
For * more information on ISO language codes and language names, see the List of ISO * 639-1 codes.
*/ inline void SetLanguage(const Aws::String& value) { m_languageHasBeenSet = true; m_language = value; } /** *A string that specifies the language of the caption. If you specified * multiple inputs with captions, the caption language must match in order to be * included in the output. Specify this as one of:
2-character ISO * 639-1 code
3-character ISO 639-2 code
For * more information on ISO language codes and language names, see the List of ISO * 639-1 codes.
*/ inline void SetLanguage(Aws::String&& value) { m_languageHasBeenSet = true; m_language = std::move(value); } /** *A string that specifies the language of the caption. If you specified * multiple inputs with captions, the caption language must match in order to be * included in the output. Specify this as one of:
2-character ISO * 639-1 code
3-character ISO 639-2 code
For * more information on ISO language codes and language names, see the List of ISO * 639-1 codes.
*/ inline void SetLanguage(const char* value) { m_languageHasBeenSet = true; m_language.assign(value); } /** *A string that specifies the language of the caption. If you specified * multiple inputs with captions, the caption language must match in order to be * included in the output. Specify this as one of:
2-character ISO * 639-1 code
3-character ISO 639-2 code
For * more information on ISO language codes and language names, see the List of ISO * 639-1 codes.
*/ inline CaptionSource& WithLanguage(const Aws::String& value) { SetLanguage(value); return *this;} /** *A string that specifies the language of the caption. If you specified * multiple inputs with captions, the caption language must match in order to be * included in the output. Specify this as one of:
2-character ISO * 639-1 code
3-character ISO 639-2 code
For * more information on ISO language codes and language names, see the List of ISO * 639-1 codes.
*/ inline CaptionSource& WithLanguage(Aws::String&& value) { SetLanguage(std::move(value)); return *this;} /** *A string that specifies the language of the caption. If you specified * multiple inputs with captions, the caption language must match in order to be * included in the output. Specify this as one of:
2-character ISO * 639-1 code
3-character ISO 639-2 code
For * more information on ISO language codes and language names, see the List of ISO * 639-1 codes.
*/ inline CaptionSource& WithLanguage(const char* value) { SetLanguage(value); return *this;} /** *For clip generation or captions that do not start at the same time as the
* associated video file, the TimeOffset
tells Elastic Transcoder how
* much of the video to encode before including captions.
Specify the * TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss.
*/ inline const Aws::String& GetTimeOffset() const{ return m_timeOffset; } /** *For clip generation or captions that do not start at the same time as the
* associated video file, the TimeOffset
tells Elastic Transcoder how
* much of the video to encode before including captions.
Specify the * TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss.
*/ inline bool TimeOffsetHasBeenSet() const { return m_timeOffsetHasBeenSet; } /** *For clip generation or captions that do not start at the same time as the
* associated video file, the TimeOffset
tells Elastic Transcoder how
* much of the video to encode before including captions.
Specify the * TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss.
*/ inline void SetTimeOffset(const Aws::String& value) { m_timeOffsetHasBeenSet = true; m_timeOffset = value; } /** *For clip generation or captions that do not start at the same time as the
* associated video file, the TimeOffset
tells Elastic Transcoder how
* much of the video to encode before including captions.
Specify the * TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss.
*/ inline void SetTimeOffset(Aws::String&& value) { m_timeOffsetHasBeenSet = true; m_timeOffset = std::move(value); } /** *For clip generation or captions that do not start at the same time as the
* associated video file, the TimeOffset
tells Elastic Transcoder how
* much of the video to encode before including captions.
Specify the * TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss.
*/ inline void SetTimeOffset(const char* value) { m_timeOffsetHasBeenSet = true; m_timeOffset.assign(value); } /** *For clip generation or captions that do not start at the same time as the
* associated video file, the TimeOffset
tells Elastic Transcoder how
* much of the video to encode before including captions.
Specify the * TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss.
*/ inline CaptionSource& WithTimeOffset(const Aws::String& value) { SetTimeOffset(value); return *this;} /** *For clip generation or captions that do not start at the same time as the
* associated video file, the TimeOffset
tells Elastic Transcoder how
* much of the video to encode before including captions.
Specify the * TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss.
*/ inline CaptionSource& WithTimeOffset(Aws::String&& value) { SetTimeOffset(std::move(value)); return *this;} /** *For clip generation or captions that do not start at the same time as the
* associated video file, the TimeOffset
tells Elastic Transcoder how
* much of the video to encode before including captions.
Specify the * TimeOffset in the form [+-]SS.sss or [+-]HH:mm:SS.ss.
*/ inline CaptionSource& WithTimeOffset(const char* value) { SetTimeOffset(value); return *this;} /** *The label of the caption shown in the player when choosing a language. We * recommend that you put the caption language name here, in the language of the * captions.
*/ inline const Aws::String& GetLabel() const{ return m_label; } /** *The label of the caption shown in the player when choosing a language. We * recommend that you put the caption language name here, in the language of the * captions.
*/ inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; } /** *The label of the caption shown in the player when choosing a language. We * recommend that you put the caption language name here, in the language of the * captions.
*/ inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; } /** *The label of the caption shown in the player when choosing a language. We * recommend that you put the caption language name here, in the language of the * captions.
*/ inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); } /** *The label of the caption shown in the player when choosing a language. We * recommend that you put the caption language name here, in the language of the * captions.
*/ inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); } /** *The label of the caption shown in the player when choosing a language. We * recommend that you put the caption language name here, in the language of the * captions.
*/ inline CaptionSource& WithLabel(const Aws::String& value) { SetLabel(value); return *this;} /** *The label of the caption shown in the player when choosing a language. We * recommend that you put the caption language name here, in the language of the * captions.
*/ inline CaptionSource& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;} /** *The label of the caption shown in the player when choosing a language. We * recommend that you put the caption language name here, in the language of the * captions.
*/ inline CaptionSource& WithLabel(const char* value) { SetLabel(value); return *this;} /** *The encryption settings, if any, that Elastic Transcoder needs to decyrpt * your caption sources, or that you want Elastic Transcoder to apply to your * caption sources.
*/ inline const Encryption& GetEncryption() const{ return m_encryption; } /** *The encryption settings, if any, that Elastic Transcoder needs to decyrpt * your caption sources, or that you want Elastic Transcoder to apply to your * caption sources.
*/ inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; } /** *The encryption settings, if any, that Elastic Transcoder needs to decyrpt * your caption sources, or that you want Elastic Transcoder to apply to your * caption sources.
*/ inline void SetEncryption(const Encryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; } /** *The encryption settings, if any, that Elastic Transcoder needs to decyrpt * your caption sources, or that you want Elastic Transcoder to apply to your * caption sources.
*/ inline void SetEncryption(Encryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); } /** *The encryption settings, if any, that Elastic Transcoder needs to decyrpt * your caption sources, or that you want Elastic Transcoder to apply to your * caption sources.
*/ inline CaptionSource& WithEncryption(const Encryption& value) { SetEncryption(value); return *this;} /** *The encryption settings, if any, that Elastic Transcoder needs to decyrpt * your caption sources, or that you want Elastic Transcoder to apply to your * caption sources.
*/ inline CaptionSource& WithEncryption(Encryption&& value) { SetEncryption(std::move(value)); return *this;} private: Aws::String m_key; bool m_keyHasBeenSet = false; Aws::String m_language; bool m_languageHasBeenSet = false; Aws::String m_timeOffset; bool m_timeOffsetHasBeenSet = false; Aws::String m_label; bool m_labelHasBeenSet = false; Encryption m_encryption; bool m_encryptionHasBeenSet = false; }; } // namespace Model } // namespace ElasticTranscoder } // namespace Aws