AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
FlacSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace MediaConvert {
17namespace Model {
18
26 public:
27 AWS_MEDIACONVERT_API FlacSettings() = default;
28 AWS_MEDIACONVERT_API FlacSettings(Aws::Utils::Json::JsonView jsonValue);
29 AWS_MEDIACONVERT_API FlacSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
30 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
37 inline int GetBitDepth() const { return m_bitDepth; }
38 inline bool BitDepthHasBeenSet() const { return m_bitDepthHasBeenSet; }
39 inline void SetBitDepth(int value) {
40 m_bitDepthHasBeenSet = true;
41 m_bitDepth = value;
42 }
43 inline FlacSettings& WithBitDepth(int value) {
44 SetBitDepth(value);
45 return *this;
46 }
48
50
55 inline int GetChannels() const { return m_channels; }
56 inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
57 inline void SetChannels(int value) {
58 m_channelsHasBeenSet = true;
59 m_channels = value;
60 }
61 inline FlacSettings& WithChannels(int value) {
62 SetChannels(value);
63 return *this;
64 }
66
68
71 inline int GetSampleRate() const { return m_sampleRate; }
72 inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
73 inline void SetSampleRate(int value) {
74 m_sampleRateHasBeenSet = true;
75 m_sampleRate = value;
76 }
77 inline FlacSettings& WithSampleRate(int value) {
78 SetSampleRate(value);
79 return *this;
80 }
82 private:
83 int m_bitDepth{0};
84
85 int m_channels{0};
86
87 int m_sampleRate{0};
88 bool m_bitDepthHasBeenSet = false;
89 bool m_channelsHasBeenSet = false;
90 bool m_sampleRateHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace MediaConvert
95} // namespace Aws
FlacSettings & WithSampleRate(int value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONVERT_API FlacSettings(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONVERT_API FlacSettings()=default
FlacSettings & WithBitDepth(int value)
AWS_MEDIACONVERT_API FlacSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
FlacSettings & WithChannels(int value)
Aws::Utils::Json::JsonValue JsonValue