AWS SDK for C++  1.9.123
AWS SDK for C++
Mp3Settings.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace MediaConvert
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline int GetBitrate() const{ return m_bitrate; }
45 
49  inline bool BitrateHasBeenSet() const { return m_bitrateHasBeenSet; }
50 
54  inline void SetBitrate(int value) { m_bitrateHasBeenSet = true; m_bitrate = value; }
55 
59  inline Mp3Settings& WithBitrate(int value) { SetBitrate(value); return *this;}
60 
61 
67  inline int GetChannels() const{ return m_channels; }
68 
74  inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
75 
81  inline void SetChannels(int value) { m_channelsHasBeenSet = true; m_channels = value; }
82 
88  inline Mp3Settings& WithChannels(int value) { SetChannels(value); return *this;}
89 
90 
95  inline const Mp3RateControlMode& GetRateControlMode() const{ return m_rateControlMode; }
96 
101  inline bool RateControlModeHasBeenSet() const { return m_rateControlModeHasBeenSet; }
102 
107  inline void SetRateControlMode(const Mp3RateControlMode& value) { m_rateControlModeHasBeenSet = true; m_rateControlMode = value; }
108 
113  inline void SetRateControlMode(Mp3RateControlMode&& value) { m_rateControlModeHasBeenSet = true; m_rateControlMode = std::move(value); }
114 
119  inline Mp3Settings& WithRateControlMode(const Mp3RateControlMode& value) { SetRateControlMode(value); return *this;}
120 
125  inline Mp3Settings& WithRateControlMode(Mp3RateControlMode&& value) { SetRateControlMode(std::move(value)); return *this;}
126 
127 
131  inline int GetSampleRate() const{ return m_sampleRate; }
132 
136  inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
137 
141  inline void SetSampleRate(int value) { m_sampleRateHasBeenSet = true; m_sampleRate = value; }
142 
146  inline Mp3Settings& WithSampleRate(int value) { SetSampleRate(value); return *this;}
147 
148 
153  inline int GetVbrQuality() const{ return m_vbrQuality; }
154 
159  inline bool VbrQualityHasBeenSet() const { return m_vbrQualityHasBeenSet; }
160 
165  inline void SetVbrQuality(int value) { m_vbrQualityHasBeenSet = true; m_vbrQuality = value; }
166 
171  inline Mp3Settings& WithVbrQuality(int value) { SetVbrQuality(value); return *this;}
172 
173  private:
174 
175  int m_bitrate;
176  bool m_bitrateHasBeenSet;
177 
178  int m_channels;
179  bool m_channelsHasBeenSet;
180 
181  Mp3RateControlMode m_rateControlMode;
182  bool m_rateControlModeHasBeenSet;
183 
184  int m_sampleRate;
185  bool m_sampleRateHasBeenSet;
186 
187  int m_vbrQuality;
188  bool m_vbrQualityHasBeenSet;
189  };
190 
191 } // namespace Model
192 } // namespace MediaConvert
193 } // namespace Aws
Aws::MediaConvert::Model::Mp3Settings::GetVbrQuality
int GetVbrQuality() const
Definition: Mp3Settings.h:153
Aws::MediaConvert::Model::Mp3Settings::BitrateHasBeenSet
bool BitrateHasBeenSet() const
Definition: Mp3Settings.h:49
Aws::MediaConvert::Model::Mp3Settings::WithChannels
Mp3Settings & WithChannels(int value)
Definition: Mp3Settings.h:88
Aws::MediaConvert::Model::Mp3Settings::WithRateControlMode
Mp3Settings & WithRateControlMode(const Mp3RateControlMode &value)
Definition: Mp3Settings.h:119
MediaConvert_EXPORTS.h
Aws::MediaConvert::Model::Mp3Settings
Definition: Mp3Settings.h:33
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::Mp3Settings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaConvert::Model::Mp3Settings::RateControlModeHasBeenSet
bool RateControlModeHasBeenSet() const
Definition: Mp3Settings.h:101
Aws::MediaConvert::Model::Mp3Settings::Mp3Settings
Mp3Settings(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::Mp3Settings::SetRateControlMode
void SetRateControlMode(Mp3RateControlMode &&value)
Definition: Mp3Settings.h:113
Aws::MediaConvert::Model::Mp3Settings::WithBitrate
Mp3Settings & WithBitrate(int value)
Definition: Mp3Settings.h:59
Aws::MediaConvert::Model::Mp3Settings::WithSampleRate
Mp3Settings & WithSampleRate(int value)
Definition: Mp3Settings.h:146
Aws::MediaConvert::Model::Mp3Settings::SetSampleRate
void SetSampleRate(int value)
Definition: Mp3Settings.h:141
Aws::MediaConvert::Model::Mp3Settings::operator=
Mp3Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::Mp3Settings::Mp3Settings
Mp3Settings()
Aws::MediaConvert::Model::Mp3Settings::ChannelsHasBeenSet
bool ChannelsHasBeenSet() const
Definition: Mp3Settings.h:74
Aws::MediaConvert::Model::Mp3Settings::VbrQualityHasBeenSet
bool VbrQualityHasBeenSet() const
Definition: Mp3Settings.h:159
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::Mp3Settings::GetRateControlMode
const Mp3RateControlMode & GetRateControlMode() const
Definition: Mp3Settings.h:95
Aws::MediaConvert::Model::Mp3Settings::SetRateControlMode
void SetRateControlMode(const Mp3RateControlMode &value)
Definition: Mp3Settings.h:107
Aws::MediaConvert::Model::Mp3Settings::SetVbrQuality
void SetVbrQuality(int value)
Definition: Mp3Settings.h:165
Aws::MediaConvert::Model::Mp3RateControlMode
Mp3RateControlMode
Definition: Mp3RateControlMode.h:17
Aws::MediaConvert::Model::Mp3Settings::GetSampleRate
int GetSampleRate() const
Definition: Mp3Settings.h:131
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::Mp3Settings::GetBitrate
int GetBitrate() const
Definition: Mp3Settings.h:44
Aws::MediaConvert::Model::Mp3Settings::WithVbrQuality
Mp3Settings & WithVbrQuality(int value)
Definition: Mp3Settings.h:171
Aws::MediaConvert::Model::Mp3Settings::WithRateControlMode
Mp3Settings & WithRateControlMode(Mp3RateControlMode &&value)
Definition: Mp3Settings.h:125
Aws::MediaConvert::Model::Mp3Settings::SetBitrate
void SetBitrate(int value)
Definition: Mp3Settings.h:54
Aws::MediaConvert::Model::Mp3Settings::GetChannels
int GetChannels() const
Definition: Mp3Settings.h:67
Aws::MediaConvert::Model::Mp3Settings::SampleRateHasBeenSet
bool SampleRateHasBeenSet() const
Definition: Mp3Settings.h:136
Aws::MediaConvert::Model::Mp3Settings::SetChannels
void SetChannels(int value)
Definition: Mp3Settings.h:81
Mp3RateControlMode.h