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

The file to be used as album art. There can be multiple artworks associated * with an audio file, to a maximum of 20.

To remove artwork or leave the * artwork empty, you can either set Artwork to null, or set the * Merge Policy to "Replace" and use an empty Artwork * array.

To pass through existing artwork unchanged, set the Merge * Policy to "Prepend", "Append", or "Fallback", and use an empty * Artwork array.

See Also:

AWS * API Reference

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

The name of the file to be used as album art. To determine which Amazon S3 * bucket contains the specified file, Elastic Transcoder checks the pipeline * specified by PipelineId; the InputBucket object in * that pipeline identifies the bucket.

If the file name includes a prefix, * for example, cooking/pie.jpg, include the prefix in the key. If the * file isn't in the specified bucket, Elastic Transcoder returns an error.

*/ inline const Aws::String& GetInputKey() const{ return m_inputKey; } /** *

The name of the file to be used as album art. To determine which Amazon S3 * bucket contains the specified file, Elastic Transcoder checks the pipeline * specified by PipelineId; the InputBucket object in * that pipeline identifies the bucket.

If the file name includes a prefix, * for example, cooking/pie.jpg, include the prefix in the key. If the * file isn't in the specified bucket, Elastic Transcoder returns an error.

*/ inline bool InputKeyHasBeenSet() const { return m_inputKeyHasBeenSet; } /** *

The name of the file to be used as album art. To determine which Amazon S3 * bucket contains the specified file, Elastic Transcoder checks the pipeline * specified by PipelineId; the InputBucket object in * that pipeline identifies the bucket.

If the file name includes a prefix, * for example, cooking/pie.jpg, include the prefix in the key. If the * file isn't in the specified bucket, Elastic Transcoder returns an error.

*/ inline void SetInputKey(const Aws::String& value) { m_inputKeyHasBeenSet = true; m_inputKey = value; } /** *

The name of the file to be used as album art. To determine which Amazon S3 * bucket contains the specified file, Elastic Transcoder checks the pipeline * specified by PipelineId; the InputBucket object in * that pipeline identifies the bucket.

If the file name includes a prefix, * for example, cooking/pie.jpg, include the prefix in the key. If the * file isn't in the specified bucket, Elastic Transcoder returns an error.

*/ inline void SetInputKey(Aws::String&& value) { m_inputKeyHasBeenSet = true; m_inputKey = std::move(value); } /** *

The name of the file to be used as album art. To determine which Amazon S3 * bucket contains the specified file, Elastic Transcoder checks the pipeline * specified by PipelineId; the InputBucket object in * that pipeline identifies the bucket.

If the file name includes a prefix, * for example, cooking/pie.jpg, include the prefix in the key. If the * file isn't in the specified bucket, Elastic Transcoder returns an error.

*/ inline void SetInputKey(const char* value) { m_inputKeyHasBeenSet = true; m_inputKey.assign(value); } /** *

The name of the file to be used as album art. To determine which Amazon S3 * bucket contains the specified file, Elastic Transcoder checks the pipeline * specified by PipelineId; the InputBucket object in * that pipeline identifies the bucket.

If the file name includes a prefix, * for example, cooking/pie.jpg, include the prefix in the key. If the * file isn't in the specified bucket, Elastic Transcoder returns an error.

*/ inline Artwork& WithInputKey(const Aws::String& value) { SetInputKey(value); return *this;} /** *

The name of the file to be used as album art. To determine which Amazon S3 * bucket contains the specified file, Elastic Transcoder checks the pipeline * specified by PipelineId; the InputBucket object in * that pipeline identifies the bucket.

If the file name includes a prefix, * for example, cooking/pie.jpg, include the prefix in the key. If the * file isn't in the specified bucket, Elastic Transcoder returns an error.

*/ inline Artwork& WithInputKey(Aws::String&& value) { SetInputKey(std::move(value)); return *this;} /** *

The name of the file to be used as album art. To determine which Amazon S3 * bucket contains the specified file, Elastic Transcoder checks the pipeline * specified by PipelineId; the InputBucket object in * that pipeline identifies the bucket.

If the file name includes a prefix, * for example, cooking/pie.jpg, include the prefix in the key. If the * file isn't in the specified bucket, Elastic Transcoder returns an error.

*/ inline Artwork& WithInputKey(const char* value) { SetInputKey(value); return *this;} /** *

The maximum width of the output album art in pixels. If you specify * auto, Elastic Transcoder uses 600 as the default value. If you * specify a numeric value, enter an even integer between 32 and 4096, * inclusive.

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

The maximum width of the output album art in pixels. If you specify * auto, Elastic Transcoder uses 600 as the default value. If you * specify a numeric value, enter an even integer between 32 and 4096, * inclusive.

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

The maximum width of the output album art in pixels. If you specify * auto, Elastic Transcoder uses 600 as the default value. If you * specify a numeric value, enter an even integer between 32 and 4096, * inclusive.

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

The maximum width of the output album art in pixels. If you specify * auto, Elastic Transcoder uses 600 as the default value. If you * specify a numeric value, enter an even integer between 32 and 4096, * inclusive.

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

The maximum width of the output album art in pixels. If you specify * auto, Elastic Transcoder uses 600 as the default value. If you * specify a numeric value, enter an even integer between 32 and 4096, * inclusive.

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

The maximum width of the output album art in pixels. If you specify * auto, Elastic Transcoder uses 600 as the default value. If you * specify a numeric value, enter an even integer between 32 and 4096, * inclusive.

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

The maximum width of the output album art in pixels. If you specify * auto, Elastic Transcoder uses 600 as the default value. If you * specify a numeric value, enter an even integer between 32 and 4096, * inclusive.

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

The maximum width of the output album art in pixels. If you specify * auto, Elastic Transcoder uses 600 as the default value. If you * specify a numeric value, enter an even integer between 32 and 4096, * inclusive.

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

The maximum height of the output album art in pixels. If you specify * auto, Elastic Transcoder uses 600 as the default value. If you * specify a numeric value, enter an even integer between 32 and 3072, * inclusive.

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

The maximum height of the output album art in pixels. If you specify * auto, Elastic Transcoder uses 600 as the default value. If you * specify a numeric value, enter an even integer between 32 and 3072, * inclusive.

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

The maximum height of the output album art in pixels. If you specify * auto, Elastic Transcoder uses 600 as the default value. If you * specify a numeric value, enter an even integer between 32 and 3072, * inclusive.

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

The maximum height of the output album art in pixels. If you specify * auto, Elastic Transcoder uses 600 as the default value. If you * specify a numeric value, enter an even integer between 32 and 3072, * inclusive.

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

The maximum height of the output album art in pixels. If you specify * auto, Elastic Transcoder uses 600 as the default value. If you * specify a numeric value, enter an even integer between 32 and 3072, * inclusive.

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

The maximum height of the output album art in pixels. If you specify * auto, Elastic Transcoder uses 600 as the default value. If you * specify a numeric value, enter an even integer between 32 and 3072, * inclusive.

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

The maximum height of the output album art in pixels. If you specify * auto, Elastic Transcoder uses 600 as the default value. If you * specify a numeric value, enter an even integer between 32 and 3072, * inclusive.

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

The maximum height of the output album art in pixels. If you specify * auto, Elastic Transcoder uses 600 as the default value. If you * specify a numeric value, enter an even integer between 32 and 3072, * inclusive.

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

Specify one of the following values to control scaling of the output album * art:

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

  • * Fill: Elastic Transcoder scales the output art so it matches the * value that you specified in either MaxWidth or * MaxHeight and matches or exceeds the other value. Elastic * Transcoder centers the output art and then crops it in the dimension (if any) * that exceeds the maximum value.

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

  • Keep: Elastic Transcoder does * not scale the output art. If either dimension of the input art exceeds the * values that you specified for MaxWidth and MaxHeight, * Elastic Transcoder crops the output art.

  • * ShrinkToFit: Elastic Transcoder scales the output art 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 art up.

    *
  • ShrinkToFill Elastic Transcoder scales the output * art down so that its 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 the * art up.

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

Specify one of the following values to control scaling of the output album * art:

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

  • * Fill: Elastic Transcoder scales the output art so it matches the * value that you specified in either MaxWidth or * MaxHeight and matches or exceeds the other value. Elastic * Transcoder centers the output art and then crops it in the dimension (if any) * that exceeds the maximum value.

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

  • Keep: Elastic Transcoder does * not scale the output art. If either dimension of the input art exceeds the * values that you specified for MaxWidth and MaxHeight, * Elastic Transcoder crops the output art.

  • * ShrinkToFit: Elastic Transcoder scales the output art 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 art up.

    *
  • ShrinkToFill Elastic Transcoder scales the output * art down so that its 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 the * art up.

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

Specify one of the following values to control scaling of the output album * art:

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

  • * Fill: Elastic Transcoder scales the output art so it matches the * value that you specified in either MaxWidth or * MaxHeight and matches or exceeds the other value. Elastic * Transcoder centers the output art and then crops it in the dimension (if any) * that exceeds the maximum value.

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

  • Keep: Elastic Transcoder does * not scale the output art. If either dimension of the input art exceeds the * values that you specified for MaxWidth and MaxHeight, * Elastic Transcoder crops the output art.

  • * ShrinkToFit: Elastic Transcoder scales the output art 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 art up.

    *
  • ShrinkToFill Elastic Transcoder scales the output * art down so that its 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 the * art up.

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

Specify one of the following values to control scaling of the output album * art:

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

  • * Fill: Elastic Transcoder scales the output art so it matches the * value that you specified in either MaxWidth or * MaxHeight and matches or exceeds the other value. Elastic * Transcoder centers the output art and then crops it in the dimension (if any) * that exceeds the maximum value.

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

  • Keep: Elastic Transcoder does * not scale the output art. If either dimension of the input art exceeds the * values that you specified for MaxWidth and MaxHeight, * Elastic Transcoder crops the output art.

  • * ShrinkToFit: Elastic Transcoder scales the output art 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 art up.

    *
  • ShrinkToFill Elastic Transcoder scales the output * art down so that its 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 the * art up.

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

Specify one of the following values to control scaling of the output album * art:

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

  • * Fill: Elastic Transcoder scales the output art so it matches the * value that you specified in either MaxWidth or * MaxHeight and matches or exceeds the other value. Elastic * Transcoder centers the output art and then crops it in the dimension (if any) * that exceeds the maximum value.

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

  • Keep: Elastic Transcoder does * not scale the output art. If either dimension of the input art exceeds the * values that you specified for MaxWidth and MaxHeight, * Elastic Transcoder crops the output art.

  • * ShrinkToFit: Elastic Transcoder scales the output art 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 art up.

    *
  • ShrinkToFill Elastic Transcoder scales the output * art down so that its 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 the * art up.

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

Specify one of the following values to control scaling of the output album * art:

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

  • * Fill: Elastic Transcoder scales the output art so it matches the * value that you specified in either MaxWidth or * MaxHeight and matches or exceeds the other value. Elastic * Transcoder centers the output art and then crops it in the dimension (if any) * that exceeds the maximum value.

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

  • Keep: Elastic Transcoder does * not scale the output art. If either dimension of the input art exceeds the * values that you specified for MaxWidth and MaxHeight, * Elastic Transcoder crops the output art.

  • * ShrinkToFit: Elastic Transcoder scales the output art 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 art up.

    *
  • ShrinkToFill Elastic Transcoder scales the output * art down so that its 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 the * art up.

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

Specify one of the following values to control scaling of the output album * art:

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

  • * Fill: Elastic Transcoder scales the output art so it matches the * value that you specified in either MaxWidth or * MaxHeight and matches or exceeds the other value. Elastic * Transcoder centers the output art and then crops it in the dimension (if any) * that exceeds the maximum value.

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

  • Keep: Elastic Transcoder does * not scale the output art. If either dimension of the input art exceeds the * values that you specified for MaxWidth and MaxHeight, * Elastic Transcoder crops the output art.

  • * ShrinkToFit: Elastic Transcoder scales the output art 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 art up.

    *
  • ShrinkToFill Elastic Transcoder scales the output * art down so that its 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 the * art up.

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

Specify one of the following values to control scaling of the output album * art:

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

  • * Fill: Elastic Transcoder scales the output art so it matches the * value that you specified in either MaxWidth or * MaxHeight and matches or exceeds the other value. Elastic * Transcoder centers the output art and then crops it in the dimension (if any) * that exceeds the maximum value.

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

  • Keep: Elastic Transcoder does * not scale the output art. If either dimension of the input art exceeds the * values that you specified for MaxWidth and MaxHeight, * Elastic Transcoder crops the output art.

  • * ShrinkToFit: Elastic Transcoder scales the output art 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 art up.

    *
  • ShrinkToFill Elastic Transcoder scales the output * art down so that its 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 the * art up.

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

When you set PaddingPolicy to Pad, Elastic * Transcoder may add white bars to the top and bottom and/or left and right sides * of the output album art to make the total size of the output art match the * values that you specified for MaxWidth and * MaxHeight.

*/ inline const Aws::String& GetPaddingPolicy() const{ return m_paddingPolicy; } /** *

When you set PaddingPolicy to Pad, Elastic * Transcoder may add white bars to the top and bottom and/or left and right sides * of the output album art to make the total size of the output art match the * values that you specified for MaxWidth and * MaxHeight.

*/ inline bool PaddingPolicyHasBeenSet() const { return m_paddingPolicyHasBeenSet; } /** *

When you set PaddingPolicy to Pad, Elastic * Transcoder may add white bars to the top and bottom and/or left and right sides * of the output album art to make the total size of the output art match the * values that you specified for MaxWidth and * MaxHeight.

*/ inline void SetPaddingPolicy(const Aws::String& value) { m_paddingPolicyHasBeenSet = true; m_paddingPolicy = value; } /** *

When you set PaddingPolicy to Pad, Elastic * Transcoder may add white bars to the top and bottom and/or left and right sides * of the output album art to make the total size of the output art match the * values that you specified for MaxWidth and * MaxHeight.

*/ inline void SetPaddingPolicy(Aws::String&& value) { m_paddingPolicyHasBeenSet = true; m_paddingPolicy = std::move(value); } /** *

When you set PaddingPolicy to Pad, Elastic * Transcoder may add white bars to the top and bottom and/or left and right sides * of the output album art to make the total size of the output art match the * values that you specified for MaxWidth and * MaxHeight.

*/ inline void SetPaddingPolicy(const char* value) { m_paddingPolicyHasBeenSet = true; m_paddingPolicy.assign(value); } /** *

When you set PaddingPolicy to Pad, Elastic * Transcoder may add white bars to the top and bottom and/or left and right sides * of the output album art to make the total size of the output art match the * values that you specified for MaxWidth and * MaxHeight.

*/ inline Artwork& WithPaddingPolicy(const Aws::String& value) { SetPaddingPolicy(value); return *this;} /** *

When you set PaddingPolicy to Pad, Elastic * Transcoder may add white bars to the top and bottom and/or left and right sides * of the output album art to make the total size of the output art match the * values that you specified for MaxWidth and * MaxHeight.

*/ inline Artwork& WithPaddingPolicy(Aws::String&& value) { SetPaddingPolicy(std::move(value)); return *this;} /** *

When you set PaddingPolicy to Pad, Elastic * Transcoder may add white bars to the top and bottom and/or left and right sides * of the output album art to make the total size of the output art match the * values that you specified for MaxWidth and * MaxHeight.

*/ inline Artwork& WithPaddingPolicy(const char* value) { SetPaddingPolicy(value); return *this;} /** *

The format of album art, if any. Valid formats are .jpg and * .png.

*/ inline const Aws::String& GetAlbumArtFormat() const{ return m_albumArtFormat; } /** *

The format of album art, if any. Valid formats are .jpg and * .png.

*/ inline bool AlbumArtFormatHasBeenSet() const { return m_albumArtFormatHasBeenSet; } /** *

The format of album art, if any. Valid formats are .jpg and * .png.

*/ inline void SetAlbumArtFormat(const Aws::String& value) { m_albumArtFormatHasBeenSet = true; m_albumArtFormat = value; } /** *

The format of album art, if any. Valid formats are .jpg and * .png.

*/ inline void SetAlbumArtFormat(Aws::String&& value) { m_albumArtFormatHasBeenSet = true; m_albumArtFormat = std::move(value); } /** *

The format of album art, if any. Valid formats are .jpg and * .png.

*/ inline void SetAlbumArtFormat(const char* value) { m_albumArtFormatHasBeenSet = true; m_albumArtFormat.assign(value); } /** *

The format of album art, if any. Valid formats are .jpg and * .png.

*/ inline Artwork& WithAlbumArtFormat(const Aws::String& value) { SetAlbumArtFormat(value); return *this;} /** *

The format of album art, if any. Valid formats are .jpg and * .png.

*/ inline Artwork& WithAlbumArtFormat(Aws::String&& value) { SetAlbumArtFormat(std::move(value)); return *this;} /** *

The format of album art, if any. Valid formats are .jpg and * .png.

*/ inline Artwork& WithAlbumArtFormat(const char* value) { SetAlbumArtFormat(value); return *this;} /** *

The encryption settings, if any, that you want Elastic Transcoder to apply to * your artwork.

*/ inline const Encryption& GetEncryption() const{ return m_encryption; } /** *

The encryption settings, if any, that you want Elastic Transcoder to apply to * your artwork.

*/ inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; } /** *

The encryption settings, if any, that you want Elastic Transcoder to apply to * your artwork.

*/ inline void SetEncryption(const Encryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; } /** *

The encryption settings, if any, that you want Elastic Transcoder to apply to * your artwork.

*/ inline void SetEncryption(Encryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); } /** *

The encryption settings, if any, that you want Elastic Transcoder to apply to * your artwork.

*/ inline Artwork& WithEncryption(const Encryption& value) { SetEncryption(value); return *this;} /** *

The encryption settings, if any, that you want Elastic Transcoder to apply to * your artwork.

*/ inline Artwork& WithEncryption(Encryption&& value) { SetEncryption(std::move(value)); return *this;} private: Aws::String m_inputKey; bool m_inputKeyHasBeenSet = 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_paddingPolicy; bool m_paddingPolicyHasBeenSet = false; Aws::String m_albumArtFormat; bool m_albumArtFormatHasBeenSet = false; Encryption m_encryption; bool m_encryptionHasBeenSet = false; }; } // namespace Model } // namespace ElasticTranscoder } // namespace Aws