AWS SDK for C++

AWS SDK for C++ Version 1.11.754

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/Scte35Type.h>
18
19#include <utility>
20
21namespace Aws {
22namespace Utils {
23namespace Json {
24class JsonValue;
25class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace MediaLive {
29namespace Model {
30
37 public:
38 AWS_MEDIALIVE_API MediaPackageV2GroupSettings() = default;
41 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
44
47 inline const Aws::Vector<CaptionLanguageMapping>& GetCaptionLanguageMappings() const { return m_captionLanguageMappings; }
48 inline bool CaptionLanguageMappingsHasBeenSet() const { return m_captionLanguageMappingsHasBeenSet; }
49 template <typename CaptionLanguageMappingsT = Aws::Vector<CaptionLanguageMapping>>
50 void SetCaptionLanguageMappings(CaptionLanguageMappingsT&& value) {
51 m_captionLanguageMappingsHasBeenSet = true;
52 m_captionLanguageMappings = std::forward<CaptionLanguageMappingsT>(value);
53 }
54 template <typename CaptionLanguageMappingsT = Aws::Vector<CaptionLanguageMapping>>
55 MediaPackageV2GroupSettings& WithCaptionLanguageMappings(CaptionLanguageMappingsT&& value) {
56 SetCaptionLanguageMappings(std::forward<CaptionLanguageMappingsT>(value));
57 return *this;
58 }
59 template <typename CaptionLanguageMappingsT = CaptionLanguageMapping>
60 MediaPackageV2GroupSettings& AddCaptionLanguageMappings(CaptionLanguageMappingsT&& value) {
61 m_captionLanguageMappingsHasBeenSet = true;
62 m_captionLanguageMappings.emplace_back(std::forward<CaptionLanguageMappingsT>(value));
63 return *this;
64 }
66
68
73 inline CmafId3Behavior GetId3Behavior() const { return m_id3Behavior; }
74 inline bool Id3BehaviorHasBeenSet() const { return m_id3BehaviorHasBeenSet; }
75 inline void SetId3Behavior(CmafId3Behavior value) {
76 m_id3BehaviorHasBeenSet = true;
77 m_id3Behavior = value;
78 }
80 SetId3Behavior(value);
81 return *this;
82 }
84
86
89 inline CmafKLVBehavior GetKlvBehavior() const { return m_klvBehavior; }
90 inline bool KlvBehaviorHasBeenSet() const { return m_klvBehaviorHasBeenSet; }
91 inline void SetKlvBehavior(CmafKLVBehavior value) {
92 m_klvBehaviorHasBeenSet = true;
93 m_klvBehavior = value;
94 }
96 SetKlvBehavior(value);
97 return *this;
98 }
100
102
107 inline CmafNielsenId3Behavior GetNielsenId3Behavior() const { return m_nielsenId3Behavior; }
108 inline bool NielsenId3BehaviorHasBeenSet() const { return m_nielsenId3BehaviorHasBeenSet; }
110 m_nielsenId3BehaviorHasBeenSet = true;
111 m_nielsenId3Behavior = value;
112 }
115 return *this;
116 }
118
120
123 inline Scte35Type GetScte35Type() const { return m_scte35Type; }
124 inline bool Scte35TypeHasBeenSet() const { return m_scte35TypeHasBeenSet; }
125 inline void SetScte35Type(Scte35Type value) {
126 m_scte35TypeHasBeenSet = true;
127 m_scte35Type = value;
128 }
130 SetScte35Type(value);
131 return *this;
132 }
134
136
141 inline int GetSegmentLength() const { return m_segmentLength; }
142 inline bool SegmentLengthHasBeenSet() const { return m_segmentLengthHasBeenSet; }
143 inline void SetSegmentLength(int value) {
144 m_segmentLengthHasBeenSet = true;
145 m_segmentLength = value;
146 }
148 SetSegmentLength(value);
149 return *this;
150 }
152
154
157 inline CmafIngestSegmentLengthUnits GetSegmentLengthUnits() const { return m_segmentLengthUnits; }
158 inline bool SegmentLengthUnitsHasBeenSet() const { return m_segmentLengthUnitsHasBeenSet; }
160 m_segmentLengthUnitsHasBeenSet = true;
161 m_segmentLengthUnits = value;
162 }
165 return *this;
166 }
168
170
174 inline CmafTimedMetadataId3Frame GetTimedMetadataId3Frame() const { return m_timedMetadataId3Frame; }
175 inline bool TimedMetadataId3FrameHasBeenSet() const { return m_timedMetadataId3FrameHasBeenSet; }
177 m_timedMetadataId3FrameHasBeenSet = true;
178 m_timedMetadataId3Frame = value;
179 }
182 return *this;
183 }
185
187
191 inline int GetTimedMetadataId3Period() const { return m_timedMetadataId3Period; }
192 inline bool TimedMetadataId3PeriodHasBeenSet() const { return m_timedMetadataId3PeriodHasBeenSet; }
193 inline void SetTimedMetadataId3Period(int value) {
194 m_timedMetadataId3PeriodHasBeenSet = true;
195 m_timedMetadataId3Period = value;
196 }
199 return *this;
200 }
202
204
207 inline CmafTimedMetadataPassthrough GetTimedMetadataPassthrough() const { return m_timedMetadataPassthrough; }
208 inline bool TimedMetadataPassthroughHasBeenSet() const { return m_timedMetadataPassthroughHasBeenSet; }
210 m_timedMetadataPassthroughHasBeenSet = true;
211 m_timedMetadataPassthrough = value;
212 }
215 return *this;
216 }
218
220
224 inline const Aws::Vector<MediaPackageAdditionalDestinations>& GetAdditionalDestinations() const { return m_additionalDestinations; }
225 inline bool AdditionalDestinationsHasBeenSet() const { return m_additionalDestinationsHasBeenSet; }
226 template <typename AdditionalDestinationsT = Aws::Vector<MediaPackageAdditionalDestinations>>
227 void SetAdditionalDestinations(AdditionalDestinationsT&& value) {
228 m_additionalDestinationsHasBeenSet = true;
229 m_additionalDestinations = std::forward<AdditionalDestinationsT>(value);
230 }
231 template <typename AdditionalDestinationsT = Aws::Vector<MediaPackageAdditionalDestinations>>
232 MediaPackageV2GroupSettings& WithAdditionalDestinations(AdditionalDestinationsT&& value) {
233 SetAdditionalDestinations(std::forward<AdditionalDestinationsT>(value));
234 return *this;
235 }
236 template <typename AdditionalDestinationsT = MediaPackageAdditionalDestinations>
237 MediaPackageV2GroupSettings& AddAdditionalDestinations(AdditionalDestinationsT&& value) {
238 m_additionalDestinationsHasBeenSet = true;
239 m_additionalDestinations.emplace_back(std::forward<AdditionalDestinationsT>(value));
240 return *this;
241 }
243 private:
244 Aws::Vector<CaptionLanguageMapping> m_captionLanguageMappings;
245
247
249
251
252 Scte35Type m_scte35Type{Scte35Type::NOT_SET};
253
254 int m_segmentLength{0};
255
257
259
260 int m_timedMetadataId3Period{0};
261
263
265 bool m_captionLanguageMappingsHasBeenSet = false;
266 bool m_id3BehaviorHasBeenSet = false;
267 bool m_klvBehaviorHasBeenSet = false;
268 bool m_nielsenId3BehaviorHasBeenSet = false;
269 bool m_scte35TypeHasBeenSet = false;
270 bool m_segmentLengthHasBeenSet = false;
271 bool m_segmentLengthUnitsHasBeenSet = false;
272 bool m_timedMetadataId3FrameHasBeenSet = false;
273 bool m_timedMetadataId3PeriodHasBeenSet = false;
274 bool m_timedMetadataPassthroughHasBeenSet = false;
275 bool m_additionalDestinationsHasBeenSet = false;
276};
277
278} // namespace Model
279} // namespace MediaLive
280} // namespace Aws
MediaPackageV2GroupSettings & WithId3Behavior(CmafId3Behavior value)
MediaPackageV2GroupSettings & WithTimedMetadataPassthrough(CmafTimedMetadataPassthrough value)
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