AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
M3u8Settings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9#include <aws/medialive/model/M3u8KlvBehavior.h>
10#include <aws/medialive/model/M3u8NielsenId3Behavior.h>
11#include <aws/medialive/model/M3u8PcrControl.h>
12#include <aws/medialive/model/M3u8Scte35Behavior.h>
13#include <aws/medialive/model/M3u8TimedMetadataBehavior.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MediaLive {
25namespace Model {
26
33 public:
34 AWS_MEDIALIVE_API M3u8Settings() = default;
35 AWS_MEDIALIVE_API M3u8Settings(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIALIVE_API M3u8Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline int GetAudioFramesPerPes() const { return m_audioFramesPerPes; }
44 inline bool AudioFramesPerPesHasBeenSet() const { return m_audioFramesPerPesHasBeenSet; }
45 inline void SetAudioFramesPerPes(int value) {
46 m_audioFramesPerPesHasBeenSet = true;
47 m_audioFramesPerPes = value;
48 }
51 return *this;
52 }
54
56
61 inline const Aws::String& GetAudioPids() const { return m_audioPids; }
62 inline bool AudioPidsHasBeenSet() const { return m_audioPidsHasBeenSet; }
63 template <typename AudioPidsT = Aws::String>
64 void SetAudioPids(AudioPidsT&& value) {
65 m_audioPidsHasBeenSet = true;
66 m_audioPids = std::forward<AudioPidsT>(value);
67 }
68 template <typename AudioPidsT = Aws::String>
69 M3u8Settings& WithAudioPids(AudioPidsT&& value) {
70 SetAudioPids(std::forward<AudioPidsT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetEcmPid() const { return m_ecmPid; }
80 inline bool EcmPidHasBeenSet() const { return m_ecmPidHasBeenSet; }
81 template <typename EcmPidT = Aws::String>
82 void SetEcmPid(EcmPidT&& value) {
83 m_ecmPidHasBeenSet = true;
84 m_ecmPid = std::forward<EcmPidT>(value);
85 }
86 template <typename EcmPidT = Aws::String>
87 M3u8Settings& WithEcmPid(EcmPidT&& value) {
88 SetEcmPid(std::forward<EcmPidT>(value));
89 return *this;
90 }
92
94
99 inline M3u8NielsenId3Behavior GetNielsenId3Behavior() const { return m_nielsenId3Behavior; }
100 inline bool NielsenId3BehaviorHasBeenSet() const { return m_nielsenId3BehaviorHasBeenSet; }
102 m_nielsenId3BehaviorHasBeenSet = true;
103 m_nielsenId3Behavior = value;
104 }
107 return *this;
108 }
110
112
116 inline int GetPatInterval() const { return m_patInterval; }
117 inline bool PatIntervalHasBeenSet() const { return m_patIntervalHasBeenSet; }
118 inline void SetPatInterval(int value) {
119 m_patIntervalHasBeenSet = true;
120 m_patInterval = value;
121 }
122 inline M3u8Settings& WithPatInterval(int value) {
123 SetPatInterval(value);
124 return *this;
125 }
127
129
134 inline M3u8PcrControl GetPcrControl() const { return m_pcrControl; }
135 inline bool PcrControlHasBeenSet() const { return m_pcrControlHasBeenSet; }
136 inline void SetPcrControl(M3u8PcrControl value) {
137 m_pcrControlHasBeenSet = true;
138 m_pcrControl = value;
139 }
141 SetPcrControl(value);
142 return *this;
143 }
145
147
151 inline int GetPcrPeriod() const { return m_pcrPeriod; }
152 inline bool PcrPeriodHasBeenSet() const { return m_pcrPeriodHasBeenSet; }
153 inline void SetPcrPeriod(int value) {
154 m_pcrPeriodHasBeenSet = true;
155 m_pcrPeriod = value;
156 }
157 inline M3u8Settings& WithPcrPeriod(int value) {
158 SetPcrPeriod(value);
159 return *this;
160 }
162
164
169 inline const Aws::String& GetPcrPid() const { return m_pcrPid; }
170 inline bool PcrPidHasBeenSet() const { return m_pcrPidHasBeenSet; }
171 template <typename PcrPidT = Aws::String>
172 void SetPcrPid(PcrPidT&& value) {
173 m_pcrPidHasBeenSet = true;
174 m_pcrPid = std::forward<PcrPidT>(value);
175 }
176 template <typename PcrPidT = Aws::String>
177 M3u8Settings& WithPcrPid(PcrPidT&& value) {
178 SetPcrPid(std::forward<PcrPidT>(value));
179 return *this;
180 }
182
184
188 inline int GetPmtInterval() const { return m_pmtInterval; }
189 inline bool PmtIntervalHasBeenSet() const { return m_pmtIntervalHasBeenSet; }
190 inline void SetPmtInterval(int value) {
191 m_pmtIntervalHasBeenSet = true;
192 m_pmtInterval = value;
193 }
194 inline M3u8Settings& WithPmtInterval(int value) {
195 SetPmtInterval(value);
196 return *this;
197 }
199
201
205 inline const Aws::String& GetPmtPid() const { return m_pmtPid; }
206 inline bool PmtPidHasBeenSet() const { return m_pmtPidHasBeenSet; }
207 template <typename PmtPidT = Aws::String>
208 void SetPmtPid(PmtPidT&& value) {
209 m_pmtPidHasBeenSet = true;
210 m_pmtPid = std::forward<PmtPidT>(value);
211 }
212 template <typename PmtPidT = Aws::String>
213 M3u8Settings& WithPmtPid(PmtPidT&& value) {
214 SetPmtPid(std::forward<PmtPidT>(value));
215 return *this;
216 }
218
220
223 inline int GetProgramNum() const { return m_programNum; }
224 inline bool ProgramNumHasBeenSet() const { return m_programNumHasBeenSet; }
225 inline void SetProgramNum(int value) {
226 m_programNumHasBeenSet = true;
227 m_programNum = value;
228 }
229 inline M3u8Settings& WithProgramNum(int value) {
230 SetProgramNum(value);
231 return *this;
232 }
234
236
240 inline M3u8Scte35Behavior GetScte35Behavior() const { return m_scte35Behavior; }
241 inline bool Scte35BehaviorHasBeenSet() const { return m_scte35BehaviorHasBeenSet; }
243 m_scte35BehaviorHasBeenSet = true;
244 m_scte35Behavior = value;
245 }
247 SetScte35Behavior(value);
248 return *this;
249 }
251
253
257 inline const Aws::String& GetScte35Pid() const { return m_scte35Pid; }
258 inline bool Scte35PidHasBeenSet() const { return m_scte35PidHasBeenSet; }
259 template <typename Scte35PidT = Aws::String>
260 void SetScte35Pid(Scte35PidT&& value) {
261 m_scte35PidHasBeenSet = true;
262 m_scte35Pid = std::forward<Scte35PidT>(value);
263 }
264 template <typename Scte35PidT = Aws::String>
265 M3u8Settings& WithScte35Pid(Scte35PidT&& value) {
266 SetScte35Pid(std::forward<Scte35PidT>(value));
267 return *this;
268 }
270
272
277 inline M3u8TimedMetadataBehavior GetTimedMetadataBehavior() const { return m_timedMetadataBehavior; }
278 inline bool TimedMetadataBehaviorHasBeenSet() const { return m_timedMetadataBehaviorHasBeenSet; }
280 m_timedMetadataBehaviorHasBeenSet = true;
281 m_timedMetadataBehavior = value;
282 }
285 return *this;
286 }
288
290
295 inline const Aws::String& GetTimedMetadataPid() const { return m_timedMetadataPid; }
296 inline bool TimedMetadataPidHasBeenSet() const { return m_timedMetadataPidHasBeenSet; }
297 template <typename TimedMetadataPidT = Aws::String>
298 void SetTimedMetadataPid(TimedMetadataPidT&& value) {
299 m_timedMetadataPidHasBeenSet = true;
300 m_timedMetadataPid = std::forward<TimedMetadataPidT>(value);
301 }
302 template <typename TimedMetadataPidT = Aws::String>
303 M3u8Settings& WithTimedMetadataPid(TimedMetadataPidT&& value) {
304 SetTimedMetadataPid(std::forward<TimedMetadataPidT>(value));
305 return *this;
306 }
308
310
313 inline int GetTransportStreamId() const { return m_transportStreamId; }
314 inline bool TransportStreamIdHasBeenSet() const { return m_transportStreamIdHasBeenSet; }
315 inline void SetTransportStreamId(int value) {
316 m_transportStreamIdHasBeenSet = true;
317 m_transportStreamId = value;
318 }
321 return *this;
322 }
324
326
330 inline const Aws::String& GetVideoPid() const { return m_videoPid; }
331 inline bool VideoPidHasBeenSet() const { return m_videoPidHasBeenSet; }
332 template <typename VideoPidT = Aws::String>
333 void SetVideoPid(VideoPidT&& value) {
334 m_videoPidHasBeenSet = true;
335 m_videoPid = std::forward<VideoPidT>(value);
336 }
337 template <typename VideoPidT = Aws::String>
338 M3u8Settings& WithVideoPid(VideoPidT&& value) {
339 SetVideoPid(std::forward<VideoPidT>(value));
340 return *this;
341 }
343
345
348 inline M3u8KlvBehavior GetKlvBehavior() const { return m_klvBehavior; }
349 inline bool KlvBehaviorHasBeenSet() const { return m_klvBehaviorHasBeenSet; }
350 inline void SetKlvBehavior(M3u8KlvBehavior value) {
351 m_klvBehaviorHasBeenSet = true;
352 m_klvBehavior = value;
353 }
355 SetKlvBehavior(value);
356 return *this;
357 }
359
361
367 inline const Aws::String& GetKlvDataPids() const { return m_klvDataPids; }
368 inline bool KlvDataPidsHasBeenSet() const { return m_klvDataPidsHasBeenSet; }
369 template <typename KlvDataPidsT = Aws::String>
370 void SetKlvDataPids(KlvDataPidsT&& value) {
371 m_klvDataPidsHasBeenSet = true;
372 m_klvDataPids = std::forward<KlvDataPidsT>(value);
373 }
374 template <typename KlvDataPidsT = Aws::String>
375 M3u8Settings& WithKlvDataPids(KlvDataPidsT&& value) {
376 SetKlvDataPids(std::forward<KlvDataPidsT>(value));
377 return *this;
378 }
380 private:
381 int m_audioFramesPerPes{0};
382
383 Aws::String m_audioPids;
384
385 Aws::String m_ecmPid;
386
388
389 int m_patInterval{0};
390
392
393 int m_pcrPeriod{0};
394
395 Aws::String m_pcrPid;
396
397 int m_pmtInterval{0};
398
399 Aws::String m_pmtPid;
400
401 int m_programNum{0};
402
404
405 Aws::String m_scte35Pid;
406
408
409 Aws::String m_timedMetadataPid;
410
411 int m_transportStreamId{0};
412
413 Aws::String m_videoPid;
414
416
417 Aws::String m_klvDataPids;
418 bool m_audioFramesPerPesHasBeenSet = false;
419 bool m_audioPidsHasBeenSet = false;
420 bool m_ecmPidHasBeenSet = false;
421 bool m_nielsenId3BehaviorHasBeenSet = false;
422 bool m_patIntervalHasBeenSet = false;
423 bool m_pcrControlHasBeenSet = false;
424 bool m_pcrPeriodHasBeenSet = false;
425 bool m_pcrPidHasBeenSet = false;
426 bool m_pmtIntervalHasBeenSet = false;
427 bool m_pmtPidHasBeenSet = false;
428 bool m_programNumHasBeenSet = false;
429 bool m_scte35BehaviorHasBeenSet = false;
430 bool m_scte35PidHasBeenSet = false;
431 bool m_timedMetadataBehaviorHasBeenSet = false;
432 bool m_timedMetadataPidHasBeenSet = false;
433 bool m_transportStreamIdHasBeenSet = false;
434 bool m_videoPidHasBeenSet = false;
435 bool m_klvBehaviorHasBeenSet = false;
436 bool m_klvDataPidsHasBeenSet = false;
437};
438
439} // namespace Model
440} // namespace MediaLive
441} // namespace Aws
M3u8Settings & WithEcmPid(EcmPidT &&value)
void SetKlvDataPids(KlvDataPidsT &&value)
const Aws::String & GetAudioPids() const
M3u8Settings & WithTransportStreamId(int value)
void SetEcmPid(EcmPidT &&value)
M3u8Settings & WithTimedMetadataBehavior(M3u8TimedMetadataBehavior value)
M3u8Settings & WithPmtInterval(int value)
void SetVideoPid(VideoPidT &&value)
M3u8Settings & WithScte35Behavior(M3u8Scte35Behavior value)
M3u8Settings & WithPatInterval(int value)
M3u8Settings & WithPcrPid(PcrPidT &&value)
M3u8NielsenId3Behavior GetNielsenId3Behavior() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetScte35Pid() const
void SetNielsenId3Behavior(M3u8NielsenId3Behavior value)
M3u8Settings & WithNielsenId3Behavior(M3u8NielsenId3Behavior value)
M3u8Settings & WithPmtPid(PmtPidT &&value)
M3u8Settings & WithPcrPeriod(int value)
const Aws::String & GetEcmPid() const
AWS_MEDIALIVE_API M3u8Settings(Aws::Utils::Json::JsonView jsonValue)
M3u8Settings & WithTimedMetadataPid(TimedMetadataPidT &&value)
M3u8KlvBehavior GetKlvBehavior() const
M3u8TimedMetadataBehavior GetTimedMetadataBehavior() const
const Aws::String & GetPmtPid() const
M3u8Settings & WithProgramNum(int value)
M3u8Settings & WithAudioPids(AudioPidsT &&value)
AWS_MEDIALIVE_API M3u8Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
M3u8Settings & WithPcrControl(M3u8PcrControl value)
const Aws::String & GetPcrPid() const
AWS_MEDIALIVE_API M3u8Settings()=default
M3u8Settings & WithVideoPid(VideoPidT &&value)
void SetScte35Pid(Scte35PidT &&value)
void SetPcrControl(M3u8PcrControl value)
void SetScte35Behavior(M3u8Scte35Behavior value)
void SetTimedMetadataPid(TimedMetadataPidT &&value)
const Aws::String & GetTimedMetadataPid() const
M3u8PcrControl GetPcrControl() const
M3u8Settings & WithAudioFramesPerPes(int value)
M3u8Settings & WithKlvBehavior(M3u8KlvBehavior value)
const Aws::String & GetKlvDataPids() const
void SetAudioPids(AudioPidsT &&value)
void SetKlvBehavior(M3u8KlvBehavior value)
const Aws::String & GetVideoPid() const
M3u8Settings & WithScte35Pid(Scte35PidT &&value)
M3u8Settings & WithKlvDataPids(KlvDataPidsT &&value)
void SetTimedMetadataBehavior(M3u8TimedMetadataBehavior value)
M3u8Scte35Behavior GetScte35Behavior() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue