AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
CmafIngestGroupSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/OutputLocationRef.h>
9#include <aws/medialive/model/CmafNielsenId3Behavior.h>
10#include <aws/medialive/model/Scte35Type.h>
11#include <aws/medialive/model/CmafIngestSegmentLengthUnits.h>
12#include <aws/medialive/model/CmafKLVBehavior.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/medialive/model/CmafId3Behavior.h>
15#include <aws/core/utils/memory/stl/AWSVector.h>
16#include <aws/medialive/model/CmafTimedMetadataId3Frame.h>
17#include <aws/medialive/model/CmafTimedMetadataPassthrough.h>
18#include <aws/medialive/model/CmafIngestCaptionLanguageMapping.h>
19#include <aws/medialive/model/AdditionalDestinations.h>
20#include <utility>
21
22namespace Aws
23{
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29 class JsonView;
30} // namespace Json
31} // namespace Utils
32namespace MediaLive
33{
34namespace Model
35{
36
43 {
44 public:
45 AWS_MEDIALIVE_API CmafIngestGroupSettings() = default;
48 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
55 inline const OutputLocationRef& GetDestination() const { return m_destination; }
56 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
57 template<typename DestinationT = OutputLocationRef>
58 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
59 template<typename DestinationT = OutputLocationRef>
60 CmafIngestGroupSettings& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
62
64
69 inline CmafNielsenId3Behavior GetNielsenId3Behavior() const { return m_nielsenId3Behavior; }
70 inline bool NielsenId3BehaviorHasBeenSet() const { return m_nielsenId3BehaviorHasBeenSet; }
71 inline void SetNielsenId3Behavior(CmafNielsenId3Behavior value) { m_nielsenId3BehaviorHasBeenSet = true; m_nielsenId3Behavior = value; }
74
76
79 inline Scte35Type GetScte35Type() const { return m_scte35Type; }
80 inline bool Scte35TypeHasBeenSet() const { return m_scte35TypeHasBeenSet; }
81 inline void SetScte35Type(Scte35Type value) { m_scte35TypeHasBeenSet = true; m_scte35Type = value; }
82 inline CmafIngestGroupSettings& WithScte35Type(Scte35Type value) { SetScte35Type(value); return *this;}
84
86
91 inline int GetSegmentLength() const { return m_segmentLength; }
92 inline bool SegmentLengthHasBeenSet() const { return m_segmentLengthHasBeenSet; }
93 inline void SetSegmentLength(int value) { m_segmentLengthHasBeenSet = true; m_segmentLength = value; }
94 inline CmafIngestGroupSettings& WithSegmentLength(int value) { SetSegmentLength(value); return *this;}
96
98
101 inline CmafIngestSegmentLengthUnits GetSegmentLengthUnits() const { return m_segmentLengthUnits; }
102 inline bool SegmentLengthUnitsHasBeenSet() const { return m_segmentLengthUnitsHasBeenSet; }
103 inline void SetSegmentLengthUnits(CmafIngestSegmentLengthUnits value) { m_segmentLengthUnitsHasBeenSet = true; m_segmentLengthUnits = value; }
106
108
111 inline int GetSendDelayMs() const { return m_sendDelayMs; }
112 inline bool SendDelayMsHasBeenSet() const { return m_sendDelayMsHasBeenSet; }
113 inline void SetSendDelayMs(int value) { m_sendDelayMsHasBeenSet = true; m_sendDelayMs = value; }
114 inline CmafIngestGroupSettings& WithSendDelayMs(int value) { SetSendDelayMs(value); return *this;}
116
118
121 inline CmafKLVBehavior GetKlvBehavior() const { return m_klvBehavior; }
122 inline bool KlvBehaviorHasBeenSet() const { return m_klvBehaviorHasBeenSet; }
123 inline void SetKlvBehavior(CmafKLVBehavior value) { m_klvBehaviorHasBeenSet = true; m_klvBehavior = value; }
126
128
135 inline const Aws::String& GetKlvNameModifier() const { return m_klvNameModifier; }
136 inline bool KlvNameModifierHasBeenSet() const { return m_klvNameModifierHasBeenSet; }
137 template<typename KlvNameModifierT = Aws::String>
138 void SetKlvNameModifier(KlvNameModifierT&& value) { m_klvNameModifierHasBeenSet = true; m_klvNameModifier = std::forward<KlvNameModifierT>(value); }
139 template<typename KlvNameModifierT = Aws::String>
140 CmafIngestGroupSettings& WithKlvNameModifier(KlvNameModifierT&& value) { SetKlvNameModifier(std::forward<KlvNameModifierT>(value)); return *this;}
142
144
151 inline const Aws::String& GetNielsenId3NameModifier() const { return m_nielsenId3NameModifier; }
152 inline bool NielsenId3NameModifierHasBeenSet() const { return m_nielsenId3NameModifierHasBeenSet; }
153 template<typename NielsenId3NameModifierT = Aws::String>
154 void SetNielsenId3NameModifier(NielsenId3NameModifierT&& value) { m_nielsenId3NameModifierHasBeenSet = true; m_nielsenId3NameModifier = std::forward<NielsenId3NameModifierT>(value); }
155 template<typename NielsenId3NameModifierT = Aws::String>
156 CmafIngestGroupSettings& WithNielsenId3NameModifier(NielsenId3NameModifierT&& value) { SetNielsenId3NameModifier(std::forward<NielsenId3NameModifierT>(value)); return *this;}
158
160
167 inline const Aws::String& GetScte35NameModifier() const { return m_scte35NameModifier; }
168 inline bool Scte35NameModifierHasBeenSet() const { return m_scte35NameModifierHasBeenSet; }
169 template<typename Scte35NameModifierT = Aws::String>
170 void SetScte35NameModifier(Scte35NameModifierT&& value) { m_scte35NameModifierHasBeenSet = true; m_scte35NameModifier = std::forward<Scte35NameModifierT>(value); }
171 template<typename Scte35NameModifierT = Aws::String>
172 CmafIngestGroupSettings& WithScte35NameModifier(Scte35NameModifierT&& value) { SetScte35NameModifier(std::forward<Scte35NameModifierT>(value)); return *this;}
174
176
181 inline CmafId3Behavior GetId3Behavior() const { return m_id3Behavior; }
182 inline bool Id3BehaviorHasBeenSet() const { return m_id3BehaviorHasBeenSet; }
183 inline void SetId3Behavior(CmafId3Behavior value) { m_id3BehaviorHasBeenSet = true; m_id3Behavior = value; }
186
188
195 inline const Aws::String& GetId3NameModifier() const { return m_id3NameModifier; }
196 inline bool Id3NameModifierHasBeenSet() const { return m_id3NameModifierHasBeenSet; }
197 template<typename Id3NameModifierT = Aws::String>
198 void SetId3NameModifier(Id3NameModifierT&& value) { m_id3NameModifierHasBeenSet = true; m_id3NameModifier = std::forward<Id3NameModifierT>(value); }
199 template<typename Id3NameModifierT = Aws::String>
200 CmafIngestGroupSettings& WithId3NameModifier(Id3NameModifierT&& value) { SetId3NameModifier(std::forward<Id3NameModifierT>(value)); return *this;}
202
204
208 inline const Aws::Vector<CmafIngestCaptionLanguageMapping>& GetCaptionLanguageMappings() const { return m_captionLanguageMappings; }
209 inline bool CaptionLanguageMappingsHasBeenSet() const { return m_captionLanguageMappingsHasBeenSet; }
210 template<typename CaptionLanguageMappingsT = Aws::Vector<CmafIngestCaptionLanguageMapping>>
211 void SetCaptionLanguageMappings(CaptionLanguageMappingsT&& value) { m_captionLanguageMappingsHasBeenSet = true; m_captionLanguageMappings = std::forward<CaptionLanguageMappingsT>(value); }
212 template<typename CaptionLanguageMappingsT = Aws::Vector<CmafIngestCaptionLanguageMapping>>
213 CmafIngestGroupSettings& WithCaptionLanguageMappings(CaptionLanguageMappingsT&& value) { SetCaptionLanguageMappings(std::forward<CaptionLanguageMappingsT>(value)); return *this;}
214 template<typename CaptionLanguageMappingsT = CmafIngestCaptionLanguageMapping>
215 CmafIngestGroupSettings& AddCaptionLanguageMappings(CaptionLanguageMappingsT&& value) { m_captionLanguageMappingsHasBeenSet = true; m_captionLanguageMappings.emplace_back(std::forward<CaptionLanguageMappingsT>(value)); return *this; }
217
219
223 inline CmafTimedMetadataId3Frame GetTimedMetadataId3Frame() const { return m_timedMetadataId3Frame; }
224 inline bool TimedMetadataId3FrameHasBeenSet() const { return m_timedMetadataId3FrameHasBeenSet; }
225 inline void SetTimedMetadataId3Frame(CmafTimedMetadataId3Frame value) { m_timedMetadataId3FrameHasBeenSet = true; m_timedMetadataId3Frame = value; }
228
230
234 inline int GetTimedMetadataId3Period() const { return m_timedMetadataId3Period; }
235 inline bool TimedMetadataId3PeriodHasBeenSet() const { return m_timedMetadataId3PeriodHasBeenSet; }
236 inline void SetTimedMetadataId3Period(int value) { m_timedMetadataId3PeriodHasBeenSet = true; m_timedMetadataId3Period = value; }
239
241
244 inline CmafTimedMetadataPassthrough GetTimedMetadataPassthrough() const { return m_timedMetadataPassthrough; }
245 inline bool TimedMetadataPassthroughHasBeenSet() const { return m_timedMetadataPassthroughHasBeenSet; }
246 inline void SetTimedMetadataPassthrough(CmafTimedMetadataPassthrough value) { m_timedMetadataPassthroughHasBeenSet = true; m_timedMetadataPassthrough = value; }
249
251
255 inline const Aws::Vector<AdditionalDestinations>& GetAdditionalDestinations() const { return m_additionalDestinations; }
256 inline bool AdditionalDestinationsHasBeenSet() const { return m_additionalDestinationsHasBeenSet; }
257 template<typename AdditionalDestinationsT = Aws::Vector<AdditionalDestinations>>
258 void SetAdditionalDestinations(AdditionalDestinationsT&& value) { m_additionalDestinationsHasBeenSet = true; m_additionalDestinations = std::forward<AdditionalDestinationsT>(value); }
259 template<typename AdditionalDestinationsT = Aws::Vector<AdditionalDestinations>>
260 CmafIngestGroupSettings& WithAdditionalDestinations(AdditionalDestinationsT&& value) { SetAdditionalDestinations(std::forward<AdditionalDestinationsT>(value)); return *this;}
261 template<typename AdditionalDestinationsT = AdditionalDestinations>
262 CmafIngestGroupSettings& AddAdditionalDestinations(AdditionalDestinationsT&& value) { m_additionalDestinationsHasBeenSet = true; m_additionalDestinations.emplace_back(std::forward<AdditionalDestinationsT>(value)); return *this; }
264 private:
265
266 OutputLocationRef m_destination;
267 bool m_destinationHasBeenSet = false;
268
270 bool m_nielsenId3BehaviorHasBeenSet = false;
271
272 Scte35Type m_scte35Type{Scte35Type::NOT_SET};
273 bool m_scte35TypeHasBeenSet = false;
274
275 int m_segmentLength{0};
276 bool m_segmentLengthHasBeenSet = false;
277
279 bool m_segmentLengthUnitsHasBeenSet = false;
280
281 int m_sendDelayMs{0};
282 bool m_sendDelayMsHasBeenSet = false;
283
285 bool m_klvBehaviorHasBeenSet = false;
286
287 Aws::String m_klvNameModifier;
288 bool m_klvNameModifierHasBeenSet = false;
289
290 Aws::String m_nielsenId3NameModifier;
291 bool m_nielsenId3NameModifierHasBeenSet = false;
292
293 Aws::String m_scte35NameModifier;
294 bool m_scte35NameModifierHasBeenSet = false;
295
297 bool m_id3BehaviorHasBeenSet = false;
298
299 Aws::String m_id3NameModifier;
300 bool m_id3NameModifierHasBeenSet = false;
301
302 Aws::Vector<CmafIngestCaptionLanguageMapping> m_captionLanguageMappings;
303 bool m_captionLanguageMappingsHasBeenSet = false;
304
306 bool m_timedMetadataId3FrameHasBeenSet = false;
307
308 int m_timedMetadataId3Period{0};
309 bool m_timedMetadataId3PeriodHasBeenSet = false;
310
312 bool m_timedMetadataPassthroughHasBeenSet = false;
313
314 Aws::Vector<AdditionalDestinations> m_additionalDestinations;
315 bool m_additionalDestinationsHasBeenSet = false;
316 };
317
318} // namespace Model
319} // namespace MediaLive
320} // 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