AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
VideoConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ivs/IVS_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IVS {
20namespace Model {
21
31 public:
32 AWS_IVS_API VideoConfiguration() = default;
36
38
43 inline const Aws::String& GetAvcLevel() const { return m_avcLevel; }
44 inline bool AvcLevelHasBeenSet() const { return m_avcLevelHasBeenSet; }
45 template <typename AvcLevelT = Aws::String>
46 void SetAvcLevel(AvcLevelT&& value) {
47 m_avcLevelHasBeenSet = true;
48 m_avcLevel = std::forward<AvcLevelT>(value);
49 }
50 template <typename AvcLevelT = Aws::String>
51 VideoConfiguration& WithAvcLevel(AvcLevelT&& value) {
52 SetAvcLevel(std::forward<AvcLevelT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::String& GetAvcProfile() const { return m_avcProfile; }
63 inline bool AvcProfileHasBeenSet() const { return m_avcProfileHasBeenSet; }
64 template <typename AvcProfileT = Aws::String>
65 void SetAvcProfile(AvcProfileT&& value) {
66 m_avcProfileHasBeenSet = true;
67 m_avcProfile = std::forward<AvcProfileT>(value);
68 }
69 template <typename AvcProfileT = Aws::String>
70 VideoConfiguration& WithAvcProfile(AvcProfileT&& value) {
71 SetAvcProfile(std::forward<AvcProfileT>(value));
72 return *this;
73 }
75
77
80 inline const Aws::String& GetCodec() const { return m_codec; }
81 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
82 template <typename CodecT = Aws::String>
83 void SetCodec(CodecT&& value) {
84 m_codecHasBeenSet = true;
85 m_codec = std::forward<CodecT>(value);
86 }
87 template <typename CodecT = Aws::String>
88 VideoConfiguration& WithCodec(CodecT&& value) {
89 SetCodec(std::forward<CodecT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::String& GetEncoder() const { return m_encoder; }
99 inline bool EncoderHasBeenSet() const { return m_encoderHasBeenSet; }
100 template <typename EncoderT = Aws::String>
101 void SetEncoder(EncoderT&& value) {
102 m_encoderHasBeenSet = true;
103 m_encoder = std::forward<EncoderT>(value);
104 }
105 template <typename EncoderT = Aws::String>
106 VideoConfiguration& WithEncoder(EncoderT&& value) {
107 SetEncoder(std::forward<EncoderT>(value));
108 return *this;
109 }
111
113
118 inline const Aws::String& GetLevel() const { return m_level; }
119 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
120 template <typename LevelT = Aws::String>
121 void SetLevel(LevelT&& value) {
122 m_levelHasBeenSet = true;
123 m_level = std::forward<LevelT>(value);
124 }
125 template <typename LevelT = Aws::String>
126 VideoConfiguration& WithLevel(LevelT&& value) {
127 SetLevel(std::forward<LevelT>(value));
128 return *this;
129 }
131
133
137 inline const Aws::String& GetProfile() const { return m_profile; }
138 inline bool ProfileHasBeenSet() const { return m_profileHasBeenSet; }
139 template <typename ProfileT = Aws::String>
140 void SetProfile(ProfileT&& value) {
141 m_profileHasBeenSet = true;
142 m_profile = std::forward<ProfileT>(value);
143 }
144 template <typename ProfileT = Aws::String>
145 VideoConfiguration& WithProfile(ProfileT&& value) {
146 SetProfile(std::forward<ProfileT>(value));
147 return *this;
148 }
150
152
156 inline long long GetTargetBitrate() const { return m_targetBitrate; }
157 inline bool TargetBitrateHasBeenSet() const { return m_targetBitrateHasBeenSet; }
158 inline void SetTargetBitrate(long long value) {
159 m_targetBitrateHasBeenSet = true;
160 m_targetBitrate = value;
161 }
162 inline VideoConfiguration& WithTargetBitrate(long long value) {
163 SetTargetBitrate(value);
164 return *this;
165 }
167
169
172 inline long long GetTargetFramerate() const { return m_targetFramerate; }
173 inline bool TargetFramerateHasBeenSet() const { return m_targetFramerateHasBeenSet; }
174 inline void SetTargetFramerate(long long value) {
175 m_targetFramerateHasBeenSet = true;
176 m_targetFramerate = value;
177 }
178 inline VideoConfiguration& WithTargetFramerate(long long value) {
179 SetTargetFramerate(value);
180 return *this;
181 }
183
185
189 inline const Aws::String& GetTrack() const { return m_track; }
190 inline bool TrackHasBeenSet() const { return m_trackHasBeenSet; }
191 template <typename TrackT = Aws::String>
192 void SetTrack(TrackT&& value) {
193 m_trackHasBeenSet = true;
194 m_track = std::forward<TrackT>(value);
195 }
196 template <typename TrackT = Aws::String>
197 VideoConfiguration& WithTrack(TrackT&& value) {
198 SetTrack(std::forward<TrackT>(value));
199 return *this;
200 }
202
204
207 inline long long GetVideoHeight() const { return m_videoHeight; }
208 inline bool VideoHeightHasBeenSet() const { return m_videoHeightHasBeenSet; }
209 inline void SetVideoHeight(long long value) {
210 m_videoHeightHasBeenSet = true;
211 m_videoHeight = value;
212 }
213 inline VideoConfiguration& WithVideoHeight(long long value) {
214 SetVideoHeight(value);
215 return *this;
216 }
218
220
223 inline long long GetVideoWidth() const { return m_videoWidth; }
224 inline bool VideoWidthHasBeenSet() const { return m_videoWidthHasBeenSet; }
225 inline void SetVideoWidth(long long value) {
226 m_videoWidthHasBeenSet = true;
227 m_videoWidth = value;
228 }
229 inline VideoConfiguration& WithVideoWidth(long long value) {
230 SetVideoWidth(value);
231 return *this;
232 }
234 private:
235 Aws::String m_avcLevel;
236
237 Aws::String m_avcProfile;
238
239 Aws::String m_codec;
240
241 Aws::String m_encoder;
242
243 Aws::String m_level;
244
245 Aws::String m_profile;
246
247 long long m_targetBitrate{0};
248
249 long long m_targetFramerate{0};
250
251 Aws::String m_track;
252
253 long long m_videoHeight{0};
254
255 long long m_videoWidth{0};
256 bool m_avcLevelHasBeenSet = false;
257 bool m_avcProfileHasBeenSet = false;
258 bool m_codecHasBeenSet = false;
259 bool m_encoderHasBeenSet = false;
260 bool m_levelHasBeenSet = false;
261 bool m_profileHasBeenSet = false;
262 bool m_targetBitrateHasBeenSet = false;
263 bool m_targetFramerateHasBeenSet = false;
264 bool m_trackHasBeenSet = false;
265 bool m_videoHeightHasBeenSet = false;
266 bool m_videoWidthHasBeenSet = false;
267};
268
269} // namespace Model
270} // namespace IVS
271} // namespace Aws
VideoConfiguration & WithAvcProfile(AvcProfileT &&value)
AWS_IVS_API VideoConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetAvcProfile(AvcProfileT &&value)
const Aws::String & GetCodec() const
VideoConfiguration & WithCodec(CodecT &&value)
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IVS_API VideoConfiguration()=default
AWS_IVS_API VideoConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
VideoConfiguration & WithProfile(ProfileT &&value)
VideoConfiguration & WithTargetBitrate(long long value)
const Aws::String & GetTrack() const
const Aws::String & GetProfile() const
VideoConfiguration & WithVideoWidth(long long value)
VideoConfiguration & WithEncoder(EncoderT &&value)
VideoConfiguration & WithLevel(LevelT &&value)
VideoConfiguration & WithVideoHeight(long long value)
const Aws::String & GetAvcProfile() const
const Aws::String & GetLevel() const
const Aws::String & GetEncoder() const
VideoConfiguration & WithTrack(TrackT &&value)
VideoConfiguration & WithAvcLevel(AvcLevelT &&value)
VideoConfiguration & WithTargetFramerate(long long value)
const Aws::String & GetAvcLevel() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue