/** * 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 MediaLive { namespace Model { /** * Settings to identify the start of the clip.

See Also:

AWS * API Reference

*/ class StartTimecode { public: AWS_MEDIALIVE_API StartTimecode(); AWS_MEDIALIVE_API StartTimecode(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API StartTimecode& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const; /** * The timecode for the frame where you want to start the clip. Optional; if not * specified, the clip starts at first frame in the file. Enter the timecode as * HH:MM:SS:FF or HH:MM:SS;FF. */ inline const Aws::String& GetTimecode() const{ return m_timecode; } /** * The timecode for the frame where you want to start the clip. Optional; if not * specified, the clip starts at first frame in the file. Enter the timecode as * HH:MM:SS:FF or HH:MM:SS;FF. */ inline bool TimecodeHasBeenSet() const { return m_timecodeHasBeenSet; } /** * The timecode for the frame where you want to start the clip. Optional; if not * specified, the clip starts at first frame in the file. Enter the timecode as * HH:MM:SS:FF or HH:MM:SS;FF. */ inline void SetTimecode(const Aws::String& value) { m_timecodeHasBeenSet = true; m_timecode = value; } /** * The timecode for the frame where you want to start the clip. Optional; if not * specified, the clip starts at first frame in the file. Enter the timecode as * HH:MM:SS:FF or HH:MM:SS;FF. */ inline void SetTimecode(Aws::String&& value) { m_timecodeHasBeenSet = true; m_timecode = std::move(value); } /** * The timecode for the frame where you want to start the clip. Optional; if not * specified, the clip starts at first frame in the file. Enter the timecode as * HH:MM:SS:FF or HH:MM:SS;FF. */ inline void SetTimecode(const char* value) { m_timecodeHasBeenSet = true; m_timecode.assign(value); } /** * The timecode for the frame where you want to start the clip. Optional; if not * specified, the clip starts at first frame in the file. Enter the timecode as * HH:MM:SS:FF or HH:MM:SS;FF. */ inline StartTimecode& WithTimecode(const Aws::String& value) { SetTimecode(value); return *this;} /** * The timecode for the frame where you want to start the clip. Optional; if not * specified, the clip starts at first frame in the file. Enter the timecode as * HH:MM:SS:FF or HH:MM:SS;FF. */ inline StartTimecode& WithTimecode(Aws::String&& value) { SetTimecode(std::move(value)); return *this;} /** * The timecode for the frame where you want to start the clip. Optional; if not * specified, the clip starts at first frame in the file. Enter the timecode as * HH:MM:SS:FF or HH:MM:SS;FF. */ inline StartTimecode& WithTimecode(const char* value) { SetTimecode(value); return *this;} private: Aws::String m_timecode; bool m_timecodeHasBeenSet = false; }; } // namespace Model } // namespace MediaLive } // namespace Aws