AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RemixSettings.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/medialive/model/AudioChannelMapping.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaLive
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIALIVE_API RemixSettings();
36 AWS_MEDIALIVE_API RemixSettings(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIALIVE_API RemixSettings& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::Vector<AudioChannelMapping>& GetChannelMappings() const{ return m_channelMappings; }
46 inline bool ChannelMappingsHasBeenSet() const { return m_channelMappingsHasBeenSet; }
47 inline void SetChannelMappings(const Aws::Vector<AudioChannelMapping>& value) { m_channelMappingsHasBeenSet = true; m_channelMappings = value; }
48 inline void SetChannelMappings(Aws::Vector<AudioChannelMapping>&& value) { m_channelMappingsHasBeenSet = true; m_channelMappings = std::move(value); }
50 inline RemixSettings& WithChannelMappings(Aws::Vector<AudioChannelMapping>&& value) { SetChannelMappings(std::move(value)); return *this;}
51 inline RemixSettings& AddChannelMappings(const AudioChannelMapping& value) { m_channelMappingsHasBeenSet = true; m_channelMappings.push_back(value); return *this; }
52 inline RemixSettings& AddChannelMappings(AudioChannelMapping&& value) { m_channelMappingsHasBeenSet = true; m_channelMappings.push_back(std::move(value)); return *this; }
54
56
59 inline int GetChannelsIn() const{ return m_channelsIn; }
60 inline bool ChannelsInHasBeenSet() const { return m_channelsInHasBeenSet; }
61 inline void SetChannelsIn(int value) { m_channelsInHasBeenSet = true; m_channelsIn = value; }
62 inline RemixSettings& WithChannelsIn(int value) { SetChannelsIn(value); return *this;}
64
66
70 inline int GetChannelsOut() const{ return m_channelsOut; }
71 inline bool ChannelsOutHasBeenSet() const { return m_channelsOutHasBeenSet; }
72 inline void SetChannelsOut(int value) { m_channelsOutHasBeenSet = true; m_channelsOut = value; }
73 inline RemixSettings& WithChannelsOut(int value) { SetChannelsOut(value); return *this;}
75 private:
76
77 Aws::Vector<AudioChannelMapping> m_channelMappings;
78 bool m_channelMappingsHasBeenSet = false;
79
80 int m_channelsIn;
81 bool m_channelsInHasBeenSet = false;
82
83 int m_channelsOut;
84 bool m_channelsOutHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace MediaLive
89} // namespace Aws
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API RemixSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
RemixSettings & WithChannelMappings(const Aws::Vector< AudioChannelMapping > &value)
RemixSettings & AddChannelMappings(AudioChannelMapping &&value)
RemixSettings & WithChannelMappings(Aws::Vector< AudioChannelMapping > &&value)
RemixSettings & WithChannelsIn(int value)
void SetChannelMappings(const Aws::Vector< AudioChannelMapping > &value)
const Aws::Vector< AudioChannelMapping > & GetChannelMappings() const
AWS_MEDIALIVE_API RemixSettings(Aws::Utils::Json::JsonView jsonValue)
void SetChannelMappings(Aws::Vector< AudioChannelMapping > &&value)
RemixSettings & AddChannelMappings(const AudioChannelMapping &value)
RemixSettings & WithChannelsOut(int value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue