AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
InsertableImage.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaConvert {
20namespace Model {
21
29 public:
30 AWS_MEDIACONVERT_API InsertableImage() = default;
31 AWS_MEDIACONVERT_API InsertableImage(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MEDIACONVERT_API InsertableImage& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline int GetDuration() const { return m_duration; }
41 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
42 inline void SetDuration(int value) {
43 m_durationHasBeenSet = true;
44 m_duration = value;
45 }
46 inline InsertableImage& WithDuration(int value) {
47 SetDuration(value);
48 return *this;
49 }
51
53
60 inline int GetFadeIn() const { return m_fadeIn; }
61 inline bool FadeInHasBeenSet() const { return m_fadeInHasBeenSet; }
62 inline void SetFadeIn(int value) {
63 m_fadeInHasBeenSet = true;
64 m_fadeIn = value;
65 }
66 inline InsertableImage& WithFadeIn(int value) {
67 SetFadeIn(value);
68 return *this;
69 }
71
73
79 inline int GetFadeOut() const { return m_fadeOut; }
80 inline bool FadeOutHasBeenSet() const { return m_fadeOutHasBeenSet; }
81 inline void SetFadeOut(int value) {
82 m_fadeOutHasBeenSet = true;
83 m_fadeOut = value;
84 }
85 inline InsertableImage& WithFadeOut(int value) {
86 SetFadeOut(value);
87 return *this;
88 }
90
92
98 inline int GetHeight() const { return m_height; }
99 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
100 inline void SetHeight(int value) {
101 m_heightHasBeenSet = true;
102 m_height = value;
103 }
104 inline InsertableImage& WithHeight(int value) {
105 SetHeight(value);
106 return *this;
107 }
109
111
115 inline const Aws::String& GetImageInserterInput() const { return m_imageInserterInput; }
116 inline bool ImageInserterInputHasBeenSet() const { return m_imageInserterInputHasBeenSet; }
117 template <typename ImageInserterInputT = Aws::String>
118 void SetImageInserterInput(ImageInserterInputT&& value) {
119 m_imageInserterInputHasBeenSet = true;
120 m_imageInserterInput = std::forward<ImageInserterInputT>(value);
121 }
122 template <typename ImageInserterInputT = Aws::String>
123 InsertableImage& WithImageInserterInput(ImageInserterInputT&& value) {
124 SetImageInserterInput(std::forward<ImageInserterInputT>(value));
125 return *this;
126 }
128
130
134 inline int GetImageX() const { return m_imageX; }
135 inline bool ImageXHasBeenSet() const { return m_imageXHasBeenSet; }
136 inline void SetImageX(int value) {
137 m_imageXHasBeenSet = true;
138 m_imageX = value;
139 }
140 inline InsertableImage& WithImageX(int value) {
141 SetImageX(value);
142 return *this;
143 }
145
147
151 inline int GetImageY() const { return m_imageY; }
152 inline bool ImageYHasBeenSet() const { return m_imageYHasBeenSet; }
153 inline void SetImageY(int value) {
154 m_imageYHasBeenSet = true;
155 m_imageY = value;
156 }
157 inline InsertableImage& WithImageY(int value) {
158 SetImageY(value);
159 return *this;
160 }
162
164
168 inline int GetLayer() const { return m_layer; }
169 inline bool LayerHasBeenSet() const { return m_layerHasBeenSet; }
170 inline void SetLayer(int value) {
171 m_layerHasBeenSet = true;
172 m_layer = value;
173 }
174 inline InsertableImage& WithLayer(int value) {
175 SetLayer(value);
176 return *this;
177 }
179
181
185 inline int GetOpacity() const { return m_opacity; }
186 inline bool OpacityHasBeenSet() const { return m_opacityHasBeenSet; }
187 inline void SetOpacity(int value) {
188 m_opacityHasBeenSet = true;
189 m_opacity = value;
190 }
191 inline InsertableImage& WithOpacity(int value) {
192 SetOpacity(value);
193 return *this;
194 }
196
198
203 inline const Aws::String& GetStartTime() const { return m_startTime; }
204 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
205 template <typename StartTimeT = Aws::String>
206 void SetStartTime(StartTimeT&& value) {
207 m_startTimeHasBeenSet = true;
208 m_startTime = std::forward<StartTimeT>(value);
209 }
210 template <typename StartTimeT = Aws::String>
211 InsertableImage& WithStartTime(StartTimeT&& value) {
212 SetStartTime(std::forward<StartTimeT>(value));
213 return *this;
214 }
216
218
223 inline int GetWidth() const { return m_width; }
224 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
225 inline void SetWidth(int value) {
226 m_widthHasBeenSet = true;
227 m_width = value;
228 }
229 inline InsertableImage& WithWidth(int value) {
230 SetWidth(value);
231 return *this;
232 }
234 private:
235 int m_duration{0};
236
237 int m_fadeIn{0};
238
239 int m_fadeOut{0};
240
241 int m_height{0};
242
243 Aws::String m_imageInserterInput;
244
245 int m_imageX{0};
246
247 int m_imageY{0};
248
249 int m_layer{0};
250
251 int m_opacity{0};
252
253 Aws::String m_startTime;
254
255 int m_width{0};
256 bool m_durationHasBeenSet = false;
257 bool m_fadeInHasBeenSet = false;
258 bool m_fadeOutHasBeenSet = false;
259 bool m_heightHasBeenSet = false;
260 bool m_imageInserterInputHasBeenSet = false;
261 bool m_imageXHasBeenSet = false;
262 bool m_imageYHasBeenSet = false;
263 bool m_layerHasBeenSet = false;
264 bool m_opacityHasBeenSet = false;
265 bool m_startTimeHasBeenSet = false;
266 bool m_widthHasBeenSet = false;
267};
268
269} // namespace Model
270} // namespace MediaConvert
271} // namespace Aws
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
InsertableImage & WithImageInserterInput(ImageInserterInputT &&value)
InsertableImage & WithImageY(int value)
InsertableImage & WithWidth(int value)
InsertableImage & WithLayer(int value)
AWS_MEDIACONVERT_API InsertableImage & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetStartTime() const
InsertableImage & WithOpacity(int value)
const Aws::String & GetImageInserterInput() const
InsertableImage & WithDuration(int value)
InsertableImage & WithFadeOut(int value)
InsertableImage & WithStartTime(StartTimeT &&value)
InsertableImage & WithFadeIn(int value)
AWS_MEDIACONVERT_API InsertableImage()=default
void SetImageInserterInput(ImageInserterInputT &&value)
AWS_MEDIACONVERT_API InsertableImage(Aws::Utils::Json::JsonView jsonValue)
InsertableImage & WithImageX(int value)
InsertableImage & WithHeight(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue