AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
MultiplexM2tsSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/M2tsAbsentInputAudioBehavior.h>
9#include <aws/medialive/model/M2tsArib.h>
10#include <aws/medialive/model/M2tsAudioBufferModel.h>
11#include <aws/medialive/model/M2tsAudioStreamType.h>
12#include <aws/medialive/model/M2tsCcDescriptor.h>
13#include <aws/medialive/model/M2tsEbifControl.h>
14#include <aws/medialive/model/M2tsEsRateInPes.h>
15#include <aws/medialive/model/M2tsKlv.h>
16#include <aws/medialive/model/M2tsNielsenId3Behavior.h>
17#include <aws/medialive/model/M2tsPcrControl.h>
18#include <aws/medialive/model/M2tsScte35Control.h>
19#include <utility>
20
21namespace Aws
22{
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28 class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace MediaLive
32{
33namespace Model
34{
35
42 {
43 public:
44 AWS_MEDIALIVE_API MultiplexM2tsSettings() = default;
47 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
58 inline M2tsAbsentInputAudioBehavior GetAbsentInputAudioBehavior() const { return m_absentInputAudioBehavior; }
59 inline bool AbsentInputAudioBehaviorHasBeenSet() const { return m_absentInputAudioBehaviorHasBeenSet; }
60 inline void SetAbsentInputAudioBehavior(M2tsAbsentInputAudioBehavior value) { m_absentInputAudioBehaviorHasBeenSet = true; m_absentInputAudioBehavior = value; }
63
65
69 inline M2tsArib GetArib() const { return m_arib; }
70 inline bool AribHasBeenSet() const { return m_aribHasBeenSet; }
71 inline void SetArib(M2tsArib value) { m_aribHasBeenSet = true; m_arib = value; }
72 inline MultiplexM2tsSettings& WithArib(M2tsArib value) { SetArib(value); return *this;}
74
76
80 inline M2tsAudioBufferModel GetAudioBufferModel() const { return m_audioBufferModel; }
81 inline bool AudioBufferModelHasBeenSet() const { return m_audioBufferModelHasBeenSet; }
82 inline void SetAudioBufferModel(M2tsAudioBufferModel value) { m_audioBufferModelHasBeenSet = true; m_audioBufferModel = value; }
85
87
90 inline int GetAudioFramesPerPes() const { return m_audioFramesPerPes; }
91 inline bool AudioFramesPerPesHasBeenSet() const { return m_audioFramesPerPesHasBeenSet; }
92 inline void SetAudioFramesPerPes(int value) { m_audioFramesPerPesHasBeenSet = true; m_audioFramesPerPes = value; }
93 inline MultiplexM2tsSettings& WithAudioFramesPerPes(int value) { SetAudioFramesPerPes(value); return *this;}
95
97
101 inline M2tsAudioStreamType GetAudioStreamType() const { return m_audioStreamType; }
102 inline bool AudioStreamTypeHasBeenSet() const { return m_audioStreamTypeHasBeenSet; }
103 inline void SetAudioStreamType(M2tsAudioStreamType value) { m_audioStreamTypeHasBeenSet = true; m_audioStreamType = value; }
106
108
111 inline M2tsCcDescriptor GetCcDescriptor() const { return m_ccDescriptor; }
112 inline bool CcDescriptorHasBeenSet() const { return m_ccDescriptorHasBeenSet; }
113 inline void SetCcDescriptor(M2tsCcDescriptor value) { m_ccDescriptorHasBeenSet = true; m_ccDescriptor = value; }
116
118
122 inline M2tsEbifControl GetEbif() const { return m_ebif; }
123 inline bool EbifHasBeenSet() const { return m_ebifHasBeenSet; }
124 inline void SetEbif(M2tsEbifControl value) { m_ebifHasBeenSet = true; m_ebif = value; }
125 inline MultiplexM2tsSettings& WithEbif(M2tsEbifControl value) { SetEbif(value); return *this;}
127
129
132 inline M2tsEsRateInPes GetEsRateInPes() const { return m_esRateInPes; }
133 inline bool EsRateInPesHasBeenSet() const { return m_esRateInPesHasBeenSet; }
134 inline void SetEsRateInPes(M2tsEsRateInPes value) { m_esRateInPesHasBeenSet = true; m_esRateInPes = value; }
137
139
142 inline M2tsKlv GetKlv() const { return m_klv; }
143 inline bool KlvHasBeenSet() const { return m_klvHasBeenSet; }
144 inline void SetKlv(M2tsKlv value) { m_klvHasBeenSet = true; m_klv = value; }
145 inline MultiplexM2tsSettings& WithKlv(M2tsKlv value) { SetKlv(value); return *this;}
147
149
154 inline M2tsNielsenId3Behavior GetNielsenId3Behavior() const { return m_nielsenId3Behavior; }
155 inline bool NielsenId3BehaviorHasBeenSet() const { return m_nielsenId3BehaviorHasBeenSet; }
156 inline void SetNielsenId3Behavior(M2tsNielsenId3Behavior value) { m_nielsenId3BehaviorHasBeenSet = true; m_nielsenId3Behavior = value; }
159
161
166 inline M2tsPcrControl GetPcrControl() const { return m_pcrControl; }
167 inline bool PcrControlHasBeenSet() const { return m_pcrControlHasBeenSet; }
168 inline void SetPcrControl(M2tsPcrControl value) { m_pcrControlHasBeenSet = true; m_pcrControl = value; }
169 inline MultiplexM2tsSettings& WithPcrControl(M2tsPcrControl value) { SetPcrControl(value); return *this;}
171
173
177 inline int GetPcrPeriod() const { return m_pcrPeriod; }
178 inline bool PcrPeriodHasBeenSet() const { return m_pcrPeriodHasBeenSet; }
179 inline void SetPcrPeriod(int value) { m_pcrPeriodHasBeenSet = true; m_pcrPeriod = value; }
180 inline MultiplexM2tsSettings& WithPcrPeriod(int value) { SetPcrPeriod(value); return *this;}
182
184
187 inline M2tsScte35Control GetScte35Control() const { return m_scte35Control; }
188 inline bool Scte35ControlHasBeenSet() const { return m_scte35ControlHasBeenSet; }
189 inline void SetScte35Control(M2tsScte35Control value) { m_scte35ControlHasBeenSet = true; m_scte35Control = value; }
192
194
202 inline double GetScte35PrerollPullupMilliseconds() const { return m_scte35PrerollPullupMilliseconds; }
203 inline bool Scte35PrerollPullupMillisecondsHasBeenSet() const { return m_scte35PrerollPullupMillisecondsHasBeenSet; }
204 inline void SetScte35PrerollPullupMilliseconds(double value) { m_scte35PrerollPullupMillisecondsHasBeenSet = true; m_scte35PrerollPullupMilliseconds = value; }
207 private:
208
210 bool m_absentInputAudioBehaviorHasBeenSet = false;
211
213 bool m_aribHasBeenSet = false;
214
216 bool m_audioBufferModelHasBeenSet = false;
217
218 int m_audioFramesPerPes{0};
219 bool m_audioFramesPerPesHasBeenSet = false;
220
222 bool m_audioStreamTypeHasBeenSet = false;
223
225 bool m_ccDescriptorHasBeenSet = false;
226
228 bool m_ebifHasBeenSet = false;
229
231 bool m_esRateInPesHasBeenSet = false;
232
234 bool m_klvHasBeenSet = false;
235
237 bool m_nielsenId3BehaviorHasBeenSet = false;
238
240 bool m_pcrControlHasBeenSet = false;
241
242 int m_pcrPeriod{0};
243 bool m_pcrPeriodHasBeenSet = false;
244
246 bool m_scte35ControlHasBeenSet = false;
247
248 double m_scte35PrerollPullupMilliseconds{0.0};
249 bool m_scte35PrerollPullupMillisecondsHasBeenSet = false;
250 };
251
252} // namespace Model
253} // namespace MediaLive
254} // namespace Aws
M2tsNielsenId3Behavior GetNielsenId3Behavior() const
AWS_MEDIALIVE_API MultiplexM2tsSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNielsenId3Behavior(M2tsNielsenId3Behavior value)
MultiplexM2tsSettings & WithAudioFramesPerPes(int value)
MultiplexM2tsSettings & WithArib(M2tsArib value)
MultiplexM2tsSettings & WithAudioStreamType(M2tsAudioStreamType value)
void SetAudioBufferModel(M2tsAudioBufferModel value)
AWS_MEDIALIVE_API MultiplexM2tsSettings(Aws::Utils::Json::JsonView jsonValue)
MultiplexM2tsSettings & WithPcrControl(M2tsPcrControl value)
MultiplexM2tsSettings & WithAbsentInputAudioBehavior(M2tsAbsentInputAudioBehavior value)
MultiplexM2tsSettings & WithEsRateInPes(M2tsEsRateInPes value)
AWS_MEDIALIVE_API MultiplexM2tsSettings()=default
MultiplexM2tsSettings & WithNielsenId3Behavior(M2tsNielsenId3Behavior value)
MultiplexM2tsSettings & WithPcrPeriod(int value)
MultiplexM2tsSettings & WithScte35PrerollPullupMilliseconds(double value)
MultiplexM2tsSettings & WithAudioBufferModel(M2tsAudioBufferModel value)
MultiplexM2tsSettings & WithCcDescriptor(M2tsCcDescriptor value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
M2tsAbsentInputAudioBehavior GetAbsentInputAudioBehavior() const
MultiplexM2tsSettings & WithEbif(M2tsEbifControl value)
MultiplexM2tsSettings & WithKlv(M2tsKlv value)
MultiplexM2tsSettings & WithScte35Control(M2tsScte35Control value)
void SetAbsentInputAudioBehavior(M2tsAbsentInputAudioBehavior value)
void SetAudioStreamType(M2tsAudioStreamType value)
Aws::Utils::Json::JsonValue JsonValue