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/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/model/WavCodingMode.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 MediaLive
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MEDIALIVE_API WavSettings();
35 AWS_MEDIALIVE_API WavSettings(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MEDIALIVE_API WavSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline double GetBitDepth() const{ return m_bitDepth; }
45 inline bool BitDepthHasBeenSet() const { return m_bitDepthHasBeenSet; }
46 inline void SetBitDepth(double value) { m_bitDepthHasBeenSet = true; m_bitDepth = value; }
47 inline WavSettings& WithBitDepth(double value) { SetBitDepth(value); return *this;}
49
51
55 inline const WavCodingMode& GetCodingMode() const{ return m_codingMode; }
56 inline bool CodingModeHasBeenSet() const { return m_codingModeHasBeenSet; }
57 inline void SetCodingMode(const WavCodingMode& value) { m_codingModeHasBeenSet = true; m_codingMode = value; }
58 inline void SetCodingMode(WavCodingMode&& value) { m_codingModeHasBeenSet = true; m_codingMode = std::move(value); }
59 inline WavSettings& WithCodingMode(const WavCodingMode& value) { SetCodingMode(value); return *this;}
60 inline WavSettings& WithCodingMode(WavCodingMode&& value) { SetCodingMode(std::move(value)); return *this;}
62
64
67 inline double GetSampleRate() const{ return m_sampleRate; }
68 inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
69 inline void SetSampleRate(double value) { m_sampleRateHasBeenSet = true; m_sampleRate = value; }
70 inline WavSettings& WithSampleRate(double value) { SetSampleRate(value); return *this;}
72 private:
73
74 double m_bitDepth;
75 bool m_bitDepthHasBeenSet = false;
76
77 WavCodingMode m_codingMode;
78 bool m_codingModeHasBeenSet = false;
79
80 double m_sampleRate;
81 bool m_sampleRateHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace MediaLive
86} // namespace Aws
WavSettings & WithBitDepth(double value)
Definition WavSettings.h:47
AWS_MEDIALIVE_API WavSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API WavSettings(Aws::Utils::Json::JsonView jsonValue)
void SetCodingMode(const WavCodingMode &value)
Definition WavSettings.h:57
WavSettings & WithSampleRate(double value)
Definition WavSettings.h:70
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const WavCodingMode & GetCodingMode() const
Definition WavSettings.h:55
WavSettings & WithCodingMode(WavCodingMode &&value)
Definition WavSettings.h:60
void SetCodingMode(WavCodingMode &&value)
Definition WavSettings.h:58
WavSettings & WithCodingMode(const WavCodingMode &value)
Definition WavSettings.h:59
Aws::Utils::Json::JsonValue JsonValue