AWS SDK for C++  0.14.3
AWS SDK for C++
JobWatermark.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
19 
20 namespace Aws
21 {
22 namespace Utils
23 {
24 namespace Json
25 {
26  class JsonValue;
27 } // namespace Json
28 } // namespace Utils
29 namespace ElasticTranscoder
30 {
31 namespace Model
32 {
33 
39  {
40  public:
41  JobWatermark();
42  JobWatermark(const Aws::Utils::Json::JsonValue& jsonValue);
43  JobWatermark& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
44  Aws::Utils::Json::JsonValue Jsonize() const;
45 
52  inline const Aws::String& GetPresetWatermarkId() const{ return m_presetWatermarkId; }
53 
60  inline void SetPresetWatermarkId(const Aws::String& value) { m_presetWatermarkIdHasBeenSet = true; m_presetWatermarkId = value; }
61 
68  inline void SetPresetWatermarkId(Aws::String&& value) { m_presetWatermarkIdHasBeenSet = true; m_presetWatermarkId = value; }
69 
76  inline void SetPresetWatermarkId(const char* value) { m_presetWatermarkIdHasBeenSet = true; m_presetWatermarkId.assign(value); }
77 
84  inline JobWatermark& WithPresetWatermarkId(const Aws::String& value) { SetPresetWatermarkId(value); return *this;}
85 
92  inline JobWatermark& WithPresetWatermarkId(Aws::String&& value) { SetPresetWatermarkId(value); return *this;}
93 
100  inline JobWatermark& WithPresetWatermarkId(const char* value) { SetPresetWatermarkId(value); return *this;}
101 
111  inline const Aws::String& GetInputKey() const{ return m_inputKey; }
112 
122  inline void SetInputKey(const Aws::String& value) { m_inputKeyHasBeenSet = true; m_inputKey = value; }
123 
133  inline void SetInputKey(Aws::String&& value) { m_inputKeyHasBeenSet = true; m_inputKey = value; }
134 
144  inline void SetInputKey(const char* value) { m_inputKeyHasBeenSet = true; m_inputKey.assign(value); }
145 
155  inline JobWatermark& WithInputKey(const Aws::String& value) { SetInputKey(value); return *this;}
156 
166  inline JobWatermark& WithInputKey(Aws::String&& value) { SetInputKey(value); return *this;}
167 
177  inline JobWatermark& WithInputKey(const char* value) { SetInputKey(value); return *this;}
178 
183  inline const Encryption& GetEncryption() const{ return m_encryption; }
184 
189  inline void SetEncryption(const Encryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
190 
195  inline void SetEncryption(Encryption&& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
196 
201  inline JobWatermark& WithEncryption(const Encryption& value) { SetEncryption(value); return *this;}
202 
207  inline JobWatermark& WithEncryption(Encryption&& value) { SetEncryption(value); return *this;}
208 
209  private:
210  Aws::String m_presetWatermarkId;
211  bool m_presetWatermarkIdHasBeenSet;
212  Aws::String m_inputKey;
213  bool m_inputKeyHasBeenSet;
214  Encryption m_encryption;
215  bool m_encryptionHasBeenSet;
216  };
217 
218 } // namespace Model
219 } // namespace ElasticTranscoder
220 } // namespace Aws
const Aws::String & GetInputKey() const
Definition: JobWatermark.h:111
void SetPresetWatermarkId(const Aws::String &value)
Definition: JobWatermark.h:60
JobWatermark & WithEncryption(Encryption &&value)
Definition: JobWatermark.h:207
void SetInputKey(const Aws::String &value)
Definition: JobWatermark.h:122
const Aws::String & GetPresetWatermarkId() const
Definition: JobWatermark.h:52
JobWatermark & WithInputKey(const char *value)
Definition: JobWatermark.h:177
JobWatermark & WithPresetWatermarkId(const char *value)
Definition: JobWatermark.h:100
void SetEncryption(const Encryption &value)
Definition: JobWatermark.h:189
JobWatermark & WithPresetWatermarkId(const Aws::String &value)
Definition: JobWatermark.h:84
void SetPresetWatermarkId(const char *value)
Definition: JobWatermark.h:76
#define AWS_ELASTICTRANSCODER_API
JobWatermark & WithInputKey(const Aws::String &value)
Definition: JobWatermark.h:155
const Encryption & GetEncryption() const
Definition: JobWatermark.h:183
JobWatermark & WithEncryption(const Encryption &value)
Definition: JobWatermark.h:201
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
JobWatermark & WithInputKey(Aws::String &&value)
Definition: JobWatermark.h:166
JobWatermark & WithPresetWatermarkId(Aws::String &&value)
Definition: JobWatermark.h:92
void SetPresetWatermarkId(Aws::String &&value)
Definition: JobWatermark.h:68
JSON (JavaScript Object Notation).