AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
BurnInDestinationSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/BurnInAlignment.h>
9#include <aws/medialive/model/BurnInBackgroundColor.h>
10#include <aws/medialive/model/InputLocation.h>
11#include <aws/medialive/model/BurnInFontColor.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/medialive/model/BurnInOutlineColor.h>
14#include <aws/medialive/model/BurnInShadowColor.h>
15#include <aws/medialive/model/BurnInTeletextGridControl.h>
16#include <aws/medialive/model/BurnInDestinationSubtitleRows.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace MediaLive
30{
31namespace Model
32{
33
40 {
41 public:
42 AWS_MEDIALIVE_API BurnInDestinationSettings() = default;
45 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
58 inline BurnInAlignment GetAlignment() const { return m_alignment; }
59 inline bool AlignmentHasBeenSet() const { return m_alignmentHasBeenSet; }
60 inline void SetAlignment(BurnInAlignment value) { m_alignmentHasBeenSet = true; m_alignment = value; }
63
65
69 inline BurnInBackgroundColor GetBackgroundColor() const { return m_backgroundColor; }
70 inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; }
71 inline void SetBackgroundColor(BurnInBackgroundColor value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = value; }
74
76
81 inline int GetBackgroundOpacity() const { return m_backgroundOpacity; }
82 inline bool BackgroundOpacityHasBeenSet() const { return m_backgroundOpacityHasBeenSet; }
83 inline void SetBackgroundOpacity(int value) { m_backgroundOpacityHasBeenSet = true; m_backgroundOpacity = value; }
84 inline BurnInDestinationSettings& WithBackgroundOpacity(int value) { SetBackgroundOpacity(value); return *this;}
86
88
95 inline const InputLocation& GetFont() const { return m_font; }
96 inline bool FontHasBeenSet() const { return m_fontHasBeenSet; }
97 template<typename FontT = InputLocation>
98 void SetFont(FontT&& value) { m_fontHasBeenSet = true; m_font = std::forward<FontT>(value); }
99 template<typename FontT = InputLocation>
100 BurnInDestinationSettings& WithFont(FontT&& value) { SetFont(std::forward<FontT>(value)); return *this;}
102
104
110 inline BurnInFontColor GetFontColor() const { return m_fontColor; }
111 inline bool FontColorHasBeenSet() const { return m_fontColorHasBeenSet; }
112 inline void SetFontColor(BurnInFontColor value) { m_fontColorHasBeenSet = true; m_fontColor = value; }
115
117
121 inline int GetFontOpacity() const { return m_fontOpacity; }
122 inline bool FontOpacityHasBeenSet() const { return m_fontOpacityHasBeenSet; }
123 inline void SetFontOpacity(int value) { m_fontOpacityHasBeenSet = true; m_fontOpacity = value; }
124 inline BurnInDestinationSettings& WithFontOpacity(int value) { SetFontOpacity(value); return *this;}
126
128
132 inline int GetFontResolution() const { return m_fontResolution; }
133 inline bool FontResolutionHasBeenSet() const { return m_fontResolutionHasBeenSet; }
134 inline void SetFontResolution(int value) { m_fontResolutionHasBeenSet = true; m_fontResolution = value; }
135 inline BurnInDestinationSettings& WithFontResolution(int value) { SetFontResolution(value); return *this;}
137
139
144 inline const Aws::String& GetFontSize() const { return m_fontSize; }
145 inline bool FontSizeHasBeenSet() const { return m_fontSizeHasBeenSet; }
146 template<typename FontSizeT = Aws::String>
147 void SetFontSize(FontSizeT&& value) { m_fontSizeHasBeenSet = true; m_fontSize = std::forward<FontSizeT>(value); }
148 template<typename FontSizeT = Aws::String>
149 BurnInDestinationSettings& WithFontSize(FontSizeT&& value) { SetFontSize(std::forward<FontSizeT>(value)); return *this;}
151
153
159 inline BurnInOutlineColor GetOutlineColor() const { return m_outlineColor; }
160 inline bool OutlineColorHasBeenSet() const { return m_outlineColorHasBeenSet; }
161 inline void SetOutlineColor(BurnInOutlineColor value) { m_outlineColorHasBeenSet = true; m_outlineColor = value; }
164
166
172 inline int GetOutlineSize() const { return m_outlineSize; }
173 inline bool OutlineSizeHasBeenSet() const { return m_outlineSizeHasBeenSet; }
174 inline void SetOutlineSize(int value) { m_outlineSizeHasBeenSet = true; m_outlineSize = value; }
175 inline BurnInDestinationSettings& WithOutlineSize(int value) { SetOutlineSize(value); return *this;}
177
179
183 inline BurnInShadowColor GetShadowColor() const { return m_shadowColor; }
184 inline bool ShadowColorHasBeenSet() const { return m_shadowColorHasBeenSet; }
185 inline void SetShadowColor(BurnInShadowColor value) { m_shadowColorHasBeenSet = true; m_shadowColor = value; }
188
190
195 inline int GetShadowOpacity() const { return m_shadowOpacity; }
196 inline bool ShadowOpacityHasBeenSet() const { return m_shadowOpacityHasBeenSet; }
197 inline void SetShadowOpacity(int value) { m_shadowOpacityHasBeenSet = true; m_shadowOpacity = value; }
198 inline BurnInDestinationSettings& WithShadowOpacity(int value) { SetShadowOpacity(value); return *this;}
200
202
207 inline int GetShadowXOffset() const { return m_shadowXOffset; }
208 inline bool ShadowXOffsetHasBeenSet() const { return m_shadowXOffsetHasBeenSet; }
209 inline void SetShadowXOffset(int value) { m_shadowXOffsetHasBeenSet = true; m_shadowXOffset = value; }
210 inline BurnInDestinationSettings& WithShadowXOffset(int value) { SetShadowXOffset(value); return *this;}
212
214
219 inline int GetShadowYOffset() const { return m_shadowYOffset; }
220 inline bool ShadowYOffsetHasBeenSet() const { return m_shadowYOffsetHasBeenSet; }
221 inline void SetShadowYOffset(int value) { m_shadowYOffsetHasBeenSet = true; m_shadowYOffset = value; }
222 inline BurnInDestinationSettings& WithShadowYOffset(int value) { SetShadowYOffset(value); return *this;}
224
226
230 inline BurnInTeletextGridControl GetTeletextGridControl() const { return m_teletextGridControl; }
231 inline bool TeletextGridControlHasBeenSet() const { return m_teletextGridControlHasBeenSet; }
232 inline void SetTeletextGridControl(BurnInTeletextGridControl value) { m_teletextGridControlHasBeenSet = true; m_teletextGridControl = value; }
235
237
244 inline int GetXPosition() const { return m_xPosition; }
245 inline bool XPositionHasBeenSet() const { return m_xPositionHasBeenSet; }
246 inline void SetXPosition(int value) { m_xPositionHasBeenSet = true; m_xPosition = value; }
247 inline BurnInDestinationSettings& WithXPosition(int value) { SetXPosition(value); return *this;}
249
251
258 inline int GetYPosition() const { return m_yPosition; }
259 inline bool YPositionHasBeenSet() const { return m_yPositionHasBeenSet; }
260 inline void SetYPosition(int value) { m_yPositionHasBeenSet = true; m_yPosition = value; }
261 inline BurnInDestinationSettings& WithYPosition(int value) { SetYPosition(value); return *this;}
263
265
274 inline BurnInDestinationSubtitleRows GetSubtitleRows() const { return m_subtitleRows; }
275 inline bool SubtitleRowsHasBeenSet() const { return m_subtitleRowsHasBeenSet; }
276 inline void SetSubtitleRows(BurnInDestinationSubtitleRows value) { m_subtitleRowsHasBeenSet = true; m_subtitleRows = value; }
279 private:
280
282 bool m_alignmentHasBeenSet = false;
283
285 bool m_backgroundColorHasBeenSet = false;
286
287 int m_backgroundOpacity{0};
288 bool m_backgroundOpacityHasBeenSet = false;
289
290 InputLocation m_font;
291 bool m_fontHasBeenSet = false;
292
294 bool m_fontColorHasBeenSet = false;
295
296 int m_fontOpacity{0};
297 bool m_fontOpacityHasBeenSet = false;
298
299 int m_fontResolution{0};
300 bool m_fontResolutionHasBeenSet = false;
301
302 Aws::String m_fontSize;
303 bool m_fontSizeHasBeenSet = false;
304
306 bool m_outlineColorHasBeenSet = false;
307
308 int m_outlineSize{0};
309 bool m_outlineSizeHasBeenSet = false;
310
312 bool m_shadowColorHasBeenSet = false;
313
314 int m_shadowOpacity{0};
315 bool m_shadowOpacityHasBeenSet = false;
316
317 int m_shadowXOffset{0};
318 bool m_shadowXOffsetHasBeenSet = false;
319
320 int m_shadowYOffset{0};
321 bool m_shadowYOffsetHasBeenSet = false;
322
324 bool m_teletextGridControlHasBeenSet = false;
325
326 int m_xPosition{0};
327 bool m_xPositionHasBeenSet = false;
328
329 int m_yPosition{0};
330 bool m_yPositionHasBeenSet = false;
331
333 bool m_subtitleRowsHasBeenSet = false;
334 };
335
336} // namespace Model
337} // namespace MediaLive
338} // namespace Aws
BurnInDestinationSettings & WithAlignment(BurnInAlignment value)
BurnInDestinationSettings & WithShadowYOffset(int value)
BurnInDestinationSubtitleRows GetSubtitleRows() const
AWS_MEDIALIVE_API BurnInDestinationSettings()=default
BurnInDestinationSettings & WithYPosition(int value)
BurnInDestinationSettings & WithBackgroundOpacity(int value)
BurnInDestinationSettings & WithFontOpacity(int value)
BurnInDestinationSettings & WithSubtitleRows(BurnInDestinationSubtitleRows value)
void SetSubtitleRows(BurnInDestinationSubtitleRows value)
BurnInDestinationSettings & WithShadowOpacity(int value)
BurnInDestinationSettings & WithFont(FontT &&value)
BurnInDestinationSettings & WithFontSize(FontSizeT &&value)
BurnInDestinationSettings & WithTeletextGridControl(BurnInTeletextGridControl value)
BurnInDestinationSettings & WithBackgroundColor(BurnInBackgroundColor value)
BurnInDestinationSettings & WithXPosition(int value)
BurnInDestinationSettings & WithFontResolution(int value)
void SetTeletextGridControl(BurnInTeletextGridControl value)
BurnInDestinationSettings & WithShadowColor(BurnInShadowColor value)
AWS_MEDIALIVE_API BurnInDestinationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
BurnInDestinationSettings & WithFontColor(BurnInFontColor value)
BurnInDestinationSettings & WithOutlineColor(BurnInOutlineColor value)
AWS_MEDIALIVE_API BurnInDestinationSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
BurnInDestinationSettings & WithShadowXOffset(int value)
BurnInDestinationSettings & WithOutlineSize(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue