AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
InsertableImage.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaConvert
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MEDIACONVERT_API InsertableImage() = default;
36 AWS_MEDIACONVERT_API InsertableImage(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIACONVERT_API InsertableImage& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline int GetDuration() const { return m_duration; }
47 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
48 inline void SetDuration(int value) { m_durationHasBeenSet = true; m_duration = value; }
49 inline InsertableImage& WithDuration(int value) { SetDuration(value); return *this;}
51
53
60 inline int GetFadeIn() const { return m_fadeIn; }
61 inline bool FadeInHasBeenSet() const { return m_fadeInHasBeenSet; }
62 inline void SetFadeIn(int value) { m_fadeInHasBeenSet = true; m_fadeIn = value; }
63 inline InsertableImage& WithFadeIn(int value) { SetFadeIn(value); return *this;}
65
67
73 inline int GetFadeOut() const { return m_fadeOut; }
74 inline bool FadeOutHasBeenSet() const { return m_fadeOutHasBeenSet; }
75 inline void SetFadeOut(int value) { m_fadeOutHasBeenSet = true; m_fadeOut = value; }
76 inline InsertableImage& WithFadeOut(int value) { SetFadeOut(value); return *this;}
78
80
86 inline int GetHeight() const { return m_height; }
87 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
88 inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; }
89 inline InsertableImage& WithHeight(int value) { SetHeight(value); return *this;}
91
93
97 inline const Aws::String& GetImageInserterInput() const { return m_imageInserterInput; }
98 inline bool ImageInserterInputHasBeenSet() const { return m_imageInserterInputHasBeenSet; }
99 template<typename ImageInserterInputT = Aws::String>
100 void SetImageInserterInput(ImageInserterInputT&& value) { m_imageInserterInputHasBeenSet = true; m_imageInserterInput = std::forward<ImageInserterInputT>(value); }
101 template<typename ImageInserterInputT = Aws::String>
102 InsertableImage& WithImageInserterInput(ImageInserterInputT&& value) { SetImageInserterInput(std::forward<ImageInserterInputT>(value)); return *this;}
104
106
110 inline int GetImageX() const { return m_imageX; }
111 inline bool ImageXHasBeenSet() const { return m_imageXHasBeenSet; }
112 inline void SetImageX(int value) { m_imageXHasBeenSet = true; m_imageX = value; }
113 inline InsertableImage& WithImageX(int value) { SetImageX(value); return *this;}
115
117
121 inline int GetImageY() const { return m_imageY; }
122 inline bool ImageYHasBeenSet() const { return m_imageYHasBeenSet; }
123 inline void SetImageY(int value) { m_imageYHasBeenSet = true; m_imageY = value; }
124 inline InsertableImage& WithImageY(int value) { SetImageY(value); return *this;}
126
128
132 inline int GetLayer() const { return m_layer; }
133 inline bool LayerHasBeenSet() const { return m_layerHasBeenSet; }
134 inline void SetLayer(int value) { m_layerHasBeenSet = true; m_layer = value; }
135 inline InsertableImage& WithLayer(int value) { SetLayer(value); return *this;}
137
139
143 inline int GetOpacity() const { return m_opacity; }
144 inline bool OpacityHasBeenSet() const { return m_opacityHasBeenSet; }
145 inline void SetOpacity(int value) { m_opacityHasBeenSet = true; m_opacity = value; }
146 inline InsertableImage& WithOpacity(int value) { SetOpacity(value); return *this;}
148
150
155 inline const Aws::String& GetStartTime() const { return m_startTime; }
156 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
157 template<typename StartTimeT = Aws::String>
158 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
159 template<typename StartTimeT = Aws::String>
160 InsertableImage& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
162
164
169 inline int GetWidth() const { return m_width; }
170 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
171 inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
172 inline InsertableImage& WithWidth(int value) { SetWidth(value); return *this;}
174 private:
175
176 int m_duration{0};
177 bool m_durationHasBeenSet = false;
178
179 int m_fadeIn{0};
180 bool m_fadeInHasBeenSet = false;
181
182 int m_fadeOut{0};
183 bool m_fadeOutHasBeenSet = false;
184
185 int m_height{0};
186 bool m_heightHasBeenSet = false;
187
188 Aws::String m_imageInserterInput;
189 bool m_imageInserterInputHasBeenSet = false;
190
191 int m_imageX{0};
192 bool m_imageXHasBeenSet = false;
193
194 int m_imageY{0};
195 bool m_imageYHasBeenSet = false;
196
197 int m_layer{0};
198 bool m_layerHasBeenSet = false;
199
200 int m_opacity{0};
201 bool m_opacityHasBeenSet = false;
202
203 Aws::String m_startTime;
204 bool m_startTimeHasBeenSet = false;
205
206 int m_width{0};
207 bool m_widthHasBeenSet = false;
208 };
209
210} // namespace Model
211} // namespace MediaConvert
212} // 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