AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WavSettings.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/mediaconvert/model/WavFormat.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaConvert
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MEDIACONVERT_API WavSettings();
35 AWS_MEDIACONVERT_API WavSettings(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIACONVERT_API WavSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
45 inline int GetBitDepth() const{ return m_bitDepth; }
46 inline bool BitDepthHasBeenSet() const { return m_bitDepthHasBeenSet; }
47 inline void SetBitDepth(int value) { m_bitDepthHasBeenSet = true; m_bitDepth = value; }
48 inline WavSettings& WithBitDepth(int value) { SetBitDepth(value); return *this;}
50
52
56 inline int GetChannels() const{ return m_channels; }
57 inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
58 inline void SetChannels(int value) { m_channelsHasBeenSet = true; m_channels = value; }
59 inline WavSettings& WithChannels(int value) { SetChannels(value); return *this;}
61
63
68 inline const WavFormat& GetFormat() const{ return m_format; }
69 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
70 inline void SetFormat(const WavFormat& value) { m_formatHasBeenSet = true; m_format = value; }
71 inline void SetFormat(WavFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
72 inline WavSettings& WithFormat(const WavFormat& value) { SetFormat(value); return *this;}
73 inline WavSettings& WithFormat(WavFormat&& value) { SetFormat(std::move(value)); return *this;}
75
77
80 inline int GetSampleRate() const{ return m_sampleRate; }
81 inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
82 inline void SetSampleRate(int value) { m_sampleRateHasBeenSet = true; m_sampleRate = value; }
83 inline WavSettings& WithSampleRate(int value) { SetSampleRate(value); return *this;}
85 private:
86
87 int m_bitDepth;
88 bool m_bitDepthHasBeenSet = false;
89
90 int m_channels;
91 bool m_channelsHasBeenSet = false;
92
93 WavFormat m_format;
94 bool m_formatHasBeenSet = false;
95
96 int m_sampleRate;
97 bool m_sampleRateHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace MediaConvert
102} // namespace Aws
const WavFormat & GetFormat() const
Definition WavSettings.h:68
WavSettings & WithBitDepth(int value)
Definition WavSettings.h:48
WavSettings & WithChannels(int value)
Definition WavSettings.h:59
AWS_MEDIACONVERT_API WavSettings(Aws::Utils::Json::JsonView jsonValue)
void SetFormat(WavFormat &&value)
Definition WavSettings.h:71
AWS_MEDIACONVERT_API WavSettings()
void SetFormat(const WavFormat &value)
Definition WavSettings.h:70
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
WavSettings & WithFormat(WavFormat &&value)
Definition WavSettings.h:73
AWS_MEDIACONVERT_API WavSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
WavSettings & WithSampleRate(int value)
Definition WavSettings.h:83
WavSettings & WithFormat(const WavFormat &value)
Definition WavSettings.h:72
Aws::Utils::Json::JsonValue JsonValue