AWS SDK for C++

AWS SDK for C++ Version 1.11.796

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
44 inline const Aws::String& GetAvcProfile() const { return m_avcProfile; }
45 inline bool AvcProfileHasBeenSet() const { return m_avcProfileHasBeenSet; }
46 template <typename AvcProfileT = Aws::String>
47 void SetAvcProfile(AvcProfileT&& value) {
48 m_avcProfileHasBeenSet = true;
49 m_avcProfile = std::forward<AvcProfileT>(value);
50 }
51 template <typename AvcProfileT = Aws::String>
52 VideoConfiguration& WithAvcProfile(AvcProfileT&& value) {
53 SetAvcProfile(std::forward<AvcProfileT>(value));
54 return *this;
55 }
57
59
65 inline const Aws::String& GetAvcLevel() const { return m_avcLevel; }
66 inline bool AvcLevelHasBeenSet() const { return m_avcLevelHasBeenSet; }
67 template <typename AvcLevelT = Aws::String>
68 void SetAvcLevel(AvcLevelT&& value) {
69 m_avcLevelHasBeenSet = true;
70 m_avcLevel = std::forward<AvcLevelT>(value);
71 }
72 template <typename AvcLevelT = Aws::String>
73 VideoConfiguration& WithAvcLevel(AvcLevelT&& value) {
74 SetAvcLevel(std::forward<AvcLevelT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::String& GetCodec() const { return m_codec; }
84 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
85 template <typename CodecT = Aws::String>
86 void SetCodec(CodecT&& value) {
87 m_codecHasBeenSet = true;
88 m_codec = std::forward<CodecT>(value);
89 }
90 template <typename CodecT = Aws::String>
91 VideoConfiguration& WithCodec(CodecT&& value) {
92 SetCodec(std::forward<CodecT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::String& GetEncoder() const { return m_encoder; }
102 inline bool EncoderHasBeenSet() const { return m_encoderHasBeenSet; }
103 template <typename EncoderT = Aws::String>
104 void SetEncoder(EncoderT&& value) {
105 m_encoderHasBeenSet = true;
106 m_encoder = std::forward<EncoderT>(value);
107 }
108 template <typename EncoderT = Aws::String>
109 VideoConfiguration& WithEncoder(EncoderT&& value) {
110 SetEncoder(std::forward<EncoderT>(value));
111 return *this;
112 }
114
116
120 inline long long GetTargetBitrate() const { return m_targetBitrate; }
121 inline bool TargetBitrateHasBeenSet() const { return m_targetBitrateHasBeenSet; }
122 inline void SetTargetBitrate(long long value) {
123 m_targetBitrateHasBeenSet = true;
124 m_targetBitrate = value;
125 }
126 inline VideoConfiguration& WithTargetBitrate(long long value) {
127 SetTargetBitrate(value);
128 return *this;
129 }
131
133
136 inline long long GetTargetFramerate() const { return m_targetFramerate; }
137 inline bool TargetFramerateHasBeenSet() const { return m_targetFramerateHasBeenSet; }
138 inline void SetTargetFramerate(long long value) {
139 m_targetFramerateHasBeenSet = true;
140 m_targetFramerate = value;
141 }
142 inline VideoConfiguration& WithTargetFramerate(long long value) {
143 SetTargetFramerate(value);
144 return *this;
145 }
147
149
152 inline long long GetVideoHeight() const { return m_videoHeight; }
153 inline bool VideoHeightHasBeenSet() const { return m_videoHeightHasBeenSet; }
154 inline void SetVideoHeight(long long value) {
155 m_videoHeightHasBeenSet = true;
156 m_videoHeight = value;
157 }
158 inline VideoConfiguration& WithVideoHeight(long long value) {
159 SetVideoHeight(value);
160 return *this;
161 }
163
165
168 inline long long GetVideoWidth() const { return m_videoWidth; }
169 inline bool VideoWidthHasBeenSet() const { return m_videoWidthHasBeenSet; }
170 inline void SetVideoWidth(long long value) {
171 m_videoWidthHasBeenSet = true;
172 m_videoWidth = value;
173 }
174 inline VideoConfiguration& WithVideoWidth(long long value) {
175 SetVideoWidth(value);
176 return *this;
177 }
179
181
186 inline const Aws::String& GetLevel() const { return m_level; }
187 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
188 template <typename LevelT = Aws::String>
189 void SetLevel(LevelT&& value) {
190 m_levelHasBeenSet = true;
191 m_level = std::forward<LevelT>(value);
192 }
193 template <typename LevelT = Aws::String>
194 VideoConfiguration& WithLevel(LevelT&& value) {
195 SetLevel(std::forward<LevelT>(value));
196 return *this;
197 }
199
201
205 inline const Aws::String& GetTrack() const { return m_track; }
206 inline bool TrackHasBeenSet() const { return m_trackHasBeenSet; }
207 template <typename TrackT = Aws::String>
208 void SetTrack(TrackT&& value) {
209 m_trackHasBeenSet = true;
210 m_track = std::forward<TrackT>(value);
211 }
212 template <typename TrackT = Aws::String>
213 VideoConfiguration& WithTrack(TrackT&& value) {
214 SetTrack(std::forward<TrackT>(value));
215 return *this;
216 }
218
220
224 inline const Aws::String& GetProfile() const { return m_profile; }
225 inline bool ProfileHasBeenSet() const { return m_profileHasBeenSet; }
226 template <typename ProfileT = Aws::String>
227 void SetProfile(ProfileT&& value) {
228 m_profileHasBeenSet = true;
229 m_profile = std::forward<ProfileT>(value);
230 }
231 template <typename ProfileT = Aws::String>
232 VideoConfiguration& WithProfile(ProfileT&& value) {
233 SetProfile(std::forward<ProfileT>(value));
234 return *this;
235 }
237 private:
238 Aws::String m_avcProfile;
239
240 Aws::String m_avcLevel;
241
242 Aws::String m_codec;
243
244 Aws::String m_encoder;
245
246 long long m_targetBitrate{0};
247
248 long long m_targetFramerate{0};
249
250 long long m_videoHeight{0};
251
252 long long m_videoWidth{0};
253
254 Aws::String m_level;
255
256 Aws::String m_track;
257
258 Aws::String m_profile;
259 bool m_avcProfileHasBeenSet = false;
260 bool m_avcLevelHasBeenSet = false;
261 bool m_codecHasBeenSet = false;
262 bool m_encoderHasBeenSet = false;
263 bool m_targetBitrateHasBeenSet = false;
264 bool m_targetFramerateHasBeenSet = false;
265 bool m_videoHeightHasBeenSet = false;
266 bool m_videoWidthHasBeenSet = false;
267 bool m_levelHasBeenSet = false;
268 bool m_trackHasBeenSet = false;
269 bool m_profileHasBeenSet = false;
270};
271
272} // namespace Model
273} // namespace IVS
274} // 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