AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StaticImageActivateScheduleActionSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/InputLocation.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaLive
22{
23namespace Model
24{
25
32 {
33 public:
37 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
46 inline int GetDuration() const{ return m_duration; }
47 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
48 inline void SetDuration(int value) { m_durationHasBeenSet = true; m_duration = value; }
49 inline StaticImageActivateScheduleActionSettings& WithDuration(int value) { SetDuration(value); return *this;}
51
53
57 inline int GetFadeIn() const{ return m_fadeIn; }
58 inline bool FadeInHasBeenSet() const { return m_fadeInHasBeenSet; }
59 inline void SetFadeIn(int value) { m_fadeInHasBeenSet = true; m_fadeIn = value; }
60 inline StaticImageActivateScheduleActionSettings& WithFadeIn(int value) { SetFadeIn(value); return *this;}
62
64
69 inline int GetFadeOut() const{ return m_fadeOut; }
70 inline bool FadeOutHasBeenSet() const { return m_fadeOutHasBeenSet; }
71 inline void SetFadeOut(int value) { m_fadeOutHasBeenSet = true; m_fadeOut = value; }
72 inline StaticImageActivateScheduleActionSettings& WithFadeOut(int value) { SetFadeOut(value); return *this;}
74
76
81 inline int GetHeight() const{ return m_height; }
82 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
83 inline void SetHeight(int value) { m_heightHasBeenSet = true; m_height = value; }
84 inline StaticImageActivateScheduleActionSettings& WithHeight(int value) { SetHeight(value); return *this;}
86
88
93 inline const InputLocation& GetImage() const{ return m_image; }
94 inline bool ImageHasBeenSet() const { return m_imageHasBeenSet; }
95 inline void SetImage(const InputLocation& value) { m_imageHasBeenSet = true; m_image = value; }
96 inline void SetImage(InputLocation&& value) { m_imageHasBeenSet = true; m_image = std::move(value); }
97 inline StaticImageActivateScheduleActionSettings& WithImage(const InputLocation& value) { SetImage(value); return *this;}
98 inline StaticImageActivateScheduleActionSettings& WithImage(InputLocation&& value) { SetImage(std::move(value)); return *this;}
100
102
108 inline int GetImageX() const{ return m_imageX; }
109 inline bool ImageXHasBeenSet() const { return m_imageXHasBeenSet; }
110 inline void SetImageX(int value) { m_imageXHasBeenSet = true; m_imageX = value; }
111 inline StaticImageActivateScheduleActionSettings& WithImageX(int value) { SetImageX(value); return *this;}
113
115
121 inline int GetImageY() const{ return m_imageY; }
122 inline bool ImageYHasBeenSet() const { return m_imageYHasBeenSet; }
123 inline void SetImageY(int value) { m_imageYHasBeenSet = true; m_imageY = value; }
124 inline StaticImageActivateScheduleActionSettings& WithImageY(int value) { SetImageY(value); return *this;}
126
128
134 inline int GetLayer() const{ return m_layer; }
135 inline bool LayerHasBeenSet() const { return m_layerHasBeenSet; }
136 inline void SetLayer(int value) { m_layerHasBeenSet = true; m_layer = value; }
137 inline StaticImageActivateScheduleActionSettings& WithLayer(int value) { SetLayer(value); return *this;}
139
141
144 inline int GetOpacity() const{ return m_opacity; }
145 inline bool OpacityHasBeenSet() const { return m_opacityHasBeenSet; }
146 inline void SetOpacity(int value) { m_opacityHasBeenSet = true; m_opacity = value; }
147 inline StaticImageActivateScheduleActionSettings& WithOpacity(int value) { SetOpacity(value); return *this;}
149
151
156 inline int GetWidth() const{ return m_width; }
157 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
158 inline void SetWidth(int value) { m_widthHasBeenSet = true; m_width = value; }
159 inline StaticImageActivateScheduleActionSettings& WithWidth(int value) { SetWidth(value); return *this;}
161 private:
162
163 int m_duration;
164 bool m_durationHasBeenSet = false;
165
166 int m_fadeIn;
167 bool m_fadeInHasBeenSet = false;
168
169 int m_fadeOut;
170 bool m_fadeOutHasBeenSet = false;
171
172 int m_height;
173 bool m_heightHasBeenSet = false;
174
175 InputLocation m_image;
176 bool m_imageHasBeenSet = false;
177
178 int m_imageX;
179 bool m_imageXHasBeenSet = false;
180
181 int m_imageY;
182 bool m_imageYHasBeenSet = false;
183
184 int m_layer;
185 bool m_layerHasBeenSet = false;
186
187 int m_opacity;
188 bool m_opacityHasBeenSet = false;
189
190 int m_width;
191 bool m_widthHasBeenSet = false;
192 };
193
194} // namespace Model
195} // namespace MediaLive
196} // namespace Aws
StaticImageActivateScheduleActionSettings & WithImage(const InputLocation &value)
AWS_MEDIALIVE_API StaticImageActivateScheduleActionSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
StaticImageActivateScheduleActionSettings & WithImage(InputLocation &&value)
AWS_MEDIALIVE_API StaticImageActivateScheduleActionSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue