AWS SDK for C++

AWS SDK for C++ Version 1.11.891

Loading...
Searching...
No Matches
CmafIngestGroupSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/medialive/MediaLive_EXPORTS.h>
10#include <aws/medialive/model/AdditionalDestinations.h>
11#include <aws/medialive/model/CmafId3Behavior.h>
12#include <aws/medialive/model/CmafIngestCaptionLanguageMapping.h>
13#include <aws/medialive/model/CmafIngestSegmentLengthUnits.h>
14#include <aws/medialive/model/CmafIngestWatermarkingSettings.h>
15#include <aws/medialive/model/CmafKLVBehavior.h>
16#include <aws/medialive/model/CmafNielsenId3Behavior.h>
17#include <aws/medialive/model/CmafTimedMetadataId3Frame.h>
18#include <aws/medialive/model/CmafTimedMetadataPassthrough.h>
19#include <aws/medialive/model/OutputLocationRef.h>
20#include <aws/medialive/model/Scte35Type.h>
21
22#include <utility>
23
24namespace Aws {
25namespace Utils {
26namespace Json {
27class JsonValue;
28class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace MediaLive {
32namespace Model {
33
40 public:
41 AWS_MEDIALIVE_API CmafIngestGroupSettings() = default;
44 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
47
50 inline const OutputLocationRef& GetDestination() const { return m_destination; }
51 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
52 template <typename DestinationT = OutputLocationRef>
53 void SetDestination(DestinationT&& value) {
54 m_destinationHasBeenSet = true;
55 m_destination = std::forward<DestinationT>(value);
56 }
57 template <typename DestinationT = OutputLocationRef>
59 SetDestination(std::forward<DestinationT>(value));
60 return *this;
61 }
63
65
70 inline CmafNielsenId3Behavior GetNielsenId3Behavior() const { return m_nielsenId3Behavior; }
71 inline bool NielsenId3BehaviorHasBeenSet() const { return m_nielsenId3BehaviorHasBeenSet; }
73 m_nielsenId3BehaviorHasBeenSet = true;
74 m_nielsenId3Behavior = value;
75 }
78 return *this;
79 }
81
83
96 inline Scte35Type GetScte35Type() const { return m_scte35Type; }
97 inline bool Scte35TypeHasBeenSet() const { return m_scte35TypeHasBeenSet; }
98 inline void SetScte35Type(Scte35Type value) {
99 m_scte35TypeHasBeenSet = true;
100 m_scte35Type = value;
101 }
103 SetScte35Type(value);
104 return *this;
105 }
107
109
114 inline int GetSegmentLength() const { return m_segmentLength; }
115 inline bool SegmentLengthHasBeenSet() const { return m_segmentLengthHasBeenSet; }
116 inline void SetSegmentLength(int value) {
117 m_segmentLengthHasBeenSet = true;
118 m_segmentLength = value;
119 }
121 SetSegmentLength(value);
122 return *this;
123 }
125
127
130 inline CmafIngestSegmentLengthUnits GetSegmentLengthUnits() const { return m_segmentLengthUnits; }
131 inline bool SegmentLengthUnitsHasBeenSet() const { return m_segmentLengthUnitsHasBeenSet; }
133 m_segmentLengthUnitsHasBeenSet = true;
134 m_segmentLengthUnits = value;
135 }
138 return *this;
139 }
141
143
146 inline int GetSendDelayMs() const { return m_sendDelayMs; }
147 inline bool SendDelayMsHasBeenSet() const { return m_sendDelayMsHasBeenSet; }
148 inline void SetSendDelayMs(int value) {
149 m_sendDelayMsHasBeenSet = true;
150 m_sendDelayMs = value;
151 }
153 SetSendDelayMs(value);
154 return *this;
155 }
157
159
162 inline CmafKLVBehavior GetKlvBehavior() const { return m_klvBehavior; }
163 inline bool KlvBehaviorHasBeenSet() const { return m_klvBehaviorHasBeenSet; }
164 inline void SetKlvBehavior(CmafKLVBehavior value) {
165 m_klvBehaviorHasBeenSet = true;
166 m_klvBehavior = value;
167 }
169 SetKlvBehavior(value);
170 return *this;
171 }
173
175
182 inline const Aws::String& GetKlvNameModifier() const { return m_klvNameModifier; }
183 inline bool KlvNameModifierHasBeenSet() const { return m_klvNameModifierHasBeenSet; }
184 template <typename KlvNameModifierT = Aws::String>
185 void SetKlvNameModifier(KlvNameModifierT&& value) {
186 m_klvNameModifierHasBeenSet = true;
187 m_klvNameModifier = std::forward<KlvNameModifierT>(value);
188 }
189 template <typename KlvNameModifierT = Aws::String>
190 CmafIngestGroupSettings& WithKlvNameModifier(KlvNameModifierT&& value) {
191 SetKlvNameModifier(std::forward<KlvNameModifierT>(value));
192 return *this;
193 }
195
197
204 inline const Aws::String& GetNielsenId3NameModifier() const { return m_nielsenId3NameModifier; }
205 inline bool NielsenId3NameModifierHasBeenSet() const { return m_nielsenId3NameModifierHasBeenSet; }
206 template <typename NielsenId3NameModifierT = Aws::String>
207 void SetNielsenId3NameModifier(NielsenId3NameModifierT&& value) {
208 m_nielsenId3NameModifierHasBeenSet = true;
209 m_nielsenId3NameModifier = std::forward<NielsenId3NameModifierT>(value);
210 }
211 template <typename NielsenId3NameModifierT = Aws::String>
212 CmafIngestGroupSettings& WithNielsenId3NameModifier(NielsenId3NameModifierT&& value) {
213 SetNielsenId3NameModifier(std::forward<NielsenId3NameModifierT>(value));
214 return *this;
215 }
217
219
226 inline const Aws::String& GetScte35NameModifier() const { return m_scte35NameModifier; }
227 inline bool Scte35NameModifierHasBeenSet() const { return m_scte35NameModifierHasBeenSet; }
228 template <typename Scte35NameModifierT = Aws::String>
229 void SetScte35NameModifier(Scte35NameModifierT&& value) {
230 m_scte35NameModifierHasBeenSet = true;
231 m_scte35NameModifier = std::forward<Scte35NameModifierT>(value);
232 }
233 template <typename Scte35NameModifierT = Aws::String>
234 CmafIngestGroupSettings& WithScte35NameModifier(Scte35NameModifierT&& value) {
235 SetScte35NameModifier(std::forward<Scte35NameModifierT>(value));
236 return *this;
237 }
239
241
246 inline CmafId3Behavior GetId3Behavior() const { return m_id3Behavior; }
247 inline bool Id3BehaviorHasBeenSet() const { return m_id3BehaviorHasBeenSet; }
248 inline void SetId3Behavior(CmafId3Behavior value) {
249 m_id3BehaviorHasBeenSet = true;
250 m_id3Behavior = value;
251 }
253 SetId3Behavior(value);
254 return *this;
255 }
257
259
266 inline const Aws::String& GetId3NameModifier() const { return m_id3NameModifier; }
267 inline bool Id3NameModifierHasBeenSet() const { return m_id3NameModifierHasBeenSet; }
268 template <typename Id3NameModifierT = Aws::String>
269 void SetId3NameModifier(Id3NameModifierT&& value) {
270 m_id3NameModifierHasBeenSet = true;
271 m_id3NameModifier = std::forward<Id3NameModifierT>(value);
272 }
273 template <typename Id3NameModifierT = Aws::String>
274 CmafIngestGroupSettings& WithId3NameModifier(Id3NameModifierT&& value) {
275 SetId3NameModifier(std::forward<Id3NameModifierT>(value));
276 return *this;
277 }
279
281
285 inline const Aws::Vector<CmafIngestCaptionLanguageMapping>& GetCaptionLanguageMappings() const { return m_captionLanguageMappings; }
286 inline bool CaptionLanguageMappingsHasBeenSet() const { return m_captionLanguageMappingsHasBeenSet; }
287 template <typename CaptionLanguageMappingsT = Aws::Vector<CmafIngestCaptionLanguageMapping>>
288 void SetCaptionLanguageMappings(CaptionLanguageMappingsT&& value) {
289 m_captionLanguageMappingsHasBeenSet = true;
290 m_captionLanguageMappings = std::forward<CaptionLanguageMappingsT>(value);
291 }
292 template <typename CaptionLanguageMappingsT = Aws::Vector<CmafIngestCaptionLanguageMapping>>
293 CmafIngestGroupSettings& WithCaptionLanguageMappings(CaptionLanguageMappingsT&& value) {
294 SetCaptionLanguageMappings(std::forward<CaptionLanguageMappingsT>(value));
295 return *this;
296 }
297 template <typename CaptionLanguageMappingsT = CmafIngestCaptionLanguageMapping>
298 CmafIngestGroupSettings& AddCaptionLanguageMappings(CaptionLanguageMappingsT&& value) {
299 m_captionLanguageMappingsHasBeenSet = true;
300 m_captionLanguageMappings.emplace_back(std::forward<CaptionLanguageMappingsT>(value));
301 return *this;
302 }
304
306
310 inline CmafTimedMetadataId3Frame GetTimedMetadataId3Frame() const { return m_timedMetadataId3Frame; }
311 inline bool TimedMetadataId3FrameHasBeenSet() const { return m_timedMetadataId3FrameHasBeenSet; }
313 m_timedMetadataId3FrameHasBeenSet = true;
314 m_timedMetadataId3Frame = value;
315 }
318 return *this;
319 }
321
323
327 inline int GetTimedMetadataId3Period() const { return m_timedMetadataId3Period; }
328 inline bool TimedMetadataId3PeriodHasBeenSet() const { return m_timedMetadataId3PeriodHasBeenSet; }
329 inline void SetTimedMetadataId3Period(int value) {
330 m_timedMetadataId3PeriodHasBeenSet = true;
331 m_timedMetadataId3Period = value;
332 }
335 return *this;
336 }
338
340
343 inline CmafTimedMetadataPassthrough GetTimedMetadataPassthrough() const { return m_timedMetadataPassthrough; }
344 inline bool TimedMetadataPassthroughHasBeenSet() const { return m_timedMetadataPassthroughHasBeenSet; }
346 m_timedMetadataPassthroughHasBeenSet = true;
347 m_timedMetadataPassthrough = value;
348 }
351 return *this;
352 }
354
356
360 inline const Aws::Vector<AdditionalDestinations>& GetAdditionalDestinations() const { return m_additionalDestinations; }
361 inline bool AdditionalDestinationsHasBeenSet() const { return m_additionalDestinationsHasBeenSet; }
362 template <typename AdditionalDestinationsT = Aws::Vector<AdditionalDestinations>>
363 void SetAdditionalDestinations(AdditionalDestinationsT&& value) {
364 m_additionalDestinationsHasBeenSet = true;
365 m_additionalDestinations = std::forward<AdditionalDestinationsT>(value);
366 }
367 template <typename AdditionalDestinationsT = Aws::Vector<AdditionalDestinations>>
368 CmafIngestGroupSettings& WithAdditionalDestinations(AdditionalDestinationsT&& value) {
369 SetAdditionalDestinations(std::forward<AdditionalDestinationsT>(value));
370 return *this;
371 }
372 template <typename AdditionalDestinationsT = AdditionalDestinations>
373 CmafIngestGroupSettings& AddAdditionalDestinations(AdditionalDestinationsT&& value) {
374 m_additionalDestinationsHasBeenSet = true;
375 m_additionalDestinations.emplace_back(std::forward<AdditionalDestinationsT>(value));
376 return *this;
377 }
379
381
384 inline const CmafIngestWatermarkingSettings& GetWatermarkingSettings() const { return m_watermarkingSettings; }
385 inline bool WatermarkingSettingsHasBeenSet() const { return m_watermarkingSettingsHasBeenSet; }
386 template <typename WatermarkingSettingsT = CmafIngestWatermarkingSettings>
387 void SetWatermarkingSettings(WatermarkingSettingsT&& value) {
388 m_watermarkingSettingsHasBeenSet = true;
389 m_watermarkingSettings = std::forward<WatermarkingSettingsT>(value);
390 }
391 template <typename WatermarkingSettingsT = CmafIngestWatermarkingSettings>
392 CmafIngestGroupSettings& WithWatermarkingSettings(WatermarkingSettingsT&& value) {
393 SetWatermarkingSettings(std::forward<WatermarkingSettingsT>(value));
394 return *this;
395 }
397 private:
398 OutputLocationRef m_destination;
399
401
402 Scte35Type m_scte35Type{Scte35Type::NOT_SET};
403
404 int m_segmentLength{0};
405
407
408 int m_sendDelayMs{0};
409
411
412 Aws::String m_klvNameModifier;
413
414 Aws::String m_nielsenId3NameModifier;
415
416 Aws::String m_scte35NameModifier;
417
419
420 Aws::String m_id3NameModifier;
421
422 Aws::Vector<CmafIngestCaptionLanguageMapping> m_captionLanguageMappings;
423
425
426 int m_timedMetadataId3Period{0};
427
429
430 Aws::Vector<AdditionalDestinations> m_additionalDestinations;
431
432 CmafIngestWatermarkingSettings m_watermarkingSettings;
433 bool m_destinationHasBeenSet = false;
434 bool m_nielsenId3BehaviorHasBeenSet = false;
435 bool m_scte35TypeHasBeenSet = false;
436 bool m_segmentLengthHasBeenSet = false;
437 bool m_segmentLengthUnitsHasBeenSet = false;
438 bool m_sendDelayMsHasBeenSet = false;
439 bool m_klvBehaviorHasBeenSet = false;
440 bool m_klvNameModifierHasBeenSet = false;
441 bool m_nielsenId3NameModifierHasBeenSet = false;
442 bool m_scte35NameModifierHasBeenSet = false;
443 bool m_id3BehaviorHasBeenSet = false;
444 bool m_id3NameModifierHasBeenSet = false;
445 bool m_captionLanguageMappingsHasBeenSet = false;
446 bool m_timedMetadataId3FrameHasBeenSet = false;
447 bool m_timedMetadataId3PeriodHasBeenSet = false;
448 bool m_timedMetadataPassthroughHasBeenSet = false;
449 bool m_additionalDestinationsHasBeenSet = false;
450 bool m_watermarkingSettingsHasBeenSet = false;
451};
452
453} // namespace Model
454} // namespace MediaLive
455} // namespace Aws
CmafTimedMetadataPassthrough GetTimedMetadataPassthrough() const
CmafIngestGroupSettings & WithSegmentLength(int value)
const Aws::Vector< CmafIngestCaptionLanguageMapping > & GetCaptionLanguageMappings() const
CmafIngestGroupSettings & WithWatermarkingSettings(WatermarkingSettingsT &&value)
void SetWatermarkingSettings(WatermarkingSettingsT &&value)
void SetAdditionalDestinations(AdditionalDestinationsT &&value)
CmafIngestGroupSettings & WithKlvBehavior(CmafKLVBehavior value)
CmafIngestGroupSettings & WithSendDelayMs(int value)
AWS_MEDIALIVE_API CmafIngestGroupSettings(Aws::Utils::Json::JsonView jsonValue)
CmafTimedMetadataId3Frame GetTimedMetadataId3Frame() const
CmafIngestSegmentLengthUnits GetSegmentLengthUnits() const
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API CmafIngestGroupSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
CmafIngestGroupSettings & WithAdditionalDestinations(AdditionalDestinationsT &&value)
void SetCaptionLanguageMappings(CaptionLanguageMappingsT &&value)
CmafIngestGroupSettings & WithKlvNameModifier(KlvNameModifierT &&value)
CmafIngestGroupSettings & WithNielsenId3NameModifier(NielsenId3NameModifierT &&value)
AWS_MEDIALIVE_API CmafIngestGroupSettings()=default
CmafIngestGroupSettings & WithCaptionLanguageMappings(CaptionLanguageMappingsT &&value)
CmafIngestGroupSettings & WithTimedMetadataId3Period(int value)
const CmafIngestWatermarkingSettings & GetWatermarkingSettings() const
void SetNielsenId3Behavior(CmafNielsenId3Behavior value)
CmafIngestGroupSettings & WithScte35NameModifier(Scte35NameModifierT &&value)
CmafIngestGroupSettings & WithTimedMetadataPassthrough(CmafTimedMetadataPassthrough value)
void SetNielsenId3NameModifier(NielsenId3NameModifierT &&value)
CmafIngestGroupSettings & WithScte35Type(Scte35Type value)
CmafIngestGroupSettings & AddAdditionalDestinations(AdditionalDestinationsT &&value)
CmafIngestGroupSettings & WithNielsenId3Behavior(CmafNielsenId3Behavior value)
CmafIngestGroupSettings & WithId3NameModifier(Id3NameModifierT &&value)
void SetScte35NameModifier(Scte35NameModifierT &&value)
const Aws::Vector< AdditionalDestinations > & GetAdditionalDestinations() const
CmafIngestGroupSettings & WithDestination(DestinationT &&value)
CmafIngestGroupSettings & WithSegmentLengthUnits(CmafIngestSegmentLengthUnits value)
void SetSegmentLengthUnits(CmafIngestSegmentLengthUnits value)
CmafIngestGroupSettings & WithId3Behavior(CmafId3Behavior value)
CmafIngestGroupSettings & AddCaptionLanguageMappings(CaptionLanguageMappingsT &&value)
void SetTimedMetadataId3Frame(CmafTimedMetadataId3Frame value)
void SetTimedMetadataPassthrough(CmafTimedMetadataPassthrough value)
CmafIngestGroupSettings & WithTimedMetadataId3Frame(CmafTimedMetadataId3Frame value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue