AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AudioConfiguration.h
1
6#pragma once
7#include <aws/ivs/IVS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 IVS
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_IVS_API AudioConfiguration();
41
42
44
47 inline long long GetChannels() const{ return m_channels; }
48 inline bool ChannelsHasBeenSet() const { return m_channelsHasBeenSet; }
49 inline void SetChannels(long long value) { m_channelsHasBeenSet = true; m_channels = value; }
50 inline AudioConfiguration& WithChannels(long long value) { SetChannels(value); return *this;}
52
54
57 inline const Aws::String& GetCodec() const{ return m_codec; }
58 inline bool CodecHasBeenSet() const { return m_codecHasBeenSet; }
59 inline void SetCodec(const Aws::String& value) { m_codecHasBeenSet = true; m_codec = value; }
60 inline void SetCodec(Aws::String&& value) { m_codecHasBeenSet = true; m_codec = std::move(value); }
61 inline void SetCodec(const char* value) { m_codecHasBeenSet = true; m_codec.assign(value); }
62 inline AudioConfiguration& WithCodec(const Aws::String& value) { SetCodec(value); return *this;}
63 inline AudioConfiguration& WithCodec(Aws::String&& value) { SetCodec(std::move(value)); return *this;}
64 inline AudioConfiguration& WithCodec(const char* value) { SetCodec(value); return *this;}
66
68
71 inline long long GetSampleRate() const{ return m_sampleRate; }
72 inline bool SampleRateHasBeenSet() const { return m_sampleRateHasBeenSet; }
73 inline void SetSampleRate(long long value) { m_sampleRateHasBeenSet = true; m_sampleRate = value; }
74 inline AudioConfiguration& WithSampleRate(long long value) { SetSampleRate(value); return *this;}
76
78
82 inline long long GetTargetBitrate() const{ return m_targetBitrate; }
83 inline bool TargetBitrateHasBeenSet() const { return m_targetBitrateHasBeenSet; }
84 inline void SetTargetBitrate(long long value) { m_targetBitrateHasBeenSet = true; m_targetBitrate = value; }
85 inline AudioConfiguration& WithTargetBitrate(long long value) { SetTargetBitrate(value); return *this;}
87 private:
88
89 long long m_channels;
90 bool m_channelsHasBeenSet = false;
91
92 Aws::String m_codec;
93 bool m_codecHasBeenSet = false;
94
95 long long m_sampleRate;
96 bool m_sampleRateHasBeenSet = false;
97
98 long long m_targetBitrate;
99 bool m_targetBitrateHasBeenSet = false;
100 };
101
102} // namespace Model
103} // namespace IVS
104} // namespace Aws
void SetCodec(const Aws::String &value)
const Aws::String & GetCodec() const
AWS_IVS_API AudioConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_IVS_API Aws::Utils::Json::JsonValue Jsonize() const
AudioConfiguration & WithTargetBitrate(long long value)
AudioConfiguration & WithCodec(Aws::String &&value)
AudioConfiguration & WithCodec(const char *value)
AudioConfiguration & WithChannels(long long value)
AWS_IVS_API AudioConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AudioConfiguration & WithSampleRate(long long value)
AudioConfiguration & WithCodec(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue