AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScheduleConfiguration.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/mediatailor/model/ClipRange.h>
9#include <aws/mediatailor/model/Transition.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();
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 ClipRange& GetClipRange() const{ return m_clipRange; }
47 inline bool ClipRangeHasBeenSet() const { return m_clipRangeHasBeenSet; }
48 inline void SetClipRange(const ClipRange& value) { m_clipRangeHasBeenSet = true; m_clipRange = value; }
49 inline void SetClipRange(ClipRange&& value) { m_clipRangeHasBeenSet = true; m_clipRange = std::move(value); }
50 inline ScheduleConfiguration& WithClipRange(const ClipRange& value) { SetClipRange(value); return *this;}
51 inline ScheduleConfiguration& WithClipRange(ClipRange&& value) { SetClipRange(std::move(value)); return *this;}
53
55
58 inline const Transition& GetTransition() const{ return m_transition; }
59 inline bool TransitionHasBeenSet() const { return m_transitionHasBeenSet; }
60 inline void SetTransition(const Transition& value) { m_transitionHasBeenSet = true; m_transition = value; }
61 inline void SetTransition(Transition&& value) { m_transitionHasBeenSet = true; m_transition = std::move(value); }
62 inline ScheduleConfiguration& WithTransition(const Transition& value) { SetTransition(value); return *this;}
63 inline ScheduleConfiguration& WithTransition(Transition&& value) { SetTransition(std::move(value)); return *this;}
65 private:
66
67 ClipRange m_clipRange;
68 bool m_clipRangeHasBeenSet = false;
69
70 Transition m_transition;
71 bool m_transitionHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace MediaTailor
76} // namespace Aws
ScheduleConfiguration & WithClipRange(const ClipRange &value)
AWS_MEDIATAILOR_API ScheduleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ScheduleConfiguration & WithTransition(Transition &&value)
ScheduleConfiguration & WithClipRange(ClipRange &&value)
AWS_MEDIATAILOR_API ScheduleConfiguration(Aws::Utils::Json::JsonView jsonValue)
ScheduleConfiguration & WithTransition(const Transition &value)
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue