AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OpusSettings.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 OpusSettings();
34 AWS_MEDIACONVERT_API OpusSettings(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDIACONVERT_API OpusSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
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 OpusSettings& 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 OpusSettings& WithChannels(int value) { SetChannels(value); return *this;}
62
64
68 inline int GetSampleRate() const{ return m_sampleRate; }
69 inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
70 inline void SetSampleRate(int value) { m_sampleRateHasBeenSet = true; m_sampleRate = value; }
71 inline OpusSettings& WithSampleRate(int value) { SetSampleRate(value); return *this;}
73 private:
74
75 int m_bitrate;
76 bool m_bitrateHasBeenSet = false;
77
78 int m_channels;
79 bool m_channelsHasBeenSet = false;
80
81 int m_sampleRate;
82 bool m_sampleRateHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace MediaConvert
87} // namespace Aws
OpusSettings & WithSampleRate(int value)
OpusSettings & WithChannels(int value)
AWS_MEDIACONVERT_API OpusSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
OpusSettings & WithBitrate(int value)
AWS_MEDIACONVERT_API OpusSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONVERT_API OpusSettings()
Aws::Utils::Json::JsonValue JsonValue