AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PresetWatermark.h
1
6#pragma once
7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 ElasticTranscoder
22{
23namespace Model
24{
25
43 {
44 public:
45 AWS_ELASTICTRANSCODER_API PresetWatermark();
46 AWS_ELASTICTRANSCODER_API PresetWatermark(Aws::Utils::Json::JsonView jsonValue);
47 AWS_ELASTICTRANSCODER_API PresetWatermark& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
56 inline const Aws::String& GetId() const{ return m_id; }
57 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
58 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
59 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
60 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
61 inline PresetWatermark& WithId(const Aws::String& value) { SetId(value); return *this;}
62 inline PresetWatermark& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
63 inline PresetWatermark& WithId(const char* value) { SetId(value); return *this;}
65
67
77 inline const Aws::String& GetMaxWidth() const{ return m_maxWidth; }
78 inline bool MaxWidthHasBeenSet() const { return m_maxWidthHasBeenSet; }
79 inline void SetMaxWidth(const Aws::String& value) { m_maxWidthHasBeenSet = true; m_maxWidth = value; }
80 inline void SetMaxWidth(Aws::String&& value) { m_maxWidthHasBeenSet = true; m_maxWidth = std::move(value); }
81 inline void SetMaxWidth(const char* value) { m_maxWidthHasBeenSet = true; m_maxWidth.assign(value); }
82 inline PresetWatermark& WithMaxWidth(const Aws::String& value) { SetMaxWidth(value); return *this;}
83 inline PresetWatermark& WithMaxWidth(Aws::String&& value) { SetMaxWidth(std::move(value)); return *this;}
84 inline PresetWatermark& WithMaxWidth(const char* value) { SetMaxWidth(value); return *this;}
86
88
98 inline const Aws::String& GetMaxHeight() const{ return m_maxHeight; }
99 inline bool MaxHeightHasBeenSet() const { return m_maxHeightHasBeenSet; }
100 inline void SetMaxHeight(const Aws::String& value) { m_maxHeightHasBeenSet = true; m_maxHeight = value; }
101 inline void SetMaxHeight(Aws::String&& value) { m_maxHeightHasBeenSet = true; m_maxHeight = std::move(value); }
102 inline void SetMaxHeight(const char* value) { m_maxHeightHasBeenSet = true; m_maxHeight.assign(value); }
103 inline PresetWatermark& WithMaxHeight(const Aws::String& value) { SetMaxHeight(value); return *this;}
104 inline PresetWatermark& WithMaxHeight(Aws::String&& value) { SetMaxHeight(std::move(value)); return *this;}
105 inline PresetWatermark& WithMaxHeight(const char* value) { SetMaxHeight(value); return *this;}
107
109
124 inline const Aws::String& GetSizingPolicy() const{ return m_sizingPolicy; }
125 inline bool SizingPolicyHasBeenSet() const { return m_sizingPolicyHasBeenSet; }
126 inline void SetSizingPolicy(const Aws::String& value) { m_sizingPolicyHasBeenSet = true; m_sizingPolicy = value; }
127 inline void SetSizingPolicy(Aws::String&& value) { m_sizingPolicyHasBeenSet = true; m_sizingPolicy = std::move(value); }
128 inline void SetSizingPolicy(const char* value) { m_sizingPolicyHasBeenSet = true; m_sizingPolicy.assign(value); }
129 inline PresetWatermark& WithSizingPolicy(const Aws::String& value) { SetSizingPolicy(value); return *this;}
130 inline PresetWatermark& WithSizingPolicy(Aws::String&& value) { SetSizingPolicy(std::move(value)); return *this;}
131 inline PresetWatermark& WithSizingPolicy(const char* value) { SetSizingPolicy(value); return *this;}
133
135
143 inline const Aws::String& GetHorizontalAlign() const{ return m_horizontalAlign; }
144 inline bool HorizontalAlignHasBeenSet() const { return m_horizontalAlignHasBeenSet; }
145 inline void SetHorizontalAlign(const Aws::String& value) { m_horizontalAlignHasBeenSet = true; m_horizontalAlign = value; }
146 inline void SetHorizontalAlign(Aws::String&& value) { m_horizontalAlignHasBeenSet = true; m_horizontalAlign = std::move(value); }
147 inline void SetHorizontalAlign(const char* value) { m_horizontalAlignHasBeenSet = true; m_horizontalAlign.assign(value); }
148 inline PresetWatermark& WithHorizontalAlign(const Aws::String& value) { SetHorizontalAlign(value); return *this;}
149 inline PresetWatermark& WithHorizontalAlign(Aws::String&& value) { SetHorizontalAlign(std::move(value)); return *this;}
150 inline PresetWatermark& WithHorizontalAlign(const char* value) { SetHorizontalAlign(value); return *this;}
152
154
172 inline const Aws::String& GetHorizontalOffset() const{ return m_horizontalOffset; }
173 inline bool HorizontalOffsetHasBeenSet() const { return m_horizontalOffsetHasBeenSet; }
174 inline void SetHorizontalOffset(const Aws::String& value) { m_horizontalOffsetHasBeenSet = true; m_horizontalOffset = value; }
175 inline void SetHorizontalOffset(Aws::String&& value) { m_horizontalOffsetHasBeenSet = true; m_horizontalOffset = std::move(value); }
176 inline void SetHorizontalOffset(const char* value) { m_horizontalOffsetHasBeenSet = true; m_horizontalOffset.assign(value); }
177 inline PresetWatermark& WithHorizontalOffset(const Aws::String& value) { SetHorizontalOffset(value); return *this;}
178 inline PresetWatermark& WithHorizontalOffset(Aws::String&& value) { SetHorizontalOffset(std::move(value)); return *this;}
179 inline PresetWatermark& WithHorizontalOffset(const char* value) { SetHorizontalOffset(value); return *this;}
181
183
191 inline const Aws::String& GetVerticalAlign() const{ return m_verticalAlign; }
192 inline bool VerticalAlignHasBeenSet() const { return m_verticalAlignHasBeenSet; }
193 inline void SetVerticalAlign(const Aws::String& value) { m_verticalAlignHasBeenSet = true; m_verticalAlign = value; }
194 inline void SetVerticalAlign(Aws::String&& value) { m_verticalAlignHasBeenSet = true; m_verticalAlign = std::move(value); }
195 inline void SetVerticalAlign(const char* value) { m_verticalAlignHasBeenSet = true; m_verticalAlign.assign(value); }
196 inline PresetWatermark& WithVerticalAlign(const Aws::String& value) { SetVerticalAlign(value); return *this;}
197 inline PresetWatermark& WithVerticalAlign(Aws::String&& value) { SetVerticalAlign(std::move(value)); return *this;}
198 inline PresetWatermark& WithVerticalAlign(const char* value) { SetVerticalAlign(value); return *this;}
200
202
221 inline const Aws::String& GetVerticalOffset() const{ return m_verticalOffset; }
222 inline bool VerticalOffsetHasBeenSet() const { return m_verticalOffsetHasBeenSet; }
223 inline void SetVerticalOffset(const Aws::String& value) { m_verticalOffsetHasBeenSet = true; m_verticalOffset = value; }
224 inline void SetVerticalOffset(Aws::String&& value) { m_verticalOffsetHasBeenSet = true; m_verticalOffset = std::move(value); }
225 inline void SetVerticalOffset(const char* value) { m_verticalOffsetHasBeenSet = true; m_verticalOffset.assign(value); }
226 inline PresetWatermark& WithVerticalOffset(const Aws::String& value) { SetVerticalOffset(value); return *this;}
227 inline PresetWatermark& WithVerticalOffset(Aws::String&& value) { SetVerticalOffset(std::move(value)); return *this;}
228 inline PresetWatermark& WithVerticalOffset(const char* value) { SetVerticalOffset(value); return *this;}
230
232
242 inline const Aws::String& GetOpacity() const{ return m_opacity; }
243 inline bool OpacityHasBeenSet() const { return m_opacityHasBeenSet; }
244 inline void SetOpacity(const Aws::String& value) { m_opacityHasBeenSet = true; m_opacity = value; }
245 inline void SetOpacity(Aws::String&& value) { m_opacityHasBeenSet = true; m_opacity = std::move(value); }
246 inline void SetOpacity(const char* value) { m_opacityHasBeenSet = true; m_opacity.assign(value); }
247 inline PresetWatermark& WithOpacity(const Aws::String& value) { SetOpacity(value); return *this;}
248 inline PresetWatermark& WithOpacity(Aws::String&& value) { SetOpacity(std::move(value)); return *this;}
249 inline PresetWatermark& WithOpacity(const char* value) { SetOpacity(value); return *this;}
251
253
269 inline const Aws::String& GetTarget() const{ return m_target; }
270 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
271 inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; }
272 inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = std::move(value); }
273 inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); }
274 inline PresetWatermark& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
275 inline PresetWatermark& WithTarget(Aws::String&& value) { SetTarget(std::move(value)); return *this;}
276 inline PresetWatermark& WithTarget(const char* value) { SetTarget(value); return *this;}
278 private:
279
280 Aws::String m_id;
281 bool m_idHasBeenSet = false;
282
283 Aws::String m_maxWidth;
284 bool m_maxWidthHasBeenSet = false;
285
286 Aws::String m_maxHeight;
287 bool m_maxHeightHasBeenSet = false;
288
289 Aws::String m_sizingPolicy;
290 bool m_sizingPolicyHasBeenSet = false;
291
292 Aws::String m_horizontalAlign;
293 bool m_horizontalAlignHasBeenSet = false;
294
295 Aws::String m_horizontalOffset;
296 bool m_horizontalOffsetHasBeenSet = false;
297
298 Aws::String m_verticalAlign;
299 bool m_verticalAlignHasBeenSet = false;
300
301 Aws::String m_verticalOffset;
302 bool m_verticalOffsetHasBeenSet = false;
303
304 Aws::String m_opacity;
305 bool m_opacityHasBeenSet = false;
306
307 Aws::String m_target;
308 bool m_targetHasBeenSet = false;
309 };
310
311} // namespace Model
312} // namespace ElasticTranscoder
313} // namespace Aws
PresetWatermark & WithMaxHeight(Aws::String &&value)
PresetWatermark & WithVerticalOffset(const char *value)
AWS_ELASTICTRANSCODER_API PresetWatermark & operator=(Aws::Utils::Json::JsonView jsonValue)
PresetWatermark & WithTarget(const char *value)
AWS_ELASTICTRANSCODER_API PresetWatermark(Aws::Utils::Json::JsonView jsonValue)
PresetWatermark & WithMaxWidth(const char *value)
PresetWatermark & WithVerticalOffset(const Aws::String &value)
PresetWatermark & WithOpacity(Aws::String &&value)
PresetWatermark & WithHorizontalAlign(const char *value)
PresetWatermark & WithOpacity(const char *value)
PresetWatermark & WithHorizontalOffset(Aws::String &&value)
PresetWatermark & WithMaxWidth(Aws::String &&value)
PresetWatermark & WithOpacity(const Aws::String &value)
PresetWatermark & WithSizingPolicy(Aws::String &&value)
PresetWatermark & WithSizingPolicy(const char *value)
PresetWatermark & WithTarget(Aws::String &&value)
void SetHorizontalAlign(const Aws::String &value)
void SetHorizontalOffset(const Aws::String &value)
void SetMaxHeight(const Aws::String &value)
PresetWatermark & WithMaxHeight(const Aws::String &value)
PresetWatermark & WithId(Aws::String &&value)
PresetWatermark & WithVerticalOffset(Aws::String &&value)
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
PresetWatermark & WithHorizontalAlign(Aws::String &&value)
void SetVerticalAlign(const Aws::String &value)
void SetSizingPolicy(const Aws::String &value)
PresetWatermark & WithHorizontalOffset(const char *value)
PresetWatermark & WithVerticalAlign(const Aws::String &value)
PresetWatermark & WithId(const char *value)
PresetWatermark & WithHorizontalOffset(const Aws::String &value)
PresetWatermark & WithId(const Aws::String &value)
void SetVerticalOffset(const Aws::String &value)
PresetWatermark & WithHorizontalAlign(const Aws::String &value)
PresetWatermark & WithVerticalAlign(Aws::String &&value)
PresetWatermark & WithSizingPolicy(const Aws::String &value)
PresetWatermark & WithMaxHeight(const char *value)
PresetWatermark & WithMaxWidth(const Aws::String &value)
PresetWatermark & WithTarget(const Aws::String &value)
void SetMaxWidth(const Aws::String &value)
AWS_ELASTICTRANSCODER_API PresetWatermark()
PresetWatermark & WithVerticalAlign(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue