AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename IdT = Aws::String>
59 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
60 template<typename IdT = Aws::String>
61 PresetWatermark& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
63
65
75 inline const Aws::String& GetMaxWidth() const { return m_maxWidth; }
76 inline bool MaxWidthHasBeenSet() const { return m_maxWidthHasBeenSet; }
77 template<typename MaxWidthT = Aws::String>
78 void SetMaxWidth(MaxWidthT&& value) { m_maxWidthHasBeenSet = true; m_maxWidth = std::forward<MaxWidthT>(value); }
79 template<typename MaxWidthT = Aws::String>
80 PresetWatermark& WithMaxWidth(MaxWidthT&& value) { SetMaxWidth(std::forward<MaxWidthT>(value)); return *this;}
82
84
94 inline const Aws::String& GetMaxHeight() const { return m_maxHeight; }
95 inline bool MaxHeightHasBeenSet() const { return m_maxHeightHasBeenSet; }
96 template<typename MaxHeightT = Aws::String>
97 void SetMaxHeight(MaxHeightT&& value) { m_maxHeightHasBeenSet = true; m_maxHeight = std::forward<MaxHeightT>(value); }
98 template<typename MaxHeightT = Aws::String>
99 PresetWatermark& WithMaxHeight(MaxHeightT&& value) { SetMaxHeight(std::forward<MaxHeightT>(value)); return *this;}
101
103
118 inline const Aws::String& GetSizingPolicy() const { return m_sizingPolicy; }
119 inline bool SizingPolicyHasBeenSet() const { return m_sizingPolicyHasBeenSet; }
120 template<typename SizingPolicyT = Aws::String>
121 void SetSizingPolicy(SizingPolicyT&& value) { m_sizingPolicyHasBeenSet = true; m_sizingPolicy = std::forward<SizingPolicyT>(value); }
122 template<typename SizingPolicyT = Aws::String>
123 PresetWatermark& WithSizingPolicy(SizingPolicyT&& value) { SetSizingPolicy(std::forward<SizingPolicyT>(value)); return *this;}
125
127
135 inline const Aws::String& GetHorizontalAlign() const { return m_horizontalAlign; }
136 inline bool HorizontalAlignHasBeenSet() const { return m_horizontalAlignHasBeenSet; }
137 template<typename HorizontalAlignT = Aws::String>
138 void SetHorizontalAlign(HorizontalAlignT&& value) { m_horizontalAlignHasBeenSet = true; m_horizontalAlign = std::forward<HorizontalAlignT>(value); }
139 template<typename HorizontalAlignT = Aws::String>
140 PresetWatermark& WithHorizontalAlign(HorizontalAlignT&& value) { SetHorizontalAlign(std::forward<HorizontalAlignT>(value)); return *this;}
142
144
162 inline const Aws::String& GetHorizontalOffset() const { return m_horizontalOffset; }
163 inline bool HorizontalOffsetHasBeenSet() const { return m_horizontalOffsetHasBeenSet; }
164 template<typename HorizontalOffsetT = Aws::String>
165 void SetHorizontalOffset(HorizontalOffsetT&& value) { m_horizontalOffsetHasBeenSet = true; m_horizontalOffset = std::forward<HorizontalOffsetT>(value); }
166 template<typename HorizontalOffsetT = Aws::String>
167 PresetWatermark& WithHorizontalOffset(HorizontalOffsetT&& value) { SetHorizontalOffset(std::forward<HorizontalOffsetT>(value)); return *this;}
169
171
179 inline const Aws::String& GetVerticalAlign() const { return m_verticalAlign; }
180 inline bool VerticalAlignHasBeenSet() const { return m_verticalAlignHasBeenSet; }
181 template<typename VerticalAlignT = Aws::String>
182 void SetVerticalAlign(VerticalAlignT&& value) { m_verticalAlignHasBeenSet = true; m_verticalAlign = std::forward<VerticalAlignT>(value); }
183 template<typename VerticalAlignT = Aws::String>
184 PresetWatermark& WithVerticalAlign(VerticalAlignT&& value) { SetVerticalAlign(std::forward<VerticalAlignT>(value)); return *this;}
186
188
207 inline const Aws::String& GetVerticalOffset() const { return m_verticalOffset; }
208 inline bool VerticalOffsetHasBeenSet() const { return m_verticalOffsetHasBeenSet; }
209 template<typename VerticalOffsetT = Aws::String>
210 void SetVerticalOffset(VerticalOffsetT&& value) { m_verticalOffsetHasBeenSet = true; m_verticalOffset = std::forward<VerticalOffsetT>(value); }
211 template<typename VerticalOffsetT = Aws::String>
212 PresetWatermark& WithVerticalOffset(VerticalOffsetT&& value) { SetVerticalOffset(std::forward<VerticalOffsetT>(value)); return *this;}
214
216
226 inline const Aws::String& GetOpacity() const { return m_opacity; }
227 inline bool OpacityHasBeenSet() const { return m_opacityHasBeenSet; }
228 template<typename OpacityT = Aws::String>
229 void SetOpacity(OpacityT&& value) { m_opacityHasBeenSet = true; m_opacity = std::forward<OpacityT>(value); }
230 template<typename OpacityT = Aws::String>
231 PresetWatermark& WithOpacity(OpacityT&& value) { SetOpacity(std::forward<OpacityT>(value)); return *this;}
233
235
251 inline const Aws::String& GetTarget() const { return m_target; }
252 inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; }
253 template<typename TargetT = Aws::String>
254 void SetTarget(TargetT&& value) { m_targetHasBeenSet = true; m_target = std::forward<TargetT>(value); }
255 template<typename TargetT = Aws::String>
256 PresetWatermark& WithTarget(TargetT&& value) { SetTarget(std::forward<TargetT>(value)); return *this;}
258 private:
259
260 Aws::String m_id;
261 bool m_idHasBeenSet = false;
262
263 Aws::String m_maxWidth;
264 bool m_maxWidthHasBeenSet = false;
265
266 Aws::String m_maxHeight;
267 bool m_maxHeightHasBeenSet = false;
268
269 Aws::String m_sizingPolicy;
270 bool m_sizingPolicyHasBeenSet = false;
271
272 Aws::String m_horizontalAlign;
273 bool m_horizontalAlignHasBeenSet = false;
274
275 Aws::String m_horizontalOffset;
276 bool m_horizontalOffsetHasBeenSet = false;
277
278 Aws::String m_verticalAlign;
279 bool m_verticalAlignHasBeenSet = false;
280
281 Aws::String m_verticalOffset;
282 bool m_verticalOffsetHasBeenSet = false;
283
284 Aws::String m_opacity;
285 bool m_opacityHasBeenSet = false;
286
287 Aws::String m_target;
288 bool m_targetHasBeenSet = false;
289 };
290
291} // namespace Model
292} // namespace ElasticTranscoder
293} // namespace Aws
PresetWatermark & WithOpacity(OpacityT &&value)
AWS_ELASTICTRANSCODER_API PresetWatermark & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICTRANSCODER_API PresetWatermark(Aws::Utils::Json::JsonView jsonValue)
PresetWatermark & WithHorizontalOffset(HorizontalOffsetT &&value)
void SetHorizontalOffset(HorizontalOffsetT &&value)
AWS_ELASTICTRANSCODER_API PresetWatermark()=default
PresetWatermark & WithTarget(TargetT &&value)
PresetWatermark & WithVerticalAlign(VerticalAlignT &&value)
PresetWatermark & WithVerticalOffset(VerticalOffsetT &&value)
PresetWatermark & WithSizingPolicy(SizingPolicyT &&value)
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
PresetWatermark & WithMaxWidth(MaxWidthT &&value)
PresetWatermark & WithHorizontalAlign(HorizontalAlignT &&value)
void SetVerticalOffset(VerticalOffsetT &&value)
PresetWatermark & WithMaxHeight(MaxHeightT &&value)
void SetHorizontalAlign(HorizontalAlignT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue