/** * 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 MediaConvert { namespace Model { /** * Use the image inserter feature to include a graphic overlay on your video. * Enable or disable this feature for each input or output individually. For more * information, see * https://docs.aws.amazon.com/mediaconvert/latest/ug/graphic-overlay.html. This * setting is disabled by default.

See Also:

AWS * API Reference

*/ class ImageInserter { public: AWS_MEDIACONVERT_API ImageInserter(); AWS_MEDIACONVERT_API ImageInserter(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIACONVERT_API ImageInserter& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const; /** * Specify the images that you want to overlay on your video. The images must be * PNG or TGA files. */ inline const Aws::Vector& GetInsertableImages() const{ return m_insertableImages; } /** * Specify the images that you want to overlay on your video. The images must be * PNG or TGA files. */ inline bool InsertableImagesHasBeenSet() const { return m_insertableImagesHasBeenSet; } /** * Specify the images that you want to overlay on your video. The images must be * PNG or TGA files. */ inline void SetInsertableImages(const Aws::Vector& value) { m_insertableImagesHasBeenSet = true; m_insertableImages = value; } /** * Specify the images that you want to overlay on your video. The images must be * PNG or TGA files. */ inline void SetInsertableImages(Aws::Vector&& value) { m_insertableImagesHasBeenSet = true; m_insertableImages = std::move(value); } /** * Specify the images that you want to overlay on your video. The images must be * PNG or TGA files. */ inline ImageInserter& WithInsertableImages(const Aws::Vector& value) { SetInsertableImages(value); return *this;} /** * Specify the images that you want to overlay on your video. The images must be * PNG or TGA files. */ inline ImageInserter& WithInsertableImages(Aws::Vector&& value) { SetInsertableImages(std::move(value)); return *this;} /** * Specify the images that you want to overlay on your video. The images must be * PNG or TGA files. */ inline ImageInserter& AddInsertableImages(const InsertableImage& value) { m_insertableImagesHasBeenSet = true; m_insertableImages.push_back(value); return *this; } /** * Specify the images that you want to overlay on your video. The images must be * PNG or TGA files. */ inline ImageInserter& AddInsertableImages(InsertableImage&& value) { m_insertableImagesHasBeenSet = true; m_insertableImages.push_back(std::move(value)); return *this; } /** * Specify the reference white level, in nits, for all of your image inserter * images. Use to correct brightness levels within HDR10 outputs. For 1,000 nit * peak brightness displays, we recommend that you set SDR reference white level to * 203 (according to ITU-R BT.2408). Leave blank to use the default value of 100, * or specify an integer from 100 to 1000. */ inline int GetSdrReferenceWhiteLevel() const{ return m_sdrReferenceWhiteLevel; } /** * Specify the reference white level, in nits, for all of your image inserter * images. Use to correct brightness levels within HDR10 outputs. For 1,000 nit * peak brightness displays, we recommend that you set SDR reference white level to * 203 (according to ITU-R BT.2408). Leave blank to use the default value of 100, * or specify an integer from 100 to 1000. */ inline bool SdrReferenceWhiteLevelHasBeenSet() const { return m_sdrReferenceWhiteLevelHasBeenSet; } /** * Specify the reference white level, in nits, for all of your image inserter * images. Use to correct brightness levels within HDR10 outputs. For 1,000 nit * peak brightness displays, we recommend that you set SDR reference white level to * 203 (according to ITU-R BT.2408). Leave blank to use the default value of 100, * or specify an integer from 100 to 1000. */ inline void SetSdrReferenceWhiteLevel(int value) { m_sdrReferenceWhiteLevelHasBeenSet = true; m_sdrReferenceWhiteLevel = value; } /** * Specify the reference white level, in nits, for all of your image inserter * images. Use to correct brightness levels within HDR10 outputs. For 1,000 nit * peak brightness displays, we recommend that you set SDR reference white level to * 203 (according to ITU-R BT.2408). Leave blank to use the default value of 100, * or specify an integer from 100 to 1000. */ inline ImageInserter& WithSdrReferenceWhiteLevel(int value) { SetSdrReferenceWhiteLevel(value); return *this;} private: Aws::Vector m_insertableImages; bool m_insertableImagesHasBeenSet = false; int m_sdrReferenceWhiteLevel; bool m_sdrReferenceWhiteLevelHasBeenSet = false; }; } // namespace Model } // namespace MediaConvert } // namespace Aws