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 the action to deactivate the image in a specific layer.<p><h3>See
26    * Also:</h3>   <a
27    * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StaticImageDeactivateScheduleActionSettings">AWS
28    * API Reference</a></p>
29    */
30   class AWS_MEDIALIVE_API StaticImageDeactivateScheduleActionSettings
31   {
32   public:
33     StaticImageDeactivateScheduleActionSettings();
34     StaticImageDeactivateScheduleActionSettings(Aws::Utils::Json::JsonView jsonValue);
35     StaticImageDeactivateScheduleActionSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
36     Aws::Utils::Json::JsonValue Jsonize() const;
37 
38 
39     /**
40      * The time in milliseconds for the image to fade out. Default is 0 (no fade-out).
41      */
GetFadeOut()42     inline int GetFadeOut() const{ return m_fadeOut; }
43 
44     /**
45      * The time in milliseconds for the image to fade out. Default is 0 (no fade-out).
46      */
FadeOutHasBeenSet()47     inline bool FadeOutHasBeenSet() const { return m_fadeOutHasBeenSet; }
48 
49     /**
50      * The time in milliseconds for the image to fade out. Default is 0 (no fade-out).
51      */
SetFadeOut(int value)52     inline void SetFadeOut(int value) { m_fadeOutHasBeenSet = true; m_fadeOut = value; }
53 
54     /**
55      * The time in milliseconds for the image to fade out. Default is 0 (no fade-out).
56      */
WithFadeOut(int value)57     inline StaticImageDeactivateScheduleActionSettings& WithFadeOut(int value) { SetFadeOut(value); return *this;}
58 
59 
60     /**
61      * The image overlay layer to deactivate, 0 to 7. Default is 0.
62      */
GetLayer()63     inline int GetLayer() const{ return m_layer; }
64 
65     /**
66      * The image overlay layer to deactivate, 0 to 7. Default is 0.
67      */
LayerHasBeenSet()68     inline bool LayerHasBeenSet() const { return m_layerHasBeenSet; }
69 
70     /**
71      * The image overlay layer to deactivate, 0 to 7. Default is 0.
72      */
SetLayer(int value)73     inline void SetLayer(int value) { m_layerHasBeenSet = true; m_layer = value; }
74 
75     /**
76      * The image overlay layer to deactivate, 0 to 7. Default is 0.
77      */
WithLayer(int value)78     inline StaticImageDeactivateScheduleActionSettings& WithLayer(int value) { SetLayer(value); return *this;}
79 
80   private:
81 
82     int m_fadeOut;
83     bool m_fadeOutHasBeenSet;
84 
85     int m_layer;
86     bool m_layerHasBeenSet;
87   };
88 
89 } // namespace Model
90 } // namespace MediaLive
91 } // namespace Aws
92