/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Settings for one clip in a composition. All jobs in a playlist must have the
* same clip settings.See Also:
AWS
* API Reference
Settings that determine when a clip begins and how long it lasts.
*/ inline const TimeSpan& GetTimeSpan() const{ return m_timeSpan; } /** *Settings that determine when a clip begins and how long it lasts.
*/ inline bool TimeSpanHasBeenSet() const { return m_timeSpanHasBeenSet; } /** *Settings that determine when a clip begins and how long it lasts.
*/ inline void SetTimeSpan(const TimeSpan& value) { m_timeSpanHasBeenSet = true; m_timeSpan = value; } /** *Settings that determine when a clip begins and how long it lasts.
*/ inline void SetTimeSpan(TimeSpan&& value) { m_timeSpanHasBeenSet = true; m_timeSpan = std::move(value); } /** *Settings that determine when a clip begins and how long it lasts.
*/ inline Clip& WithTimeSpan(const TimeSpan& value) { SetTimeSpan(value); return *this;} /** *Settings that determine when a clip begins and how long it lasts.
*/ inline Clip& WithTimeSpan(TimeSpan&& value) { SetTimeSpan(std::move(value)); return *this;} private: TimeSpan m_timeSpan; bool m_timeSpanHasBeenSet = false; }; } // namespace Model } // namespace ElasticTranscoder } // namespace Aws