AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
VorbisSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaConvert
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_MEDIACONVERT_API VorbisSettings();
34 AWS_MEDIACONVERT_API VorbisSettings(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDIACONVERT_API VorbisSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
45 inline int GetChannels() const{ return m_channels; }
46 inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
47 inline void SetChannels(int value) { m_channelsHasBeenSet = true; m_channels = value; }
48 inline VorbisSettings& WithChannels(int value) { SetChannels(value); return *this;}
50
52
56 inline int GetSampleRate() const{ return m_sampleRate; }
57 inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
58 inline void SetSampleRate(int value) { m_sampleRateHasBeenSet = true; m_sampleRate = value; }
59 inline VorbisSettings& WithSampleRate(int value) { SetSampleRate(value); return *this;}
61
63
69 inline int GetVbrQuality() const{ return m_vbrQuality; }
70 inline bool VbrQualityHasBeenSet() const { return m_vbrQualityHasBeenSet; }
71 inline void SetVbrQuality(int value) { m_vbrQualityHasBeenSet = true; m_vbrQuality = value; }
72 inline VorbisSettings& WithVbrQuality(int value) { SetVbrQuality(value); return *this;}
74 private:
75
76 int m_channels;
77 bool m_channelsHasBeenSet = false;
78
79 int m_sampleRate;
80 bool m_sampleRateHasBeenSet = false;
81
82 int m_vbrQuality;
83 bool m_vbrQualityHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace MediaConvert
88} // 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)
VorbisSettings & WithSampleRate(int value)
AWS_MEDIACONVERT_API VorbisSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue