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

Clip range configuration for the VOD source associated with the * program.

See Also:

AWS * API Reference

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

The end offset of the clip range, in milliseconds, starting from the * beginning of the VOD source associated with the program.

*/ inline long long GetEndOffsetMillis() const{ return m_endOffsetMillis; } /** *

The end offset of the clip range, in milliseconds, starting from the * beginning of the VOD source associated with the program.

*/ inline bool EndOffsetMillisHasBeenSet() const { return m_endOffsetMillisHasBeenSet; } /** *

The end offset of the clip range, in milliseconds, starting from the * beginning of the VOD source associated with the program.

*/ inline void SetEndOffsetMillis(long long value) { m_endOffsetMillisHasBeenSet = true; m_endOffsetMillis = value; } /** *

The end offset of the clip range, in milliseconds, starting from the * beginning of the VOD source associated with the program.

*/ inline ClipRange& WithEndOffsetMillis(long long value) { SetEndOffsetMillis(value); return *this;} private: long long m_endOffsetMillis; bool m_endOffsetMillisHasBeenSet = false; }; } // namespace Model } // namespace MediaTailor } // namespace Aws