AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
CaptionSelectorSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/AncillarySourceSettings.h>
9#include <aws/medialive/model/AribSourceSettings.h>
10#include <aws/medialive/model/DvbSubSourceSettings.h>
11#include <aws/medialive/model/EmbeddedSourceSettings.h>
12#include <aws/medialive/model/Scte20SourceSettings.h>
13#include <aws/medialive/model/Scte27SourceSettings.h>
14#include <aws/medialive/model/TeletextSourceSettings.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace MediaLive {
26namespace Model {
27
34 public:
35 AWS_MEDIALIVE_API CaptionSelectorSettings() = default;
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
42 inline const AncillarySourceSettings& GetAncillarySourceSettings() const { return m_ancillarySourceSettings; }
43 inline bool AncillarySourceSettingsHasBeenSet() const { return m_ancillarySourceSettingsHasBeenSet; }
44 template <typename AncillarySourceSettingsT = AncillarySourceSettings>
45 void SetAncillarySourceSettings(AncillarySourceSettingsT&& value) {
46 m_ancillarySourceSettingsHasBeenSet = true;
47 m_ancillarySourceSettings = std::forward<AncillarySourceSettingsT>(value);
48 }
49 template <typename AncillarySourceSettingsT = AncillarySourceSettings>
50 CaptionSelectorSettings& WithAncillarySourceSettings(AncillarySourceSettingsT&& value) {
51 SetAncillarySourceSettings(std::forward<AncillarySourceSettingsT>(value));
52 return *this;
53 }
55
57
58 inline const AribSourceSettings& GetAribSourceSettings() const { return m_aribSourceSettings; }
59 inline bool AribSourceSettingsHasBeenSet() const { return m_aribSourceSettingsHasBeenSet; }
60 template <typename AribSourceSettingsT = AribSourceSettings>
61 void SetAribSourceSettings(AribSourceSettingsT&& value) {
62 m_aribSourceSettingsHasBeenSet = true;
63 m_aribSourceSettings = std::forward<AribSourceSettingsT>(value);
64 }
65 template <typename AribSourceSettingsT = AribSourceSettings>
66 CaptionSelectorSettings& WithAribSourceSettings(AribSourceSettingsT&& value) {
67 SetAribSourceSettings(std::forward<AribSourceSettingsT>(value));
68 return *this;
69 }
71
73
74 inline const DvbSubSourceSettings& GetDvbSubSourceSettings() const { return m_dvbSubSourceSettings; }
75 inline bool DvbSubSourceSettingsHasBeenSet() const { return m_dvbSubSourceSettingsHasBeenSet; }
76 template <typename DvbSubSourceSettingsT = DvbSubSourceSettings>
77 void SetDvbSubSourceSettings(DvbSubSourceSettingsT&& value) {
78 m_dvbSubSourceSettingsHasBeenSet = true;
79 m_dvbSubSourceSettings = std::forward<DvbSubSourceSettingsT>(value);
80 }
81 template <typename DvbSubSourceSettingsT = DvbSubSourceSettings>
82 CaptionSelectorSettings& WithDvbSubSourceSettings(DvbSubSourceSettingsT&& value) {
83 SetDvbSubSourceSettings(std::forward<DvbSubSourceSettingsT>(value));
84 return *this;
85 }
87
89
90 inline const EmbeddedSourceSettings& GetEmbeddedSourceSettings() const { return m_embeddedSourceSettings; }
91 inline bool EmbeddedSourceSettingsHasBeenSet() const { return m_embeddedSourceSettingsHasBeenSet; }
92 template <typename EmbeddedSourceSettingsT = EmbeddedSourceSettings>
93 void SetEmbeddedSourceSettings(EmbeddedSourceSettingsT&& value) {
94 m_embeddedSourceSettingsHasBeenSet = true;
95 m_embeddedSourceSettings = std::forward<EmbeddedSourceSettingsT>(value);
96 }
97 template <typename EmbeddedSourceSettingsT = EmbeddedSourceSettings>
98 CaptionSelectorSettings& WithEmbeddedSourceSettings(EmbeddedSourceSettingsT&& value) {
99 SetEmbeddedSourceSettings(std::forward<EmbeddedSourceSettingsT>(value));
100 return *this;
101 }
103
105
106 inline const Scte20SourceSettings& GetScte20SourceSettings() const { return m_scte20SourceSettings; }
107 inline bool Scte20SourceSettingsHasBeenSet() const { return m_scte20SourceSettingsHasBeenSet; }
108 template <typename Scte20SourceSettingsT = Scte20SourceSettings>
109 void SetScte20SourceSettings(Scte20SourceSettingsT&& value) {
110 m_scte20SourceSettingsHasBeenSet = true;
111 m_scte20SourceSettings = std::forward<Scte20SourceSettingsT>(value);
112 }
113 template <typename Scte20SourceSettingsT = Scte20SourceSettings>
114 CaptionSelectorSettings& WithScte20SourceSettings(Scte20SourceSettingsT&& value) {
115 SetScte20SourceSettings(std::forward<Scte20SourceSettingsT>(value));
116 return *this;
117 }
119
121
122 inline const Scte27SourceSettings& GetScte27SourceSettings() const { return m_scte27SourceSettings; }
123 inline bool Scte27SourceSettingsHasBeenSet() const { return m_scte27SourceSettingsHasBeenSet; }
124 template <typename Scte27SourceSettingsT = Scte27SourceSettings>
125 void SetScte27SourceSettings(Scte27SourceSettingsT&& value) {
126 m_scte27SourceSettingsHasBeenSet = true;
127 m_scte27SourceSettings = std::forward<Scte27SourceSettingsT>(value);
128 }
129 template <typename Scte27SourceSettingsT = Scte27SourceSettings>
130 CaptionSelectorSettings& WithScte27SourceSettings(Scte27SourceSettingsT&& value) {
131 SetScte27SourceSettings(std::forward<Scte27SourceSettingsT>(value));
132 return *this;
133 }
135
137
138 inline const TeletextSourceSettings& GetTeletextSourceSettings() const { return m_teletextSourceSettings; }
139 inline bool TeletextSourceSettingsHasBeenSet() const { return m_teletextSourceSettingsHasBeenSet; }
140 template <typename TeletextSourceSettingsT = TeletextSourceSettings>
141 void SetTeletextSourceSettings(TeletextSourceSettingsT&& value) {
142 m_teletextSourceSettingsHasBeenSet = true;
143 m_teletextSourceSettings = std::forward<TeletextSourceSettingsT>(value);
144 }
145 template <typename TeletextSourceSettingsT = TeletextSourceSettings>
146 CaptionSelectorSettings& WithTeletextSourceSettings(TeletextSourceSettingsT&& value) {
147 SetTeletextSourceSettings(std::forward<TeletextSourceSettingsT>(value));
148 return *this;
149 }
151 private:
152 AncillarySourceSettings m_ancillarySourceSettings;
153
154 AribSourceSettings m_aribSourceSettings;
155
156 DvbSubSourceSettings m_dvbSubSourceSettings;
157
158 EmbeddedSourceSettings m_embeddedSourceSettings;
159
160 Scte20SourceSettings m_scte20SourceSettings;
161
162 Scte27SourceSettings m_scte27SourceSettings;
163
164 TeletextSourceSettings m_teletextSourceSettings;
165 bool m_ancillarySourceSettingsHasBeenSet = false;
166 bool m_aribSourceSettingsHasBeenSet = false;
167 bool m_dvbSubSourceSettingsHasBeenSet = false;
168 bool m_embeddedSourceSettingsHasBeenSet = false;
169 bool m_scte20SourceSettingsHasBeenSet = false;
170 bool m_scte27SourceSettingsHasBeenSet = false;
171 bool m_teletextSourceSettingsHasBeenSet = false;
172};
173
174} // namespace Model
175} // namespace MediaLive
176} // namespace Aws
const Scte20SourceSettings & GetScte20SourceSettings() const
const EmbeddedSourceSettings & GetEmbeddedSourceSettings() const
const Scte27SourceSettings & GetScte27SourceSettings() const
void SetAncillarySourceSettings(AncillarySourceSettingsT &&value)
CaptionSelectorSettings & WithDvbSubSourceSettings(DvbSubSourceSettingsT &&value)
AWS_MEDIALIVE_API CaptionSelectorSettings(Aws::Utils::Json::JsonView jsonValue)
CaptionSelectorSettings & WithAncillarySourceSettings(AncillarySourceSettingsT &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetAribSourceSettings(AribSourceSettingsT &&value)
CaptionSelectorSettings & WithScte20SourceSettings(Scte20SourceSettingsT &&value)
AWS_MEDIALIVE_API CaptionSelectorSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTeletextSourceSettings(TeletextSourceSettingsT &&value)
void SetEmbeddedSourceSettings(EmbeddedSourceSettingsT &&value)
CaptionSelectorSettings & WithEmbeddedSourceSettings(EmbeddedSourceSettingsT &&value)
void SetScte20SourceSettings(Scte20SourceSettingsT &&value)
const TeletextSourceSettings & GetTeletextSourceSettings() const
const AncillarySourceSettings & GetAncillarySourceSettings() const
void SetDvbSubSourceSettings(DvbSubSourceSettingsT &&value)
CaptionSelectorSettings & WithScte27SourceSettings(Scte27SourceSettingsT &&value)
AWS_MEDIALIVE_API CaptionSelectorSettings()=default
const DvbSubSourceSettings & GetDvbSubSourceSettings() const
void SetScte27SourceSettings(Scte27SourceSettingsT &&value)
CaptionSelectorSettings & WithTeletextSourceSettings(TeletextSourceSettingsT &&value)
CaptionSelectorSettings & WithAribSourceSettings(AribSourceSettingsT &&value)
const AribSourceSettings & GetAribSourceSettings() const
Aws::Utils::Json::JsonValue JsonValue