AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
53 inline int GetChannels() const { return m_channels; }
54 inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
55 inline void SetChannels(int value) {
56 m_channelsHasBeenSet = true;
57 m_channels = value;
58 }
59 inline AiffSettings& WithChannels(int value) {
60 SetChannels(value);
61 return *this;
62 }
64
66
69 inline int GetSampleRate() const { return m_sampleRate; }
70 inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
71 inline void SetSampleRate(int value) {
72 m_sampleRateHasBeenSet = true;
73 m_sampleRate = value;
74 }
75 inline AiffSettings& WithSampleRate(int value) {
76 SetSampleRate(value);
77 return *this;
78 }
80 private:
81 int m_bitDepth{0};
82
83 int m_channels{0};
84
85 int m_sampleRate{0};
86 bool m_bitDepthHasBeenSet = false;
87 bool m_channelsHasBeenSet = false;
88 bool m_sampleRateHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace MediaConvert
93} // 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