AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ScheduleConfiguration.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/mediatailor/model/Transition.h>
9#include <aws/mediatailor/model/ClipRange.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaTailor
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_MEDIATAILOR_API ScheduleConfiguration() = default;
37 AWS_MEDIATAILOR_API ScheduleConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Transition& GetTransition() const { return m_transition; }
47 inline bool TransitionHasBeenSet() const { return m_transitionHasBeenSet; }
48 template<typename TransitionT = Transition>
49 void SetTransition(TransitionT&& value) { m_transitionHasBeenSet = true; m_transition = std::forward<TransitionT>(value); }
50 template<typename TransitionT = Transition>
51 ScheduleConfiguration& WithTransition(TransitionT&& value) { SetTransition(std::forward<TransitionT>(value)); return *this;}
53
55
58 inline const ClipRange& GetClipRange() const { return m_clipRange; }
59 inline bool ClipRangeHasBeenSet() const { return m_clipRangeHasBeenSet; }
60 template<typename ClipRangeT = ClipRange>
61 void SetClipRange(ClipRangeT&& value) { m_clipRangeHasBeenSet = true; m_clipRange = std::forward<ClipRangeT>(value); }
62 template<typename ClipRangeT = ClipRange>
63 ScheduleConfiguration& WithClipRange(ClipRangeT&& value) { SetClipRange(std::forward<ClipRangeT>(value)); return *this;}
65 private:
66
67 Transition m_transition;
68 bool m_transitionHasBeenSet = false;
69
70 ClipRange m_clipRange;
71 bool m_clipRangeHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace MediaTailor
76} // namespace Aws
AWS_MEDIATAILOR_API ScheduleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduleConfiguration & WithTransition(TransitionT &&value)
AWS_MEDIATAILOR_API ScheduleConfiguration()=default
AWS_MEDIATAILOR_API ScheduleConfiguration(Aws::Utils::Json::JsonView jsonValue)
ScheduleConfiguration & WithClipRange(ClipRangeT &&value)
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue