AWS SDK for C++

AWS SDK for C++ Version 1.11.635

Loading...
Searching...
No Matches
DvbSubDestinationSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/DvbSubDestinationAlignment.h>
9#include <aws/medialive/model/DvbSubDestinationBackgroundColor.h>
10#include <aws/medialive/model/InputLocation.h>
11#include <aws/medialive/model/DvbSubDestinationFontColor.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/medialive/model/DvbSubDestinationOutlineColor.h>
14#include <aws/medialive/model/DvbSubDestinationShadowColor.h>
15#include <aws/medialive/model/DvbSubDestinationTeletextGridControl.h>
16#include <aws/medialive/model/DvbSubDestinationSubtitleRows.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 DvbSubDestinationSettings() = default;
45 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
60 inline DvbSubDestinationAlignment GetAlignment() const { return m_alignment; }
61 inline bool AlignmentHasBeenSet() const { return m_alignmentHasBeenSet; }
62 inline void SetAlignment(DvbSubDestinationAlignment value) { m_alignmentHasBeenSet = true; m_alignment = value; }
65
67
71 inline DvbSubDestinationBackgroundColor GetBackgroundColor() const { return m_backgroundColor; }
72 inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; }
73 inline void SetBackgroundColor(DvbSubDestinationBackgroundColor value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = value; }
76
78
83 inline int GetBackgroundOpacity() const { return m_backgroundOpacity; }
84 inline bool BackgroundOpacityHasBeenSet() const { return m_backgroundOpacityHasBeenSet; }
85 inline void SetBackgroundOpacity(int value) { m_backgroundOpacityHasBeenSet = true; m_backgroundOpacity = value; }
86 inline DvbSubDestinationSettings& WithBackgroundOpacity(int value) { SetBackgroundOpacity(value); return *this;}
88
90
97 inline const InputLocation& GetFont() const { return m_font; }
98 inline bool FontHasBeenSet() const { return m_fontHasBeenSet; }
99 template<typename FontT = InputLocation>
100 void SetFont(FontT&& value) { m_fontHasBeenSet = true; m_font = std::forward<FontT>(value); }
101 template<typename FontT = InputLocation>
102 DvbSubDestinationSettings& WithFont(FontT&& value) { SetFont(std::forward<FontT>(value)); return *this;}
104
106
112 inline DvbSubDestinationFontColor GetFontColor() const { return m_fontColor; }
113 inline bool FontColorHasBeenSet() const { return m_fontColorHasBeenSet; }
114 inline void SetFontColor(DvbSubDestinationFontColor value) { m_fontColorHasBeenSet = true; m_fontColor = value; }
117
119
123 inline int GetFontOpacity() const { return m_fontOpacity; }
124 inline bool FontOpacityHasBeenSet() const { return m_fontOpacityHasBeenSet; }
125 inline void SetFontOpacity(int value) { m_fontOpacityHasBeenSet = true; m_fontOpacity = value; }
126 inline DvbSubDestinationSettings& WithFontOpacity(int value) { SetFontOpacity(value); return *this;}
128
130
134 inline int GetFontResolution() const { return m_fontResolution; }
135 inline bool FontResolutionHasBeenSet() const { return m_fontResolutionHasBeenSet; }
136 inline void SetFontResolution(int value) { m_fontResolutionHasBeenSet = true; m_fontResolution = value; }
137 inline DvbSubDestinationSettings& WithFontResolution(int value) { SetFontResolution(value); return *this;}
139
141
146 inline const Aws::String& GetFontSize() const { return m_fontSize; }
147 inline bool FontSizeHasBeenSet() const { return m_fontSizeHasBeenSet; }
148 template<typename FontSizeT = Aws::String>
149 void SetFontSize(FontSizeT&& value) { m_fontSizeHasBeenSet = true; m_fontSize = std::forward<FontSizeT>(value); }
150 template<typename FontSizeT = Aws::String>
151 DvbSubDestinationSettings& WithFontSize(FontSizeT&& value) { SetFontSize(std::forward<FontSizeT>(value)); return *this;}
153
155
161 inline DvbSubDestinationOutlineColor GetOutlineColor() const { return m_outlineColor; }
162 inline bool OutlineColorHasBeenSet() const { return m_outlineColorHasBeenSet; }
163 inline void SetOutlineColor(DvbSubDestinationOutlineColor value) { m_outlineColorHasBeenSet = true; m_outlineColor = value; }
166
168
174 inline int GetOutlineSize() const { return m_outlineSize; }
175 inline bool OutlineSizeHasBeenSet() const { return m_outlineSizeHasBeenSet; }
176 inline void SetOutlineSize(int value) { m_outlineSizeHasBeenSet = true; m_outlineSize = value; }
177 inline DvbSubDestinationSettings& WithOutlineSize(int value) { SetOutlineSize(value); return *this;}
179
181
185 inline DvbSubDestinationShadowColor GetShadowColor() const { return m_shadowColor; }
186 inline bool ShadowColorHasBeenSet() const { return m_shadowColorHasBeenSet; }
187 inline void SetShadowColor(DvbSubDestinationShadowColor value) { m_shadowColorHasBeenSet = true; m_shadowColor = value; }
190
192
197 inline int GetShadowOpacity() const { return m_shadowOpacity; }
198 inline bool ShadowOpacityHasBeenSet() const { return m_shadowOpacityHasBeenSet; }
199 inline void SetShadowOpacity(int value) { m_shadowOpacityHasBeenSet = true; m_shadowOpacity = value; }
200 inline DvbSubDestinationSettings& WithShadowOpacity(int value) { SetShadowOpacity(value); return *this;}
202
204
209 inline int GetShadowXOffset() const { return m_shadowXOffset; }
210 inline bool ShadowXOffsetHasBeenSet() const { return m_shadowXOffsetHasBeenSet; }
211 inline void SetShadowXOffset(int value) { m_shadowXOffsetHasBeenSet = true; m_shadowXOffset = value; }
212 inline DvbSubDestinationSettings& WithShadowXOffset(int value) { SetShadowXOffset(value); return *this;}
214
216
221 inline int GetShadowYOffset() const { return m_shadowYOffset; }
222 inline bool ShadowYOffsetHasBeenSet() const { return m_shadowYOffsetHasBeenSet; }
223 inline void SetShadowYOffset(int value) { m_shadowYOffsetHasBeenSet = true; m_shadowYOffset = value; }
224 inline DvbSubDestinationSettings& WithShadowYOffset(int value) { SetShadowYOffset(value); return *this;}
226
228
232 inline DvbSubDestinationTeletextGridControl GetTeletextGridControl() const { return m_teletextGridControl; }
233 inline bool TeletextGridControlHasBeenSet() const { return m_teletextGridControlHasBeenSet; }
234 inline void SetTeletextGridControl(DvbSubDestinationTeletextGridControl value) { m_teletextGridControlHasBeenSet = true; m_teletextGridControl = value; }
237
239
248 inline int GetXPosition() const { return m_xPosition; }
249 inline bool XPositionHasBeenSet() const { return m_xPositionHasBeenSet; }
250 inline void SetXPosition(int value) { m_xPositionHasBeenSet = true; m_xPosition = value; }
251 inline DvbSubDestinationSettings& WithXPosition(int value) { SetXPosition(value); return *this;}
253
255
264 inline int GetYPosition() const { return m_yPosition; }
265 inline bool YPositionHasBeenSet() const { return m_yPositionHasBeenSet; }
266 inline void SetYPosition(int value) { m_yPositionHasBeenSet = true; m_yPosition = value; }
267 inline DvbSubDestinationSettings& WithYPosition(int value) { SetYPosition(value); return *this;}
269
271
280 inline DvbSubDestinationSubtitleRows GetSubtitleRows() const { return m_subtitleRows; }
281 inline bool SubtitleRowsHasBeenSet() const { return m_subtitleRowsHasBeenSet; }
282 inline void SetSubtitleRows(DvbSubDestinationSubtitleRows value) { m_subtitleRowsHasBeenSet = true; m_subtitleRows = value; }
285 private:
286
288 bool m_alignmentHasBeenSet = false;
289
291 bool m_backgroundColorHasBeenSet = false;
292
293 int m_backgroundOpacity{0};
294 bool m_backgroundOpacityHasBeenSet = false;
295
296 InputLocation m_font;
297 bool m_fontHasBeenSet = false;
298
300 bool m_fontColorHasBeenSet = false;
301
302 int m_fontOpacity{0};
303 bool m_fontOpacityHasBeenSet = false;
304
305 int m_fontResolution{0};
306 bool m_fontResolutionHasBeenSet = false;
307
308 Aws::String m_fontSize;
309 bool m_fontSizeHasBeenSet = false;
310
312 bool m_outlineColorHasBeenSet = false;
313
314 int m_outlineSize{0};
315 bool m_outlineSizeHasBeenSet = false;
316
318 bool m_shadowColorHasBeenSet = false;
319
320 int m_shadowOpacity{0};
321 bool m_shadowOpacityHasBeenSet = false;
322
323 int m_shadowXOffset{0};
324 bool m_shadowXOffsetHasBeenSet = false;
325
326 int m_shadowYOffset{0};
327 bool m_shadowYOffsetHasBeenSet = false;
328
330 bool m_teletextGridControlHasBeenSet = false;
331
332 int m_xPosition{0};
333 bool m_xPositionHasBeenSet = false;
334
335 int m_yPosition{0};
336 bool m_yPositionHasBeenSet = false;
337
339 bool m_subtitleRowsHasBeenSet = false;
340 };
341
342} // namespace Model
343} // namespace MediaLive
344} // 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