AWS SDK for C++  1.9.129
AWS SDK for C++
OpusSettings.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace MediaConvert
20 {
21 namespace Model
22 {
23 
31  {
32  public:
37 
38 
44  inline int GetBitrate() const{ return m_bitrate; }
45 
51  inline bool BitrateHasBeenSet() const { return m_bitrateHasBeenSet; }
52 
58  inline void SetBitrate(int value) { m_bitrateHasBeenSet = true; m_bitrate = value; }
59 
65  inline OpusSettings& WithBitrate(int value) { SetBitrate(value); return *this;}
66 
67 
73  inline int GetChannels() const{ return m_channels; }
74 
80  inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
81 
87  inline void SetChannels(int value) { m_channelsHasBeenSet = true; m_channels = value; }
88 
94  inline OpusSettings& WithChannels(int value) { SetChannels(value); return *this;}
95 
96 
101  inline int GetSampleRate() const{ return m_sampleRate; }
102 
107  inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
108 
113  inline void SetSampleRate(int value) { m_sampleRateHasBeenSet = true; m_sampleRate = value; }
114 
119  inline OpusSettings& WithSampleRate(int value) { SetSampleRate(value); return *this;}
120 
121  private:
122 
123  int m_bitrate;
124  bool m_bitrateHasBeenSet;
125 
126  int m_channels;
127  bool m_channelsHasBeenSet;
128 
129  int m_sampleRate;
130  bool m_sampleRateHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace MediaConvert
135 } // namespace Aws
Aws::MediaConvert::Model::OpusSettings::SetChannels
void SetChannels(int value)
Definition: OpusSettings.h:87
Aws::MediaConvert::Model::OpusSettings::GetSampleRate
int GetSampleRate() const
Definition: OpusSettings.h:101
Aws::MediaConvert::Model::OpusSettings::OpusSettings
OpusSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::OpusSettings::SampleRateHasBeenSet
bool SampleRateHasBeenSet() const
Definition: OpusSettings.h:107
Aws::MediaConvert::Model::OpusSettings::SetSampleRate
void SetSampleRate(int value)
Definition: OpusSettings.h:113
MediaConvert_EXPORTS.h
Aws::MediaConvert::Model::OpusSettings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::OpusSettings
Definition: OpusSettings.h:31
Aws::MediaConvert::Model::OpusSettings::GetBitrate
int GetBitrate() const
Definition: OpusSettings.h:44
Aws::MediaConvert::Model::OpusSettings::WithBitrate
OpusSettings & WithBitrate(int value)
Definition: OpusSettings.h:65
Aws::MediaConvert::Model::OpusSettings::SetBitrate
void SetBitrate(int value)
Definition: OpusSettings.h:58
Aws::MediaConvert::Model::OpusSettings::BitrateHasBeenSet
bool BitrateHasBeenSet() const
Definition: OpusSettings.h:51
Aws::MediaConvert::Model::OpusSettings::GetChannels
int GetChannels() const
Definition: OpusSettings.h:73
Aws::MediaConvert::Model::OpusSettings::WithChannels
OpusSettings & WithChannels(int value)
Definition: OpusSettings.h:94
Aws::MediaConvert::Model::OpusSettings::ChannelsHasBeenSet
bool ChannelsHasBeenSet() const
Definition: OpusSettings.h:80
Aws::MediaConvert::Model::OpusSettings::WithSampleRate
OpusSettings & WithSampleRate(int value)
Definition: OpusSettings.h:119
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::OpusSettings::operator=
OpusSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::OpusSettings::OpusSettings
OpusSettings()