AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
AiffSettings.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
25 public:
26 AWS_MEDIACONVERT_API AiffSettings() = default;
27 AWS_MEDIACONVERT_API AiffSettings(Aws::Utils::Json::JsonView jsonValue);
28 AWS_MEDIACONVERT_API AiffSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
29 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
36 inline int GetBitDepth() const { return m_bitDepth; }
37 inline bool BitDepthHasBeenSet() const { return m_bitDepthHasBeenSet; }
38 inline void SetBitDepth(int value) {
39 m_bitDepthHasBeenSet = true;
40 m_bitDepth = value;
41 }
42 inline AiffSettings& WithBitDepth(int value) {
43 SetBitDepth(value);
44 return *this;
45 }
47
49
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 AiffSettings& 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 AiffSettings& 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
AiffSettings & WithChannels(int value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONVERT_API AiffSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AiffSettings & WithSampleRate(int value)
AiffSettings & WithBitDepth(int value)
AWS_MEDIACONVERT_API AiffSettings()=default
AWS_MEDIACONVERT_API AiffSettings(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue