AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AudioParameters.h
1
6#pragma once
7#include <aws/elastictranscoder/ElasticTranscoder_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elastictranscoder/model/AudioCodecOptions.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace ElasticTranscoder
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_ELASTICTRANSCODER_API AudioParameters();
36 AWS_ELASTICTRANSCODER_API AudioParameters(Aws::Utils::Json::JsonView jsonValue);
37 AWS_ELASTICTRANSCODER_API AudioParameters& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
47 inline const Aws::String& GetCodec() const{ return m_codec; }
48 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
49 inline void SetCodec(const Aws::String& value) { m_codecHasBeenSet = true; m_codec = value; }
50 inline void SetCodec(Aws::String&& value) { m_codecHasBeenSet = true; m_codec = std::move(value); }
51 inline void SetCodec(const char* value) { m_codecHasBeenSet = true; m_codec.assign(value); }
52 inline AudioParameters& WithCodec(const Aws::String& value) { SetCodec(value); return *this;}
53 inline AudioParameters& WithCodec(Aws::String&& value) { SetCodec(std::move(value)); return *this;}
54 inline AudioParameters& WithCodec(const char* value) { SetCodec(value); return *this;}
56
58
65 inline const Aws::String& GetSampleRate() const{ return m_sampleRate; }
66 inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
67 inline void SetSampleRate(const Aws::String& value) { m_sampleRateHasBeenSet = true; m_sampleRate = value; }
68 inline void SetSampleRate(Aws::String&& value) { m_sampleRateHasBeenSet = true; m_sampleRate = std::move(value); }
69 inline void SetSampleRate(const char* value) { m_sampleRateHasBeenSet = true; m_sampleRate.assign(value); }
70 inline AudioParameters& WithSampleRate(const Aws::String& value) { SetSampleRate(value); return *this;}
71 inline AudioParameters& WithSampleRate(Aws::String&& value) { SetSampleRate(std::move(value)); return *this;}
72 inline AudioParameters& WithSampleRate(const char* value) { SetSampleRate(value); return *this;}
74
76
80 inline const Aws::String& GetBitRate() const{ return m_bitRate; }
81 inline bool BitRateHasBeenSet() const { return m_bitRateHasBeenSet; }
82 inline void SetBitRate(const Aws::String& value) { m_bitRateHasBeenSet = true; m_bitRate = value; }
83 inline void SetBitRate(Aws::String&& value) { m_bitRateHasBeenSet = true; m_bitRate = std::move(value); }
84 inline void SetBitRate(const char* value) { m_bitRateHasBeenSet = true; m_bitRate.assign(value); }
85 inline AudioParameters& WithBitRate(const Aws::String& value) { SetBitRate(value); return *this;}
86 inline AudioParameters& WithBitRate(Aws::String&& value) { SetBitRate(std::move(value)); return *this;}
87 inline AudioParameters& WithBitRate(const char* value) { SetBitRate(value); return *this;}
89
91
111 inline const Aws::String& GetChannels() const{ return m_channels; }
112 inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
113 inline void SetChannels(const Aws::String& value) { m_channelsHasBeenSet = true; m_channels = value; }
114 inline void SetChannels(Aws::String&& value) { m_channelsHasBeenSet = true; m_channels = std::move(value); }
115 inline void SetChannels(const char* value) { m_channelsHasBeenSet = true; m_channels.assign(value); }
116 inline AudioParameters& WithChannels(const Aws::String& value) { SetChannels(value); return *this;}
117 inline AudioParameters& WithChannels(Aws::String&& value) { SetChannels(std::move(value)); return *this;}
118 inline AudioParameters& WithChannels(const char* value) { SetChannels(value); return *this;}
120
122
191 inline const Aws::String& GetAudioPackingMode() const{ return m_audioPackingMode; }
192 inline bool AudioPackingModeHasBeenSet() const { return m_audioPackingModeHasBeenSet; }
193 inline void SetAudioPackingMode(const Aws::String& value) { m_audioPackingModeHasBeenSet = true; m_audioPackingMode = value; }
194 inline void SetAudioPackingMode(Aws::String&& value) { m_audioPackingModeHasBeenSet = true; m_audioPackingMode = std::move(value); }
195 inline void SetAudioPackingMode(const char* value) { m_audioPackingModeHasBeenSet = true; m_audioPackingMode.assign(value); }
196 inline AudioParameters& WithAudioPackingMode(const Aws::String& value) { SetAudioPackingMode(value); return *this;}
197 inline AudioParameters& WithAudioPackingMode(Aws::String&& value) { SetAudioPackingMode(std::move(value)); return *this;}
198 inline AudioParameters& WithAudioPackingMode(const char* value) { SetAudioPackingMode(value); return *this;}
200
202
209 inline const AudioCodecOptions& GetCodecOptions() const{ return m_codecOptions; }
210 inline bool CodecOptionsHasBeenSet() const { return m_codecOptionsHasBeenSet; }
211 inline void SetCodecOptions(const AudioCodecOptions& value) { m_codecOptionsHasBeenSet = true; m_codecOptions = value; }
212 inline void SetCodecOptions(AudioCodecOptions&& value) { m_codecOptionsHasBeenSet = true; m_codecOptions = std::move(value); }
213 inline AudioParameters& WithCodecOptions(const AudioCodecOptions& value) { SetCodecOptions(value); return *this;}
214 inline AudioParameters& WithCodecOptions(AudioCodecOptions&& value) { SetCodecOptions(std::move(value)); return *this;}
216 private:
217
218 Aws::String m_codec;
219 bool m_codecHasBeenSet = false;
220
221 Aws::String m_sampleRate;
222 bool m_sampleRateHasBeenSet = false;
223
224 Aws::String m_bitRate;
225 bool m_bitRateHasBeenSet = false;
226
227 Aws::String m_channels;
228 bool m_channelsHasBeenSet = false;
229
230 Aws::String m_audioPackingMode;
231 bool m_audioPackingModeHasBeenSet = false;
232
233 AudioCodecOptions m_codecOptions;
234 bool m_codecOptionsHasBeenSet = false;
235 };
236
237} // namespace Model
238} // namespace ElasticTranscoder
239} // namespace Aws
AudioParameters & WithBitRate(Aws::String &&value)
AWS_ELASTICTRANSCODER_API AudioParameters()
AudioParameters & WithAudioPackingMode(const char *value)
AudioParameters & WithSampleRate(const Aws::String &value)
AudioParameters & WithAudioPackingMode(const Aws::String &value)
AudioParameters & WithChannels(const char *value)
AudioParameters & WithCodec(const char *value)
const AudioCodecOptions & GetCodecOptions() const
void SetBitRate(const Aws::String &value)
AWS_ELASTICTRANSCODER_API AudioParameters(Aws::Utils::Json::JsonView jsonValue)
AudioParameters & WithCodecOptions(const AudioCodecOptions &value)
void SetSampleRate(const Aws::String &value)
AudioParameters & WithCodecOptions(AudioCodecOptions &&value)
void SetCodecOptions(AudioCodecOptions &&value)
AudioParameters & WithChannels(Aws::String &&value)
AudioParameters & WithBitRate(const char *value)
AudioParameters & WithBitRate(const Aws::String &value)
AudioParameters & WithSampleRate(Aws::String &&value)
void SetCodecOptions(const AudioCodecOptions &value)
AudioParameters & WithCodec(const Aws::String &value)
void SetAudioPackingMode(const Aws::String &value)
AudioParameters & WithAudioPackingMode(Aws::String &&value)
AudioParameters & WithChannels(const Aws::String &value)
AudioParameters & WithCodec(Aws::String &&value)
AWS_ELASTICTRANSCODER_API AudioParameters & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ELASTICTRANSCODER_API Aws::Utils::Json::JsonValue Jsonize() const
AudioParameters & WithSampleRate(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue