AWS SDK for C++

AWS SDK for C++ Version 1.11.891

Loading...
Searching...
No Matches
MediaPackageV2GroupSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9#include <aws/medialive/model/CaptionLanguageMapping.h>
10#include <aws/medialive/model/CmafId3Behavior.h>
11#include <aws/medialive/model/CmafIngestSegmentLengthUnits.h>
12#include <aws/medialive/model/CmafKLVBehavior.h>
13#include <aws/medialive/model/CmafNielsenId3Behavior.h>
14#include <aws/medialive/model/CmafTimedMetadataId3Frame.h>
15#include <aws/medialive/model/CmafTimedMetadataPassthrough.h>
16#include <aws/medialive/model/MediaPackageAdditionalDestinations.h>
17#include <aws/medialive/model/MediaPackageV2WatermarkingSettings.h>
18#include <aws/medialive/model/Scte35Type.h>
19
20#include <utility>
21
22namespace Aws {
23namespace Utils {
24namespace Json {
25class JsonValue;
26class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace MediaLive {
30namespace Model {
31
38 public:
39 AWS_MEDIALIVE_API MediaPackageV2GroupSettings() = default;
42 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
45
48 inline const Aws::Vector<CaptionLanguageMapping>& GetCaptionLanguageMappings() const { return m_captionLanguageMappings; }
49 inline bool CaptionLanguageMappingsHasBeenSet() const { return m_captionLanguageMappingsHasBeenSet; }
50 template <typename CaptionLanguageMappingsT = Aws::Vector<CaptionLanguageMapping>>
51 void SetCaptionLanguageMappings(CaptionLanguageMappingsT&& value) {
52 m_captionLanguageMappingsHasBeenSet = true;
53 m_captionLanguageMappings = std::forward<CaptionLanguageMappingsT>(value);
54 }
55 template <typename CaptionLanguageMappingsT = Aws::Vector<CaptionLanguageMapping>>
56 MediaPackageV2GroupSettings& WithCaptionLanguageMappings(CaptionLanguageMappingsT&& value) {
57 SetCaptionLanguageMappings(std::forward<CaptionLanguageMappingsT>(value));
58 return *this;
59 }
60 template <typename CaptionLanguageMappingsT = CaptionLanguageMapping>
61 MediaPackageV2GroupSettings& AddCaptionLanguageMappings(CaptionLanguageMappingsT&& value) {
62 m_captionLanguageMappingsHasBeenSet = true;
63 m_captionLanguageMappings.emplace_back(std::forward<CaptionLanguageMappingsT>(value));
64 return *this;
65 }
67
69
74 inline CmafId3Behavior GetId3Behavior() const { return m_id3Behavior; }
75 inline bool Id3BehaviorHasBeenSet() const { return m_id3BehaviorHasBeenSet; }
76 inline void SetId3Behavior(CmafId3Behavior value) {
77 m_id3BehaviorHasBeenSet = true;
78 m_id3Behavior = value;
79 }
81 SetId3Behavior(value);
82 return *this;
83 }
85
87
90 inline CmafKLVBehavior GetKlvBehavior() const { return m_klvBehavior; }
91 inline bool KlvBehaviorHasBeenSet() const { return m_klvBehaviorHasBeenSet; }
92 inline void SetKlvBehavior(CmafKLVBehavior value) {
93 m_klvBehaviorHasBeenSet = true;
94 m_klvBehavior = value;
95 }
97 SetKlvBehavior(value);
98 return *this;
99 }
101
103
108 inline CmafNielsenId3Behavior GetNielsenId3Behavior() const { return m_nielsenId3Behavior; }
109 inline bool NielsenId3BehaviorHasBeenSet() const { return m_nielsenId3BehaviorHasBeenSet; }
111 m_nielsenId3BehaviorHasBeenSet = true;
112 m_nielsenId3Behavior = value;
113 }
116 return *this;
117 }
119
121
134 inline Scte35Type GetScte35Type() const { return m_scte35Type; }
135 inline bool Scte35TypeHasBeenSet() const { return m_scte35TypeHasBeenSet; }
136 inline void SetScte35Type(Scte35Type value) {
137 m_scte35TypeHasBeenSet = true;
138 m_scte35Type = value;
139 }
141 SetScte35Type(value);
142 return *this;
143 }
145
147
152 inline int GetSegmentLength() const { return m_segmentLength; }
153 inline bool SegmentLengthHasBeenSet() const { return m_segmentLengthHasBeenSet; }
154 inline void SetSegmentLength(int value) {
155 m_segmentLengthHasBeenSet = true;
156 m_segmentLength = value;
157 }
159 SetSegmentLength(value);
160 return *this;
161 }
163
165
168 inline CmafIngestSegmentLengthUnits GetSegmentLengthUnits() const { return m_segmentLengthUnits; }
169 inline bool SegmentLengthUnitsHasBeenSet() const { return m_segmentLengthUnitsHasBeenSet; }
171 m_segmentLengthUnitsHasBeenSet = true;
172 m_segmentLengthUnits = value;
173 }
176 return *this;
177 }
179
181
185 inline CmafTimedMetadataId3Frame GetTimedMetadataId3Frame() const { return m_timedMetadataId3Frame; }
186 inline bool TimedMetadataId3FrameHasBeenSet() const { return m_timedMetadataId3FrameHasBeenSet; }
188 m_timedMetadataId3FrameHasBeenSet = true;
189 m_timedMetadataId3Frame = value;
190 }
193 return *this;
194 }
196
198
202 inline int GetTimedMetadataId3Period() const { return m_timedMetadataId3Period; }
203 inline bool TimedMetadataId3PeriodHasBeenSet() const { return m_timedMetadataId3PeriodHasBeenSet; }
204 inline void SetTimedMetadataId3Period(int value) {
205 m_timedMetadataId3PeriodHasBeenSet = true;
206 m_timedMetadataId3Period = value;
207 }
210 return *this;
211 }
213
215
218 inline CmafTimedMetadataPassthrough GetTimedMetadataPassthrough() const { return m_timedMetadataPassthrough; }
219 inline bool TimedMetadataPassthroughHasBeenSet() const { return m_timedMetadataPassthroughHasBeenSet; }
221 m_timedMetadataPassthroughHasBeenSet = true;
222 m_timedMetadataPassthrough = value;
223 }
226 return *this;
227 }
229
231
235 inline const Aws::Vector<MediaPackageAdditionalDestinations>& GetAdditionalDestinations() const { return m_additionalDestinations; }
236 inline bool AdditionalDestinationsHasBeenSet() const { return m_additionalDestinationsHasBeenSet; }
237 template <typename AdditionalDestinationsT = Aws::Vector<MediaPackageAdditionalDestinations>>
238 void SetAdditionalDestinations(AdditionalDestinationsT&& value) {
239 m_additionalDestinationsHasBeenSet = true;
240 m_additionalDestinations = std::forward<AdditionalDestinationsT>(value);
241 }
242 template <typename AdditionalDestinationsT = Aws::Vector<MediaPackageAdditionalDestinations>>
243 MediaPackageV2GroupSettings& WithAdditionalDestinations(AdditionalDestinationsT&& value) {
244 SetAdditionalDestinations(std::forward<AdditionalDestinationsT>(value));
245 return *this;
246 }
247 template <typename AdditionalDestinationsT = MediaPackageAdditionalDestinations>
248 MediaPackageV2GroupSettings& AddAdditionalDestinations(AdditionalDestinationsT&& value) {
249 m_additionalDestinationsHasBeenSet = true;
250 m_additionalDestinations.emplace_back(std::forward<AdditionalDestinationsT>(value));
251 return *this;
252 }
254
256
259 inline const MediaPackageV2WatermarkingSettings& GetWatermarkingSettings() const { return m_watermarkingSettings; }
260 inline bool WatermarkingSettingsHasBeenSet() const { return m_watermarkingSettingsHasBeenSet; }
261 template <typename WatermarkingSettingsT = MediaPackageV2WatermarkingSettings>
262 void SetWatermarkingSettings(WatermarkingSettingsT&& value) {
263 m_watermarkingSettingsHasBeenSet = true;
264 m_watermarkingSettings = std::forward<WatermarkingSettingsT>(value);
265 }
266 template <typename WatermarkingSettingsT = MediaPackageV2WatermarkingSettings>
268 SetWatermarkingSettings(std::forward<WatermarkingSettingsT>(value));
269 return *this;
270 }
272 private:
273 Aws::Vector<CaptionLanguageMapping> m_captionLanguageMappings;
274
276
278
280
281 Scte35Type m_scte35Type{Scte35Type::NOT_SET};
282
283 int m_segmentLength{0};
284
286
288
289 int m_timedMetadataId3Period{0};
290
292
294
295 MediaPackageV2WatermarkingSettings m_watermarkingSettings;
296 bool m_captionLanguageMappingsHasBeenSet = false;
297 bool m_id3BehaviorHasBeenSet = false;
298 bool m_klvBehaviorHasBeenSet = false;
299 bool m_nielsenId3BehaviorHasBeenSet = false;
300 bool m_scte35TypeHasBeenSet = false;
301 bool m_segmentLengthHasBeenSet = false;
302 bool m_segmentLengthUnitsHasBeenSet = false;
303 bool m_timedMetadataId3FrameHasBeenSet = false;
304 bool m_timedMetadataId3PeriodHasBeenSet = false;
305 bool m_timedMetadataPassthroughHasBeenSet = false;
306 bool m_additionalDestinationsHasBeenSet = false;
307 bool m_watermarkingSettingsHasBeenSet = false;
308};
309
310} // namespace Model
311} // namespace MediaLive
312} // namespace Aws
MediaPackageV2GroupSettings & WithId3Behavior(CmafId3Behavior value)
MediaPackageV2GroupSettings & WithWatermarkingSettings(WatermarkingSettingsT &&value)
MediaPackageV2GroupSettings & WithTimedMetadataPassthrough(CmafTimedMetadataPassthrough value)
const MediaPackageV2WatermarkingSettings & GetWatermarkingSettings() const
CmafTimedMetadataPassthrough GetTimedMetadataPassthrough() const
MediaPackageV2GroupSettings & WithTimedMetadataId3Period(int value)
AWS_MEDIALIVE_API MediaPackageV2GroupSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
MediaPackageV2GroupSettings & WithNielsenId3Behavior(CmafNielsenId3Behavior value)
void SetSegmentLengthUnits(CmafIngestSegmentLengthUnits value)
MediaPackageV2GroupSettings & WithScte35Type(Scte35Type value)
MediaPackageV2GroupSettings & WithCaptionLanguageMappings(CaptionLanguageMappingsT &&value)
MediaPackageV2GroupSettings & WithAdditionalDestinations(AdditionalDestinationsT &&value)
MediaPackageV2GroupSettings & WithTimedMetadataId3Frame(CmafTimedMetadataId3Frame value)
MediaPackageV2GroupSettings & WithSegmentLengthUnits(CmafIngestSegmentLengthUnits value)
AWS_MEDIALIVE_API MediaPackageV2GroupSettings()=default
void SetTimedMetadataPassthrough(CmafTimedMetadataPassthrough value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
MediaPackageV2GroupSettings & AddCaptionLanguageMappings(CaptionLanguageMappingsT &&value)
MediaPackageV2GroupSettings & WithKlvBehavior(CmafKLVBehavior value)
MediaPackageV2GroupSettings & WithSegmentLength(int value)
void SetTimedMetadataId3Frame(CmafTimedMetadataId3Frame value)
MediaPackageV2GroupSettings & AddAdditionalDestinations(AdditionalDestinationsT &&value)
AWS_MEDIALIVE_API MediaPackageV2GroupSettings(Aws::Utils::Json::JsonView jsonValue)
void SetCaptionLanguageMappings(CaptionLanguageMappingsT &&value)
void SetAdditionalDestinations(AdditionalDestinationsT &&value)
const Aws::Vector< MediaPackageAdditionalDestinations > & GetAdditionalDestinations() const
const Aws::Vector< CaptionLanguageMapping > & GetCaptionLanguageMappings() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue