AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
VideoConfiguration.h
1
6#pragma once
7#include <aws/ivs/IVS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IVS
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_IVS_API VideoConfiguration() = default;
41
42
44
49 inline const Aws::String& GetAvcLevel() const { return m_avcLevel; }
50 inline bool AvcLevelHasBeenSet() const { return m_avcLevelHasBeenSet; }
51 template<typename AvcLevelT = Aws::String>
52 void SetAvcLevel(AvcLevelT&& value) { m_avcLevelHasBeenSet = true; m_avcLevel = std::forward<AvcLevelT>(value); }
53 template<typename AvcLevelT = Aws::String>
54 VideoConfiguration& WithAvcLevel(AvcLevelT&& value) { SetAvcLevel(std::forward<AvcLevelT>(value)); return *this;}
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) { m_avcProfileHasBeenSet = true; m_avcProfile = std::forward<AvcProfileT>(value); }
66 template<typename AvcProfileT = Aws::String>
67 VideoConfiguration& WithAvcProfile(AvcProfileT&& value) { SetAvcProfile(std::forward<AvcProfileT>(value)); return *this;}
69
71
74 inline const Aws::String& GetCodec() const { return m_codec; }
75 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
76 template<typename CodecT = Aws::String>
77 void SetCodec(CodecT&& value) { m_codecHasBeenSet = true; m_codec = std::forward<CodecT>(value); }
78 template<typename CodecT = Aws::String>
79 VideoConfiguration& WithCodec(CodecT&& value) { SetCodec(std::forward<CodecT>(value)); return *this;}
81
83
86 inline const Aws::String& GetEncoder() const { return m_encoder; }
87 inline bool EncoderHasBeenSet() const { return m_encoderHasBeenSet; }
88 template<typename EncoderT = Aws::String>
89 void SetEncoder(EncoderT&& value) { m_encoderHasBeenSet = true; m_encoder = std::forward<EncoderT>(value); }
90 template<typename EncoderT = Aws::String>
91 VideoConfiguration& WithEncoder(EncoderT&& value) { SetEncoder(std::forward<EncoderT>(value)); return *this;}
93
95
100 inline const Aws::String& GetLevel() const { return m_level; }
101 inline bool LevelHasBeenSet() const { return m_levelHasBeenSet; }
102 template<typename LevelT = Aws::String>
103 void SetLevel(LevelT&& value) { m_levelHasBeenSet = true; m_level = std::forward<LevelT>(value); }
104 template<typename LevelT = Aws::String>
105 VideoConfiguration& WithLevel(LevelT&& value) { SetLevel(std::forward<LevelT>(value)); return *this;}
107
109
113 inline const Aws::String& GetProfile() const { return m_profile; }
114 inline bool ProfileHasBeenSet() const { return m_profileHasBeenSet; }
115 template<typename ProfileT = Aws::String>
116 void SetProfile(ProfileT&& value) { m_profileHasBeenSet = true; m_profile = std::forward<ProfileT>(value); }
117 template<typename ProfileT = Aws::String>
118 VideoConfiguration& WithProfile(ProfileT&& value) { SetProfile(std::forward<ProfileT>(value)); return *this;}
120
122
126 inline long long GetTargetBitrate() const { return m_targetBitrate; }
127 inline bool TargetBitrateHasBeenSet() const { return m_targetBitrateHasBeenSet; }
128 inline void SetTargetBitrate(long long value) { m_targetBitrateHasBeenSet = true; m_targetBitrate = value; }
129 inline VideoConfiguration& WithTargetBitrate(long long value) { SetTargetBitrate(value); return *this;}
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) { m_targetFramerateHasBeenSet = true; m_targetFramerate = value; }
139 inline VideoConfiguration& WithTargetFramerate(long long value) { SetTargetFramerate(value); return *this;}
141
143
147 inline const Aws::String& GetTrack() const { return m_track; }
148 inline bool TrackHasBeenSet() const { return m_trackHasBeenSet; }
149 template<typename TrackT = Aws::String>
150 void SetTrack(TrackT&& value) { m_trackHasBeenSet = true; m_track = std::forward<TrackT>(value); }
151 template<typename TrackT = Aws::String>
152 VideoConfiguration& WithTrack(TrackT&& value) { SetTrack(std::forward<TrackT>(value)); return *this;}
154
156
159 inline long long GetVideoHeight() const { return m_videoHeight; }
160 inline bool VideoHeightHasBeenSet() const { return m_videoHeightHasBeenSet; }
161 inline void SetVideoHeight(long long value) { m_videoHeightHasBeenSet = true; m_videoHeight = value; }
162 inline VideoConfiguration& WithVideoHeight(long long value) { SetVideoHeight(value); return *this;}
164
166
169 inline long long GetVideoWidth() const { return m_videoWidth; }
170 inline bool VideoWidthHasBeenSet() const { return m_videoWidthHasBeenSet; }
171 inline void SetVideoWidth(long long value) { m_videoWidthHasBeenSet = true; m_videoWidth = value; }
172 inline VideoConfiguration& WithVideoWidth(long long value) { SetVideoWidth(value); return *this;}
174 private:
175
176 Aws::String m_avcLevel;
177 bool m_avcLevelHasBeenSet = false;
178
179 Aws::String m_avcProfile;
180 bool m_avcProfileHasBeenSet = false;
181
182 Aws::String m_codec;
183 bool m_codecHasBeenSet = false;
184
185 Aws::String m_encoder;
186 bool m_encoderHasBeenSet = false;
187
188 Aws::String m_level;
189 bool m_levelHasBeenSet = false;
190
191 Aws::String m_profile;
192 bool m_profileHasBeenSet = false;
193
194 long long m_targetBitrate{0};
195 bool m_targetBitrateHasBeenSet = false;
196
197 long long m_targetFramerate{0};
198 bool m_targetFramerateHasBeenSet = false;
199
200 Aws::String m_track;
201 bool m_trackHasBeenSet = false;
202
203 long long m_videoHeight{0};
204 bool m_videoHeightHasBeenSet = false;
205
206 long long m_videoWidth{0};
207 bool m_videoWidthHasBeenSet = false;
208 };
209
210} // namespace Model
211} // namespace IVS
212} // 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