AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ChannelMapping.h
1
6#pragma once
7#include <aws/mediaconvert/MediaConvert_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediaconvert/model/OutputChannelMapping.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 MediaConvert
23{
24namespace Model
25{
26
43 {
44 public:
45 AWS_MEDIACONVERT_API ChannelMapping();
46 AWS_MEDIACONVERT_API ChannelMapping(Aws::Utils::Json::JsonView jsonValue);
47 AWS_MEDIACONVERT_API ChannelMapping& operator=(Aws::Utils::Json::JsonView jsonValue);
48 AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
57 inline const Aws::Vector<OutputChannelMapping>& GetOutputChannels() const{ return m_outputChannels; }
58 inline bool OutputChannelsHasBeenSet() const { return m_outputChannelsHasBeenSet; }
59 inline void SetOutputChannels(const Aws::Vector<OutputChannelMapping>& value) { m_outputChannelsHasBeenSet = true; m_outputChannels = value; }
60 inline void SetOutputChannels(Aws::Vector<OutputChannelMapping>&& value) { m_outputChannelsHasBeenSet = true; m_outputChannels = std::move(value); }
62 inline ChannelMapping& WithOutputChannels(Aws::Vector<OutputChannelMapping>&& value) { SetOutputChannels(std::move(value)); return *this;}
63 inline ChannelMapping& AddOutputChannels(const OutputChannelMapping& value) { m_outputChannelsHasBeenSet = true; m_outputChannels.push_back(value); return *this; }
64 inline ChannelMapping& AddOutputChannels(OutputChannelMapping&& value) { m_outputChannelsHasBeenSet = true; m_outputChannels.push_back(std::move(value)); return *this; }
66 private:
67
68 Aws::Vector<OutputChannelMapping> m_outputChannels;
69 bool m_outputChannelsHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace MediaConvert
74} // namespace Aws
ChannelMapping & WithOutputChannels(Aws::Vector< OutputChannelMapping > &&value)
AWS_MEDIACONVERT_API Aws::Utils::Json::JsonValue Jsonize() const
ChannelMapping & AddOutputChannels(const OutputChannelMapping &value)
ChannelMapping & WithOutputChannels(const Aws::Vector< OutputChannelMapping > &value)
void SetOutputChannels(Aws::Vector< OutputChannelMapping > &&value)
AWS_MEDIACONVERT_API ChannelMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
ChannelMapping & AddOutputChannels(OutputChannelMapping &&value)
void SetOutputChannels(const Aws::Vector< OutputChannelMapping > &value)
const Aws::Vector< OutputChannelMapping > & GetOutputChannels() const
AWS_MEDIACONVERT_API ChannelMapping(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue