AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DvbSubDestinationSettings.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9#include <aws/medialive/model/DvbSubDestinationAlignment.h>
10#include <aws/medialive/model/DvbSubDestinationBackgroundColor.h>
11#include <aws/medialive/model/DvbSubDestinationFontColor.h>
12#include <aws/medialive/model/DvbSubDestinationOutlineColor.h>
13#include <aws/medialive/model/DvbSubDestinationShadowColor.h>
14#include <aws/medialive/model/DvbSubDestinationSubtitleRows.h>
15#include <aws/medialive/model/DvbSubDestinationTeletextGridControl.h>
16#include <aws/medialive/model/InputLocation.h>
17
18#include <utility>
19
20namespace Aws {
21namespace Utils {
22namespace Json {
23class JsonValue;
24class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace MediaLive {
28namespace Model {
29
36 public:
37 AWS_MEDIALIVE_API DvbSubDestinationSettings() = default;
40 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
43
54 inline DvbSubDestinationAlignment GetAlignment() const { return m_alignment; }
55 inline bool AlignmentHasBeenSet() const { return m_alignmentHasBeenSet; }
57 m_alignmentHasBeenSet = true;
58 m_alignment = value;
59 }
61 SetAlignment(value);
62 return *this;
63 }
65
67
71 inline DvbSubDestinationBackgroundColor GetBackgroundColor() const { return m_backgroundColor; }
72 inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; }
74 m_backgroundColorHasBeenSet = true;
75 m_backgroundColor = value;
76 }
78 SetBackgroundColor(value);
79 return *this;
80 }
82
84
89 inline int GetBackgroundOpacity() const { return m_backgroundOpacity; }
90 inline bool BackgroundOpacityHasBeenSet() const { return m_backgroundOpacityHasBeenSet; }
91 inline void SetBackgroundOpacity(int value) {
92 m_backgroundOpacityHasBeenSet = true;
93 m_backgroundOpacity = value;
94 }
97 return *this;
98 }
100
102
109 inline const InputLocation& GetFont() const { return m_font; }
110 inline bool FontHasBeenSet() const { return m_fontHasBeenSet; }
111 template <typename FontT = InputLocation>
112 void SetFont(FontT&& value) {
113 m_fontHasBeenSet = true;
114 m_font = std::forward<FontT>(value);
115 }
116 template <typename FontT = InputLocation>
118 SetFont(std::forward<FontT>(value));
119 return *this;
120 }
122
124
130 inline DvbSubDestinationFontColor GetFontColor() const { return m_fontColor; }
131 inline bool FontColorHasBeenSet() const { return m_fontColorHasBeenSet; }
133 m_fontColorHasBeenSet = true;
134 m_fontColor = value;
135 }
137 SetFontColor(value);
138 return *this;
139 }
141
143
147 inline int GetFontOpacity() const { return m_fontOpacity; }
148 inline bool FontOpacityHasBeenSet() const { return m_fontOpacityHasBeenSet; }
149 inline void SetFontOpacity(int value) {
150 m_fontOpacityHasBeenSet = true;
151 m_fontOpacity = value;
152 }
154 SetFontOpacity(value);
155 return *this;
156 }
158
160
164 inline int GetFontResolution() const { return m_fontResolution; }
165 inline bool FontResolutionHasBeenSet() const { return m_fontResolutionHasBeenSet; }
166 inline void SetFontResolution(int value) {
167 m_fontResolutionHasBeenSet = true;
168 m_fontResolution = value;
169 }
171 SetFontResolution(value);
172 return *this;
173 }
175
177
182 inline const Aws::String& GetFontSize() const { return m_fontSize; }
183 inline bool FontSizeHasBeenSet() const { return m_fontSizeHasBeenSet; }
184 template <typename FontSizeT = Aws::String>
185 void SetFontSize(FontSizeT&& value) {
186 m_fontSizeHasBeenSet = true;
187 m_fontSize = std::forward<FontSizeT>(value);
188 }
189 template <typename FontSizeT = Aws::String>
191 SetFontSize(std::forward<FontSizeT>(value));
192 return *this;
193 }
195
197
203 inline DvbSubDestinationOutlineColor GetOutlineColor() const { return m_outlineColor; }
204 inline bool OutlineColorHasBeenSet() const { return m_outlineColorHasBeenSet; }
206 m_outlineColorHasBeenSet = true;
207 m_outlineColor = value;
208 }
210 SetOutlineColor(value);
211 return *this;
212 }
214
216
222 inline int GetOutlineSize() const { return m_outlineSize; }
223 inline bool OutlineSizeHasBeenSet() const { return m_outlineSizeHasBeenSet; }
224 inline void SetOutlineSize(int value) {
225 m_outlineSizeHasBeenSet = true;
226 m_outlineSize = value;
227 }
229 SetOutlineSize(value);
230 return *this;
231 }
233
235
239 inline DvbSubDestinationShadowColor GetShadowColor() const { return m_shadowColor; }
240 inline bool ShadowColorHasBeenSet() const { return m_shadowColorHasBeenSet; }
242 m_shadowColorHasBeenSet = true;
243 m_shadowColor = value;
244 }
246 SetShadowColor(value);
247 return *this;
248 }
250
252
257 inline int GetShadowOpacity() const { return m_shadowOpacity; }
258 inline bool ShadowOpacityHasBeenSet() const { return m_shadowOpacityHasBeenSet; }
259 inline void SetShadowOpacity(int value) {
260 m_shadowOpacityHasBeenSet = true;
261 m_shadowOpacity = value;
262 }
264 SetShadowOpacity(value);
265 return *this;
266 }
268
270
275 inline int GetShadowXOffset() const { return m_shadowXOffset; }
276 inline bool ShadowXOffsetHasBeenSet() const { return m_shadowXOffsetHasBeenSet; }
277 inline void SetShadowXOffset(int value) {
278 m_shadowXOffsetHasBeenSet = true;
279 m_shadowXOffset = value;
280 }
282 SetShadowXOffset(value);
283 return *this;
284 }
286
288
293 inline int GetShadowYOffset() const { return m_shadowYOffset; }
294 inline bool ShadowYOffsetHasBeenSet() const { return m_shadowYOffsetHasBeenSet; }
295 inline void SetShadowYOffset(int value) {
296 m_shadowYOffsetHasBeenSet = true;
297 m_shadowYOffset = value;
298 }
300 SetShadowYOffset(value);
301 return *this;
302 }
304
306
310 inline DvbSubDestinationTeletextGridControl GetTeletextGridControl() const { return m_teletextGridControl; }
311 inline bool TeletextGridControlHasBeenSet() const { return m_teletextGridControlHasBeenSet; }
313 m_teletextGridControlHasBeenSet = true;
314 m_teletextGridControl = value;
315 }
318 return *this;
319 }
321
323
332 inline int GetXPosition() const { return m_xPosition; }
333 inline bool XPositionHasBeenSet() const { return m_xPositionHasBeenSet; }
334 inline void SetXPosition(int value) {
335 m_xPositionHasBeenSet = true;
336 m_xPosition = value;
337 }
339 SetXPosition(value);
340 return *this;
341 }
343
345
354 inline int GetYPosition() const { return m_yPosition; }
355 inline bool YPositionHasBeenSet() const { return m_yPositionHasBeenSet; }
356 inline void SetYPosition(int value) {
357 m_yPositionHasBeenSet = true;
358 m_yPosition = value;
359 }
361 SetYPosition(value);
362 return *this;
363 }
365
367
376 inline DvbSubDestinationSubtitleRows GetSubtitleRows() const { return m_subtitleRows; }
377 inline bool SubtitleRowsHasBeenSet() const { return m_subtitleRowsHasBeenSet; }
379 m_subtitleRowsHasBeenSet = true;
380 m_subtitleRows = value;
381 }
383 SetSubtitleRows(value);
384 return *this;
385 }
387 private:
389
391
392 int m_backgroundOpacity{0};
393
394 InputLocation m_font;
395
397
398 int m_fontOpacity{0};
399
400 int m_fontResolution{0};
401
402 Aws::String m_fontSize;
403
405
406 int m_outlineSize{0};
407
409
410 int m_shadowOpacity{0};
411
412 int m_shadowXOffset{0};
413
414 int m_shadowYOffset{0};
415
417
418 int m_xPosition{0};
419
420 int m_yPosition{0};
421
423 bool m_alignmentHasBeenSet = false;
424 bool m_backgroundColorHasBeenSet = false;
425 bool m_backgroundOpacityHasBeenSet = false;
426 bool m_fontHasBeenSet = false;
427 bool m_fontColorHasBeenSet = false;
428 bool m_fontOpacityHasBeenSet = false;
429 bool m_fontResolutionHasBeenSet = false;
430 bool m_fontSizeHasBeenSet = false;
431 bool m_outlineColorHasBeenSet = false;
432 bool m_outlineSizeHasBeenSet = false;
433 bool m_shadowColorHasBeenSet = false;
434 bool m_shadowOpacityHasBeenSet = false;
435 bool m_shadowXOffsetHasBeenSet = false;
436 bool m_shadowYOffsetHasBeenSet = false;
437 bool m_teletextGridControlHasBeenSet = false;
438 bool m_xPositionHasBeenSet = false;
439 bool m_yPositionHasBeenSet = false;
440 bool m_subtitleRowsHasBeenSet = false;
441};
442
443} // namespace Model
444} // namespace MediaLive
445} // namespace Aws
DvbSubDestinationSettings & WithShadowColor(DvbSubDestinationShadowColor value)
void SetFontColor(DvbSubDestinationFontColor value)
DvbSubDestinationSettings & WithShadowYOffset(int value)
DvbSubDestinationSettings & WithBackgroundOpacity(int value)
DvbSubDestinationSettings & WithBackgroundColor(DvbSubDestinationBackgroundColor value)
DvbSubDestinationSettings & WithFontResolution(int value)
DvbSubDestinationSettings & WithYPosition(int value)
DvbSubDestinationSettings & WithTeletextGridControl(DvbSubDestinationTeletextGridControl value)
DvbSubDestinationSettings & WithOutlineSize(int value)
DvbSubDestinationSettings & WithShadowXOffset(int value)
DvbSubDestinationSettings & WithFontColor(DvbSubDestinationFontColor value)
DvbSubDestinationOutlineColor GetOutlineColor() const
DvbSubDestinationSettings & WithOutlineColor(DvbSubDestinationOutlineColor value)
DvbSubDestinationSettings & WithSubtitleRows(DvbSubDestinationSubtitleRows value)
void SetBackgroundColor(DvbSubDestinationBackgroundColor value)
void SetTeletextGridControl(DvbSubDestinationTeletextGridControl value)
void SetShadowColor(DvbSubDestinationShadowColor value)
DvbSubDestinationSettings & WithFont(FontT &&value)
DvbSubDestinationSettings & WithFontOpacity(int value)
DvbSubDestinationBackgroundColor GetBackgroundColor() const
AWS_MEDIALIVE_API DvbSubDestinationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
DvbSubDestinationSettings & WithFontSize(FontSizeT &&value)
DvbSubDestinationSubtitleRows GetSubtitleRows() const
void SetSubtitleRows(DvbSubDestinationSubtitleRows value)
DvbSubDestinationTeletextGridControl GetTeletextGridControl() const
DvbSubDestinationSettings & WithShadowOpacity(int value)
void SetAlignment(DvbSubDestinationAlignment value)
DvbSubDestinationSettings & WithAlignment(DvbSubDestinationAlignment value)
void SetOutlineColor(DvbSubDestinationOutlineColor value)
DvbSubDestinationSettings & WithXPosition(int value)
AWS_MEDIALIVE_API DvbSubDestinationSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API DvbSubDestinationSettings()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue