AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateProgramScheduleConfiguration.h
1
6#pragma once
7#include <aws/mediatailor/MediaTailor_EXPORTS.h>
8#include <aws/mediatailor/model/UpdateProgramTransition.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
33 {
34 public:
35 AWS_MEDIATAILOR_API UpdateProgramScheduleConfiguration() = default;
38 AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const UpdateProgramTransition& GetTransition() const { return m_transition; }
46 inline bool TransitionHasBeenSet() const { return m_transitionHasBeenSet; }
47 template<typename TransitionT = UpdateProgramTransition>
48 void SetTransition(TransitionT&& value) { m_transitionHasBeenSet = true; m_transition = std::forward<TransitionT>(value); }
49 template<typename TransitionT = UpdateProgramTransition>
50 UpdateProgramScheduleConfiguration& WithTransition(TransitionT&& value) { SetTransition(std::forward<TransitionT>(value)); return *this;}
52
54
57 inline const ClipRange& GetClipRange() const { return m_clipRange; }
58 inline bool ClipRangeHasBeenSet() const { return m_clipRangeHasBeenSet; }
59 template<typename ClipRangeT = ClipRange>
60 void SetClipRange(ClipRangeT&& value) { m_clipRangeHasBeenSet = true; m_clipRange = std::forward<ClipRangeT>(value); }
61 template<typename ClipRangeT = ClipRange>
62 UpdateProgramScheduleConfiguration& WithClipRange(ClipRangeT&& value) { SetClipRange(std::forward<ClipRangeT>(value)); return *this;}
64 private:
65
66 UpdateProgramTransition m_transition;
67 bool m_transitionHasBeenSet = false;
68
69 ClipRange m_clipRange;
70 bool m_clipRangeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace MediaTailor
75} // namespace Aws
AWS_MEDIATAILOR_API UpdateProgramScheduleConfiguration(Aws::Utils::Json::JsonView jsonValue)
UpdateProgramScheduleConfiguration & WithClipRange(ClipRangeT &&value)
AWS_MEDIATAILOR_API UpdateProgramScheduleConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIATAILOR_API UpdateProgramScheduleConfiguration()=default
UpdateProgramScheduleConfiguration & WithTransition(TransitionT &&value)
AWS_MEDIATAILOR_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue