AWS SDK for C++  1.9.129
AWS SDK for C++
WavSettings.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace MediaConvert
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
45  inline int GetBitDepth() const{ return m_bitDepth; }
46 
51  inline bool BitDepthHasBeenSet() const { return m_bitDepthHasBeenSet; }
52 
57  inline void SetBitDepth(int value) { m_bitDepthHasBeenSet = true; m_bitDepth = value; }
58 
63  inline WavSettings& WithBitDepth(int value) { SetBitDepth(value); return *this;}
64 
65 
70  inline int GetChannels() const{ return m_channels; }
71 
76  inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
77 
82  inline void SetChannels(int value) { m_channelsHasBeenSet = true; m_channels = value; }
83 
88  inline WavSettings& WithChannels(int value) { SetChannels(value); return *this;}
89 
90 
96  inline const WavFormat& GetFormat() const{ return m_format; }
97 
103  inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
104 
110  inline void SetFormat(const WavFormat& value) { m_formatHasBeenSet = true; m_format = value; }
111 
117  inline void SetFormat(WavFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
118 
124  inline WavSettings& WithFormat(const WavFormat& value) { SetFormat(value); return *this;}
125 
131  inline WavSettings& WithFormat(WavFormat&& value) { SetFormat(std::move(value)); return *this;}
132 
133 
137  inline int GetSampleRate() const{ return m_sampleRate; }
138 
142  inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
143 
147  inline void SetSampleRate(int value) { m_sampleRateHasBeenSet = true; m_sampleRate = value; }
148 
152  inline WavSettings& WithSampleRate(int value) { SetSampleRate(value); return *this;}
153 
154  private:
155 
156  int m_bitDepth;
157  bool m_bitDepthHasBeenSet;
158 
159  int m_channels;
160  bool m_channelsHasBeenSet;
161 
162  WavFormat m_format;
163  bool m_formatHasBeenSet;
164 
165  int m_sampleRate;
166  bool m_sampleRateHasBeenSet;
167  };
168 
169 } // namespace Model
170 } // namespace MediaConvert
171 } // namespace Aws
Aws::MediaConvert::Model::WavSettings::WithFormat
WavSettings & WithFormat(WavFormat &&value)
Definition: WavSettings.h:131
Aws::MediaConvert::Model::WavSettings::WavSettings
WavSettings()
Aws::MediaConvert::Model::WavSettings
Definition: WavSettings.h:33
Aws::MediaConvert::Model::WavSettings::GetSampleRate
int GetSampleRate() const
Definition: WavSettings.h:137
Aws::MediaConvert::Model::WavSettings::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::MediaConvert::Model::WavSettings::ChannelsHasBeenSet
bool ChannelsHasBeenSet() const
Definition: WavSettings.h:76
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::WavSettings::SetFormat
void SetFormat(WavFormat &&value)
Definition: WavSettings.h:117
Aws::MediaConvert::Model::WavSettings::GetChannels
int GetChannels() const
Definition: WavSettings.h:70
Aws::MediaConvert::Model::WavSettings::WithChannels
WavSettings & WithChannels(int value)
Definition: WavSettings.h:88
WavFormat.h
Aws::MediaConvert::Model::WavSettings::operator=
WavSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::WavSettings::BitDepthHasBeenSet
bool BitDepthHasBeenSet() const
Definition: WavSettings.h:51
Aws::MediaConvert::Model::WavSettings::WavSettings
WavSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::WavSettings::WithBitDepth
WavSettings & WithBitDepth(int value)
Definition: WavSettings.h:63
Aws::MediaConvert::Model::WavFormat
WavFormat
Definition: WavFormat.h:17
Aws::MediaConvert::Model::WavSettings::SetSampleRate
void SetSampleRate(int value)
Definition: WavSettings.h:147
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::MediaConvert::Model::WavSettings::SetBitDepth
void SetBitDepth(int value)
Definition: WavSettings.h:57
Aws::MediaConvert::Model::WavSettings::GetBitDepth
int GetBitDepth() const
Definition: WavSettings.h:45
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::WavSettings::SampleRateHasBeenSet
bool SampleRateHasBeenSet() const
Definition: WavSettings.h:142
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::WavSettings::FormatHasBeenSet
bool FormatHasBeenSet() const
Definition: WavSettings.h:103
Aws::MediaConvert::Model::WavSettings::WithSampleRate
WavSettings & WithSampleRate(int value)
Definition: WavSettings.h:152
Aws::MediaConvert::Model::WavSettings::SetFormat
void SetFormat(const WavFormat &value)
Definition: WavSettings.h:110
Aws::MediaConvert::Model::WavSettings::WithFormat
WavSettings & WithFormat(const WavFormat &value)
Definition: WavSettings.h:124
Aws::MediaConvert::Model::WavSettings::SetChannels
void SetChannels(int value)
Definition: WavSettings.h:82
Aws::MediaConvert::Model::WavSettings::GetFormat
const WavFormat & GetFormat() const
Definition: WavSettings.h:96