AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
EbuTtDDestinationSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/medialive/model/EbuTtDFillLineGapControl.h>
10#include <aws/medialive/model/EbuTtDDestinationStyleControl.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace MediaLive
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_MEDIALIVE_API EbuTtDDestinationSettings() = default;
39 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetCopyrightHolder() const { return m_copyrightHolder; }
48 inline bool CopyrightHolderHasBeenSet() const { return m_copyrightHolderHasBeenSet; }
49 template<typename CopyrightHolderT = Aws::String>
50 void SetCopyrightHolder(CopyrightHolderT&& value) { m_copyrightHolderHasBeenSet = true; m_copyrightHolder = std::forward<CopyrightHolderT>(value); }
51 template<typename CopyrightHolderT = Aws::String>
52 EbuTtDDestinationSettings& WithCopyrightHolder(CopyrightHolderT&& value) { SetCopyrightHolder(std::forward<CopyrightHolderT>(value)); return *this;}
54
56
61 inline EbuTtDFillLineGapControl GetFillLineGap() const { return m_fillLineGap; }
62 inline bool FillLineGapHasBeenSet() const { return m_fillLineGapHasBeenSet; }
63 inline void SetFillLineGap(EbuTtDFillLineGapControl value) { m_fillLineGapHasBeenSet = true; m_fillLineGap = value; }
66
68
80 inline const Aws::String& GetFontFamily() const { return m_fontFamily; }
81 inline bool FontFamilyHasBeenSet() const { return m_fontFamilyHasBeenSet; }
82 template<typename FontFamilyT = Aws::String>
83 void SetFontFamily(FontFamilyT&& value) { m_fontFamilyHasBeenSet = true; m_fontFamily = std::forward<FontFamilyT>(value); }
84 template<typename FontFamilyT = Aws::String>
85 EbuTtDDestinationSettings& WithFontFamily(FontFamilyT&& value) { SetFontFamily(std::forward<FontFamilyT>(value)); return *this;}
87
89
97 inline EbuTtDDestinationStyleControl GetStyleControl() const { return m_styleControl; }
98 inline bool StyleControlHasBeenSet() const { return m_styleControlHasBeenSet; }
99 inline void SetStyleControl(EbuTtDDestinationStyleControl value) { m_styleControlHasBeenSet = true; m_styleControl = value; }
102
104
109 inline int GetDefaultFontSize() const { return m_defaultFontSize; }
110 inline bool DefaultFontSizeHasBeenSet() const { return m_defaultFontSizeHasBeenSet; }
111 inline void SetDefaultFontSize(int value) { m_defaultFontSizeHasBeenSet = true; m_defaultFontSize = value; }
112 inline EbuTtDDestinationSettings& WithDefaultFontSize(int value) { SetDefaultFontSize(value); return *this;}
114
116
119 inline int GetDefaultLineHeight() const { return m_defaultLineHeight; }
120 inline bool DefaultLineHeightHasBeenSet() const { return m_defaultLineHeightHasBeenSet; }
121 inline void SetDefaultLineHeight(int value) { m_defaultLineHeightHasBeenSet = true; m_defaultLineHeight = value; }
122 inline EbuTtDDestinationSettings& WithDefaultLineHeight(int value) { SetDefaultLineHeight(value); return *this;}
124 private:
125
126 Aws::String m_copyrightHolder;
127 bool m_copyrightHolderHasBeenSet = false;
128
130 bool m_fillLineGapHasBeenSet = false;
131
132 Aws::String m_fontFamily;
133 bool m_fontFamilyHasBeenSet = false;
134
136 bool m_styleControlHasBeenSet = false;
137
138 int m_defaultFontSize{0};
139 bool m_defaultFontSizeHasBeenSet = false;
140
141 int m_defaultLineHeight{0};
142 bool m_defaultLineHeightHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace MediaLive
147} // namespace Aws
AWS_MEDIALIVE_API EbuTtDDestinationSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
EbuTtDDestinationSettings & WithDefaultLineHeight(int value)
EbuTtDDestinationSettings & WithFontFamily(FontFamilyT &&value)
void SetStyleControl(EbuTtDDestinationStyleControl value)
AWS_MEDIALIVE_API EbuTtDDestinationSettings()=default
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
EbuTtDDestinationSettings & WithCopyrightHolder(CopyrightHolderT &&value)
EbuTtDDestinationSettings & WithFillLineGap(EbuTtDFillLineGapControl value)
EbuTtDDestinationStyleControl GetStyleControl() const
EbuTtDDestinationSettings & WithStyleControl(EbuTtDDestinationStyleControl value)
AWS_MEDIALIVE_API EbuTtDDestinationSettings(Aws::Utils::Json::JsonView jsonValue)
EbuTtDDestinationSettings & WithDefaultFontSize(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue