AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Mp3Settings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/Mp3RateControlMode.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 MediaConvert
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MEDIACONVERT_API Mp3Settings();
36 AWS_MEDIACONVERT_API Mp3Settings(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIACONVERT_API Mp3Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline int GetBitrate() const{ return m_bitrate; }
46 inline bool BitrateHasBeenSet() const { return m_bitrateHasBeenSet; }
47 inline void SetBitrate(int value) { m_bitrateHasBeenSet = true; m_bitrate = value; }
48 inline Mp3Settings& WithBitrate(int value) { SetBitrate(value); return *this;}
50
52
57 inline int GetChannels() const{ return m_channels; }
58 inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
59 inline void SetChannels(int value) { m_channelsHasBeenSet = true; m_channels = value; }
60 inline Mp3Settings& WithChannels(int value) { SetChannels(value); return *this;}
62
64
68 inline const Mp3RateControlMode& GetRateControlMode() const{ return m_rateControlMode; }
69 inline bool RateControlModeHasBeenSet() const { return m_rateControlModeHasBeenSet; }
70 inline void SetRateControlMode(const Mp3RateControlMode& value) { m_rateControlModeHasBeenSet = true; m_rateControlMode = value; }
71 inline void SetRateControlMode(Mp3RateControlMode&& value) { m_rateControlModeHasBeenSet = true; m_rateControlMode = std::move(value); }
72 inline Mp3Settings& WithRateControlMode(const Mp3RateControlMode& value) { SetRateControlMode(value); return *this;}
73 inline Mp3Settings& WithRateControlMode(Mp3RateControlMode&& value) { SetRateControlMode(std::move(value)); return *this;}
75
77
80 inline int GetSampleRate() const{ return m_sampleRate; }
81 inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
82 inline void SetSampleRate(int value) { m_sampleRateHasBeenSet = true; m_sampleRate = value; }
83 inline Mp3Settings& WithSampleRate(int value) { SetSampleRate(value); return *this;}
85
87
91 inline int GetVbrQuality() const{ return m_vbrQuality; }
92 inline bool VbrQualityHasBeenSet() const { return m_vbrQualityHasBeenSet; }
93 inline void SetVbrQuality(int value) { m_vbrQualityHasBeenSet = true; m_vbrQuality = value; }
94 inline Mp3Settings& WithVbrQuality(int value) { SetVbrQuality(value); return *this;}
96 private:
97
98 int m_bitrate;
99 bool m_bitrateHasBeenSet = false;
100
101 int m_channels;
102 bool m_channelsHasBeenSet = false;
103
104 Mp3RateControlMode m_rateControlMode;
105 bool m_rateControlModeHasBeenSet = false;
106
107 int m_sampleRate;
108 bool m_sampleRateHasBeenSet = false;
109
110 int m_vbrQuality;
111 bool m_vbrQualityHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace MediaConvert
116} // namespace Aws
Mp3Settings & WithRateControlMode(Mp3RateControlMode &&value)
Definition Mp3Settings.h:73
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
Mp3Settings & WithBitrate(int value)
Definition Mp3Settings.h:48
AWS_MEDIACONVERT_API Mp3Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API Mp3Settings()
AWS_MEDIACONVERT_API Mp3Settings(Aws::Utils::Json::JsonView jsonValue)
void SetRateControlMode(const Mp3RateControlMode &value)
Definition Mp3Settings.h:70
void SetRateControlMode(Mp3RateControlMode &&value)
Definition Mp3Settings.h:71
Mp3Settings & WithChannels(int value)
Definition Mp3Settings.h:60
Mp3Settings & WithVbrQuality(int value)
Definition Mp3Settings.h:94
Mp3Settings & WithSampleRate(int value)
Definition Mp3Settings.h:83
Mp3Settings & WithRateControlMode(const Mp3RateControlMode &value)
Definition Mp3Settings.h:72
const Mp3RateControlMode & GetRateControlMode() const
Definition Mp3Settings.h:68
Aws::Utils::Json::JsonValue JsonValue