AWS SDK for C++  1.9.109
AWS SDK for C++
ChannelMapping.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace MediaConvert
23 {
24 namespace Model
25 {
26 
44  {
45  public:
50 
51 
57  inline const Aws::Vector<OutputChannelMapping>& GetOutputChannels() const{ return m_outputChannels; }
58 
64  inline bool OutputChannelsHasBeenSet() const { return m_outputChannelsHasBeenSet; }
65 
71  inline void SetOutputChannels(const Aws::Vector<OutputChannelMapping>& value) { m_outputChannelsHasBeenSet = true; m_outputChannels = value; }
72 
78  inline void SetOutputChannels(Aws::Vector<OutputChannelMapping>&& value) { m_outputChannelsHasBeenSet = true; m_outputChannels = std::move(value); }
79 
85  inline ChannelMapping& WithOutputChannels(const Aws::Vector<OutputChannelMapping>& value) { SetOutputChannels(value); return *this;}
86 
92  inline ChannelMapping& WithOutputChannels(Aws::Vector<OutputChannelMapping>&& value) { SetOutputChannels(std::move(value)); return *this;}
93 
99  inline ChannelMapping& AddOutputChannels(const OutputChannelMapping& value) { m_outputChannelsHasBeenSet = true; m_outputChannels.push_back(value); return *this; }
100 
106  inline ChannelMapping& AddOutputChannels(OutputChannelMapping&& value) { m_outputChannelsHasBeenSet = true; m_outputChannels.push_back(std::move(value)); return *this; }
107 
108  private:
109 
110  Aws::Vector<OutputChannelMapping> m_outputChannels;
111  bool m_outputChannelsHasBeenSet;
112  };
113 
114 } // namespace Model
115 } // namespace MediaConvert
116 } // namespace Aws
Aws::MediaConvert::Model::ChannelMapping::OutputChannelsHasBeenSet
bool OutputChannelsHasBeenSet() const
Definition: ChannelMapping.h:64
Aws::MediaConvert::Model::ChannelMapping::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
MediaConvert_EXPORTS.h
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MediaConvert::Model::ChannelMapping::SetOutputChannels
void SetOutputChannels(const Aws::Vector< OutputChannelMapping > &value)
Definition: ChannelMapping.h:71
Aws::MediaConvert::Model::ChannelMapping::ChannelMapping
ChannelMapping(Aws::Utils::Json::JsonView jsonValue)
AWSVector.h
Aws::MediaConvert::Model::ChannelMapping::GetOutputChannels
const Aws::Vector< OutputChannelMapping > & GetOutputChannels() const
Definition: ChannelMapping.h:57
OutputChannelMapping.h
Aws::MediaConvert::Model::OutputChannelMapping
Definition: OutputChannelMapping.h:32
Aws::MediaConvert::Model::ChannelMapping
Definition: ChannelMapping.h:44
Aws::MediaConvert::Model::ChannelMapping::AddOutputChannels
ChannelMapping & AddOutputChannels(const OutputChannelMapping &value)
Definition: ChannelMapping.h:99
Aws::MediaConvert::Model::ChannelMapping::WithOutputChannels
ChannelMapping & WithOutputChannels(const Aws::Vector< OutputChannelMapping > &value)
Definition: ChannelMapping.h:85
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::MediaConvert::Model::ChannelMapping::operator=
ChannelMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MediaConvert::Model::ChannelMapping::WithOutputChannels
ChannelMapping & WithOutputChannels(Aws::Vector< OutputChannelMapping > &&value)
Definition: ChannelMapping.h:92
Aws::MediaConvert::Model::ChannelMapping::ChannelMapping
ChannelMapping()
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::ChannelMapping::SetOutputChannels
void SetOutputChannels(Aws::Vector< OutputChannelMapping > &&value)
Definition: ChannelMapping.h:78
Aws::MediaConvert::Model::ChannelMapping::AddOutputChannels
ChannelMapping & AddOutputChannels(OutputChannelMapping &&value)
Definition: ChannelMapping.h:106