AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
MultiplexVideoSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/MultiplexStatmuxVideoSettings.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaLive {
20namespace Model {
21
29 public:
30 AWS_MEDIALIVE_API MultiplexVideoSettings() = default;
33 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline int GetConstantBitrate() const { return m_constantBitrate; }
42 inline bool ConstantBitrateHasBeenSet() const { return m_constantBitrateHasBeenSet; }
43 inline void SetConstantBitrate(int value) {
44 m_constantBitrateHasBeenSet = true;
45 m_constantBitrate = value;
46 }
48 SetConstantBitrate(value);
49 return *this;
50 }
52
54
59 inline const MultiplexStatmuxVideoSettings& GetStatmuxSettings() const { return m_statmuxSettings; }
60 inline bool StatmuxSettingsHasBeenSet() const { return m_statmuxSettingsHasBeenSet; }
61 template <typename StatmuxSettingsT = MultiplexStatmuxVideoSettings>
62 void SetStatmuxSettings(StatmuxSettingsT&& value) {
63 m_statmuxSettingsHasBeenSet = true;
64 m_statmuxSettings = std::forward<StatmuxSettingsT>(value);
65 }
66 template <typename StatmuxSettingsT = MultiplexStatmuxVideoSettings>
67 MultiplexVideoSettings& WithStatmuxSettings(StatmuxSettingsT&& value) {
68 SetStatmuxSettings(std::forward<StatmuxSettingsT>(value));
69 return *this;
70 }
72 private:
73 int m_constantBitrate{0};
74
75 MultiplexStatmuxVideoSettings m_statmuxSettings;
76 bool m_constantBitrateHasBeenSet = false;
77 bool m_statmuxSettingsHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace MediaLive
82} // namespace Aws
const MultiplexStatmuxVideoSettings & GetStatmuxSettings() const
MultiplexVideoSettings & WithConstantBitrate(int value)
MultiplexVideoSettings & WithStatmuxSettings(StatmuxSettingsT &&value)
AWS_MEDIALIVE_API MultiplexVideoSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API MultiplexVideoSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API MultiplexVideoSettings()=default
Aws::Utils::Json::JsonValue JsonValue