AWS SDK for C++  1.9.69
AWS SDK for C++
Public Member Functions | List of all members
Aws::ElasticTranscoder::Model::Thumbnails Class Reference

#include <Thumbnails.h>

Public Member Functions

 Thumbnails ()
 
 Thumbnails (Aws::Utils::Json::JsonView jsonValue)
 
Thumbnailsoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetFormat () const
 
bool FormatHasBeenSet () const
 
void SetFormat (const Aws::String &value)
 
void SetFormat (Aws::String &&value)
 
void SetFormat (const char *value)
 
ThumbnailsWithFormat (const Aws::String &value)
 
ThumbnailsWithFormat (Aws::String &&value)
 
ThumbnailsWithFormat (const char *value)
 
const Aws::StringGetInterval () const
 
bool IntervalHasBeenSet () const
 
void SetInterval (const Aws::String &value)
 
void SetInterval (Aws::String &&value)
 
void SetInterval (const char *value)
 
ThumbnailsWithInterval (const Aws::String &value)
 
ThumbnailsWithInterval (Aws::String &&value)
 
ThumbnailsWithInterval (const char *value)
 
const Aws::StringGetResolution () const
 
bool ResolutionHasBeenSet () const
 
void SetResolution (const Aws::String &value)
 
void SetResolution (Aws::String &&value)
 
void SetResolution (const char *value)
 
ThumbnailsWithResolution (const Aws::String &value)
 
ThumbnailsWithResolution (Aws::String &&value)
 
ThumbnailsWithResolution (const char *value)
 
const Aws::StringGetAspectRatio () const
 
bool AspectRatioHasBeenSet () const
 
void SetAspectRatio (const Aws::String &value)
 
void SetAspectRatio (Aws::String &&value)
 
void SetAspectRatio (const char *value)
 
ThumbnailsWithAspectRatio (const Aws::String &value)
 
ThumbnailsWithAspectRatio (Aws::String &&value)
 
ThumbnailsWithAspectRatio (const char *value)
 
const Aws::StringGetMaxWidth () const
 
bool MaxWidthHasBeenSet () const
 
void SetMaxWidth (const Aws::String &value)
 
void SetMaxWidth (Aws::String &&value)
 
void SetMaxWidth (const char *value)
 
ThumbnailsWithMaxWidth (const Aws::String &value)
 
ThumbnailsWithMaxWidth (Aws::String &&value)
 
ThumbnailsWithMaxWidth (const char *value)
 
const Aws::StringGetMaxHeight () const
 
bool MaxHeightHasBeenSet () const
 
void SetMaxHeight (const Aws::String &value)
 
void SetMaxHeight (Aws::String &&value)
 
void SetMaxHeight (const char *value)
 
ThumbnailsWithMaxHeight (const Aws::String &value)
 
ThumbnailsWithMaxHeight (Aws::String &&value)
 
ThumbnailsWithMaxHeight (const char *value)
 
const Aws::StringGetSizingPolicy () const
 
bool SizingPolicyHasBeenSet () const
 
void SetSizingPolicy (const Aws::String &value)
 
void SetSizingPolicy (Aws::String &&value)
 
void SetSizingPolicy (const char *value)
 
ThumbnailsWithSizingPolicy (const Aws::String &value)
 
ThumbnailsWithSizingPolicy (Aws::String &&value)
 
ThumbnailsWithSizingPolicy (const char *value)
 
const Aws::StringGetPaddingPolicy () const
 
bool PaddingPolicyHasBeenSet () const
 
void SetPaddingPolicy (const Aws::String &value)
 
void SetPaddingPolicy (Aws::String &&value)
 
void SetPaddingPolicy (const char *value)
 
ThumbnailsWithPaddingPolicy (const Aws::String &value)
 
ThumbnailsWithPaddingPolicy (Aws::String &&value)
 
ThumbnailsWithPaddingPolicy (const char *value)
 

Detailed Description

Thumbnails for videos.

See Also:

AWS API Reference

Definition at line 31 of file Thumbnails.h.

Constructor & Destructor Documentation

◆ Thumbnails() [1/2]

Aws::ElasticTranscoder::Model::Thumbnails::Thumbnails ( )

◆ Thumbnails() [2/2]

Aws::ElasticTranscoder::Model::Thumbnails::Thumbnails ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AspectRatioHasBeenSet()

bool Aws::ElasticTranscoder::Model::Thumbnails::AspectRatioHasBeenSet ( ) const
inline

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The aspect ratio of thumbnails. Valid values include:

auto, 1:1, 4:3, 3:2, 16:9

If you specify auto, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.

Definition at line 275 of file Thumbnails.h.

◆ FormatHasBeenSet()

bool Aws::ElasticTranscoder::Model::Thumbnails::FormatHasBeenSet ( ) const
inline

The format of thumbnails, if any. Valid values are jpg and png.

You specify whether you want Elastic Transcoder to create thumbnails when you create a job.

Definition at line 52 of file Thumbnails.h.

◆ GetAspectRatio()

const Aws::String& Aws::ElasticTranscoder::Model::Thumbnails::GetAspectRatio ( ) const
inline

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The aspect ratio of thumbnails. Valid values include:

auto, 1:1, 4:3, 3:2, 16:9

If you specify auto, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.

Definition at line 262 of file Thumbnails.h.

◆ GetFormat()

const Aws::String& Aws::ElasticTranscoder::Model::Thumbnails::GetFormat ( ) const
inline

The format of thumbnails, if any. Valid values are jpg and png.

You specify whether you want Elastic Transcoder to create thumbnails when you create a job.

Definition at line 45 of file Thumbnails.h.

◆ GetInterval()

const Aws::String& Aws::ElasticTranscoder::Model::Thumbnails::GetInterval ( ) const
inline

The approximate number of seconds between thumbnails. Specify an integer value.

Definition at line 101 of file Thumbnails.h.

◆ GetMaxHeight()

const Aws::String& Aws::ElasticTranscoder::Model::Thumbnails::GetMaxHeight ( ) const
inline

The maximum height of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 3072.

Definition at line 418 of file Thumbnails.h.

◆ GetMaxWidth()

const Aws::String& Aws::ElasticTranscoder::Model::Thumbnails::GetMaxWidth ( ) const
inline

The maximum width of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 4096.

Definition at line 361 of file Thumbnails.h.

◆ GetPaddingPolicy()

const Aws::String& Aws::ElasticTranscoder::Model::Thumbnails::GetPaddingPolicy ( ) const
inline

When you set PaddingPolicy to Pad, Elastic Transcoder may add black bars to the top and bottom and/or left and right sides of thumbnails to make the total size of the thumbnails match the values that you specified for thumbnail MaxWidth and MaxHeight settings.

Definition at line 710 of file Thumbnails.h.

◆ GetResolution()

const Aws::String& Aws::ElasticTranscoder::Model::Thumbnails::GetResolution ( ) const
inline

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The width and height of thumbnail files in pixels. Specify a value in the format width x height where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object.

Definition at line 157 of file Thumbnails.h.

◆ GetSizingPolicy()

const Aws::String& Aws::ElasticTranscoder::Model::Thumbnails::GetSizingPolicy ( ) const
inline

Specify one of the following values to control scaling of thumbnails:

  • Fit: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value.

  • Fill: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings and matches or exceeds the other value. Elastic Transcoder centers the image in thumbnails and then crops in the dimension (if any) that exceeds the maximum value.

  • Stretch: Elastic Transcoder stretches thumbnails to match the values that you specified for thumbnail MaxWidth and MaxHeight settings. If the relative proportions of the input video and thumbnails are different, the thumbnails will be distorted.

  • Keep: Elastic Transcoder does not scale thumbnails. If either dimension of the input video exceeds the values that you specified for thumbnail MaxWidth and MaxHeight settings, Elastic Transcoder crops the thumbnails.

  • ShrinkToFit: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of thumbnail MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

  • ShrinkToFill: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without dropping below either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

Definition at line 497 of file Thumbnails.h.

◆ IntervalHasBeenSet()

bool Aws::ElasticTranscoder::Model::Thumbnails::IntervalHasBeenSet ( ) const
inline

The approximate number of seconds between thumbnails. Specify an integer value.

Definition at line 107 of file Thumbnails.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::ElasticTranscoder::Model::Thumbnails::Jsonize ( ) const

◆ MaxHeightHasBeenSet()

bool Aws::ElasticTranscoder::Model::Thumbnails::MaxHeightHasBeenSet ( ) const
inline

The maximum height of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 3072.

Definition at line 425 of file Thumbnails.h.

◆ MaxWidthHasBeenSet()

bool Aws::ElasticTranscoder::Model::Thumbnails::MaxWidthHasBeenSet ( ) const
inline

The maximum width of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 4096.

Definition at line 368 of file Thumbnails.h.

◆ operator=()

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ PaddingPolicyHasBeenSet()

bool Aws::ElasticTranscoder::Model::Thumbnails::PaddingPolicyHasBeenSet ( ) const
inline

When you set PaddingPolicy to Pad, Elastic Transcoder may add black bars to the top and bottom and/or left and right sides of thumbnails to make the total size of the thumbnails match the values that you specified for thumbnail MaxWidth and MaxHeight settings.

Definition at line 719 of file Thumbnails.h.

◆ ResolutionHasBeenSet()

bool Aws::ElasticTranscoder::Model::Thumbnails::ResolutionHasBeenSet ( ) const
inline

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The width and height of thumbnail files in pixels. Specify a value in the format width x height where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object.

Definition at line 170 of file Thumbnails.h.

◆ SetAspectRatio() [1/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetAspectRatio ( Aws::String &&  value)
inline

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The aspect ratio of thumbnails. Valid values include:

auto, 1:1, 4:3, 3:2, 16:9

If you specify auto, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.

Definition at line 301 of file Thumbnails.h.

◆ SetAspectRatio() [2/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetAspectRatio ( const Aws::String value)
inline

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The aspect ratio of thumbnails. Valid values include:

auto, 1:1, 4:3, 3:2, 16:9

If you specify auto, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.

Definition at line 288 of file Thumbnails.h.

◆ SetAspectRatio() [3/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetAspectRatio ( const char *  value)
inline

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The aspect ratio of thumbnails. Valid values include:

auto, 1:1, 4:3, 3:2, 16:9

If you specify auto, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.

Definition at line 314 of file Thumbnails.h.

◆ SetFormat() [1/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetFormat ( Aws::String &&  value)
inline

The format of thumbnails, if any. Valid values are jpg and png.

You specify whether you want Elastic Transcoder to create thumbnails when you create a job.

Definition at line 66 of file Thumbnails.h.

◆ SetFormat() [2/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetFormat ( const Aws::String value)
inline

The format of thumbnails, if any. Valid values are jpg and png.

You specify whether you want Elastic Transcoder to create thumbnails when you create a job.

Definition at line 59 of file Thumbnails.h.

◆ SetFormat() [3/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetFormat ( const char *  value)
inline

The format of thumbnails, if any. Valid values are jpg and png.

You specify whether you want Elastic Transcoder to create thumbnails when you create a job.

Definition at line 73 of file Thumbnails.h.

◆ SetInterval() [1/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetInterval ( Aws::String &&  value)
inline

The approximate number of seconds between thumbnails. Specify an integer value.

Definition at line 119 of file Thumbnails.h.

◆ SetInterval() [2/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetInterval ( const Aws::String value)
inline

The approximate number of seconds between thumbnails. Specify an integer value.

Definition at line 113 of file Thumbnails.h.

◆ SetInterval() [3/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetInterval ( const char *  value)
inline

The approximate number of seconds between thumbnails. Specify an integer value.

Definition at line 125 of file Thumbnails.h.

◆ SetMaxHeight() [1/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetMaxHeight ( Aws::String &&  value)
inline

The maximum height of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 3072.

Definition at line 439 of file Thumbnails.h.

◆ SetMaxHeight() [2/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetMaxHeight ( const Aws::String value)
inline

The maximum height of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 3072.

Definition at line 432 of file Thumbnails.h.

◆ SetMaxHeight() [3/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetMaxHeight ( const char *  value)
inline

The maximum height of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 3072.

Definition at line 446 of file Thumbnails.h.

◆ SetMaxWidth() [1/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetMaxWidth ( Aws::String &&  value)
inline

The maximum width of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 4096.

Definition at line 382 of file Thumbnails.h.

◆ SetMaxWidth() [2/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetMaxWidth ( const Aws::String value)
inline

The maximum width of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 4096.

Definition at line 375 of file Thumbnails.h.

◆ SetMaxWidth() [3/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetMaxWidth ( const char *  value)
inline

The maximum width of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 4096.

Definition at line 389 of file Thumbnails.h.

◆ SetPaddingPolicy() [1/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetPaddingPolicy ( Aws::String &&  value)
inline

When you set PaddingPolicy to Pad, Elastic Transcoder may add black bars to the top and bottom and/or left and right sides of thumbnails to make the total size of the thumbnails match the values that you specified for thumbnail MaxWidth and MaxHeight settings.

Definition at line 737 of file Thumbnails.h.

◆ SetPaddingPolicy() [2/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetPaddingPolicy ( const Aws::String value)
inline

When you set PaddingPolicy to Pad, Elastic Transcoder may add black bars to the top and bottom and/or left and right sides of thumbnails to make the total size of the thumbnails match the values that you specified for thumbnail MaxWidth and MaxHeight settings.

Definition at line 728 of file Thumbnails.h.

◆ SetPaddingPolicy() [3/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetPaddingPolicy ( const char *  value)
inline

When you set PaddingPolicy to Pad, Elastic Transcoder may add black bars to the top and bottom and/or left and right sides of thumbnails to make the total size of the thumbnails match the values that you specified for thumbnail MaxWidth and MaxHeight settings.

Definition at line 746 of file Thumbnails.h.

◆ SetResolution() [1/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetResolution ( Aws::String &&  value)
inline

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The width and height of thumbnail files in pixels. Specify a value in the format width x height where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object.

Definition at line 196 of file Thumbnails.h.

◆ SetResolution() [2/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetResolution ( const Aws::String value)
inline

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The width and height of thumbnail files in pixels. Specify a value in the format width x height where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object.

Definition at line 183 of file Thumbnails.h.

◆ SetResolution() [3/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetResolution ( const char *  value)
inline

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The width and height of thumbnail files in pixels. Specify a value in the format width x height where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object.

Definition at line 209 of file Thumbnails.h.

◆ SetSizingPolicy() [1/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetSizingPolicy ( Aws::String &&  value)
inline

Specify one of the following values to control scaling of thumbnails:

  • Fit: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value.

  • Fill: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings and matches or exceeds the other value. Elastic Transcoder centers the image in thumbnails and then crops in the dimension (if any) that exceeds the maximum value.

  • Stretch: Elastic Transcoder stretches thumbnails to match the values that you specified for thumbnail MaxWidth and MaxHeight settings. If the relative proportions of the input video and thumbnails are different, the thumbnails will be distorted.

  • Keep: Elastic Transcoder does not scale thumbnails. If either dimension of the input video exceeds the values that you specified for thumbnail MaxWidth and MaxHeight settings, Elastic Transcoder crops the thumbnails.

  • ShrinkToFit: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of thumbnail MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

  • ShrinkToFill: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without dropping below either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

Definition at line 584 of file Thumbnails.h.

◆ SetSizingPolicy() [2/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetSizingPolicy ( const Aws::String value)
inline

Specify one of the following values to control scaling of thumbnails:

  • Fit: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value.

  • Fill: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings and matches or exceeds the other value. Elastic Transcoder centers the image in thumbnails and then crops in the dimension (if any) that exceeds the maximum value.

  • Stretch: Elastic Transcoder stretches thumbnails to match the values that you specified for thumbnail MaxWidth and MaxHeight settings. If the relative proportions of the input video and thumbnails are different, the thumbnails will be distorted.

  • Keep: Elastic Transcoder does not scale thumbnails. If either dimension of the input video exceeds the values that you specified for thumbnail MaxWidth and MaxHeight settings, Elastic Transcoder crops the thumbnails.

  • ShrinkToFit: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of thumbnail MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

  • ShrinkToFill: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without dropping below either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

Definition at line 555 of file Thumbnails.h.

◆ SetSizingPolicy() [3/3]

void Aws::ElasticTranscoder::Model::Thumbnails::SetSizingPolicy ( const char *  value)
inline

Specify one of the following values to control scaling of thumbnails:

  • Fit: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value.

  • Fill: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings and matches or exceeds the other value. Elastic Transcoder centers the image in thumbnails and then crops in the dimension (if any) that exceeds the maximum value.

  • Stretch: Elastic Transcoder stretches thumbnails to match the values that you specified for thumbnail MaxWidth and MaxHeight settings. If the relative proportions of the input video and thumbnails are different, the thumbnails will be distorted.

  • Keep: Elastic Transcoder does not scale thumbnails. If either dimension of the input video exceeds the values that you specified for thumbnail MaxWidth and MaxHeight settings, Elastic Transcoder crops the thumbnails.

  • ShrinkToFit: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of thumbnail MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

  • ShrinkToFill: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without dropping below either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

Definition at line 613 of file Thumbnails.h.

◆ SizingPolicyHasBeenSet()

bool Aws::ElasticTranscoder::Model::Thumbnails::SizingPolicyHasBeenSet ( ) const
inline

Specify one of the following values to control scaling of thumbnails:

  • Fit: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value.

  • Fill: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings and matches or exceeds the other value. Elastic Transcoder centers the image in thumbnails and then crops in the dimension (if any) that exceeds the maximum value.

  • Stretch: Elastic Transcoder stretches thumbnails to match the values that you specified for thumbnail MaxWidth and MaxHeight settings. If the relative proportions of the input video and thumbnails are different, the thumbnails will be distorted.

  • Keep: Elastic Transcoder does not scale thumbnails. If either dimension of the input video exceeds the values that you specified for thumbnail MaxWidth and MaxHeight settings, Elastic Transcoder crops the thumbnails.

  • ShrinkToFit: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of thumbnail MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

  • ShrinkToFill: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without dropping below either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

Definition at line 526 of file Thumbnails.h.

◆ WithAspectRatio() [1/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithAspectRatio ( Aws::String &&  value)
inline

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The aspect ratio of thumbnails. Valid values include:

auto, 1:1, 4:3, 3:2, 16:9

If you specify auto, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.

Definition at line 340 of file Thumbnails.h.

◆ WithAspectRatio() [2/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithAspectRatio ( const Aws::String value)
inline

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The aspect ratio of thumbnails. Valid values include:

auto, 1:1, 4:3, 3:2, 16:9

If you specify auto, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.

Definition at line 327 of file Thumbnails.h.

◆ WithAspectRatio() [3/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithAspectRatio ( const char *  value)
inline

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The aspect ratio of thumbnails. Valid values include:

auto, 1:1, 4:3, 3:2, 16:9

If you specify auto, Elastic Transcoder tries to preserve the aspect ratio of the video in the output file.

Definition at line 353 of file Thumbnails.h.

◆ WithFormat() [1/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithFormat ( Aws::String &&  value)
inline

The format of thumbnails, if any. Valid values are jpg and png.

You specify whether you want Elastic Transcoder to create thumbnails when you create a job.

Definition at line 87 of file Thumbnails.h.

◆ WithFormat() [2/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithFormat ( const Aws::String value)
inline

The format of thumbnails, if any. Valid values are jpg and png.

You specify whether you want Elastic Transcoder to create thumbnails when you create a job.

Definition at line 80 of file Thumbnails.h.

◆ WithFormat() [3/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithFormat ( const char *  value)
inline

The format of thumbnails, if any. Valid values are jpg and png.

You specify whether you want Elastic Transcoder to create thumbnails when you create a job.

Definition at line 94 of file Thumbnails.h.

◆ WithInterval() [1/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithInterval ( Aws::String &&  value)
inline

The approximate number of seconds between thumbnails. Specify an integer value.

Definition at line 137 of file Thumbnails.h.

◆ WithInterval() [2/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithInterval ( const Aws::String value)
inline

The approximate number of seconds between thumbnails. Specify an integer value.

Definition at line 131 of file Thumbnails.h.

◆ WithInterval() [3/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithInterval ( const char *  value)
inline

The approximate number of seconds between thumbnails. Specify an integer value.

Definition at line 143 of file Thumbnails.h.

◆ WithMaxHeight() [1/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithMaxHeight ( Aws::String &&  value)
inline

The maximum height of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 3072.

Definition at line 460 of file Thumbnails.h.

◆ WithMaxHeight() [2/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithMaxHeight ( const Aws::String value)
inline

The maximum height of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 3072.

Definition at line 453 of file Thumbnails.h.

◆ WithMaxHeight() [3/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithMaxHeight ( const char *  value)
inline

The maximum height of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1080 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 3072.

Definition at line 467 of file Thumbnails.h.

◆ WithMaxWidth() [1/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithMaxWidth ( Aws::String &&  value)
inline

The maximum width of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 4096.

Definition at line 403 of file Thumbnails.h.

◆ WithMaxWidth() [2/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithMaxWidth ( const Aws::String value)
inline

The maximum width of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 4096.

Definition at line 396 of file Thumbnails.h.

◆ WithMaxWidth() [3/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithMaxWidth ( const char *  value)
inline

The maximum width of thumbnails in pixels. If you specify auto, Elastic Transcoder uses 1920 (Full HD) as the default value. If you specify a numeric value, enter an even integer between 32 and 4096.

Definition at line 410 of file Thumbnails.h.

◆ WithPaddingPolicy() [1/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithPaddingPolicy ( Aws::String &&  value)
inline

When you set PaddingPolicy to Pad, Elastic Transcoder may add black bars to the top and bottom and/or left and right sides of thumbnails to make the total size of the thumbnails match the values that you specified for thumbnail MaxWidth and MaxHeight settings.

Definition at line 764 of file Thumbnails.h.

◆ WithPaddingPolicy() [2/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithPaddingPolicy ( const Aws::String value)
inline

When you set PaddingPolicy to Pad, Elastic Transcoder may add black bars to the top and bottom and/or left and right sides of thumbnails to make the total size of the thumbnails match the values that you specified for thumbnail MaxWidth and MaxHeight settings.

Definition at line 755 of file Thumbnails.h.

◆ WithPaddingPolicy() [3/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithPaddingPolicy ( const char *  value)
inline

When you set PaddingPolicy to Pad, Elastic Transcoder may add black bars to the top and bottom and/or left and right sides of thumbnails to make the total size of the thumbnails match the values that you specified for thumbnail MaxWidth and MaxHeight settings.

Definition at line 773 of file Thumbnails.h.

◆ WithResolution() [1/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithResolution ( Aws::String &&  value)
inline

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The width and height of thumbnail files in pixels. Specify a value in the format width x height where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object.

Definition at line 235 of file Thumbnails.h.

◆ WithResolution() [2/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithResolution ( const Aws::String value)
inline

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The width and height of thumbnail files in pixels. Specify a value in the format width x height where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object.

Definition at line 222 of file Thumbnails.h.

◆ WithResolution() [3/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithResolution ( const char *  value)
inline

To better control resolution and aspect ratio of thumbnails, we recommend that you use the values MaxWidth, MaxHeight, SizingPolicy, and PaddingPolicy instead of Resolution and AspectRatio. The two groups of settings are mutually exclusive. Do not use them together.

The width and height of thumbnail files in pixels. Specify a value in the format width x height where both values are even integers. The values cannot exceed the width and height that you specified in the Video:Resolution object.

Definition at line 248 of file Thumbnails.h.

◆ WithSizingPolicy() [1/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithSizingPolicy ( Aws::String &&  value)
inline

Specify one of the following values to control scaling of thumbnails:

  • Fit: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value.

  • Fill: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings and matches or exceeds the other value. Elastic Transcoder centers the image in thumbnails and then crops in the dimension (if any) that exceeds the maximum value.

  • Stretch: Elastic Transcoder stretches thumbnails to match the values that you specified for thumbnail MaxWidth and MaxHeight settings. If the relative proportions of the input video and thumbnails are different, the thumbnails will be distorted.

  • Keep: Elastic Transcoder does not scale thumbnails. If either dimension of the input video exceeds the values that you specified for thumbnail MaxWidth and MaxHeight settings, Elastic Transcoder crops the thumbnails.

  • ShrinkToFit: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of thumbnail MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

  • ShrinkToFill: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without dropping below either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

Definition at line 671 of file Thumbnails.h.

◆ WithSizingPolicy() [2/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithSizingPolicy ( const Aws::String value)
inline

Specify one of the following values to control scaling of thumbnails:

  • Fit: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value.

  • Fill: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings and matches or exceeds the other value. Elastic Transcoder centers the image in thumbnails and then crops in the dimension (if any) that exceeds the maximum value.

  • Stretch: Elastic Transcoder stretches thumbnails to match the values that you specified for thumbnail MaxWidth and MaxHeight settings. If the relative proportions of the input video and thumbnails are different, the thumbnails will be distorted.

  • Keep: Elastic Transcoder does not scale thumbnails. If either dimension of the input video exceeds the values that you specified for thumbnail MaxWidth and MaxHeight settings, Elastic Transcoder crops the thumbnails.

  • ShrinkToFit: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of thumbnail MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

  • ShrinkToFill: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without dropping below either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

Definition at line 642 of file Thumbnails.h.

◆ WithSizingPolicy() [3/3]

Thumbnails& Aws::ElasticTranscoder::Model::Thumbnails::WithSizingPolicy ( const char *  value)
inline

Specify one of the following values to control scaling of thumbnails:

  • Fit: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings without exceeding the other value.

  • Fill: Elastic Transcoder scales thumbnails so they match the value that you specified in thumbnail MaxWidth or MaxHeight settings and matches or exceeds the other value. Elastic Transcoder centers the image in thumbnails and then crops in the dimension (if any) that exceeds the maximum value.

  • Stretch: Elastic Transcoder stretches thumbnails to match the values that you specified for thumbnail MaxWidth and MaxHeight settings. If the relative proportions of the input video and thumbnails are different, the thumbnails will be distorted.

  • Keep: Elastic Transcoder does not scale thumbnails. If either dimension of the input video exceeds the values that you specified for thumbnail MaxWidth and MaxHeight settings, Elastic Transcoder crops the thumbnails.

  • ShrinkToFit: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of thumbnail MaxWidth and MaxHeight without exceeding either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

  • ShrinkToFill: Elastic Transcoder scales thumbnails down so that their dimensions match the values that you specified for at least one of MaxWidth and MaxHeight without dropping below either value. If you specify this option, Elastic Transcoder does not scale thumbnails up.

Definition at line 700 of file Thumbnails.h.


The documentation for this class was generated from the following file: