AWS SDK for C++

AWS SDK for C++ Version 1.11.910

Loading...
Searching...
No Matches
UpdateChannelRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediapackagev2/Mediapackagev2Request.h>
9#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
10#include <aws/mediapackagev2/model/InputSwitchConfiguration.h>
11#include <aws/mediapackagev2/model/MultiviewConfiguration.h>
12#include <aws/mediapackagev2/model/OutputHeaderConfiguration.h>
13
14#include <utility>
15
16namespace Aws {
17namespace mediapackagev2 {
18namespace Model {
19
23 public:
24 AWS_MEDIAPACKAGEV2_API UpdateChannelRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "UpdateChannel"; }
31
32 AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override;
33
34 AWS_MEDIAPACKAGEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
37
42 inline const Aws::String& GetChannelGroupName() const { return m_channelGroupName; }
43 inline bool ChannelGroupNameHasBeenSet() const { return m_channelGroupNameHasBeenSet; }
44 template <typename ChannelGroupNameT = Aws::String>
45 void SetChannelGroupName(ChannelGroupNameT&& value) {
46 m_channelGroupNameHasBeenSet = true;
47 m_channelGroupName = std::forward<ChannelGroupNameT>(value);
48 }
49 template <typename ChannelGroupNameT = Aws::String>
50 UpdateChannelRequest& WithChannelGroupName(ChannelGroupNameT&& value) {
51 SetChannelGroupName(std::forward<ChannelGroupNameT>(value));
52 return *this;
53 }
55
57
62 inline const Aws::String& GetChannelName() const { return m_channelName; }
63 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
64 template <typename ChannelNameT = Aws::String>
65 void SetChannelName(ChannelNameT&& value) {
66 m_channelNameHasBeenSet = true;
67 m_channelName = std::forward<ChannelNameT>(value);
68 }
69 template <typename ChannelNameT = Aws::String>
70 UpdateChannelRequest& WithChannelName(ChannelNameT&& value) {
71 SetChannelName(std::forward<ChannelNameT>(value));
72 return *this;
73 }
75
77
82 inline const Aws::String& GetETag() const { return m_eTag; }
83 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
84 template <typename ETagT = Aws::String>
85 void SetETag(ETagT&& value) {
86 m_eTagHasBeenSet = true;
87 m_eTag = std::forward<ETagT>(value);
88 }
89 template <typename ETagT = Aws::String>
91 SetETag(std::forward<ETagT>(value));
92 return *this;
93 }
95
97
101 inline const Aws::String& GetDescription() const { return m_description; }
102 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
103 template <typename DescriptionT = Aws::String>
104 void SetDescription(DescriptionT&& value) {
105 m_descriptionHasBeenSet = true;
106 m_description = std::forward<DescriptionT>(value);
107 }
108 template <typename DescriptionT = Aws::String>
109 UpdateChannelRequest& WithDescription(DescriptionT&& value) {
110 SetDescription(std::forward<DescriptionT>(value));
111 return *this;
112 }
114
116
121 inline const InputSwitchConfiguration& GetInputSwitchConfiguration() const { return m_inputSwitchConfiguration; }
122 inline bool InputSwitchConfigurationHasBeenSet() const { return m_inputSwitchConfigurationHasBeenSet; }
123 template <typename InputSwitchConfigurationT = InputSwitchConfiguration>
124 void SetInputSwitchConfiguration(InputSwitchConfigurationT&& value) {
125 m_inputSwitchConfigurationHasBeenSet = true;
126 m_inputSwitchConfiguration = std::forward<InputSwitchConfigurationT>(value);
127 }
128 template <typename InputSwitchConfigurationT = InputSwitchConfiguration>
129 UpdateChannelRequest& WithInputSwitchConfiguration(InputSwitchConfigurationT&& value) {
130 SetInputSwitchConfiguration(std::forward<InputSwitchConfigurationT>(value));
131 return *this;
132 }
134
136
141 inline const OutputHeaderConfiguration& GetOutputHeaderConfiguration() const { return m_outputHeaderConfiguration; }
142 inline bool OutputHeaderConfigurationHasBeenSet() const { return m_outputHeaderConfigurationHasBeenSet; }
143 template <typename OutputHeaderConfigurationT = OutputHeaderConfiguration>
144 void SetOutputHeaderConfiguration(OutputHeaderConfigurationT&& value) {
145 m_outputHeaderConfigurationHasBeenSet = true;
146 m_outputHeaderConfiguration = std::forward<OutputHeaderConfigurationT>(value);
147 }
148 template <typename OutputHeaderConfigurationT = OutputHeaderConfiguration>
149 UpdateChannelRequest& WithOutputHeaderConfiguration(OutputHeaderConfigurationT&& value) {
150 SetOutputHeaderConfiguration(std::forward<OutputHeaderConfigurationT>(value));
151 return *this;
152 }
154
156
163 inline const MultiviewConfiguration& GetMultiviewConfiguration() const { return m_multiviewConfiguration; }
164 inline bool MultiviewConfigurationHasBeenSet() const { return m_multiviewConfigurationHasBeenSet; }
165 template <typename MultiviewConfigurationT = MultiviewConfiguration>
166 void SetMultiviewConfiguration(MultiviewConfigurationT&& value) {
167 m_multiviewConfigurationHasBeenSet = true;
168 m_multiviewConfiguration = std::forward<MultiviewConfigurationT>(value);
169 }
170 template <typename MultiviewConfigurationT = MultiviewConfiguration>
171 UpdateChannelRequest& WithMultiviewConfiguration(MultiviewConfigurationT&& value) {
172 SetMultiviewConfiguration(std::forward<MultiviewConfigurationT>(value));
173 return *this;
174 }
176 private:
177 Aws::String m_channelGroupName;
178
179 Aws::String m_channelName;
180
181 Aws::String m_eTag;
182
183 Aws::String m_description;
184
185 InputSwitchConfiguration m_inputSwitchConfiguration;
186
187 OutputHeaderConfiguration m_outputHeaderConfiguration;
188
189 MultiviewConfiguration m_multiviewConfiguration;
190 bool m_channelGroupNameHasBeenSet = false;
191 bool m_channelNameHasBeenSet = false;
192 bool m_eTagHasBeenSet = false;
193 bool m_descriptionHasBeenSet = false;
194 bool m_inputSwitchConfigurationHasBeenSet = false;
195 bool m_outputHeaderConfigurationHasBeenSet = false;
196 bool m_multiviewConfigurationHasBeenSet = false;
197};
198
199} // namespace Model
200} // namespace mediapackagev2
201} // namespace Aws
UpdateChannelRequest & WithInputSwitchConfiguration(InputSwitchConfigurationT &&value)
const MultiviewConfiguration & GetMultiviewConfiguration() const
AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override
UpdateChannelRequest & WithOutputHeaderConfiguration(OutputHeaderConfigurationT &&value)
AWS_MEDIAPACKAGEV2_API UpdateChannelRequest()=default
UpdateChannelRequest & WithMultiviewConfiguration(MultiviewConfigurationT &&value)
UpdateChannelRequest & WithChannelName(ChannelNameT &&value)
UpdateChannelRequest & WithChannelGroupName(ChannelGroupNameT &&value)
const OutputHeaderConfiguration & GetOutputHeaderConfiguration() const
virtual const char * GetServiceRequestName() const override
void SetMultiviewConfiguration(MultiviewConfigurationT &&value)
UpdateChannelRequest & WithETag(ETagT &&value)
const InputSwitchConfiguration & GetInputSwitchConfiguration() const
void SetOutputHeaderConfiguration(OutputHeaderConfigurationT &&value)
UpdateChannelRequest & WithDescription(DescriptionT &&value)
void SetInputSwitchConfiguration(InputSwitchConfigurationT &&value)
AWS_MEDIAPACKAGEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String