/** * 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 MediaConvert { namespace Model { /** * To transcode only portions of your input (clips), include one Input clipping * (one instance of InputClipping in the JSON job file) for each input clip. All * input clips you specify will be included in every output of the job.

See * Also:

AWS * API Reference

*/ class AWS_MEDIACONVERT_API InputClipping { public: InputClipping(); InputClipping(Aws::Utils::Json::JsonView jsonValue); InputClipping& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** * Set End timecode (EndTimecode) to the end of the portion of the input you are * clipping. The frame corresponding to the End timecode value is included in the * clip. Start timecode or End timecode may be left blank, but not both. Use the * format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is * the second, and FF is the frame number. When choosing this value, take into * account your setting for timecode source under input settings * (InputTimecodeSource). For example, if you have embedded timecodes that start at * 01:00:00:00 and you want your clip to end six minutes into the video, use * 01:06:00:00. */ inline const Aws::String& GetEndTimecode() const{ return m_endTimecode; } /** * Set End timecode (EndTimecode) to the end of the portion of the input you are * clipping. The frame corresponding to the End timecode value is included in the * clip. Start timecode or End timecode may be left blank, but not both. Use the * format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is * the second, and FF is the frame number. When choosing this value, take into * account your setting for timecode source under input settings * (InputTimecodeSource). For example, if you have embedded timecodes that start at * 01:00:00:00 and you want your clip to end six minutes into the video, use * 01:06:00:00. */ inline bool EndTimecodeHasBeenSet() const { return m_endTimecodeHasBeenSet; } /** * Set End timecode (EndTimecode) to the end of the portion of the input you are * clipping. The frame corresponding to the End timecode value is included in the * clip. Start timecode or End timecode may be left blank, but not both. Use the * format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is * the second, and FF is the frame number. When choosing this value, take into * account your setting for timecode source under input settings * (InputTimecodeSource). For example, if you have embedded timecodes that start at * 01:00:00:00 and you want your clip to end six minutes into the video, use * 01:06:00:00. */ inline void SetEndTimecode(const Aws::String& value) { m_endTimecodeHasBeenSet = true; m_endTimecode = value; } /** * Set End timecode (EndTimecode) to the end of the portion of the input you are * clipping. The frame corresponding to the End timecode value is included in the * clip. Start timecode or End timecode may be left blank, but not both. Use the * format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is * the second, and FF is the frame number. When choosing this value, take into * account your setting for timecode source under input settings * (InputTimecodeSource). For example, if you have embedded timecodes that start at * 01:00:00:00 and you want your clip to end six minutes into the video, use * 01:06:00:00. */ inline void SetEndTimecode(Aws::String&& value) { m_endTimecodeHasBeenSet = true; m_endTimecode = std::move(value); } /** * Set End timecode (EndTimecode) to the end of the portion of the input you are * clipping. The frame corresponding to the End timecode value is included in the * clip. Start timecode or End timecode may be left blank, but not both. Use the * format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is * the second, and FF is the frame number. When choosing this value, take into * account your setting for timecode source under input settings * (InputTimecodeSource). For example, if you have embedded timecodes that start at * 01:00:00:00 and you want your clip to end six minutes into the video, use * 01:06:00:00. */ inline void SetEndTimecode(const char* value) { m_endTimecodeHasBeenSet = true; m_endTimecode.assign(value); } /** * Set End timecode (EndTimecode) to the end of the portion of the input you are * clipping. The frame corresponding to the End timecode value is included in the * clip. Start timecode or End timecode may be left blank, but not both. Use the * format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is * the second, and FF is the frame number. When choosing this value, take into * account your setting for timecode source under input settings * (InputTimecodeSource). For example, if you have embedded timecodes that start at * 01:00:00:00 and you want your clip to end six minutes into the video, use * 01:06:00:00. */ inline InputClipping& WithEndTimecode(const Aws::String& value) { SetEndTimecode(value); return *this;} /** * Set End timecode (EndTimecode) to the end of the portion of the input you are * clipping. The frame corresponding to the End timecode value is included in the * clip. Start timecode or End timecode may be left blank, but not both. Use the * format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is * the second, and FF is the frame number. When choosing this value, take into * account your setting for timecode source under input settings * (InputTimecodeSource). For example, if you have embedded timecodes that start at * 01:00:00:00 and you want your clip to end six minutes into the video, use * 01:06:00:00. */ inline InputClipping& WithEndTimecode(Aws::String&& value) { SetEndTimecode(std::move(value)); return *this;} /** * Set End timecode (EndTimecode) to the end of the portion of the input you are * clipping. The frame corresponding to the End timecode value is included in the * clip. Start timecode or End timecode may be left blank, but not both. Use the * format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is * the second, and FF is the frame number. When choosing this value, take into * account your setting for timecode source under input settings * (InputTimecodeSource). For example, if you have embedded timecodes that start at * 01:00:00:00 and you want your clip to end six minutes into the video, use * 01:06:00:00. */ inline InputClipping& WithEndTimecode(const char* value) { SetEndTimecode(value); return *this;} /** * Set Start timecode (StartTimecode) to the beginning of the portion of the input * you are clipping. The frame corresponding to the Start timecode value is * included in the clip. Start timecode or End timecode may be left blank, but not * both. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the * minute, SS is the second, and FF is the frame number. When choosing this value, * take into account your setting for Input timecode source. For example, if you * have embedded timecodes that start at 01:00:00:00 and you want your clip to * begin five minutes into the video, use 01:05:00:00. */ inline const Aws::String& GetStartTimecode() const{ return m_startTimecode; } /** * Set Start timecode (StartTimecode) to the beginning of the portion of the input * you are clipping. The frame corresponding to the Start timecode value is * included in the clip. Start timecode or End timecode may be left blank, but not * both. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the * minute, SS is the second, and FF is the frame number. When choosing this value, * take into account your setting for Input timecode source. For example, if you * have embedded timecodes that start at 01:00:00:00 and you want your clip to * begin five minutes into the video, use 01:05:00:00. */ inline bool StartTimecodeHasBeenSet() const { return m_startTimecodeHasBeenSet; } /** * Set Start timecode (StartTimecode) to the beginning of the portion of the input * you are clipping. The frame corresponding to the Start timecode value is * included in the clip. Start timecode or End timecode may be left blank, but not * both. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the * minute, SS is the second, and FF is the frame number. When choosing this value, * take into account your setting for Input timecode source. For example, if you * have embedded timecodes that start at 01:00:00:00 and you want your clip to * begin five minutes into the video, use 01:05:00:00. */ inline void SetStartTimecode(const Aws::String& value) { m_startTimecodeHasBeenSet = true; m_startTimecode = value; } /** * Set Start timecode (StartTimecode) to the beginning of the portion of the input * you are clipping. The frame corresponding to the Start timecode value is * included in the clip. Start timecode or End timecode may be left blank, but not * both. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the * minute, SS is the second, and FF is the frame number. When choosing this value, * take into account your setting for Input timecode source. For example, if you * have embedded timecodes that start at 01:00:00:00 and you want your clip to * begin five minutes into the video, use 01:05:00:00. */ inline void SetStartTimecode(Aws::String&& value) { m_startTimecodeHasBeenSet = true; m_startTimecode = std::move(value); } /** * Set Start timecode (StartTimecode) to the beginning of the portion of the input * you are clipping. The frame corresponding to the Start timecode value is * included in the clip. Start timecode or End timecode may be left blank, but not * both. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the * minute, SS is the second, and FF is the frame number. When choosing this value, * take into account your setting for Input timecode source. For example, if you * have embedded timecodes that start at 01:00:00:00 and you want your clip to * begin five minutes into the video, use 01:05:00:00. */ inline void SetStartTimecode(const char* value) { m_startTimecodeHasBeenSet = true; m_startTimecode.assign(value); } /** * Set Start timecode (StartTimecode) to the beginning of the portion of the input * you are clipping. The frame corresponding to the Start timecode value is * included in the clip. Start timecode or End timecode may be left blank, but not * both. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the * minute, SS is the second, and FF is the frame number. When choosing this value, * take into account your setting for Input timecode source. For example, if you * have embedded timecodes that start at 01:00:00:00 and you want your clip to * begin five minutes into the video, use 01:05:00:00. */ inline InputClipping& WithStartTimecode(const Aws::String& value) { SetStartTimecode(value); return *this;} /** * Set Start timecode (StartTimecode) to the beginning of the portion of the input * you are clipping. The frame corresponding to the Start timecode value is * included in the clip. Start timecode or End timecode may be left blank, but not * both. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the * minute, SS is the second, and FF is the frame number. When choosing this value, * take into account your setting for Input timecode source. For example, if you * have embedded timecodes that start at 01:00:00:00 and you want your clip to * begin five minutes into the video, use 01:05:00:00. */ inline InputClipping& WithStartTimecode(Aws::String&& value) { SetStartTimecode(std::move(value)); return *this;} /** * Set Start timecode (StartTimecode) to the beginning of the portion of the input * you are clipping. The frame corresponding to the Start timecode value is * included in the clip. Start timecode or End timecode may be left blank, but not * both. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the * minute, SS is the second, and FF is the frame number. When choosing this value, * take into account your setting for Input timecode source. For example, if you * have embedded timecodes that start at 01:00:00:00 and you want your clip to * begin five minutes into the video, use 01:05:00:00. */ inline InputClipping& WithStartTimecode(const char* value) { SetStartTimecode(value); return *this;} private: Aws::String m_endTimecode; bool m_endTimecodeHasBeenSet; Aws::String m_startTimecode; bool m_startTimecodeHasBeenSet; }; } // namespace Model } // namespace MediaConvert } // namespace Aws