AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
44 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
59 inline const DvbSubDestinationAlignment& GetAlignment() const{ return m_alignment; }
60 inline bool AlignmentHasBeenSet() const { return m_alignmentHasBeenSet; }
61 inline void SetAlignment(const DvbSubDestinationAlignment& value) { m_alignmentHasBeenSet = true; m_alignment = value; }
62 inline void SetAlignment(DvbSubDestinationAlignment&& value) { m_alignmentHasBeenSet = true; m_alignment = std::move(value); }
64 inline DvbSubDestinationSettings& WithAlignment(DvbSubDestinationAlignment&& value) { SetAlignment(std::move(value)); return *this;}
66
68
72 inline const DvbSubDestinationBackgroundColor& GetBackgroundColor() const{ return m_backgroundColor; }
73 inline bool BackgroundColorHasBeenSet() const { return m_backgroundColorHasBeenSet; }
74 inline void SetBackgroundColor(const DvbSubDestinationBackgroundColor& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = value; }
75 inline void SetBackgroundColor(DvbSubDestinationBackgroundColor&& value) { m_backgroundColorHasBeenSet = true; m_backgroundColor = std::move(value); }
79
81
86 inline int GetBackgroundOpacity() const{ return m_backgroundOpacity; }
87 inline bool BackgroundOpacityHasBeenSet() const { return m_backgroundOpacityHasBeenSet; }
88 inline void SetBackgroundOpacity(int value) { m_backgroundOpacityHasBeenSet = true; m_backgroundOpacity = value; }
89 inline DvbSubDestinationSettings& WithBackgroundOpacity(int value) { SetBackgroundOpacity(value); return *this;}
91
93
100 inline const InputLocation& GetFont() const{ return m_font; }
101 inline bool FontHasBeenSet() const { return m_fontHasBeenSet; }
102 inline void SetFont(const InputLocation& value) { m_fontHasBeenSet = true; m_font = value; }
103 inline void SetFont(InputLocation&& value) { m_fontHasBeenSet = true; m_font = std::move(value); }
104 inline DvbSubDestinationSettings& WithFont(const InputLocation& value) { SetFont(value); return *this;}
105 inline DvbSubDestinationSettings& WithFont(InputLocation&& value) { SetFont(std::move(value)); return *this;}
107
109
115 inline const DvbSubDestinationFontColor& GetFontColor() const{ return m_fontColor; }
116 inline bool FontColorHasBeenSet() const { return m_fontColorHasBeenSet; }
117 inline void SetFontColor(const DvbSubDestinationFontColor& value) { m_fontColorHasBeenSet = true; m_fontColor = value; }
118 inline void SetFontColor(DvbSubDestinationFontColor&& value) { m_fontColorHasBeenSet = true; m_fontColor = std::move(value); }
120 inline DvbSubDestinationSettings& WithFontColor(DvbSubDestinationFontColor&& value) { SetFontColor(std::move(value)); return *this;}
122
124
128 inline int GetFontOpacity() const{ return m_fontOpacity; }
129 inline bool FontOpacityHasBeenSet() const { return m_fontOpacityHasBeenSet; }
130 inline void SetFontOpacity(int value) { m_fontOpacityHasBeenSet = true; m_fontOpacity = value; }
131 inline DvbSubDestinationSettings& WithFontOpacity(int value) { SetFontOpacity(value); return *this;}
133
135
139 inline int GetFontResolution() const{ return m_fontResolution; }
140 inline bool FontResolutionHasBeenSet() const { return m_fontResolutionHasBeenSet; }
141 inline void SetFontResolution(int value) { m_fontResolutionHasBeenSet = true; m_fontResolution = value; }
142 inline DvbSubDestinationSettings& WithFontResolution(int value) { SetFontResolution(value); return *this;}
144
146
151 inline const Aws::String& GetFontSize() const{ return m_fontSize; }
152 inline bool FontSizeHasBeenSet() const { return m_fontSizeHasBeenSet; }
153 inline void SetFontSize(const Aws::String& value) { m_fontSizeHasBeenSet = true; m_fontSize = value; }
154 inline void SetFontSize(Aws::String&& value) { m_fontSizeHasBeenSet = true; m_fontSize = std::move(value); }
155 inline void SetFontSize(const char* value) { m_fontSizeHasBeenSet = true; m_fontSize.assign(value); }
156 inline DvbSubDestinationSettings& WithFontSize(const Aws::String& value) { SetFontSize(value); return *this;}
157 inline DvbSubDestinationSettings& WithFontSize(Aws::String&& value) { SetFontSize(std::move(value)); return *this;}
158 inline DvbSubDestinationSettings& WithFontSize(const char* value) { SetFontSize(value); return *this;}
160
162
168 inline const DvbSubDestinationOutlineColor& GetOutlineColor() const{ return m_outlineColor; }
169 inline bool OutlineColorHasBeenSet() const { return m_outlineColorHasBeenSet; }
170 inline void SetOutlineColor(const DvbSubDestinationOutlineColor& value) { m_outlineColorHasBeenSet = true; m_outlineColor = value; }
171 inline void SetOutlineColor(DvbSubDestinationOutlineColor&& value) { m_outlineColorHasBeenSet = true; m_outlineColor = std::move(value); }
175
177
183 inline int GetOutlineSize() const{ return m_outlineSize; }
184 inline bool OutlineSizeHasBeenSet() const { return m_outlineSizeHasBeenSet; }
185 inline void SetOutlineSize(int value) { m_outlineSizeHasBeenSet = true; m_outlineSize = value; }
186 inline DvbSubDestinationSettings& WithOutlineSize(int value) { SetOutlineSize(value); return *this;}
188
190
194 inline const DvbSubDestinationShadowColor& GetShadowColor() const{ return m_shadowColor; }
195 inline bool ShadowColorHasBeenSet() const { return m_shadowColorHasBeenSet; }
196 inline void SetShadowColor(const DvbSubDestinationShadowColor& value) { m_shadowColorHasBeenSet = true; m_shadowColor = value; }
197 inline void SetShadowColor(DvbSubDestinationShadowColor&& value) { m_shadowColorHasBeenSet = true; m_shadowColor = std::move(value); }
201
203
208 inline int GetShadowOpacity() const{ return m_shadowOpacity; }
209 inline bool ShadowOpacityHasBeenSet() const { return m_shadowOpacityHasBeenSet; }
210 inline void SetShadowOpacity(int value) { m_shadowOpacityHasBeenSet = true; m_shadowOpacity = value; }
211 inline DvbSubDestinationSettings& WithShadowOpacity(int value) { SetShadowOpacity(value); return *this;}
213
215
220 inline int GetShadowXOffset() const{ return m_shadowXOffset; }
221 inline bool ShadowXOffsetHasBeenSet() const { return m_shadowXOffsetHasBeenSet; }
222 inline void SetShadowXOffset(int value) { m_shadowXOffsetHasBeenSet = true; m_shadowXOffset = value; }
223 inline DvbSubDestinationSettings& WithShadowXOffset(int value) { SetShadowXOffset(value); return *this;}
225
227
232 inline int GetShadowYOffset() const{ return m_shadowYOffset; }
233 inline bool ShadowYOffsetHasBeenSet() const { return m_shadowYOffsetHasBeenSet; }
234 inline void SetShadowYOffset(int value) { m_shadowYOffsetHasBeenSet = true; m_shadowYOffset = value; }
235 inline DvbSubDestinationSettings& WithShadowYOffset(int value) { SetShadowYOffset(value); return *this;}
237
239
243 inline const DvbSubDestinationTeletextGridControl& GetTeletextGridControl() const{ return m_teletextGridControl; }
244 inline bool TeletextGridControlHasBeenSet() const { return m_teletextGridControlHasBeenSet; }
245 inline void SetTeletextGridControl(const DvbSubDestinationTeletextGridControl& value) { m_teletextGridControlHasBeenSet = true; m_teletextGridControl = value; }
246 inline void SetTeletextGridControl(DvbSubDestinationTeletextGridControl&& value) { m_teletextGridControlHasBeenSet = true; m_teletextGridControl = std::move(value); }
250
252
261 inline int GetXPosition() const{ return m_xPosition; }
262 inline bool XPositionHasBeenSet() const { return m_xPositionHasBeenSet; }
263 inline void SetXPosition(int value) { m_xPositionHasBeenSet = true; m_xPosition = value; }
264 inline DvbSubDestinationSettings& WithXPosition(int value) { SetXPosition(value); return *this;}
266
268
277 inline int GetYPosition() const{ return m_yPosition; }
278 inline bool YPositionHasBeenSet() const { return m_yPositionHasBeenSet; }
279 inline void SetYPosition(int value) { m_yPositionHasBeenSet = true; m_yPosition = value; }
280 inline DvbSubDestinationSettings& WithYPosition(int value) { SetYPosition(value); return *this;}
282 private:
283
284 DvbSubDestinationAlignment m_alignment;
285 bool m_alignmentHasBeenSet = false;
286
287 DvbSubDestinationBackgroundColor m_backgroundColor;
288 bool m_backgroundColorHasBeenSet = false;
289
290 int m_backgroundOpacity;
291 bool m_backgroundOpacityHasBeenSet = false;
292
293 InputLocation m_font;
294 bool m_fontHasBeenSet = false;
295
296 DvbSubDestinationFontColor m_fontColor;
297 bool m_fontColorHasBeenSet = false;
298
299 int m_fontOpacity;
300 bool m_fontOpacityHasBeenSet = false;
301
302 int m_fontResolution;
303 bool m_fontResolutionHasBeenSet = false;
304
305 Aws::String m_fontSize;
306 bool m_fontSizeHasBeenSet = false;
307
308 DvbSubDestinationOutlineColor m_outlineColor;
309 bool m_outlineColorHasBeenSet = false;
310
311 int m_outlineSize;
312 bool m_outlineSizeHasBeenSet = false;
313
314 DvbSubDestinationShadowColor m_shadowColor;
315 bool m_shadowColorHasBeenSet = false;
316
317 int m_shadowOpacity;
318 bool m_shadowOpacityHasBeenSet = false;
319
320 int m_shadowXOffset;
321 bool m_shadowXOffsetHasBeenSet = false;
322
323 int m_shadowYOffset;
324 bool m_shadowYOffsetHasBeenSet = false;
325
326 DvbSubDestinationTeletextGridControl m_teletextGridControl;
327 bool m_teletextGridControlHasBeenSet = false;
328
329 int m_xPosition;
330 bool m_xPositionHasBeenSet = false;
331
332 int m_yPosition;
333 bool m_yPositionHasBeenSet = false;
334 };
335
336} // namespace Model
337} // namespace MediaLive
338} // namespace Aws
DvbSubDestinationSettings & WithFontSize(Aws::String &&value)
const DvbSubDestinationBackgroundColor & GetBackgroundColor() const
DvbSubDestinationSettings & WithFont(InputLocation &&value)
DvbSubDestinationSettings & WithTeletextGridControl(const DvbSubDestinationTeletextGridControl &value)
void SetBackgroundColor(const DvbSubDestinationBackgroundColor &value)
void SetAlignment(const DvbSubDestinationAlignment &value)
DvbSubDestinationSettings & WithShadowYOffset(int value)
DvbSubDestinationSettings & WithBackgroundOpacity(int value)
void SetTeletextGridControl(DvbSubDestinationTeletextGridControl &&value)
DvbSubDestinationSettings & WithFontResolution(int value)
void SetAlignment(DvbSubDestinationAlignment &&value)
DvbSubDestinationSettings & WithYPosition(int value)
DvbSubDestinationSettings & WithTeletextGridControl(DvbSubDestinationTeletextGridControl &&value)
const DvbSubDestinationOutlineColor & GetOutlineColor() const
DvbSubDestinationSettings & WithOutlineSize(int value)
DvbSubDestinationSettings & WithShadowXOffset(int value)
void SetTeletextGridControl(const DvbSubDestinationTeletextGridControl &value)
void SetFontColor(const DvbSubDestinationFontColor &value)
DvbSubDestinationSettings & WithFont(const InputLocation &value)
void SetOutlineColor(DvbSubDestinationOutlineColor &&value)
DvbSubDestinationSettings & WithShadowColor(const DvbSubDestinationShadowColor &value)
void SetOutlineColor(const DvbSubDestinationOutlineColor &value)
DvbSubDestinationSettings & WithFontSize(const Aws::String &value)
const DvbSubDestinationTeletextGridControl & GetTeletextGridControl() const
DvbSubDestinationSettings & WithBackgroundColor(DvbSubDestinationBackgroundColor &&value)
DvbSubDestinationSettings & WithOutlineColor(const DvbSubDestinationOutlineColor &value)
DvbSubDestinationSettings & WithFontOpacity(int value)
const DvbSubDestinationShadowColor & GetShadowColor() const
void SetFontColor(DvbSubDestinationFontColor &&value)
const DvbSubDestinationAlignment & GetAlignment() const
AWS_MEDIALIVE_API DvbSubDestinationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const DvbSubDestinationFontColor & GetFontColor() const
DvbSubDestinationSettings & WithAlignment(DvbSubDestinationAlignment &&value)
DvbSubDestinationSettings & WithShadowOpacity(int value)
DvbSubDestinationSettings & WithAlignment(const DvbSubDestinationAlignment &value)
DvbSubDestinationSettings & WithOutlineColor(DvbSubDestinationOutlineColor &&value)
void SetBackgroundColor(DvbSubDestinationBackgroundColor &&value)
DvbSubDestinationSettings & WithFontSize(const char *value)
DvbSubDestinationSettings & WithXPosition(int value)
void SetShadowColor(DvbSubDestinationShadowColor &&value)
DvbSubDestinationSettings & WithShadowColor(DvbSubDestinationShadowColor &&value)
void SetShadowColor(const DvbSubDestinationShadowColor &value)
DvbSubDestinationSettings & WithFontColor(DvbSubDestinationFontColor &&value)
AWS_MEDIALIVE_API DvbSubDestinationSettings(Aws::Utils::Json::JsonView jsonValue)
DvbSubDestinationSettings & WithFontColor(const DvbSubDestinationFontColor &value)
DvbSubDestinationSettings & WithBackgroundColor(const DvbSubDestinationBackgroundColor &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue