AWS SDK for C++

AWS SDK for C++ Version 1.11.609

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 <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 DvbSubDestinationSettings() = default;
44 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
59 inline DvbSubDestinationAlignment GetAlignment() const { return m_alignment; }
60 inline bool AlignmentHasBeenSet() const { return m_alignmentHasBeenSet; }
61 inline void SetAlignment(DvbSubDestinationAlignment value) { m_alignmentHasBeenSet = true; m_alignment = value; }
64
66
70 inline DvbSubDestinationBackgroundColor GetBackgroundColor() const { return m_backgroundColor; }
71 inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; }
72 inline void SetBackgroundColor(DvbSubDestinationBackgroundColor value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = value; }
75
77
82 inline int GetBackgroundOpacity() const { return m_backgroundOpacity; }
83 inline bool BackgroundOpacityHasBeenSet() const { return m_backgroundOpacityHasBeenSet; }
84 inline void SetBackgroundOpacity(int value) { m_backgroundOpacityHasBeenSet = true; m_backgroundOpacity = value; }
85 inline DvbSubDestinationSettings& WithBackgroundOpacity(int value) { SetBackgroundOpacity(value); return *this;}
87
89
96 inline const InputLocation& GetFont() const { return m_font; }
97 inline bool FontHasBeenSet() const { return m_fontHasBeenSet; }
98 template<typename FontT = InputLocation>
99 void SetFont(FontT&& value) { m_fontHasBeenSet = true; m_font = std::forward<FontT>(value); }
100 template<typename FontT = InputLocation>
101 DvbSubDestinationSettings& WithFont(FontT&& value) { SetFont(std::forward<FontT>(value)); return *this;}
103
105
111 inline DvbSubDestinationFontColor GetFontColor() const { return m_fontColor; }
112 inline bool FontColorHasBeenSet() const { return m_fontColorHasBeenSet; }
113 inline void SetFontColor(DvbSubDestinationFontColor value) { m_fontColorHasBeenSet = true; m_fontColor = value; }
116
118
122 inline int GetFontOpacity() const { return m_fontOpacity; }
123 inline bool FontOpacityHasBeenSet() const { return m_fontOpacityHasBeenSet; }
124 inline void SetFontOpacity(int value) { m_fontOpacityHasBeenSet = true; m_fontOpacity = value; }
125 inline DvbSubDestinationSettings& WithFontOpacity(int value) { SetFontOpacity(value); return *this;}
127
129
133 inline int GetFontResolution() const { return m_fontResolution; }
134 inline bool FontResolutionHasBeenSet() const { return m_fontResolutionHasBeenSet; }
135 inline void SetFontResolution(int value) { m_fontResolutionHasBeenSet = true; m_fontResolution = value; }
136 inline DvbSubDestinationSettings& WithFontResolution(int value) { SetFontResolution(value); return *this;}
138
140
145 inline const Aws::String& GetFontSize() const { return m_fontSize; }
146 inline bool FontSizeHasBeenSet() const { return m_fontSizeHasBeenSet; }
147 template<typename FontSizeT = Aws::String>
148 void SetFontSize(FontSizeT&& value) { m_fontSizeHasBeenSet = true; m_fontSize = std::forward<FontSizeT>(value); }
149 template<typename FontSizeT = Aws::String>
150 DvbSubDestinationSettings& WithFontSize(FontSizeT&& value) { SetFontSize(std::forward<FontSizeT>(value)); return *this;}
152
154
160 inline DvbSubDestinationOutlineColor GetOutlineColor() const { return m_outlineColor; }
161 inline bool OutlineColorHasBeenSet() const { return m_outlineColorHasBeenSet; }
162 inline void SetOutlineColor(DvbSubDestinationOutlineColor value) { m_outlineColorHasBeenSet = true; m_outlineColor = value; }
165
167
173 inline int GetOutlineSize() const { return m_outlineSize; }
174 inline bool OutlineSizeHasBeenSet() const { return m_outlineSizeHasBeenSet; }
175 inline void SetOutlineSize(int value) { m_outlineSizeHasBeenSet = true; m_outlineSize = value; }
176 inline DvbSubDestinationSettings& WithOutlineSize(int value) { SetOutlineSize(value); return *this;}
178
180
184 inline DvbSubDestinationShadowColor GetShadowColor() const { return m_shadowColor; }
185 inline bool ShadowColorHasBeenSet() const { return m_shadowColorHasBeenSet; }
186 inline void SetShadowColor(DvbSubDestinationShadowColor value) { m_shadowColorHasBeenSet = true; m_shadowColor = value; }
189
191
196 inline int GetShadowOpacity() const { return m_shadowOpacity; }
197 inline bool ShadowOpacityHasBeenSet() const { return m_shadowOpacityHasBeenSet; }
198 inline void SetShadowOpacity(int value) { m_shadowOpacityHasBeenSet = true; m_shadowOpacity = value; }
199 inline DvbSubDestinationSettings& WithShadowOpacity(int value) { SetShadowOpacity(value); return *this;}
201
203
208 inline int GetShadowXOffset() const { return m_shadowXOffset; }
209 inline bool ShadowXOffsetHasBeenSet() const { return m_shadowXOffsetHasBeenSet; }
210 inline void SetShadowXOffset(int value) { m_shadowXOffsetHasBeenSet = true; m_shadowXOffset = value; }
211 inline DvbSubDestinationSettings& WithShadowXOffset(int value) { SetShadowXOffset(value); return *this;}
213
215
220 inline int GetShadowYOffset() const { return m_shadowYOffset; }
221 inline bool ShadowYOffsetHasBeenSet() const { return m_shadowYOffsetHasBeenSet; }
222 inline void SetShadowYOffset(int value) { m_shadowYOffsetHasBeenSet = true; m_shadowYOffset = value; }
223 inline DvbSubDestinationSettings& WithShadowYOffset(int value) { SetShadowYOffset(value); return *this;}
225
227
231 inline DvbSubDestinationTeletextGridControl GetTeletextGridControl() const { return m_teletextGridControl; }
232 inline bool TeletextGridControlHasBeenSet() const { return m_teletextGridControlHasBeenSet; }
233 inline void SetTeletextGridControl(DvbSubDestinationTeletextGridControl value) { m_teletextGridControlHasBeenSet = true; m_teletextGridControl = value; }
236
238
247 inline int GetXPosition() const { return m_xPosition; }
248 inline bool XPositionHasBeenSet() const { return m_xPositionHasBeenSet; }
249 inline void SetXPosition(int value) { m_xPositionHasBeenSet = true; m_xPosition = value; }
250 inline DvbSubDestinationSettings& WithXPosition(int value) { SetXPosition(value); return *this;}
252
254
263 inline int GetYPosition() const { return m_yPosition; }
264 inline bool YPositionHasBeenSet() const { return m_yPositionHasBeenSet; }
265 inline void SetYPosition(int value) { m_yPositionHasBeenSet = true; m_yPosition = value; }
266 inline DvbSubDestinationSettings& WithYPosition(int value) { SetYPosition(value); return *this;}
268 private:
269
271 bool m_alignmentHasBeenSet = false;
272
274 bool m_backgroundColorHasBeenSet = false;
275
276 int m_backgroundOpacity{0};
277 bool m_backgroundOpacityHasBeenSet = false;
278
279 InputLocation m_font;
280 bool m_fontHasBeenSet = false;
281
283 bool m_fontColorHasBeenSet = false;
284
285 int m_fontOpacity{0};
286 bool m_fontOpacityHasBeenSet = false;
287
288 int m_fontResolution{0};
289 bool m_fontResolutionHasBeenSet = false;
290
291 Aws::String m_fontSize;
292 bool m_fontSizeHasBeenSet = false;
293
295 bool m_outlineColorHasBeenSet = false;
296
297 int m_outlineSize{0};
298 bool m_outlineSizeHasBeenSet = false;
299
301 bool m_shadowColorHasBeenSet = false;
302
303 int m_shadowOpacity{0};
304 bool m_shadowOpacityHasBeenSet = false;
305
306 int m_shadowXOffset{0};
307 bool m_shadowXOffsetHasBeenSet = false;
308
309 int m_shadowYOffset{0};
310 bool m_shadowYOffsetHasBeenSet = false;
311
313 bool m_teletextGridControlHasBeenSet = false;
314
315 int m_xPosition{0};
316 bool m_xPositionHasBeenSet = false;
317
318 int m_yPosition{0};
319 bool m_yPositionHasBeenSet = false;
320 };
321
322} // namespace Model
323} // namespace MediaLive
324} // 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)
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)
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