AWS SDK for C++

AWS SDK for C++ Version 1.11.752

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/CmafKLVBehavior.h>
15#include <aws/medialive/model/CmafNielsenId3Behavior.h>
16#include <aws/medialive/model/CmafTimedMetadataId3Frame.h>
17#include <aws/medialive/model/CmafTimedMetadataPassthrough.h>
18#include <aws/medialive/model/OutputLocationRef.h>
19#include <aws/medialive/model/Scte35Type.h>
20
21#include <utility>
22
23namespace Aws {
24namespace Utils {
25namespace Json {
26class JsonValue;
27class JsonView;
28} // namespace Json
29} // namespace Utils
30namespace MediaLive {
31namespace Model {
32
39 public:
40 AWS_MEDIALIVE_API CmafIngestGroupSettings() = default;
43 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
44
46
49 inline const OutputLocationRef& GetDestination() const { return m_destination; }
50 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
51 template <typename DestinationT = OutputLocationRef>
52 void SetDestination(DestinationT&& value) {
53 m_destinationHasBeenSet = true;
54 m_destination = std::forward<DestinationT>(value);
55 }
56 template <typename DestinationT = OutputLocationRef>
58 SetDestination(std::forward<DestinationT>(value));
59 return *this;
60 }
62
64
69 inline CmafNielsenId3Behavior GetNielsenId3Behavior() const { return m_nielsenId3Behavior; }
70 inline bool NielsenId3BehaviorHasBeenSet() const { return m_nielsenId3BehaviorHasBeenSet; }
72 m_nielsenId3BehaviorHasBeenSet = true;
73 m_nielsenId3Behavior = value;
74 }
77 return *this;
78 }
80
82
85 inline Scte35Type GetScte35Type() const { return m_scte35Type; }
86 inline bool Scte35TypeHasBeenSet() const { return m_scte35TypeHasBeenSet; }
87 inline void SetScte35Type(Scte35Type value) {
88 m_scte35TypeHasBeenSet = true;
89 m_scte35Type = value;
90 }
92 SetScte35Type(value);
93 return *this;
94 }
96
98
103 inline int GetSegmentLength() const { return m_segmentLength; }
104 inline bool SegmentLengthHasBeenSet() const { return m_segmentLengthHasBeenSet; }
105 inline void SetSegmentLength(int value) {
106 m_segmentLengthHasBeenSet = true;
107 m_segmentLength = value;
108 }
110 SetSegmentLength(value);
111 return *this;
112 }
114
116
119 inline CmafIngestSegmentLengthUnits GetSegmentLengthUnits() const { return m_segmentLengthUnits; }
120 inline bool SegmentLengthUnitsHasBeenSet() const { return m_segmentLengthUnitsHasBeenSet; }
122 m_segmentLengthUnitsHasBeenSet = true;
123 m_segmentLengthUnits = value;
124 }
127 return *this;
128 }
130
132
135 inline int GetSendDelayMs() const { return m_sendDelayMs; }
136 inline bool SendDelayMsHasBeenSet() const { return m_sendDelayMsHasBeenSet; }
137 inline void SetSendDelayMs(int value) {
138 m_sendDelayMsHasBeenSet = true;
139 m_sendDelayMs = value;
140 }
142 SetSendDelayMs(value);
143 return *this;
144 }
146
148
151 inline CmafKLVBehavior GetKlvBehavior() const { return m_klvBehavior; }
152 inline bool KlvBehaviorHasBeenSet() const { return m_klvBehaviorHasBeenSet; }
153 inline void SetKlvBehavior(CmafKLVBehavior value) {
154 m_klvBehaviorHasBeenSet = true;
155 m_klvBehavior = value;
156 }
158 SetKlvBehavior(value);
159 return *this;
160 }
162
164
171 inline const Aws::String& GetKlvNameModifier() const { return m_klvNameModifier; }
172 inline bool KlvNameModifierHasBeenSet() const { return m_klvNameModifierHasBeenSet; }
173 template <typename KlvNameModifierT = Aws::String>
174 void SetKlvNameModifier(KlvNameModifierT&& value) {
175 m_klvNameModifierHasBeenSet = true;
176 m_klvNameModifier = std::forward<KlvNameModifierT>(value);
177 }
178 template <typename KlvNameModifierT = Aws::String>
179 CmafIngestGroupSettings& WithKlvNameModifier(KlvNameModifierT&& value) {
180 SetKlvNameModifier(std::forward<KlvNameModifierT>(value));
181 return *this;
182 }
184
186
193 inline const Aws::String& GetNielsenId3NameModifier() const { return m_nielsenId3NameModifier; }
194 inline bool NielsenId3NameModifierHasBeenSet() const { return m_nielsenId3NameModifierHasBeenSet; }
195 template <typename NielsenId3NameModifierT = Aws::String>
196 void SetNielsenId3NameModifier(NielsenId3NameModifierT&& value) {
197 m_nielsenId3NameModifierHasBeenSet = true;
198 m_nielsenId3NameModifier = std::forward<NielsenId3NameModifierT>(value);
199 }
200 template <typename NielsenId3NameModifierT = Aws::String>
201 CmafIngestGroupSettings& WithNielsenId3NameModifier(NielsenId3NameModifierT&& value) {
202 SetNielsenId3NameModifier(std::forward<NielsenId3NameModifierT>(value));
203 return *this;
204 }
206
208
215 inline const Aws::String& GetScte35NameModifier() const { return m_scte35NameModifier; }
216 inline bool Scte35NameModifierHasBeenSet() const { return m_scte35NameModifierHasBeenSet; }
217 template <typename Scte35NameModifierT = Aws::String>
218 void SetScte35NameModifier(Scte35NameModifierT&& value) {
219 m_scte35NameModifierHasBeenSet = true;
220 m_scte35NameModifier = std::forward<Scte35NameModifierT>(value);
221 }
222 template <typename Scte35NameModifierT = Aws::String>
223 CmafIngestGroupSettings& WithScte35NameModifier(Scte35NameModifierT&& value) {
224 SetScte35NameModifier(std::forward<Scte35NameModifierT>(value));
225 return *this;
226 }
228
230
235 inline CmafId3Behavior GetId3Behavior() const { return m_id3Behavior; }
236 inline bool Id3BehaviorHasBeenSet() const { return m_id3BehaviorHasBeenSet; }
237 inline void SetId3Behavior(CmafId3Behavior value) {
238 m_id3BehaviorHasBeenSet = true;
239 m_id3Behavior = value;
240 }
242 SetId3Behavior(value);
243 return *this;
244 }
246
248
255 inline const Aws::String& GetId3NameModifier() const { return m_id3NameModifier; }
256 inline bool Id3NameModifierHasBeenSet() const { return m_id3NameModifierHasBeenSet; }
257 template <typename Id3NameModifierT = Aws::String>
258 void SetId3NameModifier(Id3NameModifierT&& value) {
259 m_id3NameModifierHasBeenSet = true;
260 m_id3NameModifier = std::forward<Id3NameModifierT>(value);
261 }
262 template <typename Id3NameModifierT = Aws::String>
263 CmafIngestGroupSettings& WithId3NameModifier(Id3NameModifierT&& value) {
264 SetId3NameModifier(std::forward<Id3NameModifierT>(value));
265 return *this;
266 }
268
270
274 inline const Aws::Vector<CmafIngestCaptionLanguageMapping>& GetCaptionLanguageMappings() const { return m_captionLanguageMappings; }
275 inline bool CaptionLanguageMappingsHasBeenSet() const { return m_captionLanguageMappingsHasBeenSet; }
276 template <typename CaptionLanguageMappingsT = Aws::Vector<CmafIngestCaptionLanguageMapping>>
277 void SetCaptionLanguageMappings(CaptionLanguageMappingsT&& value) {
278 m_captionLanguageMappingsHasBeenSet = true;
279 m_captionLanguageMappings = std::forward<CaptionLanguageMappingsT>(value);
280 }
281 template <typename CaptionLanguageMappingsT = Aws::Vector<CmafIngestCaptionLanguageMapping>>
282 CmafIngestGroupSettings& WithCaptionLanguageMappings(CaptionLanguageMappingsT&& value) {
283 SetCaptionLanguageMappings(std::forward<CaptionLanguageMappingsT>(value));
284 return *this;
285 }
286 template <typename CaptionLanguageMappingsT = CmafIngestCaptionLanguageMapping>
287 CmafIngestGroupSettings& AddCaptionLanguageMappings(CaptionLanguageMappingsT&& value) {
288 m_captionLanguageMappingsHasBeenSet = true;
289 m_captionLanguageMappings.emplace_back(std::forward<CaptionLanguageMappingsT>(value));
290 return *this;
291 }
293
295
299 inline CmafTimedMetadataId3Frame GetTimedMetadataId3Frame() const { return m_timedMetadataId3Frame; }
300 inline bool TimedMetadataId3FrameHasBeenSet() const { return m_timedMetadataId3FrameHasBeenSet; }
302 m_timedMetadataId3FrameHasBeenSet = true;
303 m_timedMetadataId3Frame = value;
304 }
307 return *this;
308 }
310
312
316 inline int GetTimedMetadataId3Period() const { return m_timedMetadataId3Period; }
317 inline bool TimedMetadataId3PeriodHasBeenSet() const { return m_timedMetadataId3PeriodHasBeenSet; }
318 inline void SetTimedMetadataId3Period(int value) {
319 m_timedMetadataId3PeriodHasBeenSet = true;
320 m_timedMetadataId3Period = value;
321 }
324 return *this;
325 }
327
329
332 inline CmafTimedMetadataPassthrough GetTimedMetadataPassthrough() const { return m_timedMetadataPassthrough; }
333 inline bool TimedMetadataPassthroughHasBeenSet() const { return m_timedMetadataPassthroughHasBeenSet; }
335 m_timedMetadataPassthroughHasBeenSet = true;
336 m_timedMetadataPassthrough = value;
337 }
340 return *this;
341 }
343
345
349 inline const Aws::Vector<AdditionalDestinations>& GetAdditionalDestinations() const { return m_additionalDestinations; }
350 inline bool AdditionalDestinationsHasBeenSet() const { return m_additionalDestinationsHasBeenSet; }
351 template <typename AdditionalDestinationsT = Aws::Vector<AdditionalDestinations>>
352 void SetAdditionalDestinations(AdditionalDestinationsT&& value) {
353 m_additionalDestinationsHasBeenSet = true;
354 m_additionalDestinations = std::forward<AdditionalDestinationsT>(value);
355 }
356 template <typename AdditionalDestinationsT = Aws::Vector<AdditionalDestinations>>
357 CmafIngestGroupSettings& WithAdditionalDestinations(AdditionalDestinationsT&& value) {
358 SetAdditionalDestinations(std::forward<AdditionalDestinationsT>(value));
359 return *this;
360 }
361 template <typename AdditionalDestinationsT = AdditionalDestinations>
362 CmafIngestGroupSettings& AddAdditionalDestinations(AdditionalDestinationsT&& value) {
363 m_additionalDestinationsHasBeenSet = true;
364 m_additionalDestinations.emplace_back(std::forward<AdditionalDestinationsT>(value));
365 return *this;
366 }
368 private:
369 OutputLocationRef m_destination;
370
372
373 Scte35Type m_scte35Type{Scte35Type::NOT_SET};
374
375 int m_segmentLength{0};
376
378
379 int m_sendDelayMs{0};
380
382
383 Aws::String m_klvNameModifier;
384
385 Aws::String m_nielsenId3NameModifier;
386
387 Aws::String m_scte35NameModifier;
388
390
391 Aws::String m_id3NameModifier;
392
393 Aws::Vector<CmafIngestCaptionLanguageMapping> m_captionLanguageMappings;
394
396
397 int m_timedMetadataId3Period{0};
398
400
401 Aws::Vector<AdditionalDestinations> m_additionalDestinations;
402 bool m_destinationHasBeenSet = false;
403 bool m_nielsenId3BehaviorHasBeenSet = false;
404 bool m_scte35TypeHasBeenSet = false;
405 bool m_segmentLengthHasBeenSet = false;
406 bool m_segmentLengthUnitsHasBeenSet = false;
407 bool m_sendDelayMsHasBeenSet = false;
408 bool m_klvBehaviorHasBeenSet = false;
409 bool m_klvNameModifierHasBeenSet = false;
410 bool m_nielsenId3NameModifierHasBeenSet = false;
411 bool m_scte35NameModifierHasBeenSet = false;
412 bool m_id3BehaviorHasBeenSet = false;
413 bool m_id3NameModifierHasBeenSet = false;
414 bool m_captionLanguageMappingsHasBeenSet = false;
415 bool m_timedMetadataId3FrameHasBeenSet = false;
416 bool m_timedMetadataId3PeriodHasBeenSet = false;
417 bool m_timedMetadataPassthroughHasBeenSet = false;
418 bool m_additionalDestinationsHasBeenSet = false;
419};
420
421} // namespace Model
422} // namespace MediaLive
423} // namespace Aws
CmafTimedMetadataPassthrough GetTimedMetadataPassthrough() const
CmafIngestGroupSettings & WithSegmentLength(int value)
const Aws::Vector< CmafIngestCaptionLanguageMapping > & GetCaptionLanguageMappings() const
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)
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