/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include 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.See Also:
AWS
* API Reference
The ID of the watermark settings that Elastic Transcoder uses to add * watermarks to the video during transcoding. The settings are in the preset * specified by Preset for the current output. In that preset, the value of * Watermarks Id tells Elastic Transcoder which settings to use.
*/ inline const Aws::String& GetPresetWatermarkId() const{ return m_presetWatermarkId; } /** *The ID of the watermark settings that Elastic Transcoder uses to add * watermarks to the video during transcoding. The settings are in the preset * specified by Preset for the current output. In that preset, the value of * Watermarks Id tells Elastic Transcoder which settings to use.
*/ inline bool PresetWatermarkIdHasBeenSet() const { return m_presetWatermarkIdHasBeenSet; } /** *The ID of the watermark settings that Elastic Transcoder uses to add * watermarks to the video during transcoding. The settings are in the preset * specified by Preset for the current output. In that preset, the value of * Watermarks Id tells Elastic Transcoder which settings to use.
*/ inline void SetPresetWatermarkId(const Aws::String& value) { m_presetWatermarkIdHasBeenSet = true; m_presetWatermarkId = value; } /** *The ID of the watermark settings that Elastic Transcoder uses to add * watermarks to the video during transcoding. The settings are in the preset * specified by Preset for the current output. In that preset, the value of * Watermarks Id tells Elastic Transcoder which settings to use.
*/ inline void SetPresetWatermarkId(Aws::String&& value) { m_presetWatermarkIdHasBeenSet = true; m_presetWatermarkId = std::move(value); } /** *The ID of the watermark settings that Elastic Transcoder uses to add * watermarks to the video during transcoding. The settings are in the preset * specified by Preset for the current output. In that preset, the value of * Watermarks Id tells Elastic Transcoder which settings to use.
*/ inline void SetPresetWatermarkId(const char* value) { m_presetWatermarkIdHasBeenSet = true; m_presetWatermarkId.assign(value); } /** *The ID of the watermark settings that Elastic Transcoder uses to add * watermarks to the video during transcoding. The settings are in the preset * specified by Preset for the current output. In that preset, the value of * Watermarks Id tells Elastic Transcoder which settings to use.
*/ inline JobWatermark& WithPresetWatermarkId(const Aws::String& value) { SetPresetWatermarkId(value); return *this;} /** *The ID of the watermark settings that Elastic Transcoder uses to add * watermarks to the video during transcoding. The settings are in the preset * specified by Preset for the current output. In that preset, the value of * Watermarks Id tells Elastic Transcoder which settings to use.
*/ inline JobWatermark& WithPresetWatermarkId(Aws::String&& value) { SetPresetWatermarkId(std::move(value)); return *this;} /** *The ID of the watermark settings that Elastic Transcoder uses to add * watermarks to the video during transcoding. The settings are in the preset * specified by Preset for the current output. In that preset, the value of * Watermarks Id tells Elastic Transcoder which settings to use.
*/ inline JobWatermark& WithPresetWatermarkId(const char* value) { SetPresetWatermarkId(value); return *this;} /** * The name of the .png or .jpg file that you want to use for the watermark. To
* determine which Amazon S3 bucket contains the specified file, Elastic Transcoder
* checks the pipeline specified by Pipeline
; the Input
* Bucket
object in that pipeline identifies the bucket.
If the file * name includes a prefix, for example, logos/128x64.png, 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 .png or .jpg file that you want to use for the watermark. To
* determine which Amazon S3 bucket contains the specified file, Elastic Transcoder
* checks the pipeline specified by Pipeline
; the Input
* Bucket
object in that pipeline identifies the bucket.
If the file * name includes a prefix, for example, logos/128x64.png, 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 .png or .jpg file that you want to use for the watermark. To
* determine which Amazon S3 bucket contains the specified file, Elastic Transcoder
* checks the pipeline specified by Pipeline
; the Input
* Bucket
object in that pipeline identifies the bucket.
If the file * name includes a prefix, for example, logos/128x64.png, 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 .png or .jpg file that you want to use for the watermark. To
* determine which Amazon S3 bucket contains the specified file, Elastic Transcoder
* checks the pipeline specified by Pipeline
; the Input
* Bucket
object in that pipeline identifies the bucket.
If the file * name includes a prefix, for example, logos/128x64.png, 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 .png or .jpg file that you want to use for the watermark. To
* determine which Amazon S3 bucket contains the specified file, Elastic Transcoder
* checks the pipeline specified by Pipeline
; the Input
* Bucket
object in that pipeline identifies the bucket.
If the file * name includes a prefix, for example, logos/128x64.png, 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 .png or .jpg file that you want to use for the watermark. To
* determine which Amazon S3 bucket contains the specified file, Elastic Transcoder
* checks the pipeline specified by Pipeline
; the Input
* Bucket
object in that pipeline identifies the bucket.
If the file * name includes a prefix, for example, logos/128x64.png, include the prefix * in the key. If the file isn't in the specified bucket, Elastic Transcoder * returns an error.
*/ inline JobWatermark& WithInputKey(const Aws::String& value) { SetInputKey(value); return *this;} /** * The name of the .png or .jpg file that you want to use for the watermark. To
* determine which Amazon S3 bucket contains the specified file, Elastic Transcoder
* checks the pipeline specified by Pipeline
; the Input
* Bucket
object in that pipeline identifies the bucket.
If the file * name includes a prefix, for example, logos/128x64.png, include the prefix * in the key. If the file isn't in the specified bucket, Elastic Transcoder * returns an error.
*/ inline JobWatermark& WithInputKey(Aws::String&& value) { SetInputKey(std::move(value)); return *this;} /** * The name of the .png or .jpg file that you want to use for the watermark. To
* determine which Amazon S3 bucket contains the specified file, Elastic Transcoder
* checks the pipeline specified by Pipeline
; the Input
* Bucket
object in that pipeline identifies the bucket.
If the file * name includes a prefix, for example, logos/128x64.png, include the prefix * in the key. If the file isn't in the specified bucket, Elastic Transcoder * returns an error.
*/ inline JobWatermark& WithInputKey(const char* value) { SetInputKey(value); return *this;} /** *The encryption settings, if any, that you want Elastic Transcoder to apply to * your watermarks.
*/ inline const Encryption& GetEncryption() const{ return m_encryption; } /** *The encryption settings, if any, that you want Elastic Transcoder to apply to * your watermarks.
*/ inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; } /** *The encryption settings, if any, that you want Elastic Transcoder to apply to * your watermarks.
*/ 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 watermarks.
*/ 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 watermarks.
*/ inline JobWatermark& WithEncryption(const Encryption& value) { SetEncryption(value); return *this;} /** *The encryption settings, if any, that you want Elastic Transcoder to apply to * your watermarks.
*/ inline JobWatermark& WithEncryption(Encryption&& value) { SetEncryption(std::move(value)); return *this;} private: Aws::String m_presetWatermarkId; bool m_presetWatermarkIdHasBeenSet = false; Aws::String m_inputKey; bool m_inputKeyHasBeenSet = false; Encryption m_encryption; bool m_encryptionHasBeenSet = false; }; } // namespace Model } // namespace ElasticTranscoder } // namespace Aws