AWS SDK for C++

AWS SDK for C++ Version 1.11.609

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 <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 CmafIngestGroupSettings() = default;
47 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const OutputLocationRef& GetDestination() const { return m_destination; }
55 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
56 template<typename DestinationT = OutputLocationRef>
57 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
58 template<typename DestinationT = OutputLocationRef>
59 CmafIngestGroupSettings& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
61
63
68 inline CmafNielsenId3Behavior GetNielsenId3Behavior() const { return m_nielsenId3Behavior; }
69 inline bool NielsenId3BehaviorHasBeenSet() const { return m_nielsenId3BehaviorHasBeenSet; }
70 inline void SetNielsenId3Behavior(CmafNielsenId3Behavior value) { m_nielsenId3BehaviorHasBeenSet = true; m_nielsenId3Behavior = value; }
73
75
78 inline Scte35Type GetScte35Type() const { return m_scte35Type; }
79 inline bool Scte35TypeHasBeenSet() const { return m_scte35TypeHasBeenSet; }
80 inline void SetScte35Type(Scte35Type value) { m_scte35TypeHasBeenSet = true; m_scte35Type = value; }
81 inline CmafIngestGroupSettings& WithScte35Type(Scte35Type value) { SetScte35Type(value); return *this;}
83
85
90 inline int GetSegmentLength() const { return m_segmentLength; }
91 inline bool SegmentLengthHasBeenSet() const { return m_segmentLengthHasBeenSet; }
92 inline void SetSegmentLength(int value) { m_segmentLengthHasBeenSet = true; m_segmentLength = value; }
93 inline CmafIngestGroupSettings& WithSegmentLength(int value) { SetSegmentLength(value); return *this;}
95
97
100 inline CmafIngestSegmentLengthUnits GetSegmentLengthUnits() const { return m_segmentLengthUnits; }
101 inline bool SegmentLengthUnitsHasBeenSet() const { return m_segmentLengthUnitsHasBeenSet; }
102 inline void SetSegmentLengthUnits(CmafIngestSegmentLengthUnits value) { m_segmentLengthUnitsHasBeenSet = true; m_segmentLengthUnits = value; }
105
107
110 inline int GetSendDelayMs() const { return m_sendDelayMs; }
111 inline bool SendDelayMsHasBeenSet() const { return m_sendDelayMsHasBeenSet; }
112 inline void SetSendDelayMs(int value) { m_sendDelayMsHasBeenSet = true; m_sendDelayMs = value; }
113 inline CmafIngestGroupSettings& WithSendDelayMs(int value) { SetSendDelayMs(value); return *this;}
115
117
120 inline CmafKLVBehavior GetKlvBehavior() const { return m_klvBehavior; }
121 inline bool KlvBehaviorHasBeenSet() const { return m_klvBehaviorHasBeenSet; }
122 inline void SetKlvBehavior(CmafKLVBehavior value) { m_klvBehaviorHasBeenSet = true; m_klvBehavior = value; }
125
127
134 inline const Aws::String& GetKlvNameModifier() const { return m_klvNameModifier; }
135 inline bool KlvNameModifierHasBeenSet() const { return m_klvNameModifierHasBeenSet; }
136 template<typename KlvNameModifierT = Aws::String>
137 void SetKlvNameModifier(KlvNameModifierT&& value) { m_klvNameModifierHasBeenSet = true; m_klvNameModifier = std::forward<KlvNameModifierT>(value); }
138 template<typename KlvNameModifierT = Aws::String>
139 CmafIngestGroupSettings& WithKlvNameModifier(KlvNameModifierT&& value) { SetKlvNameModifier(std::forward<KlvNameModifierT>(value)); return *this;}
141
143
150 inline const Aws::String& GetNielsenId3NameModifier() const { return m_nielsenId3NameModifier; }
151 inline bool NielsenId3NameModifierHasBeenSet() const { return m_nielsenId3NameModifierHasBeenSet; }
152 template<typename NielsenId3NameModifierT = Aws::String>
153 void SetNielsenId3NameModifier(NielsenId3NameModifierT&& value) { m_nielsenId3NameModifierHasBeenSet = true; m_nielsenId3NameModifier = std::forward<NielsenId3NameModifierT>(value); }
154 template<typename NielsenId3NameModifierT = Aws::String>
155 CmafIngestGroupSettings& WithNielsenId3NameModifier(NielsenId3NameModifierT&& value) { SetNielsenId3NameModifier(std::forward<NielsenId3NameModifierT>(value)); return *this;}
157
159
166 inline const Aws::String& GetScte35NameModifier() const { return m_scte35NameModifier; }
167 inline bool Scte35NameModifierHasBeenSet() const { return m_scte35NameModifierHasBeenSet; }
168 template<typename Scte35NameModifierT = Aws::String>
169 void SetScte35NameModifier(Scte35NameModifierT&& value) { m_scte35NameModifierHasBeenSet = true; m_scte35NameModifier = std::forward<Scte35NameModifierT>(value); }
170 template<typename Scte35NameModifierT = Aws::String>
171 CmafIngestGroupSettings& WithScte35NameModifier(Scte35NameModifierT&& value) { SetScte35NameModifier(std::forward<Scte35NameModifierT>(value)); return *this;}
173
175
180 inline CmafId3Behavior GetId3Behavior() const { return m_id3Behavior; }
181 inline bool Id3BehaviorHasBeenSet() const { return m_id3BehaviorHasBeenSet; }
182 inline void SetId3Behavior(CmafId3Behavior value) { m_id3BehaviorHasBeenSet = true; m_id3Behavior = value; }
185
187
194 inline const Aws::String& GetId3NameModifier() const { return m_id3NameModifier; }
195 inline bool Id3NameModifierHasBeenSet() const { return m_id3NameModifierHasBeenSet; }
196 template<typename Id3NameModifierT = Aws::String>
197 void SetId3NameModifier(Id3NameModifierT&& value) { m_id3NameModifierHasBeenSet = true; m_id3NameModifier = std::forward<Id3NameModifierT>(value); }
198 template<typename Id3NameModifierT = Aws::String>
199 CmafIngestGroupSettings& WithId3NameModifier(Id3NameModifierT&& value) { SetId3NameModifier(std::forward<Id3NameModifierT>(value)); return *this;}
201
203
207 inline const Aws::Vector<CmafIngestCaptionLanguageMapping>& GetCaptionLanguageMappings() const { return m_captionLanguageMappings; }
208 inline bool CaptionLanguageMappingsHasBeenSet() const { return m_captionLanguageMappingsHasBeenSet; }
209 template<typename CaptionLanguageMappingsT = Aws::Vector<CmafIngestCaptionLanguageMapping>>
210 void SetCaptionLanguageMappings(CaptionLanguageMappingsT&& value) { m_captionLanguageMappingsHasBeenSet = true; m_captionLanguageMappings = std::forward<CaptionLanguageMappingsT>(value); }
211 template<typename CaptionLanguageMappingsT = Aws::Vector<CmafIngestCaptionLanguageMapping>>
212 CmafIngestGroupSettings& WithCaptionLanguageMappings(CaptionLanguageMappingsT&& value) { SetCaptionLanguageMappings(std::forward<CaptionLanguageMappingsT>(value)); return *this;}
213 template<typename CaptionLanguageMappingsT = CmafIngestCaptionLanguageMapping>
214 CmafIngestGroupSettings& AddCaptionLanguageMappings(CaptionLanguageMappingsT&& value) { m_captionLanguageMappingsHasBeenSet = true; m_captionLanguageMappings.emplace_back(std::forward<CaptionLanguageMappingsT>(value)); return *this; }
216
218
222 inline CmafTimedMetadataId3Frame GetTimedMetadataId3Frame() const { return m_timedMetadataId3Frame; }
223 inline bool TimedMetadataId3FrameHasBeenSet() const { return m_timedMetadataId3FrameHasBeenSet; }
224 inline void SetTimedMetadataId3Frame(CmafTimedMetadataId3Frame value) { m_timedMetadataId3FrameHasBeenSet = true; m_timedMetadataId3Frame = value; }
227
229
233 inline int GetTimedMetadataId3Period() const { return m_timedMetadataId3Period; }
234 inline bool TimedMetadataId3PeriodHasBeenSet() const { return m_timedMetadataId3PeriodHasBeenSet; }
235 inline void SetTimedMetadataId3Period(int value) { m_timedMetadataId3PeriodHasBeenSet = true; m_timedMetadataId3Period = value; }
238
240
243 inline CmafTimedMetadataPassthrough GetTimedMetadataPassthrough() const { return m_timedMetadataPassthrough; }
244 inline bool TimedMetadataPassthroughHasBeenSet() const { return m_timedMetadataPassthroughHasBeenSet; }
245 inline void SetTimedMetadataPassthrough(CmafTimedMetadataPassthrough value) { m_timedMetadataPassthroughHasBeenSet = true; m_timedMetadataPassthrough = value; }
248 private:
249
250 OutputLocationRef m_destination;
251 bool m_destinationHasBeenSet = false;
252
254 bool m_nielsenId3BehaviorHasBeenSet = false;
255
256 Scte35Type m_scte35Type{Scte35Type::NOT_SET};
257 bool m_scte35TypeHasBeenSet = false;
258
259 int m_segmentLength{0};
260 bool m_segmentLengthHasBeenSet = false;
261
263 bool m_segmentLengthUnitsHasBeenSet = false;
264
265 int m_sendDelayMs{0};
266 bool m_sendDelayMsHasBeenSet = false;
267
269 bool m_klvBehaviorHasBeenSet = false;
270
271 Aws::String m_klvNameModifier;
272 bool m_klvNameModifierHasBeenSet = false;
273
274 Aws::String m_nielsenId3NameModifier;
275 bool m_nielsenId3NameModifierHasBeenSet = false;
276
277 Aws::String m_scte35NameModifier;
278 bool m_scte35NameModifierHasBeenSet = false;
279
281 bool m_id3BehaviorHasBeenSet = false;
282
283 Aws::String m_id3NameModifier;
284 bool m_id3NameModifierHasBeenSet = false;
285
286 Aws::Vector<CmafIngestCaptionLanguageMapping> m_captionLanguageMappings;
287 bool m_captionLanguageMappingsHasBeenSet = false;
288
290 bool m_timedMetadataId3FrameHasBeenSet = false;
291
292 int m_timedMetadataId3Period{0};
293 bool m_timedMetadataId3PeriodHasBeenSet = false;
294
296 bool m_timedMetadataPassthroughHasBeenSet = false;
297 };
298
299} // namespace Model
300} // namespace MediaLive
301} // namespace Aws
CmafTimedMetadataPassthrough GetTimedMetadataPassthrough() const
CmafIngestGroupSettings & WithSegmentLength(int value)
const Aws::Vector< CmafIngestCaptionLanguageMapping > & GetCaptionLanguageMappings() const
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)
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 & WithNielsenId3Behavior(CmafNielsenId3Behavior value)
CmafIngestGroupSettings & WithId3NameModifier(Id3NameModifierT &&value)
void SetScte35NameModifier(Scte35NameModifierT &&value)
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