AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Mp2Settings.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
30 {
31 public:
32 AWS_MEDIACONVERT_API Mp2Settings();
33 AWS_MEDIACONVERT_API Mp2Settings(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIACONVERT_API Mp2Settings& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
37
39
42 inline int GetBitrate() const{ return m_bitrate; }
43 inline bool BitrateHasBeenSet() const { return m_bitrateHasBeenSet; }
44 inline void SetBitrate(int value) { m_bitrateHasBeenSet = true; m_bitrate = value; }
45 inline Mp2Settings& WithBitrate(int value) { SetBitrate(value); return *this;}
47
49
54 inline int GetChannels() const{ return m_channels; }
55 inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
56 inline void SetChannels(int value) { m_channelsHasBeenSet = true; m_channels = value; }
57 inline Mp2Settings& WithChannels(int value) { SetChannels(value); return *this;}
59
61
64 inline int GetSampleRate() const{ return m_sampleRate; }
65 inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
66 inline void SetSampleRate(int value) { m_sampleRateHasBeenSet = true; m_sampleRate = value; }
67 inline Mp2Settings& WithSampleRate(int value) { SetSampleRate(value); return *this;}
69 private:
70
71 int m_bitrate;
72 bool m_bitrateHasBeenSet = false;
73
74 int m_channels;
75 bool m_channelsHasBeenSet = false;
76
77 int m_sampleRate;
78 bool m_sampleRateHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace MediaConvert
83} // namespace Aws
AWS_MEDIACONVERT_API Mp2Settings & operator=(Aws::Utils::Json::JsonView jsonValue)
Mp2Settings & WithBitrate(int value)
Definition Mp2Settings.h:45
Mp2Settings & WithChannels(int value)
Definition Mp2Settings.h:57
Mp2Settings & WithSampleRate(int value)
Definition Mp2Settings.h:67
AWS_MEDIACONVERT_API Mp2Settings()
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONVERT_API Mp2Settings(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue