AWS SDK for C++

AWS SDK for C++ Version 1.11.915

Loading...
Searching...
No Matches
JobSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
9#include <aws/mediaconvert/model/AvailBlanking.h>
10#include <aws/mediaconvert/model/ColorConversion3DLUTSetting.h>
11#include <aws/mediaconvert/model/EsamSettings.h>
12#include <aws/mediaconvert/model/ExtendedDataServices.h>
13#include <aws/mediaconvert/model/Input.h>
14#include <aws/mediaconvert/model/KantarWatermarkSettings.h>
15#include <aws/mediaconvert/model/MotionImageInserter.h>
16#include <aws/mediaconvert/model/NielsenConfiguration.h>
17#include <aws/mediaconvert/model/NielsenNonLinearWatermarkSettings.h>
18#include <aws/mediaconvert/model/OutputGroup.h>
19#include <aws/mediaconvert/model/TimecodeConfig.h>
20#include <aws/mediaconvert/model/TimedMetadataInsertion.h>
21
22#include <utility>
23
24namespace Aws {
25namespace Utils {
26namespace Json {
27class JsonValue;
28class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace MediaConvert {
32namespace Model {
33
41 public:
42 AWS_MEDIACONVERT_API JobSettings() = default;
43 AWS_MEDIACONVERT_API JobSettings(Aws::Utils::Json::JsonView jsonValue);
44 AWS_MEDIACONVERT_API JobSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
48
52 inline int GetAdAvailOffset() const { return m_adAvailOffset; }
53 inline bool AdAvailOffsetHasBeenSet() const { return m_adAvailOffsetHasBeenSet; }
54 inline void SetAdAvailOffset(int value) {
55 m_adAvailOffsetHasBeenSet = true;
56 m_adAvailOffset = value;
57 }
58 inline JobSettings& WithAdAvailOffset(int value) {
59 SetAdAvailOffset(value);
60 return *this;
61 }
63
65
69 inline const AvailBlanking& GetAvailBlanking() const { return m_availBlanking; }
70 inline bool AvailBlankingHasBeenSet() const { return m_availBlankingHasBeenSet; }
71 template <typename AvailBlankingT = AvailBlanking>
72 void SetAvailBlanking(AvailBlankingT&& value) {
73 m_availBlankingHasBeenSet = true;
74 m_availBlanking = std::forward<AvailBlankingT>(value);
75 }
76 template <typename AvailBlankingT = AvailBlanking>
77 JobSettings& WithAvailBlanking(AvailBlankingT&& value) {
78 SetAvailBlanking(std::forward<AvailBlankingT>(value));
79 return *this;
80 }
82
84
90 inline const Aws::Vector<ColorConversion3DLUTSetting>& GetColorConversion3DLUTSettings() const { return m_colorConversion3DLUTSettings; }
91 inline bool ColorConversion3DLUTSettingsHasBeenSet() const { return m_colorConversion3DLUTSettingsHasBeenSet; }
92 template <typename ColorConversion3DLUTSettingsT = Aws::Vector<ColorConversion3DLUTSetting>>
93 void SetColorConversion3DLUTSettings(ColorConversion3DLUTSettingsT&& value) {
94 m_colorConversion3DLUTSettingsHasBeenSet = true;
95 m_colorConversion3DLUTSettings = std::forward<ColorConversion3DLUTSettingsT>(value);
96 }
97 template <typename ColorConversion3DLUTSettingsT = Aws::Vector<ColorConversion3DLUTSetting>>
98 JobSettings& WithColorConversion3DLUTSettings(ColorConversion3DLUTSettingsT&& value) {
99 SetColorConversion3DLUTSettings(std::forward<ColorConversion3DLUTSettingsT>(value));
100 return *this;
101 }
102 template <typename ColorConversion3DLUTSettingsT = ColorConversion3DLUTSetting>
103 JobSettings& AddColorConversion3DLUTSettings(ColorConversion3DLUTSettingsT&& value) {
104 m_colorConversion3DLUTSettingsHasBeenSet = true;
105 m_colorConversion3DLUTSettings.emplace_back(std::forward<ColorConversion3DLUTSettingsT>(value));
106 return *this;
107 }
109
111
115 inline const EsamSettings& GetEsam() const { return m_esam; }
116 inline bool EsamHasBeenSet() const { return m_esamHasBeenSet; }
117 template <typename EsamT = EsamSettings>
118 void SetEsam(EsamT&& value) {
119 m_esamHasBeenSet = true;
120 m_esam = std::forward<EsamT>(value);
121 }
122 template <typename EsamT = EsamSettings>
123 JobSettings& WithEsam(EsamT&& value) {
124 SetEsam(std::forward<EsamT>(value));
125 return *this;
126 }
128
130
137 inline const ExtendedDataServices& GetExtendedDataServices() const { return m_extendedDataServices; }
138 inline bool ExtendedDataServicesHasBeenSet() const { return m_extendedDataServicesHasBeenSet; }
139 template <typename ExtendedDataServicesT = ExtendedDataServices>
140 void SetExtendedDataServices(ExtendedDataServicesT&& value) {
141 m_extendedDataServicesHasBeenSet = true;
142 m_extendedDataServices = std::forward<ExtendedDataServicesT>(value);
143 }
144 template <typename ExtendedDataServicesT = ExtendedDataServices>
145 JobSettings& WithExtendedDataServices(ExtendedDataServicesT&& value) {
146 SetExtendedDataServices(std::forward<ExtendedDataServicesT>(value));
147 return *this;
148 }
150
152
162 inline int GetFollowSource() const { return m_followSource; }
163 inline bool FollowSourceHasBeenSet() const { return m_followSourceHasBeenSet; }
164 inline void SetFollowSource(int value) {
165 m_followSourceHasBeenSet = true;
166 m_followSource = value;
167 }
168 inline JobSettings& WithFollowSource(int value) {
169 SetFollowSource(value);
170 return *this;
171 }
173
175
180 inline const Aws::Vector<Input>& GetInputs() const { return m_inputs; }
181 inline bool InputsHasBeenSet() const { return m_inputsHasBeenSet; }
182 template <typename InputsT = Aws::Vector<Input>>
183 void SetInputs(InputsT&& value) {
184 m_inputsHasBeenSet = true;
185 m_inputs = std::forward<InputsT>(value);
186 }
187 template <typename InputsT = Aws::Vector<Input>>
188 JobSettings& WithInputs(InputsT&& value) {
189 SetInputs(std::forward<InputsT>(value));
190 return *this;
191 }
192 template <typename InputsT = Input>
193 JobSettings& AddInputs(InputsT&& value) {
194 m_inputsHasBeenSet = true;
195 m_inputs.emplace_back(std::forward<InputsT>(value));
196 return *this;
197 }
199
201
209 inline const KantarWatermarkSettings& GetKantarWatermark() const { return m_kantarWatermark; }
210 inline bool KantarWatermarkHasBeenSet() const { return m_kantarWatermarkHasBeenSet; }
211 template <typename KantarWatermarkT = KantarWatermarkSettings>
212 void SetKantarWatermark(KantarWatermarkT&& value) {
213 m_kantarWatermarkHasBeenSet = true;
214 m_kantarWatermark = std::forward<KantarWatermarkT>(value);
215 }
216 template <typename KantarWatermarkT = KantarWatermarkSettings>
217 JobSettings& WithKantarWatermark(KantarWatermarkT&& value) {
218 SetKantarWatermark(std::forward<KantarWatermarkT>(value));
219 return *this;
220 }
222
224
230 inline const MotionImageInserter& GetMotionImageInserter() const { return m_motionImageInserter; }
231 inline bool MotionImageInserterHasBeenSet() const { return m_motionImageInserterHasBeenSet; }
232 template <typename MotionImageInserterT = MotionImageInserter>
233 void SetMotionImageInserter(MotionImageInserterT&& value) {
234 m_motionImageInserterHasBeenSet = true;
235 m_motionImageInserter = std::forward<MotionImageInserterT>(value);
236 }
237 template <typename MotionImageInserterT = MotionImageInserter>
238 JobSettings& WithMotionImageInserter(MotionImageInserterT&& value) {
239 SetMotionImageInserter(std::forward<MotionImageInserterT>(value));
240 return *this;
241 }
243
245
250 inline const Aws::Vector<MotionImageInserter>& GetMotionImageInserters() const { return m_motionImageInserters; }
251 inline bool MotionImageInsertersHasBeenSet() const { return m_motionImageInsertersHasBeenSet; }
252 template <typename MotionImageInsertersT = Aws::Vector<MotionImageInserter>>
253 void SetMotionImageInserters(MotionImageInsertersT&& value) {
254 m_motionImageInsertersHasBeenSet = true;
255 m_motionImageInserters = std::forward<MotionImageInsertersT>(value);
256 }
257 template <typename MotionImageInsertersT = Aws::Vector<MotionImageInserter>>
258 JobSettings& WithMotionImageInserters(MotionImageInsertersT&& value) {
259 SetMotionImageInserters(std::forward<MotionImageInsertersT>(value));
260 return *this;
261 }
262 template <typename MotionImageInsertersT = MotionImageInserter>
263 JobSettings& AddMotionImageInserters(MotionImageInsertersT&& value) {
264 m_motionImageInsertersHasBeenSet = true;
265 m_motionImageInserters.emplace_back(std::forward<MotionImageInsertersT>(value));
266 return *this;
267 }
269
271
276 inline const NielsenConfiguration& GetNielsenConfiguration() const { return m_nielsenConfiguration; }
277 inline bool NielsenConfigurationHasBeenSet() const { return m_nielsenConfigurationHasBeenSet; }
278 template <typename NielsenConfigurationT = NielsenConfiguration>
279 void SetNielsenConfiguration(NielsenConfigurationT&& value) {
280 m_nielsenConfigurationHasBeenSet = true;
281 m_nielsenConfiguration = std::forward<NielsenConfigurationT>(value);
282 }
283 template <typename NielsenConfigurationT = NielsenConfiguration>
284 JobSettings& WithNielsenConfiguration(NielsenConfigurationT&& value) {
285 SetNielsenConfiguration(std::forward<NielsenConfigurationT>(value));
286 return *this;
287 }
289
291
300 inline const NielsenNonLinearWatermarkSettings& GetNielsenNonLinearWatermark() const { return m_nielsenNonLinearWatermark; }
301 inline bool NielsenNonLinearWatermarkHasBeenSet() const { return m_nielsenNonLinearWatermarkHasBeenSet; }
302 template <typename NielsenNonLinearWatermarkT = NielsenNonLinearWatermarkSettings>
303 void SetNielsenNonLinearWatermark(NielsenNonLinearWatermarkT&& value) {
304 m_nielsenNonLinearWatermarkHasBeenSet = true;
305 m_nielsenNonLinearWatermark = std::forward<NielsenNonLinearWatermarkT>(value);
306 }
307 template <typename NielsenNonLinearWatermarkT = NielsenNonLinearWatermarkSettings>
308 JobSettings& WithNielsenNonLinearWatermark(NielsenNonLinearWatermarkT&& value) {
309 SetNielsenNonLinearWatermark(std::forward<NielsenNonLinearWatermarkT>(value));
310 return *this;
311 }
313
315
325 inline const Aws::Vector<OutputGroup>& GetOutputGroups() const { return m_outputGroups; }
326 inline bool OutputGroupsHasBeenSet() const { return m_outputGroupsHasBeenSet; }
327 template <typename OutputGroupsT = Aws::Vector<OutputGroup>>
328 void SetOutputGroups(OutputGroupsT&& value) {
329 m_outputGroupsHasBeenSet = true;
330 m_outputGroups = std::forward<OutputGroupsT>(value);
331 }
332 template <typename OutputGroupsT = Aws::Vector<OutputGroup>>
333 JobSettings& WithOutputGroups(OutputGroupsT&& value) {
334 SetOutputGroups(std::forward<OutputGroupsT>(value));
335 return *this;
336 }
337 template <typename OutputGroupsT = OutputGroup>
338 JobSettings& AddOutputGroups(OutputGroupsT&& value) {
339 m_outputGroupsHasBeenSet = true;
340 m_outputGroups.emplace_back(std::forward<OutputGroupsT>(value));
341 return *this;
342 }
344
346
350 inline const TimecodeConfig& GetTimecodeConfig() const { return m_timecodeConfig; }
351 inline bool TimecodeConfigHasBeenSet() const { return m_timecodeConfigHasBeenSet; }
352 template <typename TimecodeConfigT = TimecodeConfig>
353 void SetTimecodeConfig(TimecodeConfigT&& value) {
354 m_timecodeConfigHasBeenSet = true;
355 m_timecodeConfig = std::forward<TimecodeConfigT>(value);
356 }
357 template <typename TimecodeConfigT = TimecodeConfig>
358 JobSettings& WithTimecodeConfig(TimecodeConfigT&& value) {
359 SetTimecodeConfig(std::forward<TimecodeConfigT>(value));
360 return *this;
361 }
363
365
370 inline const TimedMetadataInsertion& GetTimedMetadataInsertion() const { return m_timedMetadataInsertion; }
371 inline bool TimedMetadataInsertionHasBeenSet() const { return m_timedMetadataInsertionHasBeenSet; }
372 template <typename TimedMetadataInsertionT = TimedMetadataInsertion>
373 void SetTimedMetadataInsertion(TimedMetadataInsertionT&& value) {
374 m_timedMetadataInsertionHasBeenSet = true;
375 m_timedMetadataInsertion = std::forward<TimedMetadataInsertionT>(value);
376 }
377 template <typename TimedMetadataInsertionT = TimedMetadataInsertion>
378 JobSettings& WithTimedMetadataInsertion(TimedMetadataInsertionT&& value) {
379 SetTimedMetadataInsertion(std::forward<TimedMetadataInsertionT>(value));
380 return *this;
381 }
383 private:
384 int m_adAvailOffset{0};
385
386 AvailBlanking m_availBlanking;
387
388 Aws::Vector<ColorConversion3DLUTSetting> m_colorConversion3DLUTSettings;
389
390 EsamSettings m_esam;
391
392 ExtendedDataServices m_extendedDataServices;
393
394 int m_followSource{0};
395
396 Aws::Vector<Input> m_inputs;
397
398 KantarWatermarkSettings m_kantarWatermark;
399
400 MotionImageInserter m_motionImageInserter;
401
402 Aws::Vector<MotionImageInserter> m_motionImageInserters;
403
404 NielsenConfiguration m_nielsenConfiguration;
405
406 NielsenNonLinearWatermarkSettings m_nielsenNonLinearWatermark;
407
408 Aws::Vector<OutputGroup> m_outputGroups;
409
410 TimecodeConfig m_timecodeConfig;
411
412 TimedMetadataInsertion m_timedMetadataInsertion;
413 bool m_adAvailOffsetHasBeenSet = false;
414 bool m_availBlankingHasBeenSet = false;
415 bool m_colorConversion3DLUTSettingsHasBeenSet = false;
416 bool m_esamHasBeenSet = false;
417 bool m_extendedDataServicesHasBeenSet = false;
418 bool m_followSourceHasBeenSet = false;
419 bool m_inputsHasBeenSet = false;
420 bool m_kantarWatermarkHasBeenSet = false;
421 bool m_motionImageInserterHasBeenSet = false;
422 bool m_motionImageInsertersHasBeenSet = false;
423 bool m_nielsenConfigurationHasBeenSet = false;
424 bool m_nielsenNonLinearWatermarkHasBeenSet = false;
425 bool m_outputGroupsHasBeenSet = false;
426 bool m_timecodeConfigHasBeenSet = false;
427 bool m_timedMetadataInsertionHasBeenSet = false;
428};
429
430} // namespace Model
431} // namespace MediaConvert
432} // namespace Aws
void SetExtendedDataServices(ExtendedDataServicesT &&value)
void SetOutputGroups(OutputGroupsT &&value)
JobSettings & WithNielsenConfiguration(NielsenConfigurationT &&value)
const AvailBlanking & GetAvailBlanking() const
Definition JobSettings.h:69
JobSettings & WithKantarWatermark(KantarWatermarkT &&value)
void SetMotionImageInserters(MotionImageInsertersT &&value)
JobSettings & AddOutputGroups(OutputGroupsT &&value)
JobSettings & AddMotionImageInserters(MotionImageInsertersT &&value)
const NielsenConfiguration & GetNielsenConfiguration() const
const Aws::Vector< MotionImageInserter > & GetMotionImageInserters() const
JobSettings & WithMotionImageInserters(MotionImageInsertersT &&value)
void SetColorConversion3DLUTSettings(ColorConversion3DLUTSettingsT &&value)
Definition JobSettings.h:93
AWS_MEDIACONVERT_API JobSettings(Aws::Utils::Json::JsonView jsonValue)
const MotionImageInserter & GetMotionImageInserter() const
void SetNielsenConfiguration(NielsenConfigurationT &&value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
JobSettings & WithInputs(InputsT &&value)
JobSettings & WithOutputGroups(OutputGroupsT &&value)
void SetTimecodeConfig(TimecodeConfigT &&value)
const ExtendedDataServices & GetExtendedDataServices() const
void SetMotionImageInserter(MotionImageInserterT &&value)
const Aws::Vector< ColorConversion3DLUTSetting > & GetColorConversion3DLUTSettings() const
Definition JobSettings.h:90
const TimedMetadataInsertion & GetTimedMetadataInsertion() const
JobSettings & WithMotionImageInserter(MotionImageInserterT &&value)
const Aws::Vector< Input > & GetInputs() const
JobSettings & WithEsam(EsamT &&value)
void SetKantarWatermark(KantarWatermarkT &&value)
void SetTimedMetadataInsertion(TimedMetadataInsertionT &&value)
AWS_MEDIACONVERT_API JobSettings()=default
JobSettings & AddColorConversion3DLUTSettings(ColorConversion3DLUTSettingsT &&value)
JobSettings & WithTimedMetadataInsertion(TimedMetadataInsertionT &&value)
AWS_MEDIACONVERT_API JobSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
JobSettings & AddInputs(InputsT &&value)
JobSettings & WithAvailBlanking(AvailBlankingT &&value)
Definition JobSettings.h:77
JobSettings & WithExtendedDataServices(ExtendedDataServicesT &&value)
JobSettings & WithTimecodeConfig(TimecodeConfigT &&value)
void SetAvailBlanking(AvailBlankingT &&value)
Definition JobSettings.h:72
void SetNielsenNonLinearWatermark(NielsenNonLinearWatermarkT &&value)
const EsamSettings & GetEsam() const
const TimecodeConfig & GetTimecodeConfig() const
const NielsenNonLinearWatermarkSettings & GetNielsenNonLinearWatermark() const
const KantarWatermarkSettings & GetKantarWatermark() const
JobSettings & WithNielsenNonLinearWatermark(NielsenNonLinearWatermarkT &&value)
bool ColorConversion3DLUTSettingsHasBeenSet() const
Definition JobSettings.h:91
JobSettings & WithColorConversion3DLUTSettings(ColorConversion3DLUTSettingsT &&value)
Definition JobSettings.h:98
const Aws::Vector< OutputGroup > & GetOutputGroups() const
JobSettings & WithAdAvailOffset(int value)
Definition JobSettings.h:58
JobSettings & WithFollowSource(int value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue