AWS SDK for C++  1.9.124
AWS SDK for C++
Mp2Settings.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 
42  inline int GetBitrate() const{ return m_bitrate; }
43 
47  inline bool BitrateHasBeenSet() const { return m_bitrateHasBeenSet; }
48 
52  inline void SetBitrate(int value) { m_bitrateHasBeenSet = true; m_bitrate = value; }
53 
57  inline Mp2Settings& WithBitrate(int value) { SetBitrate(value); return *this;}
58 
59 
65  inline int GetChannels() const{ return m_channels; }
66 
72  inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
73 
79  inline void SetChannels(int value) { m_channelsHasBeenSet = true; m_channels = value; }
80 
86  inline Mp2Settings& WithChannels(int value) { SetChannels(value); return *this;}
87 
88 
92  inline int GetSampleRate() const{ return m_sampleRate; }
93 
97  inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
98 
102  inline void SetSampleRate(int value) { m_sampleRateHasBeenSet = true; m_sampleRate = value; }
103 
107  inline Mp2Settings& WithSampleRate(int value) { SetSampleRate(value); return *this;}
108 
109  private:
110 
111  int m_bitrate;
112  bool m_bitrateHasBeenSet;
113 
114  int m_channels;
115  bool m_channelsHasBeenSet;
116 
117  int m_sampleRate;
118  bool m_sampleRateHasBeenSet;
119  };
120 
121 } // namespace Model
122 } // namespace MediaConvert
123 } // namespace Aws
Aws::MediaConvert::Model::Mp2Settings::SampleRateHasBeenSet
bool SampleRateHasBeenSet() const
Definition: Mp2Settings.h:97
Aws::MediaConvert::Model::Mp2Settings::operator=
Mp2Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::Mp2Settings::GetSampleRate
int GetSampleRate() const
Definition: Mp2Settings.h:92
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::Mp2Settings::ChannelsHasBeenSet
bool ChannelsHasBeenSet() const
Definition: Mp2Settings.h:72
Aws::MediaConvert::Model::Mp2Settings::GetBitrate
int GetBitrate() const
Definition: Mp2Settings.h:42
Aws::MediaConvert::Model::Mp2Settings::BitrateHasBeenSet
bool BitrateHasBeenSet() const
Definition: Mp2Settings.h:47
Aws::MediaConvert::Model::Mp2Settings::SetSampleRate
void SetSampleRate(int value)
Definition: Mp2Settings.h:102
Aws::MediaConvert::Model::Mp2Settings::WithSampleRate
Mp2Settings & WithSampleRate(int value)
Definition: Mp2Settings.h:107
Aws::MediaConvert::Model::Mp2Settings::Mp2Settings
Mp2Settings()
Aws::MediaConvert::Model::Mp2Settings::Mp2Settings
Mp2Settings(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::Mp2Settings::SetChannels
void SetChannels(int value)
Definition: Mp2Settings.h:79
Aws::MediaConvert::Model::Mp2Settings::SetBitrate
void SetBitrate(int value)
Definition: Mp2Settings.h:52
Aws::MediaConvert::Model::Mp2Settings::WithChannels
Mp2Settings & WithChannels(int value)
Definition: Mp2Settings.h:86
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::Mp2Settings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaConvert::Model::Mp2Settings
Definition: Mp2Settings.h:31
Aws::MediaConvert::Model::Mp2Settings::WithBitrate
Mp2Settings & WithBitrate(int value)
Definition: Mp2Settings.h:57
Aws::MediaConvert::Model::Mp2Settings::GetChannels
int GetChannels() const
Definition: Mp2Settings.h:65