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 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15   class JsonValue;
16   class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace MediaLive
20 {
21 namespace Model
22 {
23 
24   /**
25    * Settings for a SCTE-35 return_to_network message.<p><h3>See Also:</h3>   <a
26    * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Scte35ReturnToNetworkScheduleActionSettings">AWS
27    * API Reference</a></p>
28    */
29   class AWS_MEDIALIVE_API Scte35ReturnToNetworkScheduleActionSettings
30   {
31   public:
32     Scte35ReturnToNetworkScheduleActionSettings();
33     Scte35ReturnToNetworkScheduleActionSettings(Aws::Utils::Json::JsonView jsonValue);
34     Scte35ReturnToNetworkScheduleActionSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
35     Aws::Utils::Json::JsonValue Jsonize() const;
36 
37 
38     /**
39      * The splice_event_id for the SCTE-35 splice_insert, as defined in SCTE-35.
40      */
GetSpliceEventId()41     inline long long GetSpliceEventId() const{ return m_spliceEventId; }
42 
43     /**
44      * The splice_event_id for the SCTE-35 splice_insert, as defined in SCTE-35.
45      */
SpliceEventIdHasBeenSet()46     inline bool SpliceEventIdHasBeenSet() const { return m_spliceEventIdHasBeenSet; }
47 
48     /**
49      * The splice_event_id for the SCTE-35 splice_insert, as defined in SCTE-35.
50      */
SetSpliceEventId(long long value)51     inline void SetSpliceEventId(long long value) { m_spliceEventIdHasBeenSet = true; m_spliceEventId = value; }
52 
53     /**
54      * The splice_event_id for the SCTE-35 splice_insert, as defined in SCTE-35.
55      */
WithSpliceEventId(long long value)56     inline Scte35ReturnToNetworkScheduleActionSettings& WithSpliceEventId(long long value) { SetSpliceEventId(value); return *this;}
57 
58   private:
59 
60     long long m_spliceEventId;
61     bool m_spliceEventIdHasBeenSet;
62   };
63 
64 } // namespace Model
65 } // namespace MediaLive
66 } // namespace Aws
67