AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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
39 inline int GetChannels() const { return m_channels; }
40 inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
41 inline void SetChannels(int value) {
42 m_channelsHasBeenSet = true;
43 m_channels = value;
44 }
45 inline VorbisSettings& WithChannels(int value) {
46 SetChannels(value);
47 return *this;
48 }
50
52
56 inline int GetSampleRate() const { return m_sampleRate; }
57 inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
58 inline void SetSampleRate(int value) {
59 m_sampleRateHasBeenSet = true;
60 m_sampleRate = value;
61 }
62 inline VorbisSettings& WithSampleRate(int value) {
63 SetSampleRate(value);
64 return *this;
65 }
67
69
75 inline int GetVbrQuality() const { return m_vbrQuality; }
76 inline bool VbrQualityHasBeenSet() const { return m_vbrQualityHasBeenSet; }
77 inline void SetVbrQuality(int value) {
78 m_vbrQualityHasBeenSet = true;
79 m_vbrQuality = value;
80 }
81 inline VorbisSettings& WithVbrQuality(int value) {
82 SetVbrQuality(value);
83 return *this;
84 }
86 private:
87 int m_channels{0};
88
89 int m_sampleRate{0};
90
91 int m_vbrQuality{0};
92 bool m_channelsHasBeenSet = false;
93 bool m_sampleRateHasBeenSet = false;
94 bool m_vbrQualityHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace MediaConvert
99} // 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