AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
MultiplexSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace MediaLive {
17namespace Model {
18
25 public:
26 AWS_MEDIALIVE_API MultiplexSettings() = default;
27 AWS_MEDIALIVE_API MultiplexSettings(Aws::Utils::Json::JsonView jsonValue);
29 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline int GetMaximumVideoBufferDelayMilliseconds() const { return m_maximumVideoBufferDelayMilliseconds; }
36 inline bool MaximumVideoBufferDelayMillisecondsHasBeenSet() const { return m_maximumVideoBufferDelayMillisecondsHasBeenSet; }
38 m_maximumVideoBufferDelayMillisecondsHasBeenSet = true;
39 m_maximumVideoBufferDelayMilliseconds = value;
40 }
43 return *this;
44 }
46
48
51 inline int GetTransportStreamBitrate() const { return m_transportStreamBitrate; }
52 inline bool TransportStreamBitrateHasBeenSet() const { return m_transportStreamBitrateHasBeenSet; }
53 inline void SetTransportStreamBitrate(int value) {
54 m_transportStreamBitrateHasBeenSet = true;
55 m_transportStreamBitrate = value;
56 }
59 return *this;
60 }
62
64
67 inline int GetTransportStreamId() const { return m_transportStreamId; }
68 inline bool TransportStreamIdHasBeenSet() const { return m_transportStreamIdHasBeenSet; }
69 inline void SetTransportStreamId(int value) {
70 m_transportStreamIdHasBeenSet = true;
71 m_transportStreamId = value;
72 }
75 return *this;
76 }
78
80
83 inline int GetTransportStreamReservedBitrate() const { return m_transportStreamReservedBitrate; }
84 inline bool TransportStreamReservedBitrateHasBeenSet() const { return m_transportStreamReservedBitrateHasBeenSet; }
85 inline void SetTransportStreamReservedBitrate(int value) {
86 m_transportStreamReservedBitrateHasBeenSet = true;
87 m_transportStreamReservedBitrate = value;
88 }
91 return *this;
92 }
94 private:
95 int m_maximumVideoBufferDelayMilliseconds{0};
96
97 int m_transportStreamBitrate{0};
98
99 int m_transportStreamId{0};
100
101 int m_transportStreamReservedBitrate{0};
102 bool m_maximumVideoBufferDelayMillisecondsHasBeenSet = false;
103 bool m_transportStreamBitrateHasBeenSet = false;
104 bool m_transportStreamIdHasBeenSet = false;
105 bool m_transportStreamReservedBitrateHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace MediaLive
110} // namespace Aws
MultiplexSettings & WithTransportStreamBitrate(int value)
AWS_MEDIALIVE_API MultiplexSettings(Aws::Utils::Json::JsonView jsonValue)
MultiplexSettings & WithTransportStreamReservedBitrate(int value)
AWS_MEDIALIVE_API MultiplexSettings()=default
MultiplexSettings & WithMaximumVideoBufferDelayMilliseconds(int value)
AWS_MEDIALIVE_API MultiplexSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
MultiplexSettings & WithTransportStreamId(int value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue