7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elastictranscoder/model/PresetWatermark.h>
24namespace ElasticTranscoder
54 template<
typename CodecT = Aws::String>
55 void SetCodec(CodecT&& value) { m_codecHasBeenSet =
true; m_codec = std::forward<CodecT>(value); }
56 template<
typename CodecT = Aws::String>
153 template<
typename CodecOptionsT = Aws::Map<Aws::String, Aws::String>>
154 void SetCodecOptions(CodecOptionsT&& value) { m_codecOptionsHasBeenSet =
true; m_codecOptions = std::forward<CodecOptionsT>(value); }
155 template<
typename CodecOptionsT = Aws::Map<Aws::String, Aws::String>>
157 template<
typename CodecOptionsKeyT = Aws::String,
typename CodecOptionsValueT = Aws::String>
159 m_codecOptionsHasBeenSet =
true; m_codecOptions.emplace(std::forward<CodecOptionsKeyT>(key), std::forward<CodecOptionsValueT>(value));
return *
this;
185 template<
typename KeyframesMaxDistT = Aws::String>
186 void SetKeyframesMaxDist(KeyframesMaxDistT&& value) { m_keyframesMaxDistHasBeenSet =
true; m_keyframesMaxDist = std::forward<KeyframesMaxDistT>(value); }
187 template<
typename KeyframesMaxDistT = Aws::String>
205 template<
typename FixedGOPT = Aws::String>
206 void SetFixedGOP(FixedGOPT&& value) { m_fixedGOPHasBeenSet =
true; m_fixedGOP = std::forward<FixedGOPT>(value); }
207 template<
typename FixedGOPT = Aws::String>
229 template<
typename BitRateT = Aws::String>
230 void SetBitRate(BitRateT&& value) { m_bitRateHasBeenSet =
true; m_bitRate = std::forward<BitRateT>(value); }
231 template<
typename BitRateT = Aws::String>
260 template<
typename FrameRateT = Aws::String>
261 void SetFrameRate(FrameRateT&& value) { m_frameRateHasBeenSet =
true; m_frameRate = std::forward<FrameRateT>(value); }
262 template<
typename FrameRateT = Aws::String>
278 template<
typename MaxFrameRateT = Aws::String>
279 void SetMaxFrameRate(MaxFrameRateT&& value) { m_maxFrameRateHasBeenSet =
true; m_maxFrameRate = std::forward<MaxFrameRateT>(value); }
280 template<
typename MaxFrameRateT = Aws::String>
315 template<
typename ResolutionT = Aws::String>
316 void SetResolution(ResolutionT&& value) { m_resolutionHasBeenSet =
true; m_resolution = std::forward<ResolutionT>(value); }
317 template<
typename ResolutionT = Aws::String>
340 template<
typename AspectRatioT = Aws::String>
341 void SetAspectRatio(AspectRatioT&& value) { m_aspectRatioHasBeenSet =
true; m_aspectRatio = std::forward<AspectRatioT>(value); }
342 template<
typename AspectRatioT = Aws::String>
354 template<
typename MaxW
idthT = Aws::String>
355 void SetMaxWidth(MaxWidthT&& value) { m_maxWidthHasBeenSet =
true; m_maxWidth = std::forward<MaxWidthT>(value); }
356 template<
typename MaxW
idthT = Aws::String>
368 template<
typename MaxHeightT = Aws::String>
369 void SetMaxHeight(MaxHeightT&& value) { m_maxHeightHasBeenSet =
true; m_maxHeight = std::forward<MaxHeightT>(value); }
370 template<
typename MaxHeightT = Aws::String>
381 template<
typename DisplayAspectRatioT = Aws::String>
382 void SetDisplayAspectRatio(DisplayAspectRatioT&& value) { m_displayAspectRatioHasBeenSet =
true; m_displayAspectRatio = std::forward<DisplayAspectRatioT>(value); }
383 template<
typename DisplayAspectRatioT = Aws::String>
417 template<
typename SizingPolicyT = Aws::String>
418 void SetSizingPolicy(SizingPolicyT&& value) { m_sizingPolicyHasBeenSet =
true; m_sizingPolicy = std::forward<SizingPolicyT>(value); }
419 template<
typename SizingPolicyT = Aws::String>
432 template<
typename PaddingPolicyT = Aws::String>
433 void SetPaddingPolicy(PaddingPolicyT&& value) { m_paddingPolicyHasBeenSet =
true; m_paddingPolicy = std::forward<PaddingPolicyT>(value); }
434 template<
typename PaddingPolicyT = Aws::String>
454 template<
typename WatermarksT = Aws::Vector<PresetWatermark>>
455 void SetWatermarks(WatermarksT&& value) { m_watermarksHasBeenSet =
true; m_watermarks = std::forward<WatermarksT>(value); }
456 template<
typename WatermarksT = Aws::Vector<PresetWatermark>>
458 template<
typename WatermarksT = PresetWatermark>
459 VideoParameters&
AddWatermarks(WatermarksT&& value) { m_watermarksHasBeenSet =
true; m_watermarks.emplace_back(std::forward<WatermarksT>(value));
return *
this; }
464 bool m_codecHasBeenSet =
false;
467 bool m_codecOptionsHasBeenSet =
false;
470 bool m_keyframesMaxDistHasBeenSet =
false;
473 bool m_fixedGOPHasBeenSet =
false;
476 bool m_bitRateHasBeenSet =
false;
479 bool m_frameRateHasBeenSet =
false;
482 bool m_maxFrameRateHasBeenSet =
false;
485 bool m_resolutionHasBeenSet =
false;
488 bool m_aspectRatioHasBeenSet =
false;
491 bool m_maxWidthHasBeenSet =
false;
494 bool m_maxHeightHasBeenSet =
false;
497 bool m_displayAspectRatioHasBeenSet =
false;
500 bool m_sizingPolicyHasBeenSet =
false;
503 bool m_paddingPolicyHasBeenSet =
false;
506 bool m_watermarksHasBeenSet =
false;
void SetAspectRatio(AspectRatioT &&value)
bool BitRateHasBeenSet() const
bool ResolutionHasBeenSet() const
void SetKeyframesMaxDist(KeyframesMaxDistT &&value)
void SetFixedGOP(FixedGOPT &&value)
void SetMaxWidth(MaxWidthT &&value)
bool DisplayAspectRatioHasBeenSet() const
const Aws::String & GetResolution() const
VideoParameters & WithResolution(ResolutionT &&value)
void SetCodec(CodecT &&value)
VideoParameters & WithBitRate(BitRateT &&value)
VideoParameters & WithKeyframesMaxDist(KeyframesMaxDistT &&value)
void SetDisplayAspectRatio(DisplayAspectRatioT &&value)
VideoParameters & WithDisplayAspectRatio(DisplayAspectRatioT &&value)
VideoParameters & AddCodecOptions(CodecOptionsKeyT &&key, CodecOptionsValueT &&value)
void SetFrameRate(FrameRateT &&value)
AWS_ELASTICTRANSCODER_API VideoParameters(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSizingPolicy() const
bool FixedGOPHasBeenSet() const
const Aws::String & GetCodec() const
void SetResolution(ResolutionT &&value)
VideoParameters & WithWatermarks(WatermarksT &&value)
bool MaxFrameRateHasBeenSet() const
bool KeyframesMaxDistHasBeenSet() const
bool FrameRateHasBeenSet() const
bool SizingPolicyHasBeenSet() const
bool PaddingPolicyHasBeenSet() const
void SetMaxHeight(MaxHeightT &&value)
bool CodecHasBeenSet() const
VideoParameters & WithMaxHeight(MaxHeightT &&value)
const Aws::String & GetMaxHeight() const
VideoParameters & WithSizingPolicy(SizingPolicyT &&value)
VideoParameters & WithPaddingPolicy(PaddingPolicyT &&value)
bool MaxWidthHasBeenSet() const
bool MaxHeightHasBeenSet() const
const Aws::String & GetMaxFrameRate() const
const Aws::String & GetBitRate() const
const Aws::String & GetFrameRate() const
const Aws::String & GetPaddingPolicy() const
void SetPaddingPolicy(PaddingPolicyT &&value)
const Aws::String & GetKeyframesMaxDist() const
VideoParameters & WithFixedGOP(FixedGOPT &&value)
bool WatermarksHasBeenSet() const
VideoParameters & WithMaxWidth(MaxWidthT &&value)
void SetCodecOptions(CodecOptionsT &&value)
VideoParameters & WithAspectRatio(AspectRatioT &&value)
const Aws::String & GetFixedGOP() const
const Aws::String & GetDisplayAspectRatio() const
VideoParameters & WithMaxFrameRate(MaxFrameRateT &&value)
const Aws::Vector< PresetWatermark > & GetWatermarks() const
AWS_ELASTICTRANSCODER_API VideoParameters()=default
VideoParameters & WithFrameRate(FrameRateT &&value)
void SetWatermarks(WatermarksT &&value)
void SetMaxFrameRate(MaxFrameRateT &&value)
const Aws::String & GetMaxWidth() const
AWS_ELASTICTRANSCODER_API VideoParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
VideoParameters & WithCodecOptions(CodecOptionsT &&value)
VideoParameters & AddWatermarks(WatermarksT &&value)
VideoParameters & WithCodec(CodecT &&value)
void SetBitRate(BitRateT &&value)
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetCodecOptions() const
const Aws::String & GetAspectRatio() const
bool AspectRatioHasBeenSet() const
void SetSizingPolicy(SizingPolicyT &&value)
bool CodecOptionsHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue