AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
InputVideoGenerator.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaConvert {
20namespace Model {
21
34 public:
35 AWS_MEDIACONVERT_API InputVideoGenerator() = default;
36 AWS_MEDIACONVERT_API InputVideoGenerator(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
41
46 inline int GetChannels() const { return m_channels; }
47 inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
48 inline void SetChannels(int value) {
49 m_channelsHasBeenSet = true;
50 m_channels = value;
51 }
52 inline InputVideoGenerator& WithChannels(int value) {
53 SetChannels(value);
54 return *this;
55 }
57
59
64 inline int GetDuration() const { return m_duration; }
65 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
66 inline void SetDuration(int value) {
67 m_durationHasBeenSet = true;
68 m_duration = value;
69 }
70 inline InputVideoGenerator& WithDuration(int value) {
71 SetDuration(value);
72 return *this;
73 }
75
77
83 inline int GetFramerateDenominator() const { return m_framerateDenominator; }
84 inline bool FramerateDenominatorHasBeenSet() const { return m_framerateDenominatorHasBeenSet; }
85 inline void SetFramerateDenominator(int value) {
86 m_framerateDenominatorHasBeenSet = true;
87 m_framerateDenominator = value;
88 }
91 return *this;
92 }
94
96
102 inline int GetFramerateNumerator() const { return m_framerateNumerator; }
103 inline bool FramerateNumeratorHasBeenSet() const { return m_framerateNumeratorHasBeenSet; }
104 inline void SetFramerateNumerator(int value) {
105 m_framerateNumeratorHasBeenSet = true;
106 m_framerateNumerator = value;
107 }
110 return *this;
111 }
113
115
122 inline int GetHeight() const { return m_height; }
123 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
124 inline void SetHeight(int value) {
125 m_heightHasBeenSet = true;
126 m_height = value;
127 }
128 inline InputVideoGenerator& WithHeight(int value) {
129 SetHeight(value);
130 return *this;
131 }
133
135
139 inline const Aws::String& GetImageInput() const { return m_imageInput; }
140 inline bool ImageInputHasBeenSet() const { return m_imageInputHasBeenSet; }
141 template <typename ImageInputT = Aws::String>
142 void SetImageInput(ImageInputT&& value) {
143 m_imageInputHasBeenSet = true;
144 m_imageInput = std::forward<ImageInputT>(value);
145 }
146 template <typename ImageInputT = Aws::String>
147 InputVideoGenerator& WithImageInput(ImageInputT&& value) {
148 SetImageInput(std::forward<ImageInputT>(value));
149 return *this;
150 }
152
154
159 inline int GetSampleRate() const { return m_sampleRate; }
160 inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
161 inline void SetSampleRate(int value) {
162 m_sampleRateHasBeenSet = true;
163 m_sampleRate = value;
164 }
166 SetSampleRate(value);
167 return *this;
168 }
170
172
179 inline int GetWidth() const { return m_width; }
180 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
181 inline void SetWidth(int value) {
182 m_widthHasBeenSet = true;
183 m_width = value;
184 }
185 inline InputVideoGenerator& WithWidth(int value) {
186 SetWidth(value);
187 return *this;
188 }
190 private:
191 int m_channels{0};
192
193 int m_duration{0};
194
195 int m_framerateDenominator{0};
196
197 int m_framerateNumerator{0};
198
199 int m_height{0};
200
201 Aws::String m_imageInput;
202
203 int m_sampleRate{0};
204
205 int m_width{0};
206 bool m_channelsHasBeenSet = false;
207 bool m_durationHasBeenSet = false;
208 bool m_framerateDenominatorHasBeenSet = false;
209 bool m_framerateNumeratorHasBeenSet = false;
210 bool m_heightHasBeenSet = false;
211 bool m_imageInputHasBeenSet = false;
212 bool m_sampleRateHasBeenSet = false;
213 bool m_widthHasBeenSet = false;
214};
215
216} // namespace Model
217} // namespace MediaConvert
218} // namespace Aws
AWS_MEDIACONVERT_API InputVideoGenerator & operator=(Aws::Utils::Json::JsonView jsonValue)
InputVideoGenerator & WithSampleRate(int value)
AWS_MEDIACONVERT_API InputVideoGenerator(Aws::Utils::Json::JsonView jsonValue)
InputVideoGenerator & WithChannels(int value)
InputVideoGenerator & WithFramerateNumerator(int value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
InputVideoGenerator & WithDuration(int value)
AWS_MEDIACONVERT_API InputVideoGenerator()=default
InputVideoGenerator & WithImageInput(ImageInputT &&value)
InputVideoGenerator & WithFramerateDenominator(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue