AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
VideoOverlayInput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
11#include <aws/mediaconvert/model/AudioSelector.h>
12#include <aws/mediaconvert/model/InputTimecodeSource.h>
13#include <aws/mediaconvert/model/VideoOverlayInputClipping.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MediaConvert {
25namespace Model {
26
34 public:
35 AWS_MEDIACONVERT_API VideoOverlayInput() = default;
36 AWS_MEDIACONVERT_API VideoOverlayInput(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIACONVERT_API VideoOverlayInput& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
52 inline const Aws::Map<Aws::String, AudioSelector>& GetAudioSelectors() const { return m_audioSelectors; }
53 inline bool AudioSelectorsHasBeenSet() const { return m_audioSelectorsHasBeenSet; }
54 template <typename AudioSelectorsT = Aws::Map<Aws::String, AudioSelector>>
55 void SetAudioSelectors(AudioSelectorsT&& value) {
56 m_audioSelectorsHasBeenSet = true;
57 m_audioSelectors = std::forward<AudioSelectorsT>(value);
58 }
59 template <typename AudioSelectorsT = Aws::Map<Aws::String, AudioSelector>>
60 VideoOverlayInput& WithAudioSelectors(AudioSelectorsT&& value) {
61 SetAudioSelectors(std::forward<AudioSelectorsT>(value));
62 return *this;
63 }
64 template <typename AudioSelectorsKeyT = Aws::String, typename AudioSelectorsValueT = AudioSelector>
65 VideoOverlayInput& AddAudioSelectors(AudioSelectorsKeyT&& key, AudioSelectorsValueT&& value) {
66 m_audioSelectorsHasBeenSet = true;
67 m_audioSelectors.emplace(std::forward<AudioSelectorsKeyT>(key), std::forward<AudioSelectorsValueT>(value));
68 return *this;
69 }
71
73
78 inline const Aws::String& GetFileInput() const { return m_fileInput; }
79 inline bool FileInputHasBeenSet() const { return m_fileInputHasBeenSet; }
80 template <typename FileInputT = Aws::String>
81 void SetFileInput(FileInputT&& value) {
82 m_fileInputHasBeenSet = true;
83 m_fileInput = std::forward<FileInputT>(value);
84 }
85 template <typename FileInputT = Aws::String>
86 VideoOverlayInput& WithFileInput(FileInputT&& value) {
87 SetFileInput(std::forward<FileInputT>(value));
88 return *this;
89 }
91
93
98 inline const Aws::Vector<VideoOverlayInputClipping>& GetInputClippings() const { return m_inputClippings; }
99 inline bool InputClippingsHasBeenSet() const { return m_inputClippingsHasBeenSet; }
100 template <typename InputClippingsT = Aws::Vector<VideoOverlayInputClipping>>
101 void SetInputClippings(InputClippingsT&& value) {
102 m_inputClippingsHasBeenSet = true;
103 m_inputClippings = std::forward<InputClippingsT>(value);
104 }
105 template <typename InputClippingsT = Aws::Vector<VideoOverlayInputClipping>>
106 VideoOverlayInput& WithInputClippings(InputClippingsT&& value) {
107 SetInputClippings(std::forward<InputClippingsT>(value));
108 return *this;
109 }
110 template <typename InputClippingsT = VideoOverlayInputClipping>
111 VideoOverlayInput& AddInputClippings(InputClippingsT&& value) {
112 m_inputClippingsHasBeenSet = true;
113 m_inputClippings.emplace_back(std::forward<InputClippingsT>(value));
114 return *this;
115 }
117
119
126 inline InputTimecodeSource GetTimecodeSource() const { return m_timecodeSource; }
127 inline bool TimecodeSourceHasBeenSet() const { return m_timecodeSourceHasBeenSet; }
129 m_timecodeSourceHasBeenSet = true;
130 m_timecodeSource = value;
131 }
133 SetTimecodeSource(value);
134 return *this;
135 }
137
139
143 inline const Aws::String& GetTimecodeStart() const { return m_timecodeStart; }
144 inline bool TimecodeStartHasBeenSet() const { return m_timecodeStartHasBeenSet; }
145 template <typename TimecodeStartT = Aws::String>
146 void SetTimecodeStart(TimecodeStartT&& value) {
147 m_timecodeStartHasBeenSet = true;
148 m_timecodeStart = std::forward<TimecodeStartT>(value);
149 }
150 template <typename TimecodeStartT = Aws::String>
151 VideoOverlayInput& WithTimecodeStart(TimecodeStartT&& value) {
152 SetTimecodeStart(std::forward<TimecodeStartT>(value));
153 return *this;
154 }
156 private:
158
159 Aws::String m_fileInput;
160
162
164
165 Aws::String m_timecodeStart;
166 bool m_audioSelectorsHasBeenSet = false;
167 bool m_fileInputHasBeenSet = false;
168 bool m_inputClippingsHasBeenSet = false;
169 bool m_timecodeSourceHasBeenSet = false;
170 bool m_timecodeStartHasBeenSet = false;
171};
172
173} // namespace Model
174} // namespace MediaConvert
175} // namespace Aws
const Aws::Vector< VideoOverlayInputClipping > & GetInputClippings() const
VideoOverlayInput & WithAudioSelectors(AudioSelectorsT &&value)
VideoOverlayInput & WithFileInput(FileInputT &&value)
VideoOverlayInput & WithInputClippings(InputClippingsT &&value)
VideoOverlayInput & AddInputClippings(InputClippingsT &&value)
void SetInputClippings(InputClippingsT &&value)
AWS_MEDIACONVERT_API VideoOverlayInput()=default
void SetTimecodeStart(TimecodeStartT &&value)
VideoOverlayInput & WithTimecodeSource(InputTimecodeSource value)
void SetAudioSelectors(AudioSelectorsT &&value)
VideoOverlayInput & AddAudioSelectors(AudioSelectorsKeyT &&key, AudioSelectorsValueT &&value)
const Aws::Map< Aws::String, AudioSelector > & GetAudioSelectors() const
AWS_MEDIACONVERT_API VideoOverlayInput & operator=(Aws::Utils::Json::JsonView jsonValue)
VideoOverlayInput & WithTimecodeStart(TimecodeStartT &&value)
void SetTimecodeSource(InputTimecodeSource value)
AWS_MEDIACONVERT_API VideoOverlayInput(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue