AWS SDK for C++

AWS SDK for C++ Version 1.11.609

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 <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace MediaLive
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_MEDIALIVE_API BurnInDestinationSettings() = default;
44 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
57 inline BurnInAlignment GetAlignment() const { return m_alignment; }
58 inline bool AlignmentHasBeenSet() const { return m_alignmentHasBeenSet; }
59 inline void SetAlignment(BurnInAlignment value) { m_alignmentHasBeenSet = true; m_alignment = value; }
62
64
68 inline BurnInBackgroundColor GetBackgroundColor() const { return m_backgroundColor; }
69 inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; }
70 inline void SetBackgroundColor(BurnInBackgroundColor value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = value; }
73
75
80 inline int GetBackgroundOpacity() const { return m_backgroundOpacity; }
81 inline bool BackgroundOpacityHasBeenSet() const { return m_backgroundOpacityHasBeenSet; }
82 inline void SetBackgroundOpacity(int value) { m_backgroundOpacityHasBeenSet = true; m_backgroundOpacity = value; }
83 inline BurnInDestinationSettings& WithBackgroundOpacity(int value) { SetBackgroundOpacity(value); return *this;}
85
87
94 inline const InputLocation& GetFont() const { return m_font; }
95 inline bool FontHasBeenSet() const { return m_fontHasBeenSet; }
96 template<typename FontT = InputLocation>
97 void SetFont(FontT&& value) { m_fontHasBeenSet = true; m_font = std::forward<FontT>(value); }
98 template<typename FontT = InputLocation>
99 BurnInDestinationSettings& WithFont(FontT&& value) { SetFont(std::forward<FontT>(value)); return *this;}
101
103
109 inline BurnInFontColor GetFontColor() const { return m_fontColor; }
110 inline bool FontColorHasBeenSet() const { return m_fontColorHasBeenSet; }
111 inline void SetFontColor(BurnInFontColor value) { m_fontColorHasBeenSet = true; m_fontColor = value; }
114
116
120 inline int GetFontOpacity() const { return m_fontOpacity; }
121 inline bool FontOpacityHasBeenSet() const { return m_fontOpacityHasBeenSet; }
122 inline void SetFontOpacity(int value) { m_fontOpacityHasBeenSet = true; m_fontOpacity = value; }
123 inline BurnInDestinationSettings& WithFontOpacity(int value) { SetFontOpacity(value); return *this;}
125
127
131 inline int GetFontResolution() const { return m_fontResolution; }
132 inline bool FontResolutionHasBeenSet() const { return m_fontResolutionHasBeenSet; }
133 inline void SetFontResolution(int value) { m_fontResolutionHasBeenSet = true; m_fontResolution = value; }
134 inline BurnInDestinationSettings& WithFontResolution(int value) { SetFontResolution(value); return *this;}
136
138
143 inline const Aws::String& GetFontSize() const { return m_fontSize; }
144 inline bool FontSizeHasBeenSet() const { return m_fontSizeHasBeenSet; }
145 template<typename FontSizeT = Aws::String>
146 void SetFontSize(FontSizeT&& value) { m_fontSizeHasBeenSet = true; m_fontSize = std::forward<FontSizeT>(value); }
147 template<typename FontSizeT = Aws::String>
148 BurnInDestinationSettings& WithFontSize(FontSizeT&& value) { SetFontSize(std::forward<FontSizeT>(value)); return *this;}
150
152
158 inline BurnInOutlineColor GetOutlineColor() const { return m_outlineColor; }
159 inline bool OutlineColorHasBeenSet() const { return m_outlineColorHasBeenSet; }
160 inline void SetOutlineColor(BurnInOutlineColor value) { m_outlineColorHasBeenSet = true; m_outlineColor = value; }
163
165
171 inline int GetOutlineSize() const { return m_outlineSize; }
172 inline bool OutlineSizeHasBeenSet() const { return m_outlineSizeHasBeenSet; }
173 inline void SetOutlineSize(int value) { m_outlineSizeHasBeenSet = true; m_outlineSize = value; }
174 inline BurnInDestinationSettings& WithOutlineSize(int value) { SetOutlineSize(value); return *this;}
176
178
182 inline BurnInShadowColor GetShadowColor() const { return m_shadowColor; }
183 inline bool ShadowColorHasBeenSet() const { return m_shadowColorHasBeenSet; }
184 inline void SetShadowColor(BurnInShadowColor value) { m_shadowColorHasBeenSet = true; m_shadowColor = value; }
187
189
194 inline int GetShadowOpacity() const { return m_shadowOpacity; }
195 inline bool ShadowOpacityHasBeenSet() const { return m_shadowOpacityHasBeenSet; }
196 inline void SetShadowOpacity(int value) { m_shadowOpacityHasBeenSet = true; m_shadowOpacity = value; }
197 inline BurnInDestinationSettings& WithShadowOpacity(int value) { SetShadowOpacity(value); return *this;}
199
201
206 inline int GetShadowXOffset() const { return m_shadowXOffset; }
207 inline bool ShadowXOffsetHasBeenSet() const { return m_shadowXOffsetHasBeenSet; }
208 inline void SetShadowXOffset(int value) { m_shadowXOffsetHasBeenSet = true; m_shadowXOffset = value; }
209 inline BurnInDestinationSettings& WithShadowXOffset(int value) { SetShadowXOffset(value); return *this;}
211
213
218 inline int GetShadowYOffset() const { return m_shadowYOffset; }
219 inline bool ShadowYOffsetHasBeenSet() const { return m_shadowYOffsetHasBeenSet; }
220 inline void SetShadowYOffset(int value) { m_shadowYOffsetHasBeenSet = true; m_shadowYOffset = value; }
221 inline BurnInDestinationSettings& WithShadowYOffset(int value) { SetShadowYOffset(value); return *this;}
223
225
229 inline BurnInTeletextGridControl GetTeletextGridControl() const { return m_teletextGridControl; }
230 inline bool TeletextGridControlHasBeenSet() const { return m_teletextGridControlHasBeenSet; }
231 inline void SetTeletextGridControl(BurnInTeletextGridControl value) { m_teletextGridControlHasBeenSet = true; m_teletextGridControl = value; }
234
236
243 inline int GetXPosition() const { return m_xPosition; }
244 inline bool XPositionHasBeenSet() const { return m_xPositionHasBeenSet; }
245 inline void SetXPosition(int value) { m_xPositionHasBeenSet = true; m_xPosition = value; }
246 inline BurnInDestinationSettings& WithXPosition(int value) { SetXPosition(value); return *this;}
248
250
257 inline int GetYPosition() const { return m_yPosition; }
258 inline bool YPositionHasBeenSet() const { return m_yPositionHasBeenSet; }
259 inline void SetYPosition(int value) { m_yPositionHasBeenSet = true; m_yPosition = value; }
260 inline BurnInDestinationSettings& WithYPosition(int value) { SetYPosition(value); return *this;}
262 private:
263
265 bool m_alignmentHasBeenSet = false;
266
268 bool m_backgroundColorHasBeenSet = false;
269
270 int m_backgroundOpacity{0};
271 bool m_backgroundOpacityHasBeenSet = false;
272
273 InputLocation m_font;
274 bool m_fontHasBeenSet = false;
275
277 bool m_fontColorHasBeenSet = false;
278
279 int m_fontOpacity{0};
280 bool m_fontOpacityHasBeenSet = false;
281
282 int m_fontResolution{0};
283 bool m_fontResolutionHasBeenSet = false;
284
285 Aws::String m_fontSize;
286 bool m_fontSizeHasBeenSet = false;
287
289 bool m_outlineColorHasBeenSet = false;
290
291 int m_outlineSize{0};
292 bool m_outlineSizeHasBeenSet = false;
293
295 bool m_shadowColorHasBeenSet = false;
296
297 int m_shadowOpacity{0};
298 bool m_shadowOpacityHasBeenSet = false;
299
300 int m_shadowXOffset{0};
301 bool m_shadowXOffsetHasBeenSet = false;
302
303 int m_shadowYOffset{0};
304 bool m_shadowYOffsetHasBeenSet = false;
305
307 bool m_teletextGridControlHasBeenSet = false;
308
309 int m_xPosition{0};
310 bool m_xPositionHasBeenSet = false;
311
312 int m_yPosition{0};
313 bool m_yPositionHasBeenSet = false;
314 };
315
316} // namespace Model
317} // namespace MediaLive
318} // namespace Aws
BurnInDestinationSettings & WithAlignment(BurnInAlignment value)
BurnInDestinationSettings & WithShadowYOffset(int value)
AWS_MEDIALIVE_API BurnInDestinationSettings()=default
BurnInDestinationSettings & WithYPosition(int value)
BurnInDestinationSettings & WithBackgroundOpacity(int value)
BurnInDestinationSettings & WithFontOpacity(int 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