AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateChannelRequest.h
1
6#pragma once
7#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
8#include <aws/mediapackagev2/Mediapackagev2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mediapackagev2/model/InputSwitchConfiguration.h>
11#include <aws/mediapackagev2/model/OutputHeaderConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace mediapackagev2
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_MEDIAPACKAGEV2_API UpdateChannelRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateChannel"; }
33
34 AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override;
35
36 AWS_MEDIAPACKAGEV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
37
38
40
45 inline const Aws::String& GetChannelGroupName() const { return m_channelGroupName; }
46 inline bool ChannelGroupNameHasBeenSet() const { return m_channelGroupNameHasBeenSet; }
47 template<typename ChannelGroupNameT = Aws::String>
48 void SetChannelGroupName(ChannelGroupNameT&& value) { m_channelGroupNameHasBeenSet = true; m_channelGroupName = std::forward<ChannelGroupNameT>(value); }
49 template<typename ChannelGroupNameT = Aws::String>
50 UpdateChannelRequest& WithChannelGroupName(ChannelGroupNameT&& value) { SetChannelGroupName(std::forward<ChannelGroupNameT>(value)); return *this;}
52
54
59 inline const Aws::String& GetChannelName() const { return m_channelName; }
60 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
61 template<typename ChannelNameT = Aws::String>
62 void SetChannelName(ChannelNameT&& value) { m_channelNameHasBeenSet = true; m_channelName = std::forward<ChannelNameT>(value); }
63 template<typename ChannelNameT = Aws::String>
64 UpdateChannelRequest& WithChannelName(ChannelNameT&& value) { SetChannelName(std::forward<ChannelNameT>(value)); return *this;}
66
68
73 inline const Aws::String& GetETag() const { return m_eTag; }
74 inline bool ETagHasBeenSet() const { return m_eTagHasBeenSet; }
75 template<typename ETagT = Aws::String>
76 void SetETag(ETagT&& value) { m_eTagHasBeenSet = true; m_eTag = std::forward<ETagT>(value); }
77 template<typename ETagT = Aws::String>
78 UpdateChannelRequest& WithETag(ETagT&& value) { SetETag(std::forward<ETagT>(value)); return *this;}
80
82
86 inline const Aws::String& GetDescription() const { return m_description; }
87 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
88 template<typename DescriptionT = Aws::String>
89 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
90 template<typename DescriptionT = Aws::String>
91 UpdateChannelRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
93
95
100 inline const InputSwitchConfiguration& GetInputSwitchConfiguration() const { return m_inputSwitchConfiguration; }
101 inline bool InputSwitchConfigurationHasBeenSet() const { return m_inputSwitchConfigurationHasBeenSet; }
102 template<typename InputSwitchConfigurationT = InputSwitchConfiguration>
103 void SetInputSwitchConfiguration(InputSwitchConfigurationT&& value) { m_inputSwitchConfigurationHasBeenSet = true; m_inputSwitchConfiguration = std::forward<InputSwitchConfigurationT>(value); }
104 template<typename InputSwitchConfigurationT = InputSwitchConfiguration>
105 UpdateChannelRequest& WithInputSwitchConfiguration(InputSwitchConfigurationT&& value) { SetInputSwitchConfiguration(std::forward<InputSwitchConfigurationT>(value)); return *this;}
107
109
114 inline const OutputHeaderConfiguration& GetOutputHeaderConfiguration() const { return m_outputHeaderConfiguration; }
115 inline bool OutputHeaderConfigurationHasBeenSet() const { return m_outputHeaderConfigurationHasBeenSet; }
116 template<typename OutputHeaderConfigurationT = OutputHeaderConfiguration>
117 void SetOutputHeaderConfiguration(OutputHeaderConfigurationT&& value) { m_outputHeaderConfigurationHasBeenSet = true; m_outputHeaderConfiguration = std::forward<OutputHeaderConfigurationT>(value); }
118 template<typename OutputHeaderConfigurationT = OutputHeaderConfiguration>
119 UpdateChannelRequest& WithOutputHeaderConfiguration(OutputHeaderConfigurationT&& value) { SetOutputHeaderConfiguration(std::forward<OutputHeaderConfigurationT>(value)); return *this;}
121 private:
122
123 Aws::String m_channelGroupName;
124 bool m_channelGroupNameHasBeenSet = false;
125
126 Aws::String m_channelName;
127 bool m_channelNameHasBeenSet = false;
128
129 Aws::String m_eTag;
130 bool m_eTagHasBeenSet = false;
131
132 Aws::String m_description;
133 bool m_descriptionHasBeenSet = false;
134
135 InputSwitchConfiguration m_inputSwitchConfiguration;
136 bool m_inputSwitchConfigurationHasBeenSet = false;
137
138 OutputHeaderConfiguration m_outputHeaderConfiguration;
139 bool m_outputHeaderConfigurationHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace mediapackagev2
144} // namespace Aws
UpdateChannelRequest & WithInputSwitchConfiguration(InputSwitchConfigurationT &&value)
AWS_MEDIAPACKAGEV2_API Aws::String SerializePayload() const override
UpdateChannelRequest & WithOutputHeaderConfiguration(OutputHeaderConfigurationT &&value)
AWS_MEDIAPACKAGEV2_API UpdateChannelRequest()=default
UpdateChannelRequest & WithChannelName(ChannelNameT &&value)
UpdateChannelRequest & WithChannelGroupName(ChannelGroupNameT &&value)
const OutputHeaderConfiguration & GetOutputHeaderConfiguration() const
virtual const char * GetServiceRequestName() const override
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