AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AacSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/AacAudioDescriptionBroadcasterMix.h>
9#include <aws/mediaconvert/model/AacCodecProfile.h>
10#include <aws/mediaconvert/model/AacCodingMode.h>
11#include <aws/mediaconvert/model/AacRateControlMode.h>
12#include <aws/mediaconvert/model/AacRawFormat.h>
13#include <aws/mediaconvert/model/AacSpecification.h>
14#include <aws/mediaconvert/model/AacVbrQuality.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace MediaConvert
28{
29namespace Model
30{
31
43 {
44 public:
45 AWS_MEDIACONVERT_API AacSettings();
46 AWS_MEDIACONVERT_API AacSettings(Aws::Utils::Json::JsonView jsonValue);
47 AWS_MEDIACONVERT_API AacSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
63 inline const AacAudioDescriptionBroadcasterMix& GetAudioDescriptionBroadcasterMix() const{ return m_audioDescriptionBroadcasterMix; }
64 inline bool AudioDescriptionBroadcasterMixHasBeenSet() const { return m_audioDescriptionBroadcasterMixHasBeenSet; }
65 inline void SetAudioDescriptionBroadcasterMix(const AacAudioDescriptionBroadcasterMix& value) { m_audioDescriptionBroadcasterMixHasBeenSet = true; m_audioDescriptionBroadcasterMix = value; }
66 inline void SetAudioDescriptionBroadcasterMix(AacAudioDescriptionBroadcasterMix&& value) { m_audioDescriptionBroadcasterMixHasBeenSet = true; m_audioDescriptionBroadcasterMix = std::move(value); }
70
72
81 inline int GetBitrate() const{ return m_bitrate; }
82 inline bool BitrateHasBeenSet() const { return m_bitrateHasBeenSet; }
83 inline void SetBitrate(int value) { m_bitrateHasBeenSet = true; m_bitrate = value; }
84 inline AacSettings& WithBitrate(int value) { SetBitrate(value); return *this;}
86
88
96 inline const AacCodecProfile& GetCodecProfile() const{ return m_codecProfile; }
97 inline bool CodecProfileHasBeenSet() const { return m_codecProfileHasBeenSet; }
98 inline void SetCodecProfile(const AacCodecProfile& value) { m_codecProfileHasBeenSet = true; m_codecProfile = value; }
99 inline void SetCodecProfile(AacCodecProfile&& value) { m_codecProfileHasBeenSet = true; m_codecProfile = std::move(value); }
100 inline AacSettings& WithCodecProfile(const AacCodecProfile& value) { SetCodecProfile(value); return *this;}
101 inline AacSettings& WithCodecProfile(AacCodecProfile&& value) { SetCodecProfile(std::move(value)); return *this;}
103
105
115 inline const AacCodingMode& GetCodingMode() const{ return m_codingMode; }
116 inline bool CodingModeHasBeenSet() const { return m_codingModeHasBeenSet; }
117 inline void SetCodingMode(const AacCodingMode& value) { m_codingModeHasBeenSet = true; m_codingMode = value; }
118 inline void SetCodingMode(AacCodingMode&& value) { m_codingModeHasBeenSet = true; m_codingMode = std::move(value); }
119 inline AacSettings& WithCodingMode(const AacCodingMode& value) { SetCodingMode(value); return *this;}
120 inline AacSettings& WithCodingMode(AacCodingMode&& value) { SetCodingMode(std::move(value)); return *this;}
122
124
130 inline const AacRateControlMode& GetRateControlMode() const{ return m_rateControlMode; }
131 inline bool RateControlModeHasBeenSet() const { return m_rateControlModeHasBeenSet; }
132 inline void SetRateControlMode(const AacRateControlMode& value) { m_rateControlModeHasBeenSet = true; m_rateControlMode = value; }
133 inline void SetRateControlMode(AacRateControlMode&& value) { m_rateControlModeHasBeenSet = true; m_rateControlMode = std::move(value); }
134 inline AacSettings& WithRateControlMode(const AacRateControlMode& value) { SetRateControlMode(value); return *this;}
135 inline AacSettings& WithRateControlMode(AacRateControlMode&& value) { SetRateControlMode(std::move(value)); return *this;}
137
139
143 inline const AacRawFormat& GetRawFormat() const{ return m_rawFormat; }
144 inline bool RawFormatHasBeenSet() const { return m_rawFormatHasBeenSet; }
145 inline void SetRawFormat(const AacRawFormat& value) { m_rawFormatHasBeenSet = true; m_rawFormat = value; }
146 inline void SetRawFormat(AacRawFormat&& value) { m_rawFormatHasBeenSet = true; m_rawFormat = std::move(value); }
147 inline AacSettings& WithRawFormat(const AacRawFormat& value) { SetRawFormat(value); return *this;}
148 inline AacSettings& WithRawFormat(AacRawFormat&& value) { SetRawFormat(std::move(value)); return *this;}
150
152
158 inline int GetSampleRate() const{ return m_sampleRate; }
159 inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
160 inline void SetSampleRate(int value) { m_sampleRateHasBeenSet = true; m_sampleRate = value; }
161 inline AacSettings& WithSampleRate(int value) { SetSampleRate(value); return *this;}
163
165
169 inline const AacSpecification& GetSpecification() const{ return m_specification; }
170 inline bool SpecificationHasBeenSet() const { return m_specificationHasBeenSet; }
171 inline void SetSpecification(const AacSpecification& value) { m_specificationHasBeenSet = true; m_specification = value; }
172 inline void SetSpecification(AacSpecification&& value) { m_specificationHasBeenSet = true; m_specification = std::move(value); }
173 inline AacSettings& WithSpecification(const AacSpecification& value) { SetSpecification(value); return *this;}
174 inline AacSettings& WithSpecification(AacSpecification&& value) { SetSpecification(std::move(value)); return *this;}
176
178
183 inline const AacVbrQuality& GetVbrQuality() const{ return m_vbrQuality; }
184 inline bool VbrQualityHasBeenSet() const { return m_vbrQualityHasBeenSet; }
185 inline void SetVbrQuality(const AacVbrQuality& value) { m_vbrQualityHasBeenSet = true; m_vbrQuality = value; }
186 inline void SetVbrQuality(AacVbrQuality&& value) { m_vbrQualityHasBeenSet = true; m_vbrQuality = std::move(value); }
187 inline AacSettings& WithVbrQuality(const AacVbrQuality& value) { SetVbrQuality(value); return *this;}
188 inline AacSettings& WithVbrQuality(AacVbrQuality&& value) { SetVbrQuality(std::move(value)); return *this;}
190 private:
191
192 AacAudioDescriptionBroadcasterMix m_audioDescriptionBroadcasterMix;
193 bool m_audioDescriptionBroadcasterMixHasBeenSet = false;
194
195 int m_bitrate;
196 bool m_bitrateHasBeenSet = false;
197
198 AacCodecProfile m_codecProfile;
199 bool m_codecProfileHasBeenSet = false;
200
201 AacCodingMode m_codingMode;
202 bool m_codingModeHasBeenSet = false;
203
204 AacRateControlMode m_rateControlMode;
205 bool m_rateControlModeHasBeenSet = false;
206
207 AacRawFormat m_rawFormat;
208 bool m_rawFormatHasBeenSet = false;
209
210 int m_sampleRate;
211 bool m_sampleRateHasBeenSet = false;
212
213 AacSpecification m_specification;
214 bool m_specificationHasBeenSet = false;
215
216 AacVbrQuality m_vbrQuality;
217 bool m_vbrQualityHasBeenSet = false;
218 };
219
220} // namespace Model
221} // namespace MediaConvert
222} // namespace Aws
void SetRateControlMode(const AacRateControlMode &value)
void SetVbrQuality(const AacVbrQuality &value)
void SetVbrQuality(AacVbrQuality &&value)
AacSettings & WithCodingMode(const AacCodingMode &value)
bool AudioDescriptionBroadcasterMixHasBeenSet() const
Definition AacSettings.h:64
void SetSpecification(AacSpecification &&value)
void SetRawFormat(const AacRawFormat &value)
const AacCodingMode & GetCodingMode() const
void SetCodingMode(const AacCodingMode &value)
AacSettings & WithCodecProfile(const AacCodecProfile &value)
AWS_MEDIACONVERT_API AacSettings(Aws::Utils::Json::JsonView jsonValue)
const AacCodecProfile & GetCodecProfile() const
Definition AacSettings.h:96
AacSettings & WithCodecProfile(AacCodecProfile &&value)
AacSettings & WithAudioDescriptionBroadcasterMix(AacAudioDescriptionBroadcasterMix &&value)
Definition AacSettings.h:68
void SetRawFormat(AacRawFormat &&value)
const AacRawFormat & GetRawFormat() const
AacSettings & WithRateControlMode(const AacRateControlMode &value)
void SetCodecProfile(const AacCodecProfile &value)
Definition AacSettings.h:98
const AacVbrQuality & GetVbrQuality() const
AWS_MEDIACONVERT_API AacSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AacSettings & WithRawFormat(AacRawFormat &&value)
void SetAudioDescriptionBroadcasterMix(const AacAudioDescriptionBroadcasterMix &value)
Definition AacSettings.h:65
void SetRateControlMode(AacRateControlMode &&value)
AacSettings & WithRateControlMode(AacRateControlMode &&value)
void SetCodingMode(AacCodingMode &&value)
AacSettings & WithVbrQuality(AacVbrQuality &&value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
AacSettings & WithSpecification(const AacSpecification &value)
const AacAudioDescriptionBroadcasterMix & GetAudioDescriptionBroadcasterMix() const
Definition AacSettings.h:63
const AacRateControlMode & GetRateControlMode() const
const AacSpecification & GetSpecification() const
AacSettings & WithCodingMode(AacCodingMode &&value)
void SetSpecification(const AacSpecification &value)
AacSettings & WithSampleRate(int value)
AacSettings & WithAudioDescriptionBroadcasterMix(const AacAudioDescriptionBroadcasterMix &value)
Definition AacSettings.h:67
AacSettings & WithRawFormat(const AacRawFormat &value)
AacSettings & WithVbrQuality(const AacVbrQuality &value)
void SetAudioDescriptionBroadcasterMix(AacAudioDescriptionBroadcasterMix &&value)
Definition AacSettings.h:66
AacSettings & WithSpecification(AacSpecification &&value)
void SetCodecProfile(AacCodecProfile &&value)
Definition AacSettings.h:99
AacSettings & WithBitrate(int value)
Definition AacSettings.h:84
AWS_MEDIACONVERT_API AacSettings()
Aws::Utils::Json::JsonValue JsonValue