1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
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 #include <utility>
16 
17 namespace Aws
18 {
19 namespace Utils
20 {
21 namespace Json
22 {
23   class JsonValue;
24   class JsonView;
25 } // namespace Json
26 } // namespace Utils
27 namespace MediaLive
28 {
29 namespace Model
30 {
31 
32   /**
33    * Caption Selector Settings<p><h3>See Also:</h3>   <a
34    * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CaptionSelectorSettings">AWS
35    * API Reference</a></p>
36    */
37   class AWS_MEDIALIVE_API CaptionSelectorSettings
38   {
39   public:
40     CaptionSelectorSettings();
41     CaptionSelectorSettings(Aws::Utils::Json::JsonView jsonValue);
42     CaptionSelectorSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
43     Aws::Utils::Json::JsonValue Jsonize() const;
44 
45 
46 
GetAncillarySourceSettings()47     inline const AncillarySourceSettings& GetAncillarySourceSettings() const{ return m_ancillarySourceSettings; }
48 
49 
AncillarySourceSettingsHasBeenSet()50     inline bool AncillarySourceSettingsHasBeenSet() const { return m_ancillarySourceSettingsHasBeenSet; }
51 
52 
SetAncillarySourceSettings(const AncillarySourceSettings & value)53     inline void SetAncillarySourceSettings(const AncillarySourceSettings& value) { m_ancillarySourceSettingsHasBeenSet = true; m_ancillarySourceSettings = value; }
54 
55 
SetAncillarySourceSettings(AncillarySourceSettings && value)56     inline void SetAncillarySourceSettings(AncillarySourceSettings&& value) { m_ancillarySourceSettingsHasBeenSet = true; m_ancillarySourceSettings = std::move(value); }
57 
58 
WithAncillarySourceSettings(const AncillarySourceSettings & value)59     inline CaptionSelectorSettings& WithAncillarySourceSettings(const AncillarySourceSettings& value) { SetAncillarySourceSettings(value); return *this;}
60 
61 
WithAncillarySourceSettings(AncillarySourceSettings && value)62     inline CaptionSelectorSettings& WithAncillarySourceSettings(AncillarySourceSettings&& value) { SetAncillarySourceSettings(std::move(value)); return *this;}
63 
64 
65 
GetAribSourceSettings()66     inline const AribSourceSettings& GetAribSourceSettings() const{ return m_aribSourceSettings; }
67 
68 
AribSourceSettingsHasBeenSet()69     inline bool AribSourceSettingsHasBeenSet() const { return m_aribSourceSettingsHasBeenSet; }
70 
71 
SetAribSourceSettings(const AribSourceSettings & value)72     inline void SetAribSourceSettings(const AribSourceSettings& value) { m_aribSourceSettingsHasBeenSet = true; m_aribSourceSettings = value; }
73 
74 
SetAribSourceSettings(AribSourceSettings && value)75     inline void SetAribSourceSettings(AribSourceSettings&& value) { m_aribSourceSettingsHasBeenSet = true; m_aribSourceSettings = std::move(value); }
76 
77 
WithAribSourceSettings(const AribSourceSettings & value)78     inline CaptionSelectorSettings& WithAribSourceSettings(const AribSourceSettings& value) { SetAribSourceSettings(value); return *this;}
79 
80 
WithAribSourceSettings(AribSourceSettings && value)81     inline CaptionSelectorSettings& WithAribSourceSettings(AribSourceSettings&& value) { SetAribSourceSettings(std::move(value)); return *this;}
82 
83 
84 
GetDvbSubSourceSettings()85     inline const DvbSubSourceSettings& GetDvbSubSourceSettings() const{ return m_dvbSubSourceSettings; }
86 
87 
DvbSubSourceSettingsHasBeenSet()88     inline bool DvbSubSourceSettingsHasBeenSet() const { return m_dvbSubSourceSettingsHasBeenSet; }
89 
90 
SetDvbSubSourceSettings(const DvbSubSourceSettings & value)91     inline void SetDvbSubSourceSettings(const DvbSubSourceSettings& value) { m_dvbSubSourceSettingsHasBeenSet = true; m_dvbSubSourceSettings = value; }
92 
93 
SetDvbSubSourceSettings(DvbSubSourceSettings && value)94     inline void SetDvbSubSourceSettings(DvbSubSourceSettings&& value) { m_dvbSubSourceSettingsHasBeenSet = true; m_dvbSubSourceSettings = std::move(value); }
95 
96 
WithDvbSubSourceSettings(const DvbSubSourceSettings & value)97     inline CaptionSelectorSettings& WithDvbSubSourceSettings(const DvbSubSourceSettings& value) { SetDvbSubSourceSettings(value); return *this;}
98 
99 
WithDvbSubSourceSettings(DvbSubSourceSettings && value)100     inline CaptionSelectorSettings& WithDvbSubSourceSettings(DvbSubSourceSettings&& value) { SetDvbSubSourceSettings(std::move(value)); return *this;}
101 
102 
103 
GetEmbeddedSourceSettings()104     inline const EmbeddedSourceSettings& GetEmbeddedSourceSettings() const{ return m_embeddedSourceSettings; }
105 
106 
EmbeddedSourceSettingsHasBeenSet()107     inline bool EmbeddedSourceSettingsHasBeenSet() const { return m_embeddedSourceSettingsHasBeenSet; }
108 
109 
SetEmbeddedSourceSettings(const EmbeddedSourceSettings & value)110     inline void SetEmbeddedSourceSettings(const EmbeddedSourceSettings& value) { m_embeddedSourceSettingsHasBeenSet = true; m_embeddedSourceSettings = value; }
111 
112 
SetEmbeddedSourceSettings(EmbeddedSourceSettings && value)113     inline void SetEmbeddedSourceSettings(EmbeddedSourceSettings&& value) { m_embeddedSourceSettingsHasBeenSet = true; m_embeddedSourceSettings = std::move(value); }
114 
115 
WithEmbeddedSourceSettings(const EmbeddedSourceSettings & value)116     inline CaptionSelectorSettings& WithEmbeddedSourceSettings(const EmbeddedSourceSettings& value) { SetEmbeddedSourceSettings(value); return *this;}
117 
118 
WithEmbeddedSourceSettings(EmbeddedSourceSettings && value)119     inline CaptionSelectorSettings& WithEmbeddedSourceSettings(EmbeddedSourceSettings&& value) { SetEmbeddedSourceSettings(std::move(value)); return *this;}
120 
121 
122 
GetScte20SourceSettings()123     inline const Scte20SourceSettings& GetScte20SourceSettings() const{ return m_scte20SourceSettings; }
124 
125 
Scte20SourceSettingsHasBeenSet()126     inline bool Scte20SourceSettingsHasBeenSet() const { return m_scte20SourceSettingsHasBeenSet; }
127 
128 
SetScte20SourceSettings(const Scte20SourceSettings & value)129     inline void SetScte20SourceSettings(const Scte20SourceSettings& value) { m_scte20SourceSettingsHasBeenSet = true; m_scte20SourceSettings = value; }
130 
131 
SetScte20SourceSettings(Scte20SourceSettings && value)132     inline void SetScte20SourceSettings(Scte20SourceSettings&& value) { m_scte20SourceSettingsHasBeenSet = true; m_scte20SourceSettings = std::move(value); }
133 
134 
WithScte20SourceSettings(const Scte20SourceSettings & value)135     inline CaptionSelectorSettings& WithScte20SourceSettings(const Scte20SourceSettings& value) { SetScte20SourceSettings(value); return *this;}
136 
137 
WithScte20SourceSettings(Scte20SourceSettings && value)138     inline CaptionSelectorSettings& WithScte20SourceSettings(Scte20SourceSettings&& value) { SetScte20SourceSettings(std::move(value)); return *this;}
139 
140 
141 
GetScte27SourceSettings()142     inline const Scte27SourceSettings& GetScte27SourceSettings() const{ return m_scte27SourceSettings; }
143 
144 
Scte27SourceSettingsHasBeenSet()145     inline bool Scte27SourceSettingsHasBeenSet() const { return m_scte27SourceSettingsHasBeenSet; }
146 
147 
SetScte27SourceSettings(const Scte27SourceSettings & value)148     inline void SetScte27SourceSettings(const Scte27SourceSettings& value) { m_scte27SourceSettingsHasBeenSet = true; m_scte27SourceSettings = value; }
149 
150 
SetScte27SourceSettings(Scte27SourceSettings && value)151     inline void SetScte27SourceSettings(Scte27SourceSettings&& value) { m_scte27SourceSettingsHasBeenSet = true; m_scte27SourceSettings = std::move(value); }
152 
153 
WithScte27SourceSettings(const Scte27SourceSettings & value)154     inline CaptionSelectorSettings& WithScte27SourceSettings(const Scte27SourceSettings& value) { SetScte27SourceSettings(value); return *this;}
155 
156 
WithScte27SourceSettings(Scte27SourceSettings && value)157     inline CaptionSelectorSettings& WithScte27SourceSettings(Scte27SourceSettings&& value) { SetScte27SourceSettings(std::move(value)); return *this;}
158 
159 
160 
GetTeletextSourceSettings()161     inline const TeletextSourceSettings& GetTeletextSourceSettings() const{ return m_teletextSourceSettings; }
162 
163 
TeletextSourceSettingsHasBeenSet()164     inline bool TeletextSourceSettingsHasBeenSet() const { return m_teletextSourceSettingsHasBeenSet; }
165 
166 
SetTeletextSourceSettings(const TeletextSourceSettings & value)167     inline void SetTeletextSourceSettings(const TeletextSourceSettings& value) { m_teletextSourceSettingsHasBeenSet = true; m_teletextSourceSettings = value; }
168 
169 
SetTeletextSourceSettings(TeletextSourceSettings && value)170     inline void SetTeletextSourceSettings(TeletextSourceSettings&& value) { m_teletextSourceSettingsHasBeenSet = true; m_teletextSourceSettings = std::move(value); }
171 
172 
WithTeletextSourceSettings(const TeletextSourceSettings & value)173     inline CaptionSelectorSettings& WithTeletextSourceSettings(const TeletextSourceSettings& value) { SetTeletextSourceSettings(value); return *this;}
174 
175 
WithTeletextSourceSettings(TeletextSourceSettings && value)176     inline CaptionSelectorSettings& WithTeletextSourceSettings(TeletextSourceSettings&& value) { SetTeletextSourceSettings(std::move(value)); return *this;}
177 
178   private:
179 
180     AncillarySourceSettings m_ancillarySourceSettings;
181     bool m_ancillarySourceSettingsHasBeenSet;
182 
183     AribSourceSettings m_aribSourceSettings;
184     bool m_aribSourceSettingsHasBeenSet;
185 
186     DvbSubSourceSettings m_dvbSubSourceSettings;
187     bool m_dvbSubSourceSettingsHasBeenSet;
188 
189     EmbeddedSourceSettings m_embeddedSourceSettings;
190     bool m_embeddedSourceSettingsHasBeenSet;
191 
192     Scte20SourceSettings m_scte20SourceSettings;
193     bool m_scte20SourceSettingsHasBeenSet;
194 
195     Scte27SourceSettings m_scte27SourceSettings;
196     bool m_scte27SourceSettingsHasBeenSet;
197 
198     TeletextSourceSettings m_teletextSourceSettings;
199     bool m_teletextSourceSettingsHasBeenSet;
200   };
201 
202 } // namespace Model
203 } // namespace MediaLive
204 } // namespace Aws
205