/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The runtime configuration settings for the Kinesis video stream
* source.See Also:
AWS
* API Reference
The streams in the source runtime configuration of a Kinesis video * stream.
*/ inline const Aws::VectorThe streams in the source runtime configuration of a Kinesis video * stream.
*/ inline bool StreamsHasBeenSet() const { return m_streamsHasBeenSet; } /** *The streams in the source runtime configuration of a Kinesis video * stream.
*/ inline void SetStreams(const Aws::VectorThe streams in the source runtime configuration of a Kinesis video * stream.
*/ inline void SetStreams(Aws::VectorThe streams in the source runtime configuration of a Kinesis video * stream.
*/ inline KinesisVideoStreamSourceRuntimeConfiguration& WithStreams(const Aws::VectorThe streams in the source runtime configuration of a Kinesis video * stream.
*/ inline KinesisVideoStreamSourceRuntimeConfiguration& WithStreams(Aws::VectorThe streams in the source runtime configuration of a Kinesis video * stream.
*/ inline KinesisVideoStreamSourceRuntimeConfiguration& AddStreams(const StreamConfiguration& value) { m_streamsHasBeenSet = true; m_streams.push_back(value); return *this; } /** *The streams in the source runtime configuration of a Kinesis video * stream.
*/ inline KinesisVideoStreamSourceRuntimeConfiguration& AddStreams(StreamConfiguration&& value) { m_streamsHasBeenSet = true; m_streams.push_back(std::move(value)); return *this; } /** *Specifies the encoding of your input audio. Supported format: PCM (only * signed 16-bit little-endian audio formats, which does not include WAV)
*For more information, see Media * formats in the Amazon Transcribe Developer Guide.
*/ inline const MediaEncoding& GetMediaEncoding() const{ return m_mediaEncoding; } /** *Specifies the encoding of your input audio. Supported format: PCM (only * signed 16-bit little-endian audio formats, which does not include WAV)
*For more information, see Media * formats in the Amazon Transcribe Developer Guide.
*/ inline bool MediaEncodingHasBeenSet() const { return m_mediaEncodingHasBeenSet; } /** *Specifies the encoding of your input audio. Supported format: PCM (only * signed 16-bit little-endian audio formats, which does not include WAV)
*For more information, see Media * formats in the Amazon Transcribe Developer Guide.
*/ inline void SetMediaEncoding(const MediaEncoding& value) { m_mediaEncodingHasBeenSet = true; m_mediaEncoding = value; } /** *Specifies the encoding of your input audio. Supported format: PCM (only * signed 16-bit little-endian audio formats, which does not include WAV)
*For more information, see Media * formats in the Amazon Transcribe Developer Guide.
*/ inline void SetMediaEncoding(MediaEncoding&& value) { m_mediaEncodingHasBeenSet = true; m_mediaEncoding = std::move(value); } /** *Specifies the encoding of your input audio. Supported format: PCM (only * signed 16-bit little-endian audio formats, which does not include WAV)
*For more information, see Media * formats in the Amazon Transcribe Developer Guide.
*/ inline KinesisVideoStreamSourceRuntimeConfiguration& WithMediaEncoding(const MediaEncoding& value) { SetMediaEncoding(value); return *this;} /** *Specifies the encoding of your input audio. Supported format: PCM (only * signed 16-bit little-endian audio formats, which does not include WAV)
*For more information, see Media * formats in the Amazon Transcribe Developer Guide.
*/ inline KinesisVideoStreamSourceRuntimeConfiguration& WithMediaEncoding(MediaEncoding&& value) { SetMediaEncoding(std::move(value)); return *this;} /** *The sample rate of the input audio (in hertz). Low-quality audio, such as * telephone audio, is typically around 8,000 Hz. High-quality audio typically * ranges from 16,000 Hz to 48,000 Hz. Note that the sample rate you specify must * match that of your audio.
Valid Range: Minimum value of 8000. Maximum * value of 48000.
*/ inline int GetMediaSampleRate() const{ return m_mediaSampleRate; } /** *The sample rate of the input audio (in hertz). Low-quality audio, such as * telephone audio, is typically around 8,000 Hz. High-quality audio typically * ranges from 16,000 Hz to 48,000 Hz. Note that the sample rate you specify must * match that of your audio.
Valid Range: Minimum value of 8000. Maximum * value of 48000.
*/ inline bool MediaSampleRateHasBeenSet() const { return m_mediaSampleRateHasBeenSet; } /** *The sample rate of the input audio (in hertz). Low-quality audio, such as * telephone audio, is typically around 8,000 Hz. High-quality audio typically * ranges from 16,000 Hz to 48,000 Hz. Note that the sample rate you specify must * match that of your audio.
Valid Range: Minimum value of 8000. Maximum * value of 48000.
*/ inline void SetMediaSampleRate(int value) { m_mediaSampleRateHasBeenSet = true; m_mediaSampleRate = value; } /** *The sample rate of the input audio (in hertz). Low-quality audio, such as * telephone audio, is typically around 8,000 Hz. High-quality audio typically * ranges from 16,000 Hz to 48,000 Hz. Note that the sample rate you specify must * match that of your audio.
Valid Range: Minimum value of 8000. Maximum * value of 48000.
*/ inline KinesisVideoStreamSourceRuntimeConfiguration& WithMediaSampleRate(int value) { SetMediaSampleRate(value); return *this;} private: Aws::Vector