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/Scte20Convert608To708.h>
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17   class JsonValue;
18   class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace MediaLive
22 {
23 namespace Model
24 {
25 
26   /**
27    * Scte20 Source Settings<p><h3>See Also:</h3>   <a
28    * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Scte20SourceSettings">AWS
29    * API Reference</a></p>
30    */
31   class AWS_MEDIALIVE_API Scte20SourceSettings
32   {
33   public:
34     Scte20SourceSettings();
35     Scte20SourceSettings(Aws::Utils::Json::JsonView jsonValue);
36     Scte20SourceSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
37     Aws::Utils::Json::JsonValue Jsonize() const;
38 
39 
40     /**
41      * If upconvert, 608 data is both passed through via the "608 compatibility bytes"
42      * fields of the 708 wrapper as well as translated into 708. 708 data present in
43      * the source content will be discarded.
44      */
GetConvert608To708()45     inline const Scte20Convert608To708& GetConvert608To708() const{ return m_convert608To708; }
46 
47     /**
48      * If upconvert, 608 data is both passed through via the "608 compatibility bytes"
49      * fields of the 708 wrapper as well as translated into 708. 708 data present in
50      * the source content will be discarded.
51      */
Convert608To708HasBeenSet()52     inline bool Convert608To708HasBeenSet() const { return m_convert608To708HasBeenSet; }
53 
54     /**
55      * If upconvert, 608 data is both passed through via the "608 compatibility bytes"
56      * fields of the 708 wrapper as well as translated into 708. 708 data present in
57      * the source content will be discarded.
58      */
SetConvert608To708(const Scte20Convert608To708 & value)59     inline void SetConvert608To708(const Scte20Convert608To708& value) { m_convert608To708HasBeenSet = true; m_convert608To708 = value; }
60 
61     /**
62      * If upconvert, 608 data is both passed through via the "608 compatibility bytes"
63      * fields of the 708 wrapper as well as translated into 708. 708 data present in
64      * the source content will be discarded.
65      */
SetConvert608To708(Scte20Convert608To708 && value)66     inline void SetConvert608To708(Scte20Convert608To708&& value) { m_convert608To708HasBeenSet = true; m_convert608To708 = std::move(value); }
67 
68     /**
69      * If upconvert, 608 data is both passed through via the "608 compatibility bytes"
70      * fields of the 708 wrapper as well as translated into 708. 708 data present in
71      * the source content will be discarded.
72      */
WithConvert608To708(const Scte20Convert608To708 & value)73     inline Scte20SourceSettings& WithConvert608To708(const Scte20Convert608To708& value) { SetConvert608To708(value); return *this;}
74 
75     /**
76      * If upconvert, 608 data is both passed through via the "608 compatibility bytes"
77      * fields of the 708 wrapper as well as translated into 708. 708 data present in
78      * the source content will be discarded.
79      */
WithConvert608To708(Scte20Convert608To708 && value)80     inline Scte20SourceSettings& WithConvert608To708(Scte20Convert608To708&& value) { SetConvert608To708(std::move(value)); return *this;}
81 
82 
83     /**
84      * Specifies the 608/708 channel number within the video track from which to
85      * extract captions. Unused for passthrough.
86      */
GetSource608ChannelNumber()87     inline int GetSource608ChannelNumber() const{ return m_source608ChannelNumber; }
88 
89     /**
90      * Specifies the 608/708 channel number within the video track from which to
91      * extract captions. Unused for passthrough.
92      */
Source608ChannelNumberHasBeenSet()93     inline bool Source608ChannelNumberHasBeenSet() const { return m_source608ChannelNumberHasBeenSet; }
94 
95     /**
96      * Specifies the 608/708 channel number within the video track from which to
97      * extract captions. Unused for passthrough.
98      */
SetSource608ChannelNumber(int value)99     inline void SetSource608ChannelNumber(int value) { m_source608ChannelNumberHasBeenSet = true; m_source608ChannelNumber = value; }
100 
101     /**
102      * Specifies the 608/708 channel number within the video track from which to
103      * extract captions. Unused for passthrough.
104      */
WithSource608ChannelNumber(int value)105     inline Scte20SourceSettings& WithSource608ChannelNumber(int value) { SetSource608ChannelNumber(value); return *this;}
106 
107   private:
108 
109     Scte20Convert608To708 m_convert608To708;
110     bool m_convert608To708HasBeenSet;
111 
112     int m_source608ChannelNumber;
113     bool m_source608ChannelNumberHasBeenSet;
114   };
115 
116 } // namespace Model
117 } // namespace MediaLive
118 } // namespace Aws
119