AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
41
42
44
49 inline const Aws::String& GetAvcLevel() const{ return m_avcLevel; }
50 inline bool AvcLevelHasBeenSet() const { return m_avcLevelHasBeenSet; }
51 inline void SetAvcLevel(const Aws::String& value) { m_avcLevelHasBeenSet = true; m_avcLevel = value; }
52 inline void SetAvcLevel(Aws::String&& value) { m_avcLevelHasBeenSet = true; m_avcLevel = std::move(value); }
53 inline void SetAvcLevel(const char* value) { m_avcLevelHasBeenSet = true; m_avcLevel.assign(value); }
54 inline VideoConfiguration& WithAvcLevel(const Aws::String& value) { SetAvcLevel(value); return *this;}
55 inline VideoConfiguration& WithAvcLevel(Aws::String&& value) { SetAvcLevel(std::move(value)); return *this;}
56 inline VideoConfiguration& WithAvcLevel(const char* value) { SetAvcLevel(value); return *this;}
58
60
64 inline const Aws::String& GetAvcProfile() const{ return m_avcProfile; }
65 inline bool AvcProfileHasBeenSet() const { return m_avcProfileHasBeenSet; }
66 inline void SetAvcProfile(const Aws::String& value) { m_avcProfileHasBeenSet = true; m_avcProfile = value; }
67 inline void SetAvcProfile(Aws::String&& value) { m_avcProfileHasBeenSet = true; m_avcProfile = std::move(value); }
68 inline void SetAvcProfile(const char* value) { m_avcProfileHasBeenSet = true; m_avcProfile.assign(value); }
69 inline VideoConfiguration& WithAvcProfile(const Aws::String& value) { SetAvcProfile(value); return *this;}
70 inline VideoConfiguration& WithAvcProfile(Aws::String&& value) { SetAvcProfile(std::move(value)); return *this;}
71 inline VideoConfiguration& WithAvcProfile(const char* value) { SetAvcProfile(value); return *this;}
73
75
78 inline const Aws::String& GetCodec() const{ return m_codec; }
79 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
80 inline void SetCodec(const Aws::String& value) { m_codecHasBeenSet = true; m_codec = value; }
81 inline void SetCodec(Aws::String&& value) { m_codecHasBeenSet = true; m_codec = std::move(value); }
82 inline void SetCodec(const char* value) { m_codecHasBeenSet = true; m_codec.assign(value); }
83 inline VideoConfiguration& WithCodec(const Aws::String& value) { SetCodec(value); return *this;}
84 inline VideoConfiguration& WithCodec(Aws::String&& value) { SetCodec(std::move(value)); return *this;}
85 inline VideoConfiguration& WithCodec(const char* value) { SetCodec(value); return *this;}
87
89
92 inline const Aws::String& GetEncoder() const{ return m_encoder; }
93 inline bool EncoderHasBeenSet() const { return m_encoderHasBeenSet; }
94 inline void SetEncoder(const Aws::String& value) { m_encoderHasBeenSet = true; m_encoder = value; }
95 inline void SetEncoder(Aws::String&& value) { m_encoderHasBeenSet = true; m_encoder = std::move(value); }
96 inline void SetEncoder(const char* value) { m_encoderHasBeenSet = true; m_encoder.assign(value); }
97 inline VideoConfiguration& WithEncoder(const Aws::String& value) { SetEncoder(value); return *this;}
98 inline VideoConfiguration& WithEncoder(Aws::String&& value) { SetEncoder(std::move(value)); return *this;}
99 inline VideoConfiguration& WithEncoder(const char* value) { SetEncoder(value); return *this;}
101
103
107 inline long long GetTargetBitrate() const{ return m_targetBitrate; }
108 inline bool TargetBitrateHasBeenSet() const { return m_targetBitrateHasBeenSet; }
109 inline void SetTargetBitrate(long long value) { m_targetBitrateHasBeenSet = true; m_targetBitrate = value; }
110 inline VideoConfiguration& WithTargetBitrate(long long value) { SetTargetBitrate(value); return *this;}
112
114
117 inline long long GetTargetFramerate() const{ return m_targetFramerate; }
118 inline bool TargetFramerateHasBeenSet() const { return m_targetFramerateHasBeenSet; }
119 inline void SetTargetFramerate(long long value) { m_targetFramerateHasBeenSet = true; m_targetFramerate = value; }
120 inline VideoConfiguration& WithTargetFramerate(long long value) { SetTargetFramerate(value); return *this;}
122
124
127 inline long long GetVideoHeight() const{ return m_videoHeight; }
128 inline bool VideoHeightHasBeenSet() const { return m_videoHeightHasBeenSet; }
129 inline void SetVideoHeight(long long value) { m_videoHeightHasBeenSet = true; m_videoHeight = value; }
130 inline VideoConfiguration& WithVideoHeight(long long value) { SetVideoHeight(value); return *this;}
132
134
137 inline long long GetVideoWidth() const{ return m_videoWidth; }
138 inline bool VideoWidthHasBeenSet() const { return m_videoWidthHasBeenSet; }
139 inline void SetVideoWidth(long long value) { m_videoWidthHasBeenSet = true; m_videoWidth = value; }
140 inline VideoConfiguration& WithVideoWidth(long long value) { SetVideoWidth(value); return *this;}
142 private:
143
144 Aws::String m_avcLevel;
145 bool m_avcLevelHasBeenSet = false;
146
147 Aws::String m_avcProfile;
148 bool m_avcProfileHasBeenSet = false;
149
150 Aws::String m_codec;
151 bool m_codecHasBeenSet = false;
152
153 Aws::String m_encoder;
154 bool m_encoderHasBeenSet = false;
155
156 long long m_targetBitrate;
157 bool m_targetBitrateHasBeenSet = false;
158
159 long long m_targetFramerate;
160 bool m_targetFramerateHasBeenSet = false;
161
162 long long m_videoHeight;
163 bool m_videoHeightHasBeenSet = false;
164
165 long long m_videoWidth;
166 bool m_videoWidthHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace IVS
171} // namespace Aws
VideoConfiguration & WithAvcProfile(const Aws::String &value)
VideoConfiguration & WithEncoder(Aws::String &&value)
AWS_IVS_API VideoConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCodec() const
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
VideoConfiguration & WithAvcLevel(const Aws::String &value)
AWS_IVS_API VideoConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
VideoConfiguration & WithAvcLevel(Aws::String &&value)
void SetAvcLevel(const Aws::String &value)
VideoConfiguration & WithAvcProfile(Aws::String &&value)
VideoConfiguration & WithTargetBitrate(long long value)
VideoConfiguration & WithEncoder(const Aws::String &value)
VideoConfiguration & WithAvcProfile(const char *value)
void SetAvcLevel(Aws::String &&value)
VideoConfiguration & WithVideoWidth(long long value)
VideoConfiguration & WithEncoder(const char *value)
void SetAvcProfile(const Aws::String &value)
VideoConfiguration & WithAvcLevel(const char *value)
void SetCodec(const Aws::String &value)
VideoConfiguration & WithVideoHeight(long long value)
const Aws::String & GetAvcProfile() const
void SetAvcProfile(Aws::String &&value)
void SetEncoder(Aws::String &&value)
const Aws::String & GetEncoder() const
VideoConfiguration & WithCodec(const Aws::String &value)
VideoConfiguration & WithCodec(const char *value)
VideoConfiguration & WithCodec(Aws::String &&value)
void SetEncoder(const Aws::String &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