AWS SDK for C++  0.12.9
AWS SDK for C++
JobInput.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
20 
21 namespace Aws
22 {
23 namespace Utils
24 {
25 namespace Json
26 {
27  class JsonValue;
28 } // namespace Json
29 } // namespace Utils
30 namespace ElasticTranscoder
31 {
32 namespace Model
33 {
34 
39  {
40  public:
41  JobInput();
42  JobInput(const Aws::Utils::Json::JsonValue& jsonValue);
43  JobInput& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
44  Aws::Utils::Json::JsonValue Jsonize() const;
45 
55  inline const Aws::String& GetKey() const{ return m_key; }
56 
66  inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
67 
77  inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = value; }
78 
88  inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
89 
99  inline JobInput& WithKey(const Aws::String& value) { SetKey(value); return *this;}
100 
110  inline JobInput& WithKey(Aws::String&& value) { SetKey(value); return *this;}
111 
121  inline JobInput& WithKey(const char* value) { SetKey(value); return *this;}
122 
133  inline const Aws::String& GetFrameRate() const{ return m_frameRate; }
134 
145  inline void SetFrameRate(const Aws::String& value) { m_frameRateHasBeenSet = true; m_frameRate = value; }
146 
157  inline void SetFrameRate(Aws::String&& value) { m_frameRateHasBeenSet = true; m_frameRate = value; }
158 
169  inline void SetFrameRate(const char* value) { m_frameRateHasBeenSet = true; m_frameRate.assign(value); }
170 
181  inline JobInput& WithFrameRate(const Aws::String& value) { SetFrameRate(value); return *this;}
182 
193  inline JobInput& WithFrameRate(Aws::String&& value) { SetFrameRate(value); return *this;}
194 
205  inline JobInput& WithFrameRate(const char* value) { SetFrameRate(value); return *this;}
206 
211  inline const Aws::String& GetResolution() const{ return m_resolution; }
212 
217  inline void SetResolution(const Aws::String& value) { m_resolutionHasBeenSet = true; m_resolution = value; }
218 
223  inline void SetResolution(Aws::String&& value) { m_resolutionHasBeenSet = true; m_resolution = value; }
224 
229  inline void SetResolution(const char* value) { m_resolutionHasBeenSet = true; m_resolution.assign(value); }
230 
235  inline JobInput& WithResolution(const Aws::String& value) { SetResolution(value); return *this;}
236 
241  inline JobInput& WithResolution(Aws::String&& value) { SetResolution(value); return *this;}
242 
247  inline JobInput& WithResolution(const char* value) { SetResolution(value); return *this;}
248 
258  inline const Aws::String& GetAspectRatio() const{ return m_aspectRatio; }
259 
269  inline void SetAspectRatio(const Aws::String& value) { m_aspectRatioHasBeenSet = true; m_aspectRatio = value; }
270 
280  inline void SetAspectRatio(Aws::String&& value) { m_aspectRatioHasBeenSet = true; m_aspectRatio = value; }
281 
291  inline void SetAspectRatio(const char* value) { m_aspectRatioHasBeenSet = true; m_aspectRatio.assign(value); }
292 
302  inline JobInput& WithAspectRatio(const Aws::String& value) { SetAspectRatio(value); return *this;}
303 
313  inline JobInput& WithAspectRatio(Aws::String&& value) { SetAspectRatio(value); return *this;}
314 
324  inline JobInput& WithAspectRatio(const char* value) { SetAspectRatio(value); return *this;}
325 
334  inline const Aws::String& GetInterlaced() const{ return m_interlaced; }
335 
344  inline void SetInterlaced(const Aws::String& value) { m_interlacedHasBeenSet = true; m_interlaced = value; }
345 
354  inline void SetInterlaced(Aws::String&& value) { m_interlacedHasBeenSet = true; m_interlaced = value; }
355 
364  inline void SetInterlaced(const char* value) { m_interlacedHasBeenSet = true; m_interlaced.assign(value); }
365 
374  inline JobInput& WithInterlaced(const Aws::String& value) { SetInterlaced(value); return *this;}
375 
384  inline JobInput& WithInterlaced(Aws::String&& value) { SetInterlaced(value); return *this;}
385 
394  inline JobInput& WithInterlaced(const char* value) { SetInterlaced(value); return *this;}
395 
407  inline const Aws::String& GetContainer() const{ return m_container; }
408 
420  inline void SetContainer(const Aws::String& value) { m_containerHasBeenSet = true; m_container = value; }
421 
433  inline void SetContainer(Aws::String&& value) { m_containerHasBeenSet = true; m_container = value; }
434 
446  inline void SetContainer(const char* value) { m_containerHasBeenSet = true; m_container.assign(value); }
447 
459  inline JobInput& WithContainer(const Aws::String& value) { SetContainer(value); return *this;}
460 
472  inline JobInput& WithContainer(Aws::String&& value) { SetContainer(value); return *this;}
473 
485  inline JobInput& WithContainer(const char* value) { SetContainer(value); return *this;}
486 
492  inline const Encryption& GetEncryption() const{ return m_encryption; }
493 
499  inline void SetEncryption(const Encryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
500 
506  inline void SetEncryption(Encryption&& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
507 
513  inline JobInput& WithEncryption(const Encryption& value) { SetEncryption(value); return *this;}
514 
520  inline JobInput& WithEncryption(Encryption&& value) { SetEncryption(value); return *this;}
521 
525  inline const DetectedProperties& GetDetectedProperties() const{ return m_detectedProperties; }
526 
530  inline void SetDetectedProperties(const DetectedProperties& value) { m_detectedPropertiesHasBeenSet = true; m_detectedProperties = value; }
531 
535  inline void SetDetectedProperties(DetectedProperties&& value) { m_detectedPropertiesHasBeenSet = true; m_detectedProperties = value; }
536 
540  inline JobInput& WithDetectedProperties(const DetectedProperties& value) { SetDetectedProperties(value); return *this;}
541 
545  inline JobInput& WithDetectedProperties(DetectedProperties&& value) { SetDetectedProperties(value); return *this;}
546 
547  private:
548  Aws::String m_key;
549  bool m_keyHasBeenSet;
550  Aws::String m_frameRate;
551  bool m_frameRateHasBeenSet;
552  Aws::String m_resolution;
553  bool m_resolutionHasBeenSet;
554  Aws::String m_aspectRatio;
555  bool m_aspectRatioHasBeenSet;
556  Aws::String m_interlaced;
557  bool m_interlacedHasBeenSet;
558  Aws::String m_container;
559  bool m_containerHasBeenSet;
560  Encryption m_encryption;
561  bool m_encryptionHasBeenSet;
562  DetectedProperties m_detectedProperties;
563  bool m_detectedPropertiesHasBeenSet;
564  };
565 
566 } // namespace Model
567 } // namespace ElasticTranscoder
568 } // namespace Aws
JobInput & WithInterlaced(const char *value)
Definition: JobInput.h:394
JobInput & WithFrameRate(Aws::String &&value)
Definition: JobInput.h:193
void SetKey(const char *value)
Definition: JobInput.h:88
void SetFrameRate(const Aws::String &value)
Definition: JobInput.h:145
void SetResolution(const Aws::String &value)
Definition: JobInput.h:217
const Aws::String & GetContainer() const
Definition: JobInput.h:407
JobInput & WithAspectRatio(const Aws::String &value)
Definition: JobInput.h:302
const Aws::String & GetResolution() const
Definition: JobInput.h:211
void SetAspectRatio(const Aws::String &value)
Definition: JobInput.h:269
JobInput & WithContainer(Aws::String &&value)
Definition: JobInput.h:472
JobInput & WithResolution(const Aws::String &value)
Definition: JobInput.h:235
const Aws::String & GetFrameRate() const
Definition: JobInput.h:133
JobInput & WithInterlaced(Aws::String &&value)
Definition: JobInput.h:384
JobInput & WithContainer(const char *value)
Definition: JobInput.h:485
void SetInterlaced(Aws::String &&value)
Definition: JobInput.h:354
void SetInterlaced(const Aws::String &value)
Definition: JobInput.h:344
JobInput & WithKey(const Aws::String &value)
Definition: JobInput.h:99
JobInput & WithDetectedProperties(const DetectedProperties &value)
Definition: JobInput.h:540
void SetContainer(Aws::String &&value)
Definition: JobInput.h:433
JobInput & WithInterlaced(const Aws::String &value)
Definition: JobInput.h:374
void SetResolution(const char *value)
Definition: JobInput.h:229
JobInput & WithResolution(Aws::String &&value)
Definition: JobInput.h:241
void SetEncryption(const Encryption &value)
Definition: JobInput.h:499
JobInput & WithFrameRate(const char *value)
Definition: JobInput.h:205
void SetFrameRate(Aws::String &&value)
Definition: JobInput.h:157
JobInput & WithAspectRatio(Aws::String &&value)
Definition: JobInput.h:313
void SetKey(Aws::String &&value)
Definition: JobInput.h:77
void SetFrameRate(const char *value)
Definition: JobInput.h:169
const DetectedProperties & GetDetectedProperties() const
Definition: JobInput.h:525
JobInput & WithAspectRatio(const char *value)
Definition: JobInput.h:324
void SetContainer(const Aws::String &value)
Definition: JobInput.h:420
void SetResolution(Aws::String &&value)
Definition: JobInput.h:223
JobInput & WithEncryption(const Encryption &value)
Definition: JobInput.h:513
#define AWS_ELASTICTRANSCODER_API
void SetDetectedProperties(DetectedProperties &&value)
Definition: JobInput.h:535
void SetAspectRatio(const char *value)
Definition: JobInput.h:291
void SetEncryption(Encryption &&value)
Definition: JobInput.h:506
void SetDetectedProperties(const DetectedProperties &value)
Definition: JobInput.h:530
JobInput & WithKey(const char *value)
Definition: JobInput.h:121
const Aws::String & GetAspectRatio() const
Definition: JobInput.h:258
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetAspectRatio(Aws::String &&value)
Definition: JobInput.h:280
JobInput & WithKey(Aws::String &&value)
Definition: JobInput.h:110
JobInput & WithResolution(const char *value)
Definition: JobInput.h:247
void SetContainer(const char *value)
Definition: JobInput.h:446
JobInput & WithEncryption(Encryption &&value)
Definition: JobInput.h:520
void SetKey(const Aws::String &value)
Definition: JobInput.h:66
const Encryption & GetEncryption() const
Definition: JobInput.h:492
JobInput & WithDetectedProperties(DetectedProperties &&value)
Definition: JobInput.h:545
void SetInterlaced(const char *value)
Definition: JobInput.h:364
JSON (JavaScript Object Notation).
const Aws::String & GetKey() const
Definition: JobInput.h:55
const Aws::String & GetInterlaced() const
Definition: JobInput.h:334
JobInput & WithContainer(const Aws::String &value)
Definition: JobInput.h:459
JobInput & WithFrameRate(const Aws::String &value)
Definition: JobInput.h:181