/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace ElasticTranscoder { namespace Model { /** *

Settings for the size, location, and opacity of graphics that you want * Elastic Transcoder to overlay over videos that are transcoded using this preset. * You can specify settings for up to four watermarks. Watermarks appear in the * specified size and location, and with the specified opacity for the duration of * the transcoded video.

Watermarks can be in .png or .jpg format. If you * want to display a watermark that is not rectangular, use the .png format, which * supports transparency.

When you create a job that uses this preset, you * specify the .png or .jpg graphics that you want Elastic Transcoder to include in * the transcoded videos. You can specify fewer graphics in the job than you * specify watermark settings in the preset, which allows you to use the same * preset for up to four watermarks that have different dimensions.

See * Also:

AWS * API Reference

*/ class PresetWatermark { public: AWS_ELASTICTRANSCODER_API PresetWatermark(); AWS_ELASTICTRANSCODER_API PresetWatermark(Aws::Utils::Json::JsonView jsonValue); AWS_ELASTICTRANSCODER_API PresetWatermark& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A unique identifier for the settings for one watermark. The value of * Id can be up to 40 characters long.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

A unique identifier for the settings for one watermark. The value of * Id can be up to 40 characters long.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

A unique identifier for the settings for one watermark. The value of * Id can be up to 40 characters long.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

A unique identifier for the settings for one watermark. The value of * Id can be up to 40 characters long.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

A unique identifier for the settings for one watermark. The value of * Id can be up to 40 characters long.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

A unique identifier for the settings for one watermark. The value of * Id can be up to 40 characters long.

*/ inline PresetWatermark& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

A unique identifier for the settings for one watermark. The value of * Id can be up to 40 characters long.

*/ inline PresetWatermark& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

A unique identifier for the settings for one watermark. The value of * Id can be up to 40 characters long.

*/ inline PresetWatermark& WithId(const char* value) { SetId(value); return *this;} /** *

The maximum width of the watermark in one of the following formats:

    *
  • number of pixels (px): The minimum value is 16 pixels, and the maximum * value is the value of MaxWidth.

  • integer * percentage (%): The range of valid values is 0 to 100. Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the * calculation.

    If you specify the value in pixels, it must be less than or * equal to the value of MaxWidth.

*/ inline const Aws::String& GetMaxWidth() const{ return m_maxWidth; } /** *

The maximum width of the watermark in one of the following formats:

    *
  • number of pixels (px): The minimum value is 16 pixels, and the maximum * value is the value of MaxWidth.

  • integer * percentage (%): The range of valid values is 0 to 100. Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the * calculation.

    If you specify the value in pixels, it must be less than or * equal to the value of MaxWidth.

*/ inline bool MaxWidthHasBeenSet() const { return m_maxWidthHasBeenSet; } /** *

The maximum width of the watermark in one of the following formats:

    *
  • number of pixels (px): The minimum value is 16 pixels, and the maximum * value is the value of MaxWidth.

  • integer * percentage (%): The range of valid values is 0 to 100. Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the * calculation.

    If you specify the value in pixels, it must be less than or * equal to the value of MaxWidth.

*/ inline void SetMaxWidth(const Aws::String& value) { m_maxWidthHasBeenSet = true; m_maxWidth = value; } /** *

The maximum width of the watermark in one of the following formats:

    *
  • number of pixels (px): The minimum value is 16 pixels, and the maximum * value is the value of MaxWidth.

  • integer * percentage (%): The range of valid values is 0 to 100. Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the * calculation.

    If you specify the value in pixels, it must be less than or * equal to the value of MaxWidth.

*/ inline void SetMaxWidth(Aws::String&& value) { m_maxWidthHasBeenSet = true; m_maxWidth = std::move(value); } /** *

The maximum width of the watermark in one of the following formats:

    *
  • number of pixels (px): The minimum value is 16 pixels, and the maximum * value is the value of MaxWidth.

  • integer * percentage (%): The range of valid values is 0 to 100. Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the * calculation.

    If you specify the value in pixels, it must be less than or * equal to the value of MaxWidth.

*/ inline void SetMaxWidth(const char* value) { m_maxWidthHasBeenSet = true; m_maxWidth.assign(value); } /** *

The maximum width of the watermark in one of the following formats:

    *
  • number of pixels (px): The minimum value is 16 pixels, and the maximum * value is the value of MaxWidth.

  • integer * percentage (%): The range of valid values is 0 to 100. Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the * calculation.

    If you specify the value in pixels, it must be less than or * equal to the value of MaxWidth.

*/ inline PresetWatermark& WithMaxWidth(const Aws::String& value) { SetMaxWidth(value); return *this;} /** *

The maximum width of the watermark in one of the following formats:

    *
  • number of pixels (px): The minimum value is 16 pixels, and the maximum * value is the value of MaxWidth.

  • integer * percentage (%): The range of valid values is 0 to 100. Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the * calculation.

    If you specify the value in pixels, it must be less than or * equal to the value of MaxWidth.

*/ inline PresetWatermark& WithMaxWidth(Aws::String&& value) { SetMaxWidth(std::move(value)); return *this;} /** *

The maximum width of the watermark in one of the following formats:

    *
  • number of pixels (px): The minimum value is 16 pixels, and the maximum * value is the value of MaxWidth.

  • integer * percentage (%): The range of valid values is 0 to 100. Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the * calculation.

    If you specify the value in pixels, it must be less than or * equal to the value of MaxWidth.

*/ inline PresetWatermark& WithMaxWidth(const char* value) { SetMaxWidth(value); return *this;} /** *

The maximum height of the watermark in one of the following formats:

*
  • number of pixels (px): The minimum value is 16 pixels, and the * maximum value is the value of MaxHeight.

  • integer * percentage (%): The range of valid values is 0 to 100. Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the * calculation.

If you specify the value in pixels, it must be * less than or equal to the value of MaxHeight.

*/ inline const Aws::String& GetMaxHeight() const{ return m_maxHeight; } /** *

The maximum height of the watermark in one of the following formats:

*
  • number of pixels (px): The minimum value is 16 pixels, and the * maximum value is the value of MaxHeight.

  • integer * percentage (%): The range of valid values is 0 to 100. Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the * calculation.

If you specify the value in pixels, it must be * less than or equal to the value of MaxHeight.

*/ inline bool MaxHeightHasBeenSet() const { return m_maxHeightHasBeenSet; } /** *

The maximum height of the watermark in one of the following formats:

*
  • number of pixels (px): The minimum value is 16 pixels, and the * maximum value is the value of MaxHeight.

  • integer * percentage (%): The range of valid values is 0 to 100. Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the * calculation.

If you specify the value in pixels, it must be * less than or equal to the value of MaxHeight.

*/ inline void SetMaxHeight(const Aws::String& value) { m_maxHeightHasBeenSet = true; m_maxHeight = value; } /** *

The maximum height of the watermark in one of the following formats:

*
  • number of pixels (px): The minimum value is 16 pixels, and the * maximum value is the value of MaxHeight.

  • integer * percentage (%): The range of valid values is 0 to 100. Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the * calculation.

If you specify the value in pixels, it must be * less than or equal to the value of MaxHeight.

*/ inline void SetMaxHeight(Aws::String&& value) { m_maxHeightHasBeenSet = true; m_maxHeight = std::move(value); } /** *

The maximum height of the watermark in one of the following formats:

*
  • number of pixels (px): The minimum value is 16 pixels, and the * maximum value is the value of MaxHeight.

  • integer * percentage (%): The range of valid values is 0 to 100. Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the * calculation.

If you specify the value in pixels, it must be * less than or equal to the value of MaxHeight.

*/ inline void SetMaxHeight(const char* value) { m_maxHeightHasBeenSet = true; m_maxHeight.assign(value); } /** *

The maximum height of the watermark in one of the following formats:

*
  • number of pixels (px): The minimum value is 16 pixels, and the * maximum value is the value of MaxHeight.

  • integer * percentage (%): The range of valid values is 0 to 100. Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the * calculation.

If you specify the value in pixels, it must be * less than or equal to the value of MaxHeight.

*/ inline PresetWatermark& WithMaxHeight(const Aws::String& value) { SetMaxHeight(value); return *this;} /** *

The maximum height of the watermark in one of the following formats:

*
  • number of pixels (px): The minimum value is 16 pixels, and the * maximum value is the value of MaxHeight.

  • integer * percentage (%): The range of valid values is 0 to 100. Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the * calculation.

If you specify the value in pixels, it must be * less than or equal to the value of MaxHeight.

*/ inline PresetWatermark& WithMaxHeight(Aws::String&& value) { SetMaxHeight(std::move(value)); return *this;} /** *

The maximum height of the watermark in one of the following formats:

*
  • number of pixels (px): The minimum value is 16 pixels, and the * maximum value is the value of MaxHeight.

  • integer * percentage (%): The range of valid values is 0 to 100. Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the * calculation.

If you specify the value in pixels, it must be * less than or equal to the value of MaxHeight.

*/ inline PresetWatermark& WithMaxHeight(const char* value) { SetMaxHeight(value); return *this;} /** *

A value that controls scaling of the watermark:

  • * Fit: Elastic Transcoder scales the watermark so it matches the value that * you specified in either MaxWidth or MaxHeight without * exceeding the other value.

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

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

*/ inline const Aws::String& GetSizingPolicy() const{ return m_sizingPolicy; } /** *

A value that controls scaling of the watermark:

  • * Fit: Elastic Transcoder scales the watermark so it matches the value that * you specified in either MaxWidth or MaxHeight without * exceeding the other value.

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

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

*/ inline bool SizingPolicyHasBeenSet() const { return m_sizingPolicyHasBeenSet; } /** *

A value that controls scaling of the watermark:

  • * Fit: Elastic Transcoder scales the watermark so it matches the value that * you specified in either MaxWidth or MaxHeight without * exceeding the other value.

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

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

*/ inline void SetSizingPolicy(const Aws::String& value) { m_sizingPolicyHasBeenSet = true; m_sizingPolicy = value; } /** *

A value that controls scaling of the watermark:

  • * Fit: Elastic Transcoder scales the watermark so it matches the value that * you specified in either MaxWidth or MaxHeight without * exceeding the other value.

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

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

*/ inline void SetSizingPolicy(Aws::String&& value) { m_sizingPolicyHasBeenSet = true; m_sizingPolicy = std::move(value); } /** *

A value that controls scaling of the watermark:

  • * Fit: Elastic Transcoder scales the watermark so it matches the value that * you specified in either MaxWidth or MaxHeight without * exceeding the other value.

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

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

*/ inline void SetSizingPolicy(const char* value) { m_sizingPolicyHasBeenSet = true; m_sizingPolicy.assign(value); } /** *

A value that controls scaling of the watermark:

  • * Fit: Elastic Transcoder scales the watermark so it matches the value that * you specified in either MaxWidth or MaxHeight without * exceeding the other value.

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

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

*/ inline PresetWatermark& WithSizingPolicy(const Aws::String& value) { SetSizingPolicy(value); return *this;} /** *

A value that controls scaling of the watermark:

  • * Fit: Elastic Transcoder scales the watermark so it matches the value that * you specified in either MaxWidth or MaxHeight without * exceeding the other value.

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

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

*/ inline PresetWatermark& WithSizingPolicy(Aws::String&& value) { SetSizingPolicy(std::move(value)); return *this;} /** *

A value that controls scaling of the watermark:

  • * Fit: Elastic Transcoder scales the watermark so it matches the value that * you specified in either MaxWidth or MaxHeight without * exceeding the other value.

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

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

*/ inline PresetWatermark& WithSizingPolicy(const char* value) { SetSizingPolicy(value); return *this;} /** *

The horizontal position of the watermark unless you specify a non-zero value * for HorizontalOffset:

  • Left: The left edge * of the watermark is aligned with the left border of the video.

  • *

    Right: The right edge of the watermark is aligned with the right * border of the video.

  • Center: The watermark is centered * between the left and right borders.

*/ inline const Aws::String& GetHorizontalAlign() const{ return m_horizontalAlign; } /** *

The horizontal position of the watermark unless you specify a non-zero value * for HorizontalOffset:

  • Left: The left edge * of the watermark is aligned with the left border of the video.

  • *

    Right: The right edge of the watermark is aligned with the right * border of the video.

  • Center: The watermark is centered * between the left and right borders.

*/ inline bool HorizontalAlignHasBeenSet() const { return m_horizontalAlignHasBeenSet; } /** *

The horizontal position of the watermark unless you specify a non-zero value * for HorizontalOffset:

  • Left: The left edge * of the watermark is aligned with the left border of the video.

  • *

    Right: The right edge of the watermark is aligned with the right * border of the video.

  • Center: The watermark is centered * between the left and right borders.

*/ inline void SetHorizontalAlign(const Aws::String& value) { m_horizontalAlignHasBeenSet = true; m_horizontalAlign = value; } /** *

The horizontal position of the watermark unless you specify a non-zero value * for HorizontalOffset:

  • Left: The left edge * of the watermark is aligned with the left border of the video.

  • *

    Right: The right edge of the watermark is aligned with the right * border of the video.

  • Center: The watermark is centered * between the left and right borders.

*/ inline void SetHorizontalAlign(Aws::String&& value) { m_horizontalAlignHasBeenSet = true; m_horizontalAlign = std::move(value); } /** *

The horizontal position of the watermark unless you specify a non-zero value * for HorizontalOffset:

  • Left: The left edge * of the watermark is aligned with the left border of the video.

  • *

    Right: The right edge of the watermark is aligned with the right * border of the video.

  • Center: The watermark is centered * between the left and right borders.

*/ inline void SetHorizontalAlign(const char* value) { m_horizontalAlignHasBeenSet = true; m_horizontalAlign.assign(value); } /** *

The horizontal position of the watermark unless you specify a non-zero value * for HorizontalOffset:

  • Left: The left edge * of the watermark is aligned with the left border of the video.

  • *

    Right: The right edge of the watermark is aligned with the right * border of the video.

  • Center: The watermark is centered * between the left and right borders.

*/ inline PresetWatermark& WithHorizontalAlign(const Aws::String& value) { SetHorizontalAlign(value); return *this;} /** *

The horizontal position of the watermark unless you specify a non-zero value * for HorizontalOffset:

  • Left: The left edge * of the watermark is aligned with the left border of the video.

  • *

    Right: The right edge of the watermark is aligned with the right * border of the video.

  • Center: The watermark is centered * between the left and right borders.

*/ inline PresetWatermark& WithHorizontalAlign(Aws::String&& value) { SetHorizontalAlign(std::move(value)); return *this;} /** *

The horizontal position of the watermark unless you specify a non-zero value * for HorizontalOffset:

  • Left: The left edge * of the watermark is aligned with the left border of the video.

  • *

    Right: The right edge of the watermark is aligned with the right * border of the video.

  • Center: The watermark is centered * between the left and right borders.

*/ inline PresetWatermark& WithHorizontalAlign(const char* value) { SetHorizontalAlign(value); return *this;} /** *

The amount by which you want the horizontal position of the watermark to be * offset from the position specified by HorizontalAlign:

  • number * of pixels (px): The minimum value is 0 pixels, and the maximum value is the * value of MaxWidth.

  • integer percentage (%): The range of valid * values is 0 to 100.

For example, if you specify Left for * HorizontalAlign and 5px for HorizontalOffset, the left * side of the watermark appears 5 pixels from the left border of the output * video.

HorizontalOffset is only valid when the value of * HorizontalAlign is Left or Right. If you * specify an offset that causes the watermark to extend beyond the left or right * border and Elastic Transcoder has not added black bars, the watermark is * cropped. If Elastic Transcoder has added black bars, the watermark extends into * the black bars. If the watermark extends beyond the black bars, it is * cropped.

Use the value of Target to specify whether you want * to include the black bars that are added by Elastic Transcoder, if any, in the * offset calculation.

*/ inline const Aws::String& GetHorizontalOffset() const{ return m_horizontalOffset; } /** *

The amount by which you want the horizontal position of the watermark to be * offset from the position specified by HorizontalAlign:

  • number * of pixels (px): The minimum value is 0 pixels, and the maximum value is the * value of MaxWidth.

  • integer percentage (%): The range of valid * values is 0 to 100.

For example, if you specify Left for * HorizontalAlign and 5px for HorizontalOffset, the left * side of the watermark appears 5 pixels from the left border of the output * video.

HorizontalOffset is only valid when the value of * HorizontalAlign is Left or Right. If you * specify an offset that causes the watermark to extend beyond the left or right * border and Elastic Transcoder has not added black bars, the watermark is * cropped. If Elastic Transcoder has added black bars, the watermark extends into * the black bars. If the watermark extends beyond the black bars, it is * cropped.

Use the value of Target to specify whether you want * to include the black bars that are added by Elastic Transcoder, if any, in the * offset calculation.

*/ inline bool HorizontalOffsetHasBeenSet() const { return m_horizontalOffsetHasBeenSet; } /** *

The amount by which you want the horizontal position of the watermark to be * offset from the position specified by HorizontalAlign:

  • number * of pixels (px): The minimum value is 0 pixels, and the maximum value is the * value of MaxWidth.

  • integer percentage (%): The range of valid * values is 0 to 100.

For example, if you specify Left for * HorizontalAlign and 5px for HorizontalOffset, the left * side of the watermark appears 5 pixels from the left border of the output * video.

HorizontalOffset is only valid when the value of * HorizontalAlign is Left or Right. If you * specify an offset that causes the watermark to extend beyond the left or right * border and Elastic Transcoder has not added black bars, the watermark is * cropped. If Elastic Transcoder has added black bars, the watermark extends into * the black bars. If the watermark extends beyond the black bars, it is * cropped.

Use the value of Target to specify whether you want * to include the black bars that are added by Elastic Transcoder, if any, in the * offset calculation.

*/ inline void SetHorizontalOffset(const Aws::String& value) { m_horizontalOffsetHasBeenSet = true; m_horizontalOffset = value; } /** *

The amount by which you want the horizontal position of the watermark to be * offset from the position specified by HorizontalAlign:

  • number * of pixels (px): The minimum value is 0 pixels, and the maximum value is the * value of MaxWidth.

  • integer percentage (%): The range of valid * values is 0 to 100.

For example, if you specify Left for * HorizontalAlign and 5px for HorizontalOffset, the left * side of the watermark appears 5 pixels from the left border of the output * video.

HorizontalOffset is only valid when the value of * HorizontalAlign is Left or Right. If you * specify an offset that causes the watermark to extend beyond the left or right * border and Elastic Transcoder has not added black bars, the watermark is * cropped. If Elastic Transcoder has added black bars, the watermark extends into * the black bars. If the watermark extends beyond the black bars, it is * cropped.

Use the value of Target to specify whether you want * to include the black bars that are added by Elastic Transcoder, if any, in the * offset calculation.

*/ inline void SetHorizontalOffset(Aws::String&& value) { m_horizontalOffsetHasBeenSet = true; m_horizontalOffset = std::move(value); } /** *

The amount by which you want the horizontal position of the watermark to be * offset from the position specified by HorizontalAlign:

  • number * of pixels (px): The minimum value is 0 pixels, and the maximum value is the * value of MaxWidth.

  • integer percentage (%): The range of valid * values is 0 to 100.

For example, if you specify Left for * HorizontalAlign and 5px for HorizontalOffset, the left * side of the watermark appears 5 pixels from the left border of the output * video.

HorizontalOffset is only valid when the value of * HorizontalAlign is Left or Right. If you * specify an offset that causes the watermark to extend beyond the left or right * border and Elastic Transcoder has not added black bars, the watermark is * cropped. If Elastic Transcoder has added black bars, the watermark extends into * the black bars. If the watermark extends beyond the black bars, it is * cropped.

Use the value of Target to specify whether you want * to include the black bars that are added by Elastic Transcoder, if any, in the * offset calculation.

*/ inline void SetHorizontalOffset(const char* value) { m_horizontalOffsetHasBeenSet = true; m_horizontalOffset.assign(value); } /** *

The amount by which you want the horizontal position of the watermark to be * offset from the position specified by HorizontalAlign:

  • number * of pixels (px): The minimum value is 0 pixels, and the maximum value is the * value of MaxWidth.

  • integer percentage (%): The range of valid * values is 0 to 100.

For example, if you specify Left for * HorizontalAlign and 5px for HorizontalOffset, the left * side of the watermark appears 5 pixels from the left border of the output * video.

HorizontalOffset is only valid when the value of * HorizontalAlign is Left or Right. If you * specify an offset that causes the watermark to extend beyond the left or right * border and Elastic Transcoder has not added black bars, the watermark is * cropped. If Elastic Transcoder has added black bars, the watermark extends into * the black bars. If the watermark extends beyond the black bars, it is * cropped.

Use the value of Target to specify whether you want * to include the black bars that are added by Elastic Transcoder, if any, in the * offset calculation.

*/ inline PresetWatermark& WithHorizontalOffset(const Aws::String& value) { SetHorizontalOffset(value); return *this;} /** *

The amount by which you want the horizontal position of the watermark to be * offset from the position specified by HorizontalAlign:

  • number * of pixels (px): The minimum value is 0 pixels, and the maximum value is the * value of MaxWidth.

  • integer percentage (%): The range of valid * values is 0 to 100.

For example, if you specify Left for * HorizontalAlign and 5px for HorizontalOffset, the left * side of the watermark appears 5 pixels from the left border of the output * video.

HorizontalOffset is only valid when the value of * HorizontalAlign is Left or Right. If you * specify an offset that causes the watermark to extend beyond the left or right * border and Elastic Transcoder has not added black bars, the watermark is * cropped. If Elastic Transcoder has added black bars, the watermark extends into * the black bars. If the watermark extends beyond the black bars, it is * cropped.

Use the value of Target to specify whether you want * to include the black bars that are added by Elastic Transcoder, if any, in the * offset calculation.

*/ inline PresetWatermark& WithHorizontalOffset(Aws::String&& value) { SetHorizontalOffset(std::move(value)); return *this;} /** *

The amount by which you want the horizontal position of the watermark to be * offset from the position specified by HorizontalAlign:

  • number * of pixels (px): The minimum value is 0 pixels, and the maximum value is the * value of MaxWidth.

  • integer percentage (%): The range of valid * values is 0 to 100.

For example, if you specify Left for * HorizontalAlign and 5px for HorizontalOffset, the left * side of the watermark appears 5 pixels from the left border of the output * video.

HorizontalOffset is only valid when the value of * HorizontalAlign is Left or Right. If you * specify an offset that causes the watermark to extend beyond the left or right * border and Elastic Transcoder has not added black bars, the watermark is * cropped. If Elastic Transcoder has added black bars, the watermark extends into * the black bars. If the watermark extends beyond the black bars, it is * cropped.

Use the value of Target to specify whether you want * to include the black bars that are added by Elastic Transcoder, if any, in the * offset calculation.

*/ inline PresetWatermark& WithHorizontalOffset(const char* value) { SetHorizontalOffset(value); return *this;} /** *

The vertical position of the watermark unless you specify a non-zero value * for VerticalOffset:

  • Top: The top edge of * the watermark is aligned with the top border of the video.

  • * Bottom: The bottom edge of the watermark is aligned with the bottom * border of the video.

  • Center: The watermark is centered * between the top and bottom borders.

*/ inline const Aws::String& GetVerticalAlign() const{ return m_verticalAlign; } /** *

The vertical position of the watermark unless you specify a non-zero value * for VerticalOffset:

  • Top: The top edge of * the watermark is aligned with the top border of the video.

  • * Bottom: The bottom edge of the watermark is aligned with the bottom * border of the video.

  • Center: The watermark is centered * between the top and bottom borders.

*/ inline bool VerticalAlignHasBeenSet() const { return m_verticalAlignHasBeenSet; } /** *

The vertical position of the watermark unless you specify a non-zero value * for VerticalOffset:

  • Top: The top edge of * the watermark is aligned with the top border of the video.

  • * Bottom: The bottom edge of the watermark is aligned with the bottom * border of the video.

  • Center: The watermark is centered * between the top and bottom borders.

*/ inline void SetVerticalAlign(const Aws::String& value) { m_verticalAlignHasBeenSet = true; m_verticalAlign = value; } /** *

The vertical position of the watermark unless you specify a non-zero value * for VerticalOffset:

  • Top: The top edge of * the watermark is aligned with the top border of the video.

  • * Bottom: The bottom edge of the watermark is aligned with the bottom * border of the video.

  • Center: The watermark is centered * between the top and bottom borders.

*/ inline void SetVerticalAlign(Aws::String&& value) { m_verticalAlignHasBeenSet = true; m_verticalAlign = std::move(value); } /** *

The vertical position of the watermark unless you specify a non-zero value * for VerticalOffset:

  • Top: The top edge of * the watermark is aligned with the top border of the video.

  • * Bottom: The bottom edge of the watermark is aligned with the bottom * border of the video.

  • Center: The watermark is centered * between the top and bottom borders.

*/ inline void SetVerticalAlign(const char* value) { m_verticalAlignHasBeenSet = true; m_verticalAlign.assign(value); } /** *

The vertical position of the watermark unless you specify a non-zero value * for VerticalOffset:

  • Top: The top edge of * the watermark is aligned with the top border of the video.

  • * Bottom: The bottom edge of the watermark is aligned with the bottom * border of the video.

  • Center: The watermark is centered * between the top and bottom borders.

*/ inline PresetWatermark& WithVerticalAlign(const Aws::String& value) { SetVerticalAlign(value); return *this;} /** *

The vertical position of the watermark unless you specify a non-zero value * for VerticalOffset:

  • Top: The top edge of * the watermark is aligned with the top border of the video.

  • * Bottom: The bottom edge of the watermark is aligned with the bottom * border of the video.

  • Center: The watermark is centered * between the top and bottom borders.

*/ inline PresetWatermark& WithVerticalAlign(Aws::String&& value) { SetVerticalAlign(std::move(value)); return *this;} /** *

The vertical position of the watermark unless you specify a non-zero value * for VerticalOffset:

  • Top: The top edge of * the watermark is aligned with the top border of the video.

  • * Bottom: The bottom edge of the watermark is aligned with the bottom * border of the video.

  • Center: The watermark is centered * between the top and bottom borders.

*/ inline PresetWatermark& WithVerticalAlign(const char* value) { SetVerticalAlign(value); return *this;} /** *

VerticalOffset

The amount by which you want the * vertical position of the watermark to be offset from the position specified by * VerticalAlign:

  • number of pixels (px): The minimum value is 0 * pixels, and the maximum value is the value of MaxHeight.

  • *
  • integer percentage (%): The range of valid values is 0 to 100.

  • *

For example, if you specify Top for * VerticalAlign and 5px for VerticalOffset, * the top of the watermark appears 5 pixels from the top border of the output * video.

VerticalOffset is only valid when the value of * VerticalAlign is Top or Bottom.

If you specify an offset that causes the * watermark to extend beyond the top or bottom border and Elastic Transcoder has * not added black bars, the watermark is cropped. If Elastic Transcoder has added * black bars, the watermark extends into the black bars. If the watermark extends * beyond the black bars, it is cropped.

Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the offset * calculation.

*/ inline const Aws::String& GetVerticalOffset() const{ return m_verticalOffset; } /** *

VerticalOffset

The amount by which you want the * vertical position of the watermark to be offset from the position specified by * VerticalAlign:

  • number of pixels (px): The minimum value is 0 * pixels, and the maximum value is the value of MaxHeight.

  • *
  • integer percentage (%): The range of valid values is 0 to 100.

  • *

For example, if you specify Top for * VerticalAlign and 5px for VerticalOffset, * the top of the watermark appears 5 pixels from the top border of the output * video.

VerticalOffset is only valid when the value of * VerticalAlign is Top or Bottom.

If you specify an offset that causes the * watermark to extend beyond the top or bottom border and Elastic Transcoder has * not added black bars, the watermark is cropped. If Elastic Transcoder has added * black bars, the watermark extends into the black bars. If the watermark extends * beyond the black bars, it is cropped.

Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the offset * calculation.

*/ inline bool VerticalOffsetHasBeenSet() const { return m_verticalOffsetHasBeenSet; } /** *

VerticalOffset

The amount by which you want the * vertical position of the watermark to be offset from the position specified by * VerticalAlign:

  • number of pixels (px): The minimum value is 0 * pixels, and the maximum value is the value of MaxHeight.

  • *
  • integer percentage (%): The range of valid values is 0 to 100.

  • *

For example, if you specify Top for * VerticalAlign and 5px for VerticalOffset, * the top of the watermark appears 5 pixels from the top border of the output * video.

VerticalOffset is only valid when the value of * VerticalAlign is Top or Bottom.

If you specify an offset that causes the * watermark to extend beyond the top or bottom border and Elastic Transcoder has * not added black bars, the watermark is cropped. If Elastic Transcoder has added * black bars, the watermark extends into the black bars. If the watermark extends * beyond the black bars, it is cropped.

Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the offset * calculation.

*/ inline void SetVerticalOffset(const Aws::String& value) { m_verticalOffsetHasBeenSet = true; m_verticalOffset = value; } /** *

VerticalOffset

The amount by which you want the * vertical position of the watermark to be offset from the position specified by * VerticalAlign:

  • number of pixels (px): The minimum value is 0 * pixels, and the maximum value is the value of MaxHeight.

  • *
  • integer percentage (%): The range of valid values is 0 to 100.

  • *

For example, if you specify Top for * VerticalAlign and 5px for VerticalOffset, * the top of the watermark appears 5 pixels from the top border of the output * video.

VerticalOffset is only valid when the value of * VerticalAlign is Top or Bottom.

If you specify an offset that causes the * watermark to extend beyond the top or bottom border and Elastic Transcoder has * not added black bars, the watermark is cropped. If Elastic Transcoder has added * black bars, the watermark extends into the black bars. If the watermark extends * beyond the black bars, it is cropped.

Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the offset * calculation.

*/ inline void SetVerticalOffset(Aws::String&& value) { m_verticalOffsetHasBeenSet = true; m_verticalOffset = std::move(value); } /** *

VerticalOffset

The amount by which you want the * vertical position of the watermark to be offset from the position specified by * VerticalAlign:

  • number of pixels (px): The minimum value is 0 * pixels, and the maximum value is the value of MaxHeight.

  • *
  • integer percentage (%): The range of valid values is 0 to 100.

  • *

For example, if you specify Top for * VerticalAlign and 5px for VerticalOffset, * the top of the watermark appears 5 pixels from the top border of the output * video.

VerticalOffset is only valid when the value of * VerticalAlign is Top or Bottom.

If you specify an offset that causes the * watermark to extend beyond the top or bottom border and Elastic Transcoder has * not added black bars, the watermark is cropped. If Elastic Transcoder has added * black bars, the watermark extends into the black bars. If the watermark extends * beyond the black bars, it is cropped.

Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the offset * calculation.

*/ inline void SetVerticalOffset(const char* value) { m_verticalOffsetHasBeenSet = true; m_verticalOffset.assign(value); } /** *

VerticalOffset

The amount by which you want the * vertical position of the watermark to be offset from the position specified by * VerticalAlign:

  • number of pixels (px): The minimum value is 0 * pixels, and the maximum value is the value of MaxHeight.

  • *
  • integer percentage (%): The range of valid values is 0 to 100.

  • *

For example, if you specify Top for * VerticalAlign and 5px for VerticalOffset, * the top of the watermark appears 5 pixels from the top border of the output * video.

VerticalOffset is only valid when the value of * VerticalAlign is Top or Bottom.

If you specify an offset that causes the * watermark to extend beyond the top or bottom border and Elastic Transcoder has * not added black bars, the watermark is cropped. If Elastic Transcoder has added * black bars, the watermark extends into the black bars. If the watermark extends * beyond the black bars, it is cropped.

Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the offset * calculation.

*/ inline PresetWatermark& WithVerticalOffset(const Aws::String& value) { SetVerticalOffset(value); return *this;} /** *

VerticalOffset

The amount by which you want the * vertical position of the watermark to be offset from the position specified by * VerticalAlign:

  • number of pixels (px): The minimum value is 0 * pixels, and the maximum value is the value of MaxHeight.

  • *
  • integer percentage (%): The range of valid values is 0 to 100.

  • *

For example, if you specify Top for * VerticalAlign and 5px for VerticalOffset, * the top of the watermark appears 5 pixels from the top border of the output * video.

VerticalOffset is only valid when the value of * VerticalAlign is Top or Bottom.

If you specify an offset that causes the * watermark to extend beyond the top or bottom border and Elastic Transcoder has * not added black bars, the watermark is cropped. If Elastic Transcoder has added * black bars, the watermark extends into the black bars. If the watermark extends * beyond the black bars, it is cropped.

Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the offset * calculation.

*/ inline PresetWatermark& WithVerticalOffset(Aws::String&& value) { SetVerticalOffset(std::move(value)); return *this;} /** *

VerticalOffset

The amount by which you want the * vertical position of the watermark to be offset from the position specified by * VerticalAlign:

  • number of pixels (px): The minimum value is 0 * pixels, and the maximum value is the value of MaxHeight.

  • *
  • integer percentage (%): The range of valid values is 0 to 100.

  • *

For example, if you specify Top for * VerticalAlign and 5px for VerticalOffset, * the top of the watermark appears 5 pixels from the top border of the output * video.

VerticalOffset is only valid when the value of * VerticalAlign is Top or Bottom.

If you specify an offset that causes the * watermark to extend beyond the top or bottom border and Elastic Transcoder has * not added black bars, the watermark is cropped. If Elastic Transcoder has added * black bars, the watermark extends into the black bars. If the watermark extends * beyond the black bars, it is cropped.

Use the value of * Target to specify whether you want Elastic Transcoder to include * the black bars that are added by Elastic Transcoder, if any, in the offset * calculation.

*/ inline PresetWatermark& WithVerticalOffset(const char* value) { SetVerticalOffset(value); return *this;} /** *

A percentage that indicates how much you want a watermark to obscure the * video in the location where it appears. Valid values are 0 (the watermark is * invisible) to 100 (the watermark completely obscures the video in the specified * location). The datatype of Opacity is float.

Elastic * Transcoder supports transparent .png graphics. If you use a transparent .png, * the transparent portion of the video appears as if you had specified a value of * 0 for Opacity. The .jpg file format doesn't support * transparency.

*/ inline const Aws::String& GetOpacity() const{ return m_opacity; } /** *

A percentage that indicates how much you want a watermark to obscure the * video in the location where it appears. Valid values are 0 (the watermark is * invisible) to 100 (the watermark completely obscures the video in the specified * location). The datatype of Opacity is float.

Elastic * Transcoder supports transparent .png graphics. If you use a transparent .png, * the transparent portion of the video appears as if you had specified a value of * 0 for Opacity. The .jpg file format doesn't support * transparency.

*/ inline bool OpacityHasBeenSet() const { return m_opacityHasBeenSet; } /** *

A percentage that indicates how much you want a watermark to obscure the * video in the location where it appears. Valid values are 0 (the watermark is * invisible) to 100 (the watermark completely obscures the video in the specified * location). The datatype of Opacity is float.

Elastic * Transcoder supports transparent .png graphics. If you use a transparent .png, * the transparent portion of the video appears as if you had specified a value of * 0 for Opacity. The .jpg file format doesn't support * transparency.

*/ inline void SetOpacity(const Aws::String& value) { m_opacityHasBeenSet = true; m_opacity = value; } /** *

A percentage that indicates how much you want a watermark to obscure the * video in the location where it appears. Valid values are 0 (the watermark is * invisible) to 100 (the watermark completely obscures the video in the specified * location). The datatype of Opacity is float.

Elastic * Transcoder supports transparent .png graphics. If you use a transparent .png, * the transparent portion of the video appears as if you had specified a value of * 0 for Opacity. The .jpg file format doesn't support * transparency.

*/ inline void SetOpacity(Aws::String&& value) { m_opacityHasBeenSet = true; m_opacity = std::move(value); } /** *

A percentage that indicates how much you want a watermark to obscure the * video in the location where it appears. Valid values are 0 (the watermark is * invisible) to 100 (the watermark completely obscures the video in the specified * location). The datatype of Opacity is float.

Elastic * Transcoder supports transparent .png graphics. If you use a transparent .png, * the transparent portion of the video appears as if you had specified a value of * 0 for Opacity. The .jpg file format doesn't support * transparency.

*/ inline void SetOpacity(const char* value) { m_opacityHasBeenSet = true; m_opacity.assign(value); } /** *

A percentage that indicates how much you want a watermark to obscure the * video in the location where it appears. Valid values are 0 (the watermark is * invisible) to 100 (the watermark completely obscures the video in the specified * location). The datatype of Opacity is float.

Elastic * Transcoder supports transparent .png graphics. If you use a transparent .png, * the transparent portion of the video appears as if you had specified a value of * 0 for Opacity. The .jpg file format doesn't support * transparency.

*/ inline PresetWatermark& WithOpacity(const Aws::String& value) { SetOpacity(value); return *this;} /** *

A percentage that indicates how much you want a watermark to obscure the * video in the location where it appears. Valid values are 0 (the watermark is * invisible) to 100 (the watermark completely obscures the video in the specified * location). The datatype of Opacity is float.

Elastic * Transcoder supports transparent .png graphics. If you use a transparent .png, * the transparent portion of the video appears as if you had specified a value of * 0 for Opacity. The .jpg file format doesn't support * transparency.

*/ inline PresetWatermark& WithOpacity(Aws::String&& value) { SetOpacity(std::move(value)); return *this;} /** *

A percentage that indicates how much you want a watermark to obscure the * video in the location where it appears. Valid values are 0 (the watermark is * invisible) to 100 (the watermark completely obscures the video in the specified * location). The datatype of Opacity is float.

Elastic * Transcoder supports transparent .png graphics. If you use a transparent .png, * the transparent portion of the video appears as if you had specified a value of * 0 for Opacity. The .jpg file format doesn't support * transparency.

*/ inline PresetWatermark& WithOpacity(const char* value) { SetOpacity(value); return *this;} /** *

A value that determines how Elastic Transcoder interprets values that you * specified for HorizontalOffset, VerticalOffset, * MaxWidth, and MaxHeight:

  • * Content: HorizontalOffset and VerticalOffset * values are calculated based on the borders of the video excluding black bars * added by Elastic Transcoder, if any. In addition, MaxWidth and * MaxHeight, if specified as a percentage, are calculated based on * the borders of the video excluding black bars added by Elastic Transcoder, if * any.

  • Frame: HorizontalOffset and * VerticalOffset values are calculated based on the borders of the * video including black bars added by Elastic Transcoder, if any. In addition, * MaxWidth and MaxHeight, if specified as a percentage, * are calculated based on the borders of the video including black bars added by * Elastic Transcoder, if any.

*/ inline const Aws::String& GetTarget() const{ return m_target; } /** *

A value that determines how Elastic Transcoder interprets values that you * specified for HorizontalOffset, VerticalOffset, * MaxWidth, and MaxHeight:

  • * Content: HorizontalOffset and VerticalOffset * values are calculated based on the borders of the video excluding black bars * added by Elastic Transcoder, if any. In addition, MaxWidth and * MaxHeight, if specified as a percentage, are calculated based on * the borders of the video excluding black bars added by Elastic Transcoder, if * any.

  • Frame: HorizontalOffset and * VerticalOffset values are calculated based on the borders of the * video including black bars added by Elastic Transcoder, if any. In addition, * MaxWidth and MaxHeight, if specified as a percentage, * are calculated based on the borders of the video including black bars added by * Elastic Transcoder, if any.

*/ inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; } /** *

A value that determines how Elastic Transcoder interprets values that you * specified for HorizontalOffset, VerticalOffset, * MaxWidth, and MaxHeight:

  • * Content: HorizontalOffset and VerticalOffset * values are calculated based on the borders of the video excluding black bars * added by Elastic Transcoder, if any. In addition, MaxWidth and * MaxHeight, if specified as a percentage, are calculated based on * the borders of the video excluding black bars added by Elastic Transcoder, if * any.

  • Frame: HorizontalOffset and * VerticalOffset values are calculated based on the borders of the * video including black bars added by Elastic Transcoder, if any. In addition, * MaxWidth and MaxHeight, if specified as a percentage, * are calculated based on the borders of the video including black bars added by * Elastic Transcoder, if any.

*/ inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; } /** *

A value that determines how Elastic Transcoder interprets values that you * specified for HorizontalOffset, VerticalOffset, * MaxWidth, and MaxHeight:

  • * Content: HorizontalOffset and VerticalOffset * values are calculated based on the borders of the video excluding black bars * added by Elastic Transcoder, if any. In addition, MaxWidth and * MaxHeight, if specified as a percentage, are calculated based on * the borders of the video excluding black bars added by Elastic Transcoder, if * any.

  • Frame: HorizontalOffset and * VerticalOffset values are calculated based on the borders of the * video including black bars added by Elastic Transcoder, if any. In addition, * MaxWidth and MaxHeight, if specified as a percentage, * are calculated based on the borders of the video including black bars added by * Elastic Transcoder, if any.

*/ inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); } /** *

A value that determines how Elastic Transcoder interprets values that you * specified for HorizontalOffset, VerticalOffset, * MaxWidth, and MaxHeight:

  • * Content: HorizontalOffset and VerticalOffset * values are calculated based on the borders of the video excluding black bars * added by Elastic Transcoder, if any. In addition, MaxWidth and * MaxHeight, if specified as a percentage, are calculated based on * the borders of the video excluding black bars added by Elastic Transcoder, if * any.

  • Frame: HorizontalOffset and * VerticalOffset values are calculated based on the borders of the * video including black bars added by Elastic Transcoder, if any. In addition, * MaxWidth and MaxHeight, if specified as a percentage, * are calculated based on the borders of the video including black bars added by * Elastic Transcoder, if any.

*/ inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); } /** *

A value that determines how Elastic Transcoder interprets values that you * specified for HorizontalOffset, VerticalOffset, * MaxWidth, and MaxHeight:

  • * Content: HorizontalOffset and VerticalOffset * values are calculated based on the borders of the video excluding black bars * added by Elastic Transcoder, if any. In addition, MaxWidth and * MaxHeight, if specified as a percentage, are calculated based on * the borders of the video excluding black bars added by Elastic Transcoder, if * any.

  • Frame: HorizontalOffset and * VerticalOffset values are calculated based on the borders of the * video including black bars added by Elastic Transcoder, if any. In addition, * MaxWidth and MaxHeight, if specified as a percentage, * are calculated based on the borders of the video including black bars added by * Elastic Transcoder, if any.

*/ inline PresetWatermark& WithTarget(const Aws::String& value) { SetTarget(value); return *this;} /** *

A value that determines how Elastic Transcoder interprets values that you * specified for HorizontalOffset, VerticalOffset, * MaxWidth, and MaxHeight:

  • * Content: HorizontalOffset and VerticalOffset * values are calculated based on the borders of the video excluding black bars * added by Elastic Transcoder, if any. In addition, MaxWidth and * MaxHeight, if specified as a percentage, are calculated based on * the borders of the video excluding black bars added by Elastic Transcoder, if * any.

  • Frame: HorizontalOffset and * VerticalOffset values are calculated based on the borders of the * video including black bars added by Elastic Transcoder, if any. In addition, * MaxWidth and MaxHeight, if specified as a percentage, * are calculated based on the borders of the video including black bars added by * Elastic Transcoder, if any.

*/ inline PresetWatermark& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;} /** *

A value that determines how Elastic Transcoder interprets values that you * specified for HorizontalOffset, VerticalOffset, * MaxWidth, and MaxHeight:

  • * Content: HorizontalOffset and VerticalOffset * values are calculated based on the borders of the video excluding black bars * added by Elastic Transcoder, if any. In addition, MaxWidth and * MaxHeight, if specified as a percentage, are calculated based on * the borders of the video excluding black bars added by Elastic Transcoder, if * any.

  • Frame: HorizontalOffset and * VerticalOffset values are calculated based on the borders of the * video including black bars added by Elastic Transcoder, if any. In addition, * MaxWidth and MaxHeight, if specified as a percentage, * are calculated based on the borders of the video including black bars added by * Elastic Transcoder, if any.

*/ inline PresetWatermark& WithTarget(const char* value) { SetTarget(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_maxWidth; bool m_maxWidthHasBeenSet = false; Aws::String m_maxHeight; bool m_maxHeightHasBeenSet = false; Aws::String m_sizingPolicy; bool m_sizingPolicyHasBeenSet = false; Aws::String m_horizontalAlign; bool m_horizontalAlignHasBeenSet = false; Aws::String m_horizontalOffset; bool m_horizontalOffsetHasBeenSet = false; Aws::String m_verticalAlign; bool m_verticalAlignHasBeenSet = false; Aws::String m_verticalOffset; bool m_verticalOffsetHasBeenSet = false; Aws::String m_opacity; bool m_opacityHasBeenSet = false; Aws::String m_target; bool m_targetHasBeenSet = false; }; } // namespace Model } // namespace ElasticTranscoder } // namespace Aws