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
56 inline void SetCodec(
const char* value) { m_codecHasBeenSet =
true; m_codec.assign(value); }
165 inline VideoParameters&
AddCodecOptions(
const char* key,
const char* value) { m_codecOptionsHasBeenSet =
true; m_codecOptions.emplace(key, value);
return *
this; }
192 inline void SetKeyframesMaxDist(
const char* value) { m_keyframesMaxDistHasBeenSet =
true; m_keyframesMaxDist.assign(value); }
214 inline void SetFixedGOP(
const char* value) { m_fixedGOPHasBeenSet =
true; m_fixedGOP.assign(value); }
240 inline void SetBitRate(
const char* value) { m_bitRateHasBeenSet =
true; m_bitRate.assign(value); }
273 inline void SetFrameRate(
const char* value) { m_frameRateHasBeenSet =
true; m_frameRate.assign(value); }
293 inline void SetMaxFrameRate(
const char* value) { m_maxFrameRateHasBeenSet =
true; m_maxFrameRate.assign(value); }
332 inline void SetResolution(
const char* value) { m_resolutionHasBeenSet =
true; m_resolution.assign(value); }
359 inline void SetAspectRatio(
const char* value) { m_aspectRatioHasBeenSet =
true; m_aspectRatio.assign(value); }
375 inline void SetMaxWidth(
const char* value) { m_maxWidthHasBeenSet =
true; m_maxWidth.assign(value); }
391 inline void SetMaxHeight(
const char* value) { m_maxHeightHasBeenSet =
true; m_maxHeight.assign(value); }
406 inline void SetDisplayAspectRatio(
const char* value) { m_displayAspectRatioHasBeenSet =
true; m_displayAspectRatio.assign(value); }
444 inline void SetSizingPolicy(
const char* value) { m_sizingPolicyHasBeenSet =
true; m_sizingPolicy.assign(value); }
461 inline void SetPaddingPolicy(
const char* value) { m_paddingPolicyHasBeenSet =
true; m_paddingPolicy.assign(value); }
493 bool m_codecHasBeenSet =
false;
496 bool m_codecOptionsHasBeenSet =
false;
499 bool m_keyframesMaxDistHasBeenSet =
false;
502 bool m_fixedGOPHasBeenSet =
false;
505 bool m_bitRateHasBeenSet =
false;
508 bool m_frameRateHasBeenSet =
false;
511 bool m_maxFrameRateHasBeenSet =
false;
514 bool m_resolutionHasBeenSet =
false;
517 bool m_aspectRatioHasBeenSet =
false;
520 bool m_maxWidthHasBeenSet =
false;
523 bool m_maxHeightHasBeenSet =
false;
526 bool m_displayAspectRatioHasBeenSet =
false;
529 bool m_sizingPolicyHasBeenSet =
false;
532 bool m_paddingPolicyHasBeenSet =
false;
535 bool m_watermarksHasBeenSet =
false;
void SetFrameRate(const Aws::String &value)
void SetPaddingPolicy(Aws::String &&value)
bool BitRateHasBeenSet() const
bool ResolutionHasBeenSet() const
void SetBitRate(const Aws::String &value)
VideoParameters & WithResolution(const char *value)
VideoParameters & WithCodec(const Aws::String &value)
void SetPaddingPolicy(const char *value)
VideoParameters & WithBitRate(Aws::String &&value)
VideoParameters & WithMaxHeight(const Aws::String &value)
bool DisplayAspectRatioHasBeenSet() const
const Aws::String & GetResolution() const
VideoParameters & WithWatermarks(const Aws::Vector< PresetWatermark > &value)
VideoParameters & WithDisplayAspectRatio(const char *value)
VideoParameters & WithMaxWidth(const char *value)
VideoParameters & WithPaddingPolicy(const Aws::String &value)
VideoParameters & AddCodecOptions(Aws::String &&key, Aws::String &&value)
void SetAspectRatio(const Aws::String &value)
void SetMaxFrameRate(Aws::String &&value)
VideoParameters & WithAspectRatio(Aws::String &&value)
void SetCodecOptions(const Aws::Map< Aws::String, Aws::String > &value)
void SetMaxFrameRate(const Aws::String &value)
AWS_ELASTICTRANSCODER_API VideoParameters(Aws::Utils::Json::JsonView jsonValue)
VideoParameters & AddCodecOptions(Aws::String &&key, const char *value)
VideoParameters & WithKeyframesMaxDist(Aws::String &&value)
void SetBitRate(Aws::String &&value)
void SetDisplayAspectRatio(Aws::String &&value)
const Aws::String & GetSizingPolicy() const
void SetPaddingPolicy(const Aws::String &value)
bool FixedGOPHasBeenSet() const
VideoParameters & AddCodecOptions(const Aws::String &key, const Aws::String &value)
const Aws::String & GetCodec() const
VideoParameters & WithFixedGOP(const char *value)
VideoParameters & WithPaddingPolicy(const char *value)
void SetResolution(const Aws::String &value)
VideoParameters & AddCodecOptions(const Aws::String &key, Aws::String &&value)
VideoParameters & WithFrameRate(const Aws::String &value)
bool MaxFrameRateHasBeenSet() const
VideoParameters & WithMaxFrameRate(Aws::String &&value)
VideoParameters & WithCodec(const char *value)
void SetAspectRatio(const char *value)
bool KeyframesMaxDistHasBeenSet() const
bool FrameRateHasBeenSet() const
VideoParameters & WithAspectRatio(const Aws::String &value)
bool SizingPolicyHasBeenSet() const
void SetMaxWidth(const char *value)
void SetFixedGOP(Aws::String &&value)
bool PaddingPolicyHasBeenSet() const
bool CodecHasBeenSet() const
VideoParameters & WithSizingPolicy(const char *value)
VideoParameters & WithMaxWidth(const Aws::String &value)
const Aws::String & GetMaxHeight() const
void SetKeyframesMaxDist(Aws::String &&value)
void SetWatermarks(Aws::Vector< PresetWatermark > &&value)
bool MaxWidthHasBeenSet() const
VideoParameters & AddCodecOptions(Aws::String &&key, const Aws::String &value)
VideoParameters & WithBitRate(const Aws::String &value)
void SetSizingPolicy(const char *value)
void SetFixedGOP(const Aws::String &value)
VideoParameters & WithResolution(const Aws::String &value)
bool MaxHeightHasBeenSet() const
VideoParameters & WithSizingPolicy(Aws::String &&value)
const Aws::String & GetMaxFrameRate() const
const Aws::String & GetBitRate() const
void SetCodec(const Aws::String &value)
const Aws::String & GetFrameRate() const
VideoParameters & AddWatermarks(const PresetWatermark &value)
const Aws::String & GetPaddingPolicy() const
void SetBitRate(const char *value)
const Aws::String & GetKeyframesMaxDist() const
VideoParameters & WithFrameRate(const char *value)
VideoParameters & WithCodec(Aws::String &&value)
bool WatermarksHasBeenSet() const
VideoParameters & WithResolution(Aws::String &&value)
void SetCodec(Aws::String &&value)
void SetSizingPolicy(Aws::String &&value)
void SetMaxHeight(const Aws::String &value)
VideoParameters & WithKeyframesMaxDist(const Aws::String &value)
void SetFixedGOP(const char *value)
void SetKeyframesMaxDist(const char *value)
void SetDisplayAspectRatio(const Aws::String &value)
void SetFrameRate(Aws::String &&value)
VideoParameters & WithPaddingPolicy(Aws::String &&value)
const Aws::String & GetFixedGOP() const
VideoParameters & AddCodecOptions(const char *key, Aws::String &&value)
const Aws::String & GetDisplayAspectRatio() const
void SetWatermarks(const Aws::Vector< PresetWatermark > &value)
VideoParameters & WithSizingPolicy(const Aws::String &value)
VideoParameters & WithBitRate(const char *value)
const Aws::Vector< PresetWatermark > & GetWatermarks() const
void SetCodec(const char *value)
VideoParameters & WithFixedGOP(const Aws::String &value)
void SetAspectRatio(Aws::String &&value)
void SetMaxWidth(const Aws::String &value)
void SetMaxHeight(const char *value)
void SetMaxFrameRate(const char *value)
void SetMaxWidth(Aws::String &&value)
VideoParameters & AddWatermarks(PresetWatermark &&value)
const Aws::String & GetMaxWidth() const
VideoParameters & WithMaxFrameRate(const char *value)
void SetKeyframesMaxDist(const Aws::String &value)
VideoParameters & WithAspectRatio(const char *value)
VideoParameters & AddCodecOptions(const char *key, const char *value)
void SetResolution(Aws::String &&value)
VideoParameters & WithDisplayAspectRatio(Aws::String &&value)
VideoParameters & WithCodecOptions(Aws::Map< Aws::String, Aws::String > &&value)
VideoParameters & WithDisplayAspectRatio(const Aws::String &value)
VideoParameters & WithMaxFrameRate(const Aws::String &value)
AWS_ELASTICTRANSCODER_API VideoParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
VideoParameters & WithMaxHeight(Aws::String &&value)
void SetDisplayAspectRatio(const char *value)
VideoParameters & WithMaxHeight(const char *value)
void SetResolution(const char *value)
void SetCodecOptions(Aws::Map< Aws::String, Aws::String > &&value)
void SetMaxHeight(Aws::String &&value)
void SetSizingPolicy(const Aws::String &value)
void SetFrameRate(const char *value)
VideoParameters & WithFixedGOP(Aws::String &&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
VideoParameters & WithMaxWidth(Aws::String &&value)
VideoParameters & WithWatermarks(Aws::Vector< PresetWatermark > &&value)
VideoParameters & WithKeyframesMaxDist(const char *value)
VideoParameters & WithCodecOptions(const Aws::Map< Aws::String, Aws::String > &value)
AWS_ELASTICTRANSCODER_API VideoParameters()
VideoParameters & WithFrameRate(Aws::String &&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