AWS SDK for C++  0.14.3
AWS SDK for C++
PresetWatermark.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
18 
19 namespace Aws
20 {
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace ElasticTranscoder
29 {
30 namespace Model
31 {
32 
47  {
48  public:
51  PresetWatermark& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
52  Aws::Utils::Json::JsonValue Jsonize() const;
53 
58  inline const Aws::String& GetId() const{ return m_id; }
59 
64  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
65 
70  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = value; }
71 
76  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
77 
82  inline PresetWatermark& WithId(const Aws::String& value) { SetId(value); return *this;}
83 
88  inline PresetWatermark& WithId(Aws::String&& value) { SetId(value); return *this;}
89 
94  inline PresetWatermark& WithId(const char* value) { SetId(value); return *this;}
95 
106  inline const Aws::String& GetMaxWidth() const{ return m_maxWidth; }
107 
118  inline void SetMaxWidth(const Aws::String& value) { m_maxWidthHasBeenSet = true; m_maxWidth = value; }
119 
130  inline void SetMaxWidth(Aws::String&& value) { m_maxWidthHasBeenSet = true; m_maxWidth = value; }
131 
142  inline void SetMaxWidth(const char* value) { m_maxWidthHasBeenSet = true; m_maxWidth.assign(value); }
143 
154  inline PresetWatermark& WithMaxWidth(const Aws::String& value) { SetMaxWidth(value); return *this;}
155 
166  inline PresetWatermark& WithMaxWidth(Aws::String&& value) { SetMaxWidth(value); return *this;}
167 
178  inline PresetWatermark& WithMaxWidth(const char* value) { SetMaxWidth(value); return *this;}
179 
190  inline const Aws::String& GetMaxHeight() const{ return m_maxHeight; }
191 
202  inline void SetMaxHeight(const Aws::String& value) { m_maxHeightHasBeenSet = true; m_maxHeight = value; }
203 
214  inline void SetMaxHeight(Aws::String&& value) { m_maxHeightHasBeenSet = true; m_maxHeight = value; }
215 
226  inline void SetMaxHeight(const char* value) { m_maxHeightHasBeenSet = true; m_maxHeight.assign(value); }
227 
238  inline PresetWatermark& WithMaxHeight(const Aws::String& value) { SetMaxHeight(value); return *this;}
239 
250  inline PresetWatermark& WithMaxHeight(Aws::String&& value) { SetMaxHeight(value); return *this;}
251 
262  inline PresetWatermark& WithMaxHeight(const char* value) { SetMaxHeight(value); return *this;}
263 
278  inline const Aws::String& GetSizingPolicy() const{ return m_sizingPolicy; }
279 
294  inline void SetSizingPolicy(const Aws::String& value) { m_sizingPolicyHasBeenSet = true; m_sizingPolicy = value; }
295 
310  inline void SetSizingPolicy(Aws::String&& value) { m_sizingPolicyHasBeenSet = true; m_sizingPolicy = value; }
311 
326  inline void SetSizingPolicy(const char* value) { m_sizingPolicyHasBeenSet = true; m_sizingPolicy.assign(value); }
327 
342  inline PresetWatermark& WithSizingPolicy(const Aws::String& value) { SetSizingPolicy(value); return *this;}
343 
358  inline PresetWatermark& WithSizingPolicy(Aws::String&& value) { SetSizingPolicy(value); return *this;}
359 
374  inline PresetWatermark& WithSizingPolicy(const char* value) { SetSizingPolicy(value); return *this;}
375 
384  inline const Aws::String& GetHorizontalAlign() const{ return m_horizontalAlign; }
385 
394  inline void SetHorizontalAlign(const Aws::String& value) { m_horizontalAlignHasBeenSet = true; m_horizontalAlign = value; }
395 
404  inline void SetHorizontalAlign(Aws::String&& value) { m_horizontalAlignHasBeenSet = true; m_horizontalAlign = value; }
405 
414  inline void SetHorizontalAlign(const char* value) { m_horizontalAlignHasBeenSet = true; m_horizontalAlign.assign(value); }
415 
424  inline PresetWatermark& WithHorizontalAlign(const Aws::String& value) { SetHorizontalAlign(value); return *this;}
425 
434  inline PresetWatermark& WithHorizontalAlign(Aws::String&& value) { SetHorizontalAlign(value); return *this;}
435 
444  inline PresetWatermark& WithHorizontalAlign(const char* value) { SetHorizontalAlign(value); return *this;}
445 
464  inline const Aws::String& GetHorizontalOffset() const{ return m_horizontalOffset; }
465 
484  inline void SetHorizontalOffset(const Aws::String& value) { m_horizontalOffsetHasBeenSet = true; m_horizontalOffset = value; }
485 
504  inline void SetHorizontalOffset(Aws::String&& value) { m_horizontalOffsetHasBeenSet = true; m_horizontalOffset = value; }
505 
524  inline void SetHorizontalOffset(const char* value) { m_horizontalOffsetHasBeenSet = true; m_horizontalOffset.assign(value); }
525 
544  inline PresetWatermark& WithHorizontalOffset(const Aws::String& value) { SetHorizontalOffset(value); return *this;}
545 
564  inline PresetWatermark& WithHorizontalOffset(Aws::String&& value) { SetHorizontalOffset(value); return *this;}
565 
584  inline PresetWatermark& WithHorizontalOffset(const char* value) { SetHorizontalOffset(value); return *this;}
585 
594  inline const Aws::String& GetVerticalAlign() const{ return m_verticalAlign; }
595 
604  inline void SetVerticalAlign(const Aws::String& value) { m_verticalAlignHasBeenSet = true; m_verticalAlign = value; }
605 
614  inline void SetVerticalAlign(Aws::String&& value) { m_verticalAlignHasBeenSet = true; m_verticalAlign = value; }
615 
624  inline void SetVerticalAlign(const char* value) { m_verticalAlignHasBeenSet = true; m_verticalAlign.assign(value); }
625 
634  inline PresetWatermark& WithVerticalAlign(const Aws::String& value) { SetVerticalAlign(value); return *this;}
635 
644  inline PresetWatermark& WithVerticalAlign(Aws::String&& value) { SetVerticalAlign(value); return *this;}
645 
654  inline PresetWatermark& WithVerticalAlign(const char* value) { SetVerticalAlign(value); return *this;}
655 
674  inline const Aws::String& GetVerticalOffset() const{ return m_verticalOffset; }
675 
694  inline void SetVerticalOffset(const Aws::String& value) { m_verticalOffsetHasBeenSet = true; m_verticalOffset = value; }
695 
714  inline void SetVerticalOffset(Aws::String&& value) { m_verticalOffsetHasBeenSet = true; m_verticalOffset = value; }
715 
734  inline void SetVerticalOffset(const char* value) { m_verticalOffsetHasBeenSet = true; m_verticalOffset.assign(value); }
735 
754  inline PresetWatermark& WithVerticalOffset(const Aws::String& value) { SetVerticalOffset(value); return *this;}
755 
774  inline PresetWatermark& WithVerticalOffset(Aws::String&& value) { SetVerticalOffset(value); return *this;}
775 
794  inline PresetWatermark& WithVerticalOffset(const char* value) { SetVerticalOffset(value); return *this;}
795 
806  inline const Aws::String& GetOpacity() const{ return m_opacity; }
807 
818  inline void SetOpacity(const Aws::String& value) { m_opacityHasBeenSet = true; m_opacity = value; }
819 
830  inline void SetOpacity(Aws::String&& value) { m_opacityHasBeenSet = true; m_opacity = value; }
831 
842  inline void SetOpacity(const char* value) { m_opacityHasBeenSet = true; m_opacity.assign(value); }
843 
854  inline PresetWatermark& WithOpacity(const Aws::String& value) { SetOpacity(value); return *this;}
855 
866  inline PresetWatermark& WithOpacity(Aws::String&& value) { SetOpacity(value); return *this;}
867 
878  inline PresetWatermark& WithOpacity(const char* value) { SetOpacity(value); return *this;}
879 
896  inline const Aws::String& GetTarget() const{ return m_target; }
897 
914  inline void SetTarget(const Aws::String& value) { m_targetHasBeenSet = true; m_target = value; }
915 
932  inline void SetTarget(Aws::String&& value) { m_targetHasBeenSet = true; m_target = value; }
933 
950  inline void SetTarget(const char* value) { m_targetHasBeenSet = true; m_target.assign(value); }
951 
968  inline PresetWatermark& WithTarget(const Aws::String& value) { SetTarget(value); return *this;}
969 
986  inline PresetWatermark& WithTarget(Aws::String&& value) { SetTarget(value); return *this;}
987 
1004  inline PresetWatermark& WithTarget(const char* value) { SetTarget(value); return *this;}
1005 
1006  private:
1007  Aws::String m_id;
1008  bool m_idHasBeenSet;
1009  Aws::String m_maxWidth;
1010  bool m_maxWidthHasBeenSet;
1011  Aws::String m_maxHeight;
1012  bool m_maxHeightHasBeenSet;
1013  Aws::String m_sizingPolicy;
1014  bool m_sizingPolicyHasBeenSet;
1015  Aws::String m_horizontalAlign;
1016  bool m_horizontalAlignHasBeenSet;
1017  Aws::String m_horizontalOffset;
1018  bool m_horizontalOffsetHasBeenSet;
1019  Aws::String m_verticalAlign;
1020  bool m_verticalAlignHasBeenSet;
1021  Aws::String m_verticalOffset;
1022  bool m_verticalOffsetHasBeenSet;
1023  Aws::String m_opacity;
1024  bool m_opacityHasBeenSet;
1025  Aws::String m_target;
1026  bool m_targetHasBeenSet;
1027  };
1028 
1029 } // namespace Model
1030 } // namespace ElasticTranscoder
1031 } // namespace Aws
PresetWatermark & WithHorizontalAlign(const Aws::String &value)
void SetVerticalAlign(const Aws::String &value)
PresetWatermark & WithOpacity(const char *value)
PresetWatermark & WithTarget(const char *value)
PresetWatermark & WithTarget(const Aws::String &value)
PresetWatermark & WithVerticalAlign(Aws::String &&value)
void SetMaxWidth(const Aws::String &value)
PresetWatermark & WithVerticalAlign(const char *value)
void SetHorizontalOffset(const Aws::String &value)
PresetWatermark & WithVerticalAlign(const Aws::String &value)
const Aws::String & GetSizingPolicy() const
PresetWatermark & WithSizingPolicy(const Aws::String &value)
void SetOpacity(const Aws::String &value)
PresetWatermark & WithMaxWidth(const char *value)
PresetWatermark & WithHorizontalOffset(const char *value)
PresetWatermark & WithId(const char *value)
PresetWatermark & WithMaxHeight(const char *value)
void SetMaxHeight(const Aws::String &value)
PresetWatermark & WithMaxWidth(Aws::String &&value)
PresetWatermark & WithOpacity(const Aws::String &value)
const Aws::String & GetVerticalAlign() const
PresetWatermark & WithVerticalOffset(Aws::String &&value)
PresetWatermark & WithTarget(Aws::String &&value)
PresetWatermark & WithSizingPolicy(const char *value)
const Aws::String & GetHorizontalOffset() const
PresetWatermark & WithOpacity(Aws::String &&value)
#define AWS_ELASTICTRANSCODER_API
PresetWatermark & WithId(Aws::String &&value)
PresetWatermark & WithSizingPolicy(Aws::String &&value)
PresetWatermark & WithMaxHeight(const Aws::String &value)
void SetSizingPolicy(const Aws::String &value)
const Aws::String & GetVerticalOffset() const
PresetWatermark & WithId(const Aws::String &value)
PresetWatermark & WithHorizontalAlign(Aws::String &&value)
void SetVerticalOffset(const Aws::String &value)
PresetWatermark & WithMaxHeight(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
PresetWatermark & WithMaxWidth(const Aws::String &value)
void SetTarget(const Aws::String &value)
PresetWatermark & WithHorizontalOffset(Aws::String &&value)
const Aws::String & GetHorizontalAlign() const
PresetWatermark & WithHorizontalAlign(const char *value)
PresetWatermark & WithHorizontalOffset(const Aws::String &value)
PresetWatermark & WithVerticalOffset(const Aws::String &value)
PresetWatermark & WithVerticalOffset(const char *value)
JSON (JavaScript Object Notation).
void SetHorizontalAlign(const Aws::String &value)