AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename KeyT = Aws::String>
58 void SetKey(KeyT&& value) { m_keyHasBeenSet = true; m_key = std::forward<KeyT>(value); }
59 template<typename KeyT = Aws::String>
60 JobInput& WithKey(KeyT&& value) { SetKey(std::forward<KeyT>(value)); return *this;}
62
64
74 inline const Aws::String& GetFrameRate() const { return m_frameRate; }
75 inline bool FrameRateHasBeenSet() const { return m_frameRateHasBeenSet; }
76 template<typename FrameRateT = Aws::String>
77 void SetFrameRate(FrameRateT&& value) { m_frameRateHasBeenSet = true; m_frameRate = std::forward<FrameRateT>(value); }
78 template<typename FrameRateT = Aws::String>
79 JobInput& WithFrameRate(FrameRateT&& value) { SetFrameRate(std::forward<FrameRateT>(value)); return *this;}
81
83
87 inline const Aws::String& GetResolution() const { return m_resolution; }
88 inline bool ResolutionHasBeenSet() const { return m_resolutionHasBeenSet; }
89 template<typename ResolutionT = Aws::String>
90 void SetResolution(ResolutionT&& value) { m_resolutionHasBeenSet = true; m_resolution = std::forward<ResolutionT>(value); }
91 template<typename ResolutionT = Aws::String>
92 JobInput& WithResolution(ResolutionT&& value) { SetResolution(std::forward<ResolutionT>(value)); return *this;}
94
96
105 inline const Aws::String& GetAspectRatio() const { return m_aspectRatio; }
106 inline bool AspectRatioHasBeenSet() const { return m_aspectRatioHasBeenSet; }
107 template<typename AspectRatioT = Aws::String>
108 void SetAspectRatio(AspectRatioT&& value) { m_aspectRatioHasBeenSet = true; m_aspectRatio = std::forward<AspectRatioT>(value); }
109 template<typename AspectRatioT = Aws::String>
110 JobInput& WithAspectRatio(AspectRatioT&& value) { SetAspectRatio(std::forward<AspectRatioT>(value)); return *this;}
112
114
122 inline const Aws::String& GetInterlaced() const { return m_interlaced; }
123 inline bool InterlacedHasBeenSet() const { return m_interlacedHasBeenSet; }
124 template<typename InterlacedT = Aws::String>
125 void SetInterlaced(InterlacedT&& value) { m_interlacedHasBeenSet = true; m_interlaced = std::forward<InterlacedT>(value); }
126 template<typename InterlacedT = Aws::String>
127 JobInput& WithInterlaced(InterlacedT&& value) { SetInterlaced(std::forward<InterlacedT>(value)); return *this;}
129
131
142 inline const Aws::String& GetContainer() const { return m_container; }
143 inline bool ContainerHasBeenSet() const { return m_containerHasBeenSet; }
144 template<typename ContainerT = Aws::String>
145 void SetContainer(ContainerT&& value) { m_containerHasBeenSet = true; m_container = std::forward<ContainerT>(value); }
146 template<typename ContainerT = Aws::String>
147 JobInput& WithContainer(ContainerT&& value) { SetContainer(std::forward<ContainerT>(value)); return *this;}
149
151
156 inline const Encryption& GetEncryption() const { return m_encryption; }
157 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
158 template<typename EncryptionT = Encryption>
159 void SetEncryption(EncryptionT&& value) { m_encryptionHasBeenSet = true; m_encryption = std::forward<EncryptionT>(value); }
160 template<typename EncryptionT = Encryption>
161 JobInput& WithEncryption(EncryptionT&& value) { SetEncryption(std::forward<EncryptionT>(value)); return *this;}
163
165
169 inline const TimeSpan& GetTimeSpan() const { return m_timeSpan; }
170 inline bool TimeSpanHasBeenSet() const { return m_timeSpanHasBeenSet; }
171 template<typename TimeSpanT = TimeSpan>
172 void SetTimeSpan(TimeSpanT&& value) { m_timeSpanHasBeenSet = true; m_timeSpan = std::forward<TimeSpanT>(value); }
173 template<typename TimeSpanT = TimeSpan>
174 JobInput& WithTimeSpan(TimeSpanT&& value) { SetTimeSpan(std::forward<TimeSpanT>(value)); return *this;}
176
178
211 inline const InputCaptions& GetInputCaptions() const { return m_inputCaptions; }
212 inline bool InputCaptionsHasBeenSet() const { return m_inputCaptionsHasBeenSet; }
213 template<typename InputCaptionsT = InputCaptions>
214 void SetInputCaptions(InputCaptionsT&& value) { m_inputCaptionsHasBeenSet = true; m_inputCaptions = std::forward<InputCaptionsT>(value); }
215 template<typename InputCaptionsT = InputCaptions>
216 JobInput& WithInputCaptions(InputCaptionsT&& value) { SetInputCaptions(std::forward<InputCaptionsT>(value)); return *this;}
218
220
223 inline const DetectedProperties& GetDetectedProperties() const { return m_detectedProperties; }
224 inline bool DetectedPropertiesHasBeenSet() const { return m_detectedPropertiesHasBeenSet; }
225 template<typename DetectedPropertiesT = DetectedProperties>
226 void SetDetectedProperties(DetectedPropertiesT&& value) { m_detectedPropertiesHasBeenSet = true; m_detectedProperties = std::forward<DetectedPropertiesT>(value); }
227 template<typename DetectedPropertiesT = DetectedProperties>
228 JobInput& WithDetectedProperties(DetectedPropertiesT&& value) { SetDetectedProperties(std::forward<DetectedPropertiesT>(value)); return *this;}
230 private:
231
232 Aws::String m_key;
233 bool m_keyHasBeenSet = false;
234
235 Aws::String m_frameRate;
236 bool m_frameRateHasBeenSet = false;
237
238 Aws::String m_resolution;
239 bool m_resolutionHasBeenSet = false;
240
241 Aws::String m_aspectRatio;
242 bool m_aspectRatioHasBeenSet = false;
243
244 Aws::String m_interlaced;
245 bool m_interlacedHasBeenSet = false;
246
247 Aws::String m_container;
248 bool m_containerHasBeenSet = false;
249
250 Encryption m_encryption;
251 bool m_encryptionHasBeenSet = false;
252
253 TimeSpan m_timeSpan;
254 bool m_timeSpanHasBeenSet = false;
255
256 InputCaptions m_inputCaptions;
257 bool m_inputCaptionsHasBeenSet = false;
258
259 DetectedProperties m_detectedProperties;
260 bool m_detectedPropertiesHasBeenSet = false;
261 };
262
263} // namespace Model
264} // namespace ElasticTranscoder
265} // namespace Aws
const Aws::String & GetContainer() const
Definition JobInput.h:142
const Aws::String & GetInterlaced() const
Definition JobInput.h:122
JobInput & WithEncryption(EncryptionT &&value)
Definition JobInput.h:161
void SetAspectRatio(AspectRatioT &&value)
Definition JobInput.h:108
const Aws::String & GetResolution() const
Definition JobInput.h:87
void SetDetectedProperties(DetectedPropertiesT &&value)
Definition JobInput.h:226
AWS_ELASTICTRANSCODER_API JobInput()=default
AWS_ELASTICTRANSCODER_API JobInput & operator=(Aws::Utils::Json::JsonView jsonValue)
JobInput & WithResolution(ResolutionT &&value)
Definition JobInput.h:92
JobInput & WithDetectedProperties(DetectedPropertiesT &&value)
Definition JobInput.h:228
void SetTimeSpan(TimeSpanT &&value)
Definition JobInput.h:172
void SetInputCaptions(InputCaptionsT &&value)
Definition JobInput.h:214
const Aws::String & GetFrameRate() const
Definition JobInput.h:74
JobInput & WithInterlaced(InterlacedT &&value)
Definition JobInput.h:127
void SetResolution(ResolutionT &&value)
Definition JobInput.h:90
void SetContainer(ContainerT &&value)
Definition JobInput.h:145
JobInput & WithFrameRate(FrameRateT &&value)
Definition JobInput.h:79
JobInput & WithKey(KeyT &&value)
Definition JobInput.h:60
const Aws::String & GetKey() const
Definition JobInput.h:55
const Encryption & GetEncryption() const
Definition JobInput.h:156
const InputCaptions & GetInputCaptions() const
Definition JobInput.h:211
void SetInterlaced(InterlacedT &&value)
Definition JobInput.h:125
AWS_ELASTICTRANSCODER_API JobInput(Aws::Utils::Json::JsonView jsonValue)
const TimeSpan & GetTimeSpan() const
Definition JobInput.h:169
void SetFrameRate(FrameRateT &&value)
Definition JobInput.h:77
JobInput & WithInputCaptions(InputCaptionsT &&value)
Definition JobInput.h:216
JobInput & WithContainer(ContainerT &&value)
Definition JobInput.h:147
const Aws::String & GetAspectRatio() const
Definition JobInput.h:105
JobInput & WithTimeSpan(TimeSpanT &&value)
Definition JobInput.h:174
const DetectedProperties & GetDetectedProperties() const
Definition JobInput.h:223
void SetEncryption(EncryptionT &&value)
Definition JobInput.h:159
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
JobInput & WithAspectRatio(AspectRatioT &&value)
Definition JobInput.h:110
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue