AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
VorbisSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace MediaConvert {
17namespace Model {
18
26 public:
27 AWS_MEDIACONVERT_API VorbisSettings() = default;
28 AWS_MEDIACONVERT_API VorbisSettings(Aws::Utils::Json::JsonView jsonValue);
29 AWS_MEDIACONVERT_API VorbisSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
38 inline int GetChannels() const { return m_channels; }
39 inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
40 inline void SetChannels(int value) {
41 m_channelsHasBeenSet = true;
42 m_channels = value;
43 }
44 inline VorbisSettings& WithChannels(int value) {
45 SetChannels(value);
46 return *this;
47 }
49
51
55 inline int GetSampleRate() const { return m_sampleRate; }
56 inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
57 inline void SetSampleRate(int value) {
58 m_sampleRateHasBeenSet = true;
59 m_sampleRate = value;
60 }
61 inline VorbisSettings& WithSampleRate(int value) {
62 SetSampleRate(value);
63 return *this;
64 }
66
68
74 inline int GetVbrQuality() const { return m_vbrQuality; }
75 inline bool VbrQualityHasBeenSet() const { return m_vbrQualityHasBeenSet; }
76 inline void SetVbrQuality(int value) {
77 m_vbrQualityHasBeenSet = true;
78 m_vbrQuality = value;
79 }
80 inline VorbisSettings& WithVbrQuality(int value) {
81 SetVbrQuality(value);
82 return *this;
83 }
85 private:
86 int m_channels{0};
87
88 int m_sampleRate{0};
89
90 int m_vbrQuality{0};
91 bool m_channelsHasBeenSet = false;
92 bool m_sampleRateHasBeenSet = false;
93 bool m_vbrQualityHasBeenSet = false;
94};
95
96} // namespace Model
97} // namespace MediaConvert
98} // namespace Aws
AWS_MEDIACONVERT_API VorbisSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
VorbisSettings & WithChannels(int value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
VorbisSettings & WithVbrQuality(int value)
AWS_MEDIACONVERT_API VorbisSettings()=default
VorbisSettings & WithSampleRate(int value)
AWS_MEDIACONVERT_API VorbisSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue