AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VideoOverlay.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediaconvert/model/VideoOverlayPosition.h>
10#include <aws/mediaconvert/model/VideoOverlayInput.h>
11#include <aws/mediaconvert/model/VideoOverlayPlayBackMode.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/mediaconvert/model/VideoOverlayTransition.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace MediaConvert
27{
28namespace Model
29{
30
39 {
40 public:
41 AWS_MEDIACONVERT_API VideoOverlay();
42 AWS_MEDIACONVERT_API VideoOverlay(Aws::Utils::Json::JsonView jsonValue);
43 AWS_MEDIACONVERT_API VideoOverlay& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
58 inline const Aws::String& GetEndTimecode() const{ return m_endTimecode; }
59 inline bool EndTimecodeHasBeenSet() const { return m_endTimecodeHasBeenSet; }
60 inline void SetEndTimecode(const Aws::String& value) { m_endTimecodeHasBeenSet = true; m_endTimecode = value; }
61 inline void SetEndTimecode(Aws::String&& value) { m_endTimecodeHasBeenSet = true; m_endTimecode = std::move(value); }
62 inline void SetEndTimecode(const char* value) { m_endTimecodeHasBeenSet = true; m_endTimecode.assign(value); }
63 inline VideoOverlay& WithEndTimecode(const Aws::String& value) { SetEndTimecode(value); return *this;}
64 inline VideoOverlay& WithEndTimecode(Aws::String&& value) { SetEndTimecode(std::move(value)); return *this;}
65 inline VideoOverlay& WithEndTimecode(const char* value) { SetEndTimecode(value); return *this;}
67
69
75 inline const VideoOverlayPosition& GetInitialPosition() const{ return m_initialPosition; }
76 inline bool InitialPositionHasBeenSet() const { return m_initialPositionHasBeenSet; }
77 inline void SetInitialPosition(const VideoOverlayPosition& value) { m_initialPositionHasBeenSet = true; m_initialPosition = value; }
78 inline void SetInitialPosition(VideoOverlayPosition&& value) { m_initialPositionHasBeenSet = true; m_initialPosition = std::move(value); }
79 inline VideoOverlay& WithInitialPosition(const VideoOverlayPosition& value) { SetInitialPosition(value); return *this;}
80 inline VideoOverlay& WithInitialPosition(VideoOverlayPosition&& value) { SetInitialPosition(std::move(value)); return *this;}
82
84
88 inline const VideoOverlayInput& GetInput() const{ return m_input; }
89 inline bool InputHasBeenSet() const { return m_inputHasBeenSet; }
90 inline void SetInput(const VideoOverlayInput& value) { m_inputHasBeenSet = true; m_input = value; }
91 inline void SetInput(VideoOverlayInput&& value) { m_inputHasBeenSet = true; m_input = std::move(value); }
92 inline VideoOverlay& WithInput(const VideoOverlayInput& value) { SetInput(value); return *this;}
93 inline VideoOverlay& WithInput(VideoOverlayInput&& value) { SetInput(std::move(value)); return *this;}
95
97
104 inline const VideoOverlayPlayBackMode& GetPlayback() const{ return m_playback; }
105 inline bool PlaybackHasBeenSet() const { return m_playbackHasBeenSet; }
106 inline void SetPlayback(const VideoOverlayPlayBackMode& value) { m_playbackHasBeenSet = true; m_playback = value; }
107 inline void SetPlayback(VideoOverlayPlayBackMode&& value) { m_playbackHasBeenSet = true; m_playback = std::move(value); }
108 inline VideoOverlay& WithPlayback(const VideoOverlayPlayBackMode& value) { SetPlayback(value); return *this;}
109 inline VideoOverlay& WithPlayback(VideoOverlayPlayBackMode&& value) { SetPlayback(std::move(value)); return *this;}
111
113
123 inline const Aws::String& GetStartTimecode() const{ return m_startTimecode; }
124 inline bool StartTimecodeHasBeenSet() const { return m_startTimecodeHasBeenSet; }
125 inline void SetStartTimecode(const Aws::String& value) { m_startTimecodeHasBeenSet = true; m_startTimecode = value; }
126 inline void SetStartTimecode(Aws::String&& value) { m_startTimecodeHasBeenSet = true; m_startTimecode = std::move(value); }
127 inline void SetStartTimecode(const char* value) { m_startTimecodeHasBeenSet = true; m_startTimecode.assign(value); }
128 inline VideoOverlay& WithStartTimecode(const Aws::String& value) { SetStartTimecode(value); return *this;}
129 inline VideoOverlay& WithStartTimecode(Aws::String&& value) { SetStartTimecode(std::move(value)); return *this;}
130 inline VideoOverlay& WithStartTimecode(const char* value) { SetStartTimecode(value); return *this;}
132
134
141 inline const Aws::Vector<VideoOverlayTransition>& GetTransitions() const{ return m_transitions; }
142 inline bool TransitionsHasBeenSet() const { return m_transitionsHasBeenSet; }
143 inline void SetTransitions(const Aws::Vector<VideoOverlayTransition>& value) { m_transitionsHasBeenSet = true; m_transitions = value; }
144 inline void SetTransitions(Aws::Vector<VideoOverlayTransition>&& value) { m_transitionsHasBeenSet = true; m_transitions = std::move(value); }
146 inline VideoOverlay& WithTransitions(Aws::Vector<VideoOverlayTransition>&& value) { SetTransitions(std::move(value)); return *this;}
147 inline VideoOverlay& AddTransitions(const VideoOverlayTransition& value) { m_transitionsHasBeenSet = true; m_transitions.push_back(value); return *this; }
148 inline VideoOverlay& AddTransitions(VideoOverlayTransition&& value) { m_transitionsHasBeenSet = true; m_transitions.push_back(std::move(value)); return *this; }
150 private:
151
152 Aws::String m_endTimecode;
153 bool m_endTimecodeHasBeenSet = false;
154
155 VideoOverlayPosition m_initialPosition;
156 bool m_initialPositionHasBeenSet = false;
157
158 VideoOverlayInput m_input;
159 bool m_inputHasBeenSet = false;
160
161 VideoOverlayPlayBackMode m_playback;
162 bool m_playbackHasBeenSet = false;
163
164 Aws::String m_startTimecode;
165 bool m_startTimecodeHasBeenSet = false;
166
168 bool m_transitionsHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace MediaConvert
173} // namespace Aws
VideoOverlay & WithStartTimecode(const Aws::String &value)
VideoOverlay & WithEndTimecode(const Aws::String &value)
VideoOverlay & WithPlayback(VideoOverlayPlayBackMode &&value)
void SetPlayback(VideoOverlayPlayBackMode &&value)
VideoOverlay & AddTransitions(VideoOverlayTransition &&value)
VideoOverlay & AddTransitions(const VideoOverlayTransition &value)
const Aws::String & GetStartTimecode() const
VideoOverlay & WithStartTimecode(const char *value)
void SetTransitions(Aws::Vector< VideoOverlayTransition > &&value)
VideoOverlay & WithEndTimecode(Aws::String &&value)
AWS_MEDIACONVERT_API VideoOverlay & operator=(Aws::Utils::Json::JsonView jsonValue)
const VideoOverlayPlayBackMode & GetPlayback() const
VideoOverlay & WithPlayback(const VideoOverlayPlayBackMode &value)
void SetInitialPosition(const VideoOverlayPosition &value)
void SetStartTimecode(const char *value)
VideoOverlay & WithInput(const VideoOverlayInput &value)
const VideoOverlayPosition & GetInitialPosition() const
VideoOverlay & WithEndTimecode(const char *value)
void SetStartTimecode(Aws::String &&value)
void SetInitialPosition(VideoOverlayPosition &&value)
const Aws::String & GetEndTimecode() const
VideoOverlay & WithStartTimecode(Aws::String &&value)
VideoOverlay & WithTransitions(const Aws::Vector< VideoOverlayTransition > &value)
void SetPlayback(const VideoOverlayPlayBackMode &value)
void SetEndTimecode(Aws::String &&value)
void SetTransitions(const Aws::Vector< VideoOverlayTransition > &value)
AWS_MEDIACONVERT_API VideoOverlay(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEndTimecode(const Aws::String &value)
VideoOverlay & WithInitialPosition(const VideoOverlayPosition &value)
VideoOverlay & WithInput(VideoOverlayInput &&value)
const Aws::Vector< VideoOverlayTransition > & GetTransitions() const
void SetStartTimecode(const Aws::String &value)
VideoOverlay & WithTransitions(Aws::Vector< VideoOverlayTransition > &&value)
VideoOverlay & WithInitialPosition(VideoOverlayPosition &&value)
AWS_MEDIACONVERT_API VideoOverlay()
void SetInput(const VideoOverlayInput &value)
void SetInput(VideoOverlayInput &&value)
void SetEndTimecode(const char *value)
const VideoOverlayInput & GetInput() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue