/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Object specifying a stream’s video configuration, as set up by the
* broadcaster (usually in an encoder). This is part of the
* IngestConfiguration object and used for monitoring stream
* health.See Also:
AWS
* API Reference
Indicates the degree of required decoder performance for a profile. Normally * this is set automatically by the encoder. For details, see the H.264 * specification.
*/ inline const Aws::String& GetAvcLevel() const{ return m_avcLevel; } /** *Indicates the degree of required decoder performance for a profile. Normally * this is set automatically by the encoder. For details, see the H.264 * specification.
*/ inline bool AvcLevelHasBeenSet() const { return m_avcLevelHasBeenSet; } /** *Indicates the degree of required decoder performance for a profile. Normally * this is set automatically by the encoder. For details, see the H.264 * specification.
*/ inline void SetAvcLevel(const Aws::String& value) { m_avcLevelHasBeenSet = true; m_avcLevel = value; } /** *Indicates the degree of required decoder performance for a profile. Normally * this is set automatically by the encoder. For details, see the H.264 * specification.
*/ inline void SetAvcLevel(Aws::String&& value) { m_avcLevelHasBeenSet = true; m_avcLevel = std::move(value); } /** *Indicates the degree of required decoder performance for a profile. Normally * this is set automatically by the encoder. For details, see the H.264 * specification.
*/ inline void SetAvcLevel(const char* value) { m_avcLevelHasBeenSet = true; m_avcLevel.assign(value); } /** *Indicates the degree of required decoder performance for a profile. Normally * this is set automatically by the encoder. For details, see the H.264 * specification.
*/ inline VideoConfiguration& WithAvcLevel(const Aws::String& value) { SetAvcLevel(value); return *this;} /** *Indicates the degree of required decoder performance for a profile. Normally * this is set automatically by the encoder. For details, see the H.264 * specification.
*/ inline VideoConfiguration& WithAvcLevel(Aws::String&& value) { SetAvcLevel(std::move(value)); return *this;} /** *Indicates the degree of required decoder performance for a profile. Normally * this is set automatically by the encoder. For details, see the H.264 * specification.
*/ inline VideoConfiguration& WithAvcLevel(const char* value) { SetAvcLevel(value); return *this;} /** *Indicates to the decoder the requirements for decoding the stream. For * definitions of the valid values, see the H.264 specification.
*/ inline const Aws::String& GetAvcProfile() const{ return m_avcProfile; } /** *Indicates to the decoder the requirements for decoding the stream. For * definitions of the valid values, see the H.264 specification.
*/ inline bool AvcProfileHasBeenSet() const { return m_avcProfileHasBeenSet; } /** *Indicates to the decoder the requirements for decoding the stream. For * definitions of the valid values, see the H.264 specification.
*/ inline void SetAvcProfile(const Aws::String& value) { m_avcProfileHasBeenSet = true; m_avcProfile = value; } /** *Indicates to the decoder the requirements for decoding the stream. For * definitions of the valid values, see the H.264 specification.
*/ inline void SetAvcProfile(Aws::String&& value) { m_avcProfileHasBeenSet = true; m_avcProfile = std::move(value); } /** *Indicates to the decoder the requirements for decoding the stream. For * definitions of the valid values, see the H.264 specification.
*/ inline void SetAvcProfile(const char* value) { m_avcProfileHasBeenSet = true; m_avcProfile.assign(value); } /** *Indicates to the decoder the requirements for decoding the stream. For * definitions of the valid values, see the H.264 specification.
*/ inline VideoConfiguration& WithAvcProfile(const Aws::String& value) { SetAvcProfile(value); return *this;} /** *Indicates to the decoder the requirements for decoding the stream. For * definitions of the valid values, see the H.264 specification.
*/ inline VideoConfiguration& WithAvcProfile(Aws::String&& value) { SetAvcProfile(std::move(value)); return *this;} /** *Indicates to the decoder the requirements for decoding the stream. For * definitions of the valid values, see the H.264 specification.
*/ inline VideoConfiguration& WithAvcProfile(const char* value) { SetAvcProfile(value); return *this;} /** *Codec used for the video encoding.
*/ inline const Aws::String& GetCodec() const{ return m_codec; } /** *Codec used for the video encoding.
*/ inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; } /** *Codec used for the video encoding.
*/ inline void SetCodec(const Aws::String& value) { m_codecHasBeenSet = true; m_codec = value; } /** *Codec used for the video encoding.
*/ inline void SetCodec(Aws::String&& value) { m_codecHasBeenSet = true; m_codec = std::move(value); } /** *Codec used for the video encoding.
*/ inline void SetCodec(const char* value) { m_codecHasBeenSet = true; m_codec.assign(value); } /** *Codec used for the video encoding.
*/ inline VideoConfiguration& WithCodec(const Aws::String& value) { SetCodec(value); return *this;} /** *Codec used for the video encoding.
*/ inline VideoConfiguration& WithCodec(Aws::String&& value) { SetCodec(std::move(value)); return *this;} /** *Codec used for the video encoding.
*/ inline VideoConfiguration& WithCodec(const char* value) { SetCodec(value); return *this;} /** *Software or hardware used to encode the video.
*/ inline const Aws::String& GetEncoder() const{ return m_encoder; } /** *Software or hardware used to encode the video.
*/ inline bool EncoderHasBeenSet() const { return m_encoderHasBeenSet; } /** *Software or hardware used to encode the video.
*/ inline void SetEncoder(const Aws::String& value) { m_encoderHasBeenSet = true; m_encoder = value; } /** *Software or hardware used to encode the video.
*/ inline void SetEncoder(Aws::String&& value) { m_encoderHasBeenSet = true; m_encoder = std::move(value); } /** *Software or hardware used to encode the video.
*/ inline void SetEncoder(const char* value) { m_encoderHasBeenSet = true; m_encoder.assign(value); } /** *Software or hardware used to encode the video.
*/ inline VideoConfiguration& WithEncoder(const Aws::String& value) { SetEncoder(value); return *this;} /** *Software or hardware used to encode the video.
*/ inline VideoConfiguration& WithEncoder(Aws::String&& value) { SetEncoder(std::move(value)); return *this;} /** *Software or hardware used to encode the video.
*/ inline VideoConfiguration& WithEncoder(const char* value) { SetEncoder(value); return *this;} /** *The expected ingest bitrate (bits per second). This is configured in the * encoder.
*/ inline long long GetTargetBitrate() const{ return m_targetBitrate; } /** *The expected ingest bitrate (bits per second). This is configured in the * encoder.
*/ inline bool TargetBitrateHasBeenSet() const { return m_targetBitrateHasBeenSet; } /** *The expected ingest bitrate (bits per second). This is configured in the * encoder.
*/ inline void SetTargetBitrate(long long value) { m_targetBitrateHasBeenSet = true; m_targetBitrate = value; } /** *The expected ingest bitrate (bits per second). This is configured in the * encoder.
*/ inline VideoConfiguration& WithTargetBitrate(long long value) { SetTargetBitrate(value); return *this;} /** *The expected ingest framerate. This is configured in the encoder.
*/ inline long long GetTargetFramerate() const{ return m_targetFramerate; } /** *The expected ingest framerate. This is configured in the encoder.
*/ inline bool TargetFramerateHasBeenSet() const { return m_targetFramerateHasBeenSet; } /** *The expected ingest framerate. This is configured in the encoder.
*/ inline void SetTargetFramerate(long long value) { m_targetFramerateHasBeenSet = true; m_targetFramerate = value; } /** *The expected ingest framerate. This is configured in the encoder.
*/ inline VideoConfiguration& WithTargetFramerate(long long value) { SetTargetFramerate(value); return *this;} /** *Video-resolution height in pixels.
*/ inline long long GetVideoHeight() const{ return m_videoHeight; } /** *Video-resolution height in pixels.
*/ inline bool VideoHeightHasBeenSet() const { return m_videoHeightHasBeenSet; } /** *Video-resolution height in pixels.
*/ inline void SetVideoHeight(long long value) { m_videoHeightHasBeenSet = true; m_videoHeight = value; } /** *Video-resolution height in pixels.
*/ inline VideoConfiguration& WithVideoHeight(long long value) { SetVideoHeight(value); return *this;} /** *Video-resolution width in pixels.
*/ inline long long GetVideoWidth() const{ return m_videoWidth; } /** *Video-resolution width in pixels.
*/ inline bool VideoWidthHasBeenSet() const { return m_videoWidthHasBeenSet; } /** *Video-resolution width in pixels.
*/ inline void SetVideoWidth(long long value) { m_videoWidthHasBeenSet = true; m_videoWidth = value; } /** *Video-resolution width in pixels.
*/ inline VideoConfiguration& WithVideoWidth(long long value) { SetVideoWidth(value); return *this;} private: Aws::String m_avcLevel; bool m_avcLevelHasBeenSet = false; Aws::String m_avcProfile; bool m_avcProfileHasBeenSet = false; Aws::String m_codec; bool m_codecHasBeenSet = false; Aws::String m_encoder; bool m_encoderHasBeenSet = false; long long m_targetBitrate; bool m_targetBitrateHasBeenSet = false; long long m_targetFramerate; bool m_targetFramerateHasBeenSet = false; long long m_videoHeight; bool m_videoHeightHasBeenSet = false; long long m_videoWidth; bool m_videoWidthHasBeenSet = false; }; } // namespace Model } // namespace IVS } // namespace Aws