AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateChannelRequest.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/MediaLiveRequest.h>
9#include <aws/medialive/model/CdiInputSpecification.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/medialive/model/EncoderSettings.h>
13#include <aws/medialive/model/InputSpecification.h>
14#include <aws/medialive/model/LogLevel.h>
15#include <aws/medialive/model/MaintenanceUpdateSettings.h>
16#include <aws/medialive/model/OutputDestination.h>
17#include <aws/medialive/model/InputAttachment.h>
18#include <utility>
19
20namespace Aws
21{
22namespace MediaLive
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIALIVE_API UpdateChannelRequest();
36
37 // Service request name is the Operation name which will send this request out,
38 // each operation should has unique request name, so that we can get operation's name from this request.
39 // Note: this is not true for response, multiple operations may have the same response name,
40 // so we can not get operation's name from response.
41 inline virtual const char* GetServiceRequestName() const override { return "UpdateChannel"; }
42
43 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
44
45
47
50 inline const CdiInputSpecification& GetCdiInputSpecification() const{ return m_cdiInputSpecification; }
51 inline bool CdiInputSpecificationHasBeenSet() const { return m_cdiInputSpecificationHasBeenSet; }
52 inline void SetCdiInputSpecification(const CdiInputSpecification& value) { m_cdiInputSpecificationHasBeenSet = true; m_cdiInputSpecification = value; }
53 inline void SetCdiInputSpecification(CdiInputSpecification&& value) { m_cdiInputSpecificationHasBeenSet = true; m_cdiInputSpecification = std::move(value); }
57
59
62 inline const Aws::String& GetChannelId() const{ return m_channelId; }
63 inline bool ChannelIdHasBeenSet() const { return m_channelIdHasBeenSet; }
64 inline void SetChannelId(const Aws::String& value) { m_channelIdHasBeenSet = true; m_channelId = value; }
65 inline void SetChannelId(Aws::String&& value) { m_channelIdHasBeenSet = true; m_channelId = std::move(value); }
66 inline void SetChannelId(const char* value) { m_channelIdHasBeenSet = true; m_channelId.assign(value); }
67 inline UpdateChannelRequest& WithChannelId(const Aws::String& value) { SetChannelId(value); return *this;}
68 inline UpdateChannelRequest& WithChannelId(Aws::String&& value) { SetChannelId(std::move(value)); return *this;}
69 inline UpdateChannelRequest& WithChannelId(const char* value) { SetChannelId(value); return *this;}
71
73
76 inline const Aws::Vector<OutputDestination>& GetDestinations() const{ return m_destinations; }
77 inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; }
78 inline void SetDestinations(const Aws::Vector<OutputDestination>& value) { m_destinationsHasBeenSet = true; m_destinations = value; }
79 inline void SetDestinations(Aws::Vector<OutputDestination>&& value) { m_destinationsHasBeenSet = true; m_destinations = std::move(value); }
81 inline UpdateChannelRequest& WithDestinations(Aws::Vector<OutputDestination>&& value) { SetDestinations(std::move(value)); return *this;}
82 inline UpdateChannelRequest& AddDestinations(const OutputDestination& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(value); return *this; }
83 inline UpdateChannelRequest& AddDestinations(OutputDestination&& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(std::move(value)); return *this; }
85
87
90 inline const EncoderSettings& GetEncoderSettings() const{ return m_encoderSettings; }
91 inline bool EncoderSettingsHasBeenSet() const { return m_encoderSettingsHasBeenSet; }
92 inline void SetEncoderSettings(const EncoderSettings& value) { m_encoderSettingsHasBeenSet = true; m_encoderSettings = value; }
93 inline void SetEncoderSettings(EncoderSettings&& value) { m_encoderSettingsHasBeenSet = true; m_encoderSettings = std::move(value); }
94 inline UpdateChannelRequest& WithEncoderSettings(const EncoderSettings& value) { SetEncoderSettings(value); return *this;}
95 inline UpdateChannelRequest& WithEncoderSettings(EncoderSettings&& value) { SetEncoderSettings(std::move(value)); return *this;}
97
99
100 inline const Aws::Vector<InputAttachment>& GetInputAttachments() const{ return m_inputAttachments; }
101 inline bool InputAttachmentsHasBeenSet() const { return m_inputAttachmentsHasBeenSet; }
102 inline void SetInputAttachments(const Aws::Vector<InputAttachment>& value) { m_inputAttachmentsHasBeenSet = true; m_inputAttachments = value; }
103 inline void SetInputAttachments(Aws::Vector<InputAttachment>&& value) { m_inputAttachmentsHasBeenSet = true; m_inputAttachments = std::move(value); }
106 inline UpdateChannelRequest& AddInputAttachments(const InputAttachment& value) { m_inputAttachmentsHasBeenSet = true; m_inputAttachments.push_back(value); return *this; }
107 inline UpdateChannelRequest& AddInputAttachments(InputAttachment&& value) { m_inputAttachmentsHasBeenSet = true; m_inputAttachments.push_back(std::move(value)); return *this; }
109
111
114 inline const InputSpecification& GetInputSpecification() const{ return m_inputSpecification; }
115 inline bool InputSpecificationHasBeenSet() const { return m_inputSpecificationHasBeenSet; }
116 inline void SetInputSpecification(const InputSpecification& value) { m_inputSpecificationHasBeenSet = true; m_inputSpecification = value; }
117 inline void SetInputSpecification(InputSpecification&& value) { m_inputSpecificationHasBeenSet = true; m_inputSpecification = std::move(value); }
119 inline UpdateChannelRequest& WithInputSpecification(InputSpecification&& value) { SetInputSpecification(std::move(value)); return *this;}
121
123
126 inline const LogLevel& GetLogLevel() const{ return m_logLevel; }
127 inline bool LogLevelHasBeenSet() const { return m_logLevelHasBeenSet; }
128 inline void SetLogLevel(const LogLevel& value) { m_logLevelHasBeenSet = true; m_logLevel = value; }
129 inline void SetLogLevel(LogLevel&& value) { m_logLevelHasBeenSet = true; m_logLevel = std::move(value); }
130 inline UpdateChannelRequest& WithLogLevel(const LogLevel& value) { SetLogLevel(value); return *this;}
131 inline UpdateChannelRequest& WithLogLevel(LogLevel&& value) { SetLogLevel(std::move(value)); return *this;}
133
135
138 inline const MaintenanceUpdateSettings& GetMaintenance() const{ return m_maintenance; }
139 inline bool MaintenanceHasBeenSet() const { return m_maintenanceHasBeenSet; }
140 inline void SetMaintenance(const MaintenanceUpdateSettings& value) { m_maintenanceHasBeenSet = true; m_maintenance = value; }
141 inline void SetMaintenance(MaintenanceUpdateSettings&& value) { m_maintenanceHasBeenSet = true; m_maintenance = std::move(value); }
143 inline UpdateChannelRequest& WithMaintenance(MaintenanceUpdateSettings&& value) { SetMaintenance(std::move(value)); return *this;}
145
147
150 inline const Aws::String& GetName() const{ return m_name; }
151 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
152 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
153 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
154 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
155 inline UpdateChannelRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
156 inline UpdateChannelRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
157 inline UpdateChannelRequest& WithName(const char* value) { SetName(value); return *this;}
159
161
166 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
167 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
168 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
169 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
170 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
171 inline UpdateChannelRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
172 inline UpdateChannelRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
173 inline UpdateChannelRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
175 private:
176
177 CdiInputSpecification m_cdiInputSpecification;
178 bool m_cdiInputSpecificationHasBeenSet = false;
179
180 Aws::String m_channelId;
181 bool m_channelIdHasBeenSet = false;
182
183 Aws::Vector<OutputDestination> m_destinations;
184 bool m_destinationsHasBeenSet = false;
185
186 EncoderSettings m_encoderSettings;
187 bool m_encoderSettingsHasBeenSet = false;
188
189 Aws::Vector<InputAttachment> m_inputAttachments;
190 bool m_inputAttachmentsHasBeenSet = false;
191
192 InputSpecification m_inputSpecification;
193 bool m_inputSpecificationHasBeenSet = false;
194
195 LogLevel m_logLevel;
196 bool m_logLevelHasBeenSet = false;
197
198 MaintenanceUpdateSettings m_maintenance;
199 bool m_maintenanceHasBeenSet = false;
200
201 Aws::String m_name;
202 bool m_nameHasBeenSet = false;
203
204 Aws::String m_roleArn;
205 bool m_roleArnHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace MediaLive
210} // namespace Aws
UpdateChannelRequest & WithInputAttachments(Aws::Vector< InputAttachment > &&value)
void SetDestinations(Aws::Vector< OutputDestination > &&value)
UpdateChannelRequest & WithMaintenance(MaintenanceUpdateSettings &&value)
UpdateChannelRequest & AddInputAttachments(const InputAttachment &value)
void SetCdiInputSpecification(const CdiInputSpecification &value)
UpdateChannelRequest & WithRoleArn(const Aws::String &value)
UpdateChannelRequest & WithInputSpecification(InputSpecification &&value)
UpdateChannelRequest & WithEncoderSettings(EncoderSettings &&value)
const CdiInputSpecification & GetCdiInputSpecification() const
UpdateChannelRequest & WithInputSpecification(const InputSpecification &value)
UpdateChannelRequest & WithName(Aws::String &&value)
UpdateChannelRequest & AddInputAttachments(InputAttachment &&value)
void SetInputSpecification(const InputSpecification &value)
UpdateChannelRequest & WithRoleArn(const char *value)
void SetInputSpecification(InputSpecification &&value)
void SetEncoderSettings(const EncoderSettings &value)
UpdateChannelRequest & WithCdiInputSpecification(const CdiInputSpecification &value)
UpdateChannelRequest & WithRoleArn(Aws::String &&value)
UpdateChannelRequest & AddDestinations(OutputDestination &&value)
UpdateChannelRequest & WithCdiInputSpecification(CdiInputSpecification &&value)
void SetCdiInputSpecification(CdiInputSpecification &&value)
const InputSpecification & GetInputSpecification() const
UpdateChannelRequest & WithDestinations(const Aws::Vector< OutputDestination > &value)
UpdateChannelRequest & WithLogLevel(const LogLevel &value)
UpdateChannelRequest & WithLogLevel(LogLevel &&value)
void SetInputAttachments(const Aws::Vector< InputAttachment > &value)
UpdateChannelRequest & AddDestinations(const OutputDestination &value)
UpdateChannelRequest & WithEncoderSettings(const EncoderSettings &value)
UpdateChannelRequest & WithInputAttachments(const Aws::Vector< InputAttachment > &value)
UpdateChannelRequest & WithName(const Aws::String &value)
UpdateChannelRequest & WithChannelId(const char *value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
const MaintenanceUpdateSettings & GetMaintenance() const
void SetMaintenance(const MaintenanceUpdateSettings &value)
void SetMaintenance(MaintenanceUpdateSettings &&value)
const Aws::Vector< InputAttachment > & GetInputAttachments() const
void SetEncoderSettings(EncoderSettings &&value)
UpdateChannelRequest & WithName(const char *value)
void SetDestinations(const Aws::Vector< OutputDestination > &value)
virtual const char * GetServiceRequestName() const override
UpdateChannelRequest & WithMaintenance(const MaintenanceUpdateSettings &value)
UpdateChannelRequest & WithChannelId(const Aws::String &value)
const Aws::Vector< OutputDestination > & GetDestinations() const
void SetInputAttachments(Aws::Vector< InputAttachment > &&value)
const EncoderSettings & GetEncoderSettings() const
UpdateChannelRequest & WithDestinations(Aws::Vector< OutputDestination > &&value)
UpdateChannelRequest & WithChannelId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector