AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VideoParameters.h
1
6#pragma once
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>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ElasticTranscoder
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_ELASTICTRANSCODER_API VideoParameters();
38 AWS_ELASTICTRANSCODER_API VideoParameters(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ELASTICTRANSCODER_API VideoParameters& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
52 inline const Aws::String& GetCodec() const{ return m_codec; }
53 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
54 inline void SetCodec(const Aws::String& value) { m_codecHasBeenSet = true; m_codec = value; }
55 inline void SetCodec(Aws::String&& value) { m_codecHasBeenSet = true; m_codec = std::move(value); }
56 inline void SetCodec(const char* value) { m_codecHasBeenSet = true; m_codec.assign(value); }
57 inline VideoParameters& WithCodec(const Aws::String& value) { SetCodec(value); return *this;}
58 inline VideoParameters& WithCodec(Aws::String&& value) { SetCodec(std::move(value)); return *this;}
59 inline VideoParameters& WithCodec(const char* value) { SetCodec(value); return *this;}
61
63
153 inline const Aws::Map<Aws::String, Aws::String>& GetCodecOptions() const{ return m_codecOptions; }
154 inline bool CodecOptionsHasBeenSet() const { return m_codecOptionsHasBeenSet; }
155 inline void SetCodecOptions(const Aws::Map<Aws::String, Aws::String>& value) { m_codecOptionsHasBeenSet = true; m_codecOptions = value; }
156 inline void SetCodecOptions(Aws::Map<Aws::String, Aws::String>&& value) { m_codecOptionsHasBeenSet = true; m_codecOptions = std::move(value); }
158 inline VideoParameters& WithCodecOptions(Aws::Map<Aws::String, Aws::String>&& value) { SetCodecOptions(std::move(value)); return *this;}
159 inline VideoParameters& AddCodecOptions(const Aws::String& key, const Aws::String& value) { m_codecOptionsHasBeenSet = true; m_codecOptions.emplace(key, value); return *this; }
160 inline VideoParameters& AddCodecOptions(Aws::String&& key, const Aws::String& value) { m_codecOptionsHasBeenSet = true; m_codecOptions.emplace(std::move(key), value); return *this; }
161 inline VideoParameters& AddCodecOptions(const Aws::String& key, Aws::String&& value) { m_codecOptionsHasBeenSet = true; m_codecOptions.emplace(key, std::move(value)); return *this; }
162 inline VideoParameters& AddCodecOptions(Aws::String&& key, Aws::String&& value) { m_codecOptionsHasBeenSet = true; m_codecOptions.emplace(std::move(key), std::move(value)); return *this; }
163 inline VideoParameters& AddCodecOptions(const char* key, Aws::String&& value) { m_codecOptionsHasBeenSet = true; m_codecOptions.emplace(key, std::move(value)); return *this; }
164 inline VideoParameters& AddCodecOptions(Aws::String&& key, const char* value) { m_codecOptionsHasBeenSet = true; m_codecOptions.emplace(std::move(key), value); return *this; }
165 inline VideoParameters& AddCodecOptions(const char* key, const char* value) { m_codecOptionsHasBeenSet = true; m_codecOptions.emplace(key, value); return *this; }
167
169
188 inline const Aws::String& GetKeyframesMaxDist() const{ return m_keyframesMaxDist; }
189 inline bool KeyframesMaxDistHasBeenSet() const { return m_keyframesMaxDistHasBeenSet; }
190 inline void SetKeyframesMaxDist(const Aws::String& value) { m_keyframesMaxDistHasBeenSet = true; m_keyframesMaxDist = value; }
191 inline void SetKeyframesMaxDist(Aws::String&& value) { m_keyframesMaxDistHasBeenSet = true; m_keyframesMaxDist = std::move(value); }
192 inline void SetKeyframesMaxDist(const char* value) { m_keyframesMaxDistHasBeenSet = true; m_keyframesMaxDist.assign(value); }
193 inline VideoParameters& WithKeyframesMaxDist(const Aws::String& value) { SetKeyframesMaxDist(value); return *this;}
194 inline VideoParameters& WithKeyframesMaxDist(Aws::String&& value) { SetKeyframesMaxDist(std::move(value)); return *this;}
195 inline VideoParameters& WithKeyframesMaxDist(const char* value) { SetKeyframesMaxDist(value); return *this;}
197
199
210 inline const Aws::String& GetFixedGOP() const{ return m_fixedGOP; }
211 inline bool FixedGOPHasBeenSet() const { return m_fixedGOPHasBeenSet; }
212 inline void SetFixedGOP(const Aws::String& value) { m_fixedGOPHasBeenSet = true; m_fixedGOP = value; }
213 inline void SetFixedGOP(Aws::String&& value) { m_fixedGOPHasBeenSet = true; m_fixedGOP = std::move(value); }
214 inline void SetFixedGOP(const char* value) { m_fixedGOPHasBeenSet = true; m_fixedGOP.assign(value); }
215 inline VideoParameters& WithFixedGOP(const Aws::String& value) { SetFixedGOP(value); return *this;}
216 inline VideoParameters& WithFixedGOP(Aws::String&& value) { SetFixedGOP(std::move(value)); return *this;}
217 inline VideoParameters& WithFixedGOP(const char* value) { SetFixedGOP(value); return *this;}
219
221
236 inline const Aws::String& GetBitRate() const{ return m_bitRate; }
237 inline bool BitRateHasBeenSet() const { return m_bitRateHasBeenSet; }
238 inline void SetBitRate(const Aws::String& value) { m_bitRateHasBeenSet = true; m_bitRate = value; }
239 inline void SetBitRate(Aws::String&& value) { m_bitRateHasBeenSet = true; m_bitRate = std::move(value); }
240 inline void SetBitRate(const char* value) { m_bitRateHasBeenSet = true; m_bitRate.assign(value); }
241 inline VideoParameters& WithBitRate(const Aws::String& value) { SetBitRate(value); return *this;}
242 inline VideoParameters& WithBitRate(Aws::String&& value) { SetBitRate(std::move(value)); return *this;}
243 inline VideoParameters& WithBitRate(const char* value) { SetBitRate(value); return *this;}
245
247
269 inline const Aws::String& GetFrameRate() const{ return m_frameRate; }
270 inline bool FrameRateHasBeenSet() const { return m_frameRateHasBeenSet; }
271 inline void SetFrameRate(const Aws::String& value) { m_frameRateHasBeenSet = true; m_frameRate = value; }
272 inline void SetFrameRate(Aws::String&& value) { m_frameRateHasBeenSet = true; m_frameRate = std::move(value); }
273 inline void SetFrameRate(const char* value) { m_frameRateHasBeenSet = true; m_frameRate.assign(value); }
274 inline VideoParameters& WithFrameRate(const Aws::String& value) { SetFrameRate(value); return *this;}
275 inline VideoParameters& WithFrameRate(Aws::String&& value) { SetFrameRate(std::move(value)); return *this;}
276 inline VideoParameters& WithFrameRate(const char* value) { SetFrameRate(value); return *this;}
278
280
289 inline const Aws::String& GetMaxFrameRate() const{ return m_maxFrameRate; }
290 inline bool MaxFrameRateHasBeenSet() const { return m_maxFrameRateHasBeenSet; }
291 inline void SetMaxFrameRate(const Aws::String& value) { m_maxFrameRateHasBeenSet = true; m_maxFrameRate = value; }
292 inline void SetMaxFrameRate(Aws::String&& value) { m_maxFrameRateHasBeenSet = true; m_maxFrameRate = std::move(value); }
293 inline void SetMaxFrameRate(const char* value) { m_maxFrameRateHasBeenSet = true; m_maxFrameRate.assign(value); }
294 inline VideoParameters& WithMaxFrameRate(const Aws::String& value) { SetMaxFrameRate(value); return *this;}
295 inline VideoParameters& WithMaxFrameRate(Aws::String&& value) { SetMaxFrameRate(std::move(value)); return *this;}
296 inline VideoParameters& WithMaxFrameRate(const char* value) { SetMaxFrameRate(value); return *this;}
298
300
328 inline const Aws::String& GetResolution() const{ return m_resolution; }
329 inline bool ResolutionHasBeenSet() const { return m_resolutionHasBeenSet; }
330 inline void SetResolution(const Aws::String& value) { m_resolutionHasBeenSet = true; m_resolution = value; }
331 inline void SetResolution(Aws::String&& value) { m_resolutionHasBeenSet = true; m_resolution = std::move(value); }
332 inline void SetResolution(const char* value) { m_resolutionHasBeenSet = true; m_resolution.assign(value); }
333 inline VideoParameters& WithResolution(const Aws::String& value) { SetResolution(value); return *this;}
334 inline VideoParameters& WithResolution(Aws::String&& value) { SetResolution(std::move(value)); return *this;}
335 inline VideoParameters& WithResolution(const char* value) { SetResolution(value); return *this;}
337
339
355 inline const Aws::String& GetAspectRatio() const{ return m_aspectRatio; }
356 inline bool AspectRatioHasBeenSet() const { return m_aspectRatioHasBeenSet; }
357 inline void SetAspectRatio(const Aws::String& value) { m_aspectRatioHasBeenSet = true; m_aspectRatio = value; }
358 inline void SetAspectRatio(Aws::String&& value) { m_aspectRatioHasBeenSet = true; m_aspectRatio = std::move(value); }
359 inline void SetAspectRatio(const char* value) { m_aspectRatioHasBeenSet = true; m_aspectRatio.assign(value); }
360 inline VideoParameters& WithAspectRatio(const Aws::String& value) { SetAspectRatio(value); return *this;}
361 inline VideoParameters& WithAspectRatio(Aws::String&& value) { SetAspectRatio(std::move(value)); return *this;}
362 inline VideoParameters& WithAspectRatio(const char* value) { SetAspectRatio(value); return *this;}
364
366
371 inline const Aws::String& GetMaxWidth() const{ return m_maxWidth; }
372 inline bool MaxWidthHasBeenSet() const { return m_maxWidthHasBeenSet; }
373 inline void SetMaxWidth(const Aws::String& value) { m_maxWidthHasBeenSet = true; m_maxWidth = value; }
374 inline void SetMaxWidth(Aws::String&& value) { m_maxWidthHasBeenSet = true; m_maxWidth = std::move(value); }
375 inline void SetMaxWidth(const char* value) { m_maxWidthHasBeenSet = true; m_maxWidth.assign(value); }
376 inline VideoParameters& WithMaxWidth(const Aws::String& value) { SetMaxWidth(value); return *this;}
377 inline VideoParameters& WithMaxWidth(Aws::String&& value) { SetMaxWidth(std::move(value)); return *this;}
378 inline VideoParameters& WithMaxWidth(const char* value) { SetMaxWidth(value); return *this;}
380
382
387 inline const Aws::String& GetMaxHeight() const{ return m_maxHeight; }
388 inline bool MaxHeightHasBeenSet() const { return m_maxHeightHasBeenSet; }
389 inline void SetMaxHeight(const Aws::String& value) { m_maxHeightHasBeenSet = true; m_maxHeight = value; }
390 inline void SetMaxHeight(Aws::String&& value) { m_maxHeightHasBeenSet = true; m_maxHeight = std::move(value); }
391 inline void SetMaxHeight(const char* value) { m_maxHeightHasBeenSet = true; m_maxHeight.assign(value); }
392 inline VideoParameters& WithMaxHeight(const Aws::String& value) { SetMaxHeight(value); return *this;}
393 inline VideoParameters& WithMaxHeight(Aws::String&& value) { SetMaxHeight(std::move(value)); return *this;}
394 inline VideoParameters& WithMaxHeight(const char* value) { SetMaxHeight(value); return *this;}
396
398
402 inline const Aws::String& GetDisplayAspectRatio() const{ return m_displayAspectRatio; }
403 inline bool DisplayAspectRatioHasBeenSet() const { return m_displayAspectRatioHasBeenSet; }
404 inline void SetDisplayAspectRatio(const Aws::String& value) { m_displayAspectRatioHasBeenSet = true; m_displayAspectRatio = value; }
405 inline void SetDisplayAspectRatio(Aws::String&& value) { m_displayAspectRatioHasBeenSet = true; m_displayAspectRatio = std::move(value); }
406 inline void SetDisplayAspectRatio(const char* value) { m_displayAspectRatioHasBeenSet = true; m_displayAspectRatio.assign(value); }
407 inline VideoParameters& WithDisplayAspectRatio(const Aws::String& value) { SetDisplayAspectRatio(value); return *this;}
408 inline VideoParameters& WithDisplayAspectRatio(Aws::String&& value) { SetDisplayAspectRatio(std::move(value)); return *this;}
409 inline VideoParameters& WithDisplayAspectRatio(const char* value) { SetDisplayAspectRatio(value); return *this;}
411
413
440 inline const Aws::String& GetSizingPolicy() const{ return m_sizingPolicy; }
441 inline bool SizingPolicyHasBeenSet() const { return m_sizingPolicyHasBeenSet; }
442 inline void SetSizingPolicy(const Aws::String& value) { m_sizingPolicyHasBeenSet = true; m_sizingPolicy = value; }
443 inline void SetSizingPolicy(Aws::String&& value) { m_sizingPolicyHasBeenSet = true; m_sizingPolicy = std::move(value); }
444 inline void SetSizingPolicy(const char* value) { m_sizingPolicyHasBeenSet = true; m_sizingPolicy.assign(value); }
445 inline VideoParameters& WithSizingPolicy(const Aws::String& value) { SetSizingPolicy(value); return *this;}
446 inline VideoParameters& WithSizingPolicy(Aws::String&& value) { SetSizingPolicy(std::move(value)); return *this;}
447 inline VideoParameters& WithSizingPolicy(const char* value) { SetSizingPolicy(value); return *this;}
449
451
457 inline const Aws::String& GetPaddingPolicy() const{ return m_paddingPolicy; }
458 inline bool PaddingPolicyHasBeenSet() const { return m_paddingPolicyHasBeenSet; }
459 inline void SetPaddingPolicy(const Aws::String& value) { m_paddingPolicyHasBeenSet = true; m_paddingPolicy = value; }
460 inline void SetPaddingPolicy(Aws::String&& value) { m_paddingPolicyHasBeenSet = true; m_paddingPolicy = std::move(value); }
461 inline void SetPaddingPolicy(const char* value) { m_paddingPolicyHasBeenSet = true; m_paddingPolicy.assign(value); }
462 inline VideoParameters& WithPaddingPolicy(const Aws::String& value) { SetPaddingPolicy(value); return *this;}
463 inline VideoParameters& WithPaddingPolicy(Aws::String&& value) { SetPaddingPolicy(std::move(value)); return *this;}
464 inline VideoParameters& WithPaddingPolicy(const char* value) { SetPaddingPolicy(value); return *this;}
466
468
481 inline const Aws::Vector<PresetWatermark>& GetWatermarks() const{ return m_watermarks; }
482 inline bool WatermarksHasBeenSet() const { return m_watermarksHasBeenSet; }
483 inline void SetWatermarks(const Aws::Vector<PresetWatermark>& value) { m_watermarksHasBeenSet = true; m_watermarks = value; }
484 inline void SetWatermarks(Aws::Vector<PresetWatermark>&& value) { m_watermarksHasBeenSet = true; m_watermarks = std::move(value); }
485 inline VideoParameters& WithWatermarks(const Aws::Vector<PresetWatermark>& value) { SetWatermarks(value); return *this;}
486 inline VideoParameters& WithWatermarks(Aws::Vector<PresetWatermark>&& value) { SetWatermarks(std::move(value)); return *this;}
487 inline VideoParameters& AddWatermarks(const PresetWatermark& value) { m_watermarksHasBeenSet = true; m_watermarks.push_back(value); return *this; }
488 inline VideoParameters& AddWatermarks(PresetWatermark&& value) { m_watermarksHasBeenSet = true; m_watermarks.push_back(std::move(value)); return *this; }
490 private:
491
492 Aws::String m_codec;
493 bool m_codecHasBeenSet = false;
494
496 bool m_codecOptionsHasBeenSet = false;
497
498 Aws::String m_keyframesMaxDist;
499 bool m_keyframesMaxDistHasBeenSet = false;
500
501 Aws::String m_fixedGOP;
502 bool m_fixedGOPHasBeenSet = false;
503
504 Aws::String m_bitRate;
505 bool m_bitRateHasBeenSet = false;
506
507 Aws::String m_frameRate;
508 bool m_frameRateHasBeenSet = false;
509
510 Aws::String m_maxFrameRate;
511 bool m_maxFrameRateHasBeenSet = false;
512
513 Aws::String m_resolution;
514 bool m_resolutionHasBeenSet = false;
515
516 Aws::String m_aspectRatio;
517 bool m_aspectRatioHasBeenSet = false;
518
519 Aws::String m_maxWidth;
520 bool m_maxWidthHasBeenSet = false;
521
522 Aws::String m_maxHeight;
523 bool m_maxHeightHasBeenSet = false;
524
525 Aws::String m_displayAspectRatio;
526 bool m_displayAspectRatioHasBeenSet = false;
527
528 Aws::String m_sizingPolicy;
529 bool m_sizingPolicyHasBeenSet = false;
530
531 Aws::String m_paddingPolicy;
532 bool m_paddingPolicyHasBeenSet = false;
533
534 Aws::Vector<PresetWatermark> m_watermarks;
535 bool m_watermarksHasBeenSet = false;
536 };
537
538} // namespace Model
539} // namespace ElasticTranscoder
540} // namespace Aws
void SetFrameRate(const Aws::String &value)
VideoParameters & WithResolution(const char *value)
VideoParameters & WithCodec(const Aws::String &value)
VideoParameters & WithBitRate(Aws::String &&value)
VideoParameters & WithMaxHeight(const Aws::String &value)
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)
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 SetPaddingPolicy(const Aws::String &value)
VideoParameters & AddCodecOptions(const Aws::String &key, const Aws::String &value)
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)
VideoParameters & WithMaxFrameRate(Aws::String &&value)
VideoParameters & WithCodec(const char *value)
VideoParameters & WithAspectRatio(const Aws::String &value)
VideoParameters & WithSizingPolicy(const char *value)
VideoParameters & WithMaxWidth(const Aws::String &value)
void SetWatermarks(Aws::Vector< PresetWatermark > &&value)
VideoParameters & AddCodecOptions(Aws::String &&key, const Aws::String &value)
VideoParameters & WithBitRate(const Aws::String &value)
VideoParameters & WithResolution(const Aws::String &value)
VideoParameters & WithSizingPolicy(Aws::String &&value)
VideoParameters & AddWatermarks(const PresetWatermark &value)
VideoParameters & WithFrameRate(const char *value)
VideoParameters & WithCodec(Aws::String &&value)
VideoParameters & WithResolution(Aws::String &&value)
void SetMaxHeight(const Aws::String &value)
VideoParameters & WithKeyframesMaxDist(const Aws::String &value)
void SetDisplayAspectRatio(const Aws::String &value)
VideoParameters & WithPaddingPolicy(Aws::String &&value)
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
VideoParameters & WithFixedGOP(const Aws::String &value)
VideoParameters & AddWatermarks(PresetWatermark &&value)
VideoParameters & WithMaxFrameRate(const char *value)
void SetKeyframesMaxDist(const Aws::String &value)
VideoParameters & WithAspectRatio(const char *value)
VideoParameters & AddCodecOptions(const char *key, const char *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)
VideoParameters & WithMaxHeight(const char *value)
void SetCodecOptions(Aws::Map< Aws::String, Aws::String > &&value)
void SetSizingPolicy(const Aws::String &value)
VideoParameters & WithFixedGOP(Aws::String &&value)
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetCodecOptions() 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)
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