/** * 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 { /** *

Program transition configuration.

See Also:

AWS * API Reference

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

The duration of the live program in seconds.

*/ inline long long GetDurationMillis() const{ return m_durationMillis; } /** *

The duration of the live program in seconds.

*/ inline bool DurationMillisHasBeenSet() const { return m_durationMillisHasBeenSet; } /** *

The duration of the live program in seconds.

*/ inline void SetDurationMillis(long long value) { m_durationMillisHasBeenSet = true; m_durationMillis = value; } /** *

The duration of the live program in seconds.

*/ inline UpdateProgramTransition& WithDurationMillis(long long value) { SetDurationMillis(value); return *this;} /** *

The date and time that the program is scheduled to start, in epoch * milliseconds.

*/ inline long long GetScheduledStartTimeMillis() const{ return m_scheduledStartTimeMillis; } /** *

The date and time that the program is scheduled to start, in epoch * milliseconds.

*/ inline bool ScheduledStartTimeMillisHasBeenSet() const { return m_scheduledStartTimeMillisHasBeenSet; } /** *

The date and time that the program is scheduled to start, in epoch * milliseconds.

*/ inline void SetScheduledStartTimeMillis(long long value) { m_scheduledStartTimeMillisHasBeenSet = true; m_scheduledStartTimeMillis = value; } /** *

The date and time that the program is scheduled to start, in epoch * milliseconds.

*/ inline UpdateProgramTransition& WithScheduledStartTimeMillis(long long value) { SetScheduledStartTimeMillis(value); return *this;} private: long long m_durationMillis; bool m_durationMillisHasBeenSet = false; long long m_scheduledStartTimeMillis; bool m_scheduledStartTimeMillisHasBeenSet = false; }; } // namespace Model } // namespace MediaTailor } // namespace Aws