AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
JobInput.h
1
6#pragma once
7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elastictranscoder/model/Encryption.h>
10#include <aws/elastictranscoder/model/TimeSpan.h>
11#include <aws/elastictranscoder/model/InputCaptions.h>
12#include <aws/elastictranscoder/model/DetectedProperties.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace ElasticTranscoder
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_ELASTICTRANSCODER_API JobInput();
40 AWS_ELASTICTRANSCODER_API JobInput(Aws::Utils::Json::JsonView jsonValue);
41 AWS_ELASTICTRANSCODER_API JobInput& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
55 inline const Aws::String& GetKey() const{ return m_key; }
56 inline bool KeyHasBeenSet() const { return m_keyHasBeenSet; }
57 inline void SetKey(const Aws::String& value) { m_keyHasBeenSet = true; m_key = value; }
58 inline void SetKey(Aws::String&& value) { m_keyHasBeenSet = true; m_key = std::move(value); }
59 inline void SetKey(const char* value) { m_keyHasBeenSet = true; m_key.assign(value); }
60 inline JobInput& WithKey(const Aws::String& value) { SetKey(value); return *this;}
61 inline JobInput& WithKey(Aws::String&& value) { SetKey(std::move(value)); return *this;}
62 inline JobInput& WithKey(const char* value) { SetKey(value); return *this;}
64
66
76 inline const Aws::String& GetFrameRate() const{ return m_frameRate; }
77 inline bool FrameRateHasBeenSet() const { return m_frameRateHasBeenSet; }
78 inline void SetFrameRate(const Aws::String& value) { m_frameRateHasBeenSet = true; m_frameRate = value; }
79 inline void SetFrameRate(Aws::String&& value) { m_frameRateHasBeenSet = true; m_frameRate = std::move(value); }
80 inline void SetFrameRate(const char* value) { m_frameRateHasBeenSet = true; m_frameRate.assign(value); }
81 inline JobInput& WithFrameRate(const Aws::String& value) { SetFrameRate(value); return *this;}
82 inline JobInput& WithFrameRate(Aws::String&& value) { SetFrameRate(std::move(value)); return *this;}
83 inline JobInput& WithFrameRate(const char* value) { SetFrameRate(value); return *this;}
85
87
91 inline const Aws::String& GetResolution() const{ return m_resolution; }
92 inline bool ResolutionHasBeenSet() const { return m_resolutionHasBeenSet; }
93 inline void SetResolution(const Aws::String& value) { m_resolutionHasBeenSet = true; m_resolution = value; }
94 inline void SetResolution(Aws::String&& value) { m_resolutionHasBeenSet = true; m_resolution = std::move(value); }
95 inline void SetResolution(const char* value) { m_resolutionHasBeenSet = true; m_resolution.assign(value); }
96 inline JobInput& WithResolution(const Aws::String& value) { SetResolution(value); return *this;}
97 inline JobInput& WithResolution(Aws::String&& value) { SetResolution(std::move(value)); return *this;}
98 inline JobInput& WithResolution(const char* value) { SetResolution(value); return *this;}
100
102
111 inline const Aws::String& GetAspectRatio() const{ return m_aspectRatio; }
112 inline bool AspectRatioHasBeenSet() const { return m_aspectRatioHasBeenSet; }
113 inline void SetAspectRatio(const Aws::String& value) { m_aspectRatioHasBeenSet = true; m_aspectRatio = value; }
114 inline void SetAspectRatio(Aws::String&& value) { m_aspectRatioHasBeenSet = true; m_aspectRatio = std::move(value); }
115 inline void SetAspectRatio(const char* value) { m_aspectRatioHasBeenSet = true; m_aspectRatio.assign(value); }
116 inline JobInput& WithAspectRatio(const Aws::String& value) { SetAspectRatio(value); return *this;}
117 inline JobInput& WithAspectRatio(Aws::String&& value) { SetAspectRatio(std::move(value)); return *this;}
118 inline JobInput& WithAspectRatio(const char* value) { SetAspectRatio(value); return *this;}
120
122
130 inline const Aws::String& GetInterlaced() const{ return m_interlaced; }
131 inline bool InterlacedHasBeenSet() const { return m_interlacedHasBeenSet; }
132 inline void SetInterlaced(const Aws::String& value) { m_interlacedHasBeenSet = true; m_interlaced = value; }
133 inline void SetInterlaced(Aws::String&& value) { m_interlacedHasBeenSet = true; m_interlaced = std::move(value); }
134 inline void SetInterlaced(const char* value) { m_interlacedHasBeenSet = true; m_interlaced.assign(value); }
135 inline JobInput& WithInterlaced(const Aws::String& value) { SetInterlaced(value); return *this;}
136 inline JobInput& WithInterlaced(Aws::String&& value) { SetInterlaced(std::move(value)); return *this;}
137 inline JobInput& WithInterlaced(const char* value) { SetInterlaced(value); return *this;}
139
141
152 inline const Aws::String& GetContainer() const{ return m_container; }
153 inline bool ContainerHasBeenSet() const { return m_containerHasBeenSet; }
154 inline void SetContainer(const Aws::String& value) { m_containerHasBeenSet = true; m_container = value; }
155 inline void SetContainer(Aws::String&& value) { m_containerHasBeenSet = true; m_container = std::move(value); }
156 inline void SetContainer(const char* value) { m_containerHasBeenSet = true; m_container.assign(value); }
157 inline JobInput& WithContainer(const Aws::String& value) { SetContainer(value); return *this;}
158 inline JobInput& WithContainer(Aws::String&& value) { SetContainer(std::move(value)); return *this;}
159 inline JobInput& WithContainer(const char* value) { SetContainer(value); return *this;}
161
163
168 inline const Encryption& GetEncryption() const{ return m_encryption; }
169 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
170 inline void SetEncryption(const Encryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
171 inline void SetEncryption(Encryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
172 inline JobInput& WithEncryption(const Encryption& value) { SetEncryption(value); return *this;}
173 inline JobInput& WithEncryption(Encryption&& value) { SetEncryption(std::move(value)); return *this;}
175
177
181 inline const TimeSpan& GetTimeSpan() const{ return m_timeSpan; }
182 inline bool TimeSpanHasBeenSet() const { return m_timeSpanHasBeenSet; }
183 inline void SetTimeSpan(const TimeSpan& value) { m_timeSpanHasBeenSet = true; m_timeSpan = value; }
184 inline void SetTimeSpan(TimeSpan&& value) { m_timeSpanHasBeenSet = true; m_timeSpan = std::move(value); }
185 inline JobInput& WithTimeSpan(const TimeSpan& value) { SetTimeSpan(value); return *this;}
186 inline JobInput& WithTimeSpan(TimeSpan&& value) { SetTimeSpan(std::move(value)); return *this;}
188
190
223 inline const InputCaptions& GetInputCaptions() const{ return m_inputCaptions; }
224 inline bool InputCaptionsHasBeenSet() const { return m_inputCaptionsHasBeenSet; }
225 inline void SetInputCaptions(const InputCaptions& value) { m_inputCaptionsHasBeenSet = true; m_inputCaptions = value; }
226 inline void SetInputCaptions(InputCaptions&& value) { m_inputCaptionsHasBeenSet = true; m_inputCaptions = std::move(value); }
227 inline JobInput& WithInputCaptions(const InputCaptions& value) { SetInputCaptions(value); return *this;}
228 inline JobInput& WithInputCaptions(InputCaptions&& value) { SetInputCaptions(std::move(value)); return *this;}
230
232
235 inline const DetectedProperties& GetDetectedProperties() const{ return m_detectedProperties; }
236 inline bool DetectedPropertiesHasBeenSet() const { return m_detectedPropertiesHasBeenSet; }
237 inline void SetDetectedProperties(const DetectedProperties& value) { m_detectedPropertiesHasBeenSet = true; m_detectedProperties = value; }
238 inline void SetDetectedProperties(DetectedProperties&& value) { m_detectedPropertiesHasBeenSet = true; m_detectedProperties = std::move(value); }
239 inline JobInput& WithDetectedProperties(const DetectedProperties& value) { SetDetectedProperties(value); return *this;}
240 inline JobInput& WithDetectedProperties(DetectedProperties&& value) { SetDetectedProperties(std::move(value)); return *this;}
242 private:
243
244 Aws::String m_key;
245 bool m_keyHasBeenSet = false;
246
247 Aws::String m_frameRate;
248 bool m_frameRateHasBeenSet = false;
249
250 Aws::String m_resolution;
251 bool m_resolutionHasBeenSet = false;
252
253 Aws::String m_aspectRatio;
254 bool m_aspectRatioHasBeenSet = false;
255
256 Aws::String m_interlaced;
257 bool m_interlacedHasBeenSet = false;
258
259 Aws::String m_container;
260 bool m_containerHasBeenSet = false;
261
262 Encryption m_encryption;
263 bool m_encryptionHasBeenSet = false;
264
265 TimeSpan m_timeSpan;
266 bool m_timeSpanHasBeenSet = false;
267
268 InputCaptions m_inputCaptions;
269 bool m_inputCaptionsHasBeenSet = false;
270
271 DetectedProperties m_detectedProperties;
272 bool m_detectedPropertiesHasBeenSet = false;
273 };
274
275} // namespace Model
276} // namespace ElasticTranscoder
277} // namespace Aws
const Aws::String & GetContainer() const
Definition JobInput.h:152
void SetFrameRate(const Aws::String &value)
Definition JobInput.h:78
JobInput & WithAspectRatio(const char *value)
Definition JobInput.h:118
void SetAspectRatio(Aws::String &&value)
Definition JobInput.h:114
const Aws::String & GetInterlaced() const
Definition JobInput.h:130
JobInput & WithAspectRatio(const Aws::String &value)
Definition JobInput.h:116
JobInput & WithInputCaptions(const InputCaptions &value)
Definition JobInput.h:227
const Aws::String & GetResolution() const
Definition JobInput.h:91
JobInput & WithKey(const Aws::String &value)
Definition JobInput.h:60
void SetTimeSpan(TimeSpan &&value)
Definition JobInput.h:184
AWS_ELASTICTRANSCODER_API JobInput & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFrameRate(const char *value)
Definition JobInput.h:80
void SetInputCaptions(const InputCaptions &value)
Definition JobInput.h:225
JobInput & WithInterlaced(const char *value)
Definition JobInput.h:137
void SetDetectedProperties(const DetectedProperties &value)
Definition JobInput.h:237
void SetContainer(const Aws::String &value)
Definition JobInput.h:154
JobInput & WithFrameRate(const char *value)
Definition JobInput.h:83
void SetResolution(const Aws::String &value)
Definition JobInput.h:93
void SetKey(const Aws::String &value)
Definition JobInput.h:57
JobInput & WithTimeSpan(const TimeSpan &value)
Definition JobInput.h:185
JobInput & WithKey(const char *value)
Definition JobInput.h:62
const Aws::String & GetFrameRate() const
Definition JobInput.h:76
JobInput & WithFrameRate(Aws::String &&value)
Definition JobInput.h:82
void SetTimeSpan(const TimeSpan &value)
Definition JobInput.h:183
JobInput & WithEncryption(Encryption &&value)
Definition JobInput.h:173
void SetEncryption(Encryption &&value)
Definition JobInput.h:171
void SetResolution(const char *value)
Definition JobInput.h:95
JobInput & WithKey(Aws::String &&value)
Definition JobInput.h:61
JobInput & WithFrameRate(const Aws::String &value)
Definition JobInput.h:81
void SetAspectRatio(const char *value)
Definition JobInput.h:115
JobInput & WithEncryption(const Encryption &value)
Definition JobInput.h:172
JobInput & WithInterlaced(const Aws::String &value)
Definition JobInput.h:135
const Aws::String & GetKey() const
Definition JobInput.h:55
void SetKey(const char *value)
Definition JobInput.h:59
JobInput & WithDetectedProperties(DetectedProperties &&value)
Definition JobInput.h:240
const Encryption & GetEncryption() const
Definition JobInput.h:168
void SetAspectRatio(const Aws::String &value)
Definition JobInput.h:113
JobInput & WithInputCaptions(InputCaptions &&value)
Definition JobInput.h:228
void SetInputCaptions(InputCaptions &&value)
Definition JobInput.h:226
JobInput & WithInterlaced(Aws::String &&value)
Definition JobInput.h:136
const InputCaptions & GetInputCaptions() const
Definition JobInput.h:223
JobInput & WithResolution(const char *value)
Definition JobInput.h:98
JobInput & WithContainer(const char *value)
Definition JobInput.h:159
void SetEncryption(const Encryption &value)
Definition JobInput.h:170
JobInput & WithResolution(Aws::String &&value)
Definition JobInput.h:97
void SetDetectedProperties(DetectedProperties &&value)
Definition JobInput.h:238
AWS_ELASTICTRANSCODER_API JobInput(Aws::Utils::Json::JsonView jsonValue)
void SetInterlaced(Aws::String &&value)
Definition JobInput.h:133
const TimeSpan & GetTimeSpan() const
Definition JobInput.h:181
void SetKey(Aws::String &&value)
Definition JobInput.h:58
JobInput & WithDetectedProperties(const DetectedProperties &value)
Definition JobInput.h:239
JobInput & WithTimeSpan(TimeSpan &&value)
Definition JobInput.h:186
const Aws::String & GetAspectRatio() const
Definition JobInput.h:111
JobInput & WithResolution(const Aws::String &value)
Definition JobInput.h:96
JobInput & WithContainer(Aws::String &&value)
Definition JobInput.h:158
const DetectedProperties & GetDetectedProperties() const
Definition JobInput.h:235
void SetResolution(Aws::String &&value)
Definition JobInput.h:94
void SetInterlaced(const Aws::String &value)
Definition JobInput.h:132
void SetContainer(const char *value)
Definition JobInput.h:156
void SetInterlaced(const char *value)
Definition JobInput.h:134
JobInput & WithContainer(const Aws::String &value)
Definition JobInput.h:157
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetContainer(Aws::String &&value)
Definition JobInput.h:155
JobInput & WithAspectRatio(Aws::String &&value)
Definition JobInput.h:117
void SetFrameRate(Aws::String &&value)
Definition JobInput.h:79
AWS_ELASTICTRANSCODER_API JobInput()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue