AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFlowOutputRequest.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/MediaConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/mediaconnect/model/UpdateEncryption.h>
12#include <aws/mediaconnect/model/Protocol.h>
13#include <aws/mediaconnect/model/VpcInterfaceAttachment.h>
14#include <aws/mediaconnect/model/OutputStatus.h>
15#include <aws/mediaconnect/model/MediaStreamOutputConfigurationRequest.h>
16#include <utility>
17
18namespace Aws
19{
20namespace MediaConnect
21{
22namespace Model
23{
24
31 {
32 public:
33 AWS_MEDIACONNECT_API UpdateFlowOutputRequest();
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "UpdateFlowOutput"; }
40
41 AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
42
43
45
50 inline const Aws::Vector<Aws::String>& GetCidrAllowList() const{ return m_cidrAllowList; }
51 inline bool CidrAllowListHasBeenSet() const { return m_cidrAllowListHasBeenSet; }
52 inline void SetCidrAllowList(const Aws::Vector<Aws::String>& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList = value; }
53 inline void SetCidrAllowList(Aws::Vector<Aws::String>&& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList = std::move(value); }
55 inline UpdateFlowOutputRequest& WithCidrAllowList(Aws::Vector<Aws::String>&& value) { SetCidrAllowList(std::move(value)); return *this;}
56 inline UpdateFlowOutputRequest& AddCidrAllowList(const Aws::String& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList.push_back(value); return *this; }
57 inline UpdateFlowOutputRequest& AddCidrAllowList(Aws::String&& value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList.push_back(std::move(value)); return *this; }
58 inline UpdateFlowOutputRequest& AddCidrAllowList(const char* value) { m_cidrAllowListHasBeenSet = true; m_cidrAllowList.push_back(value); return *this; }
60
62
66 inline const Aws::String& GetDescription() const{ return m_description; }
67 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
68 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
69 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
70 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
71 inline UpdateFlowOutputRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
72 inline UpdateFlowOutputRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
73 inline UpdateFlowOutputRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
75
77
80 inline const Aws::String& GetDestination() const{ return m_destination; }
81 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
82 inline void SetDestination(const Aws::String& value) { m_destinationHasBeenSet = true; m_destination = value; }
83 inline void SetDestination(Aws::String&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
84 inline void SetDestination(const char* value) { m_destinationHasBeenSet = true; m_destination.assign(value); }
85 inline UpdateFlowOutputRequest& WithDestination(const Aws::String& value) { SetDestination(value); return *this;}
86 inline UpdateFlowOutputRequest& WithDestination(Aws::String&& value) { SetDestination(std::move(value)); return *this;}
87 inline UpdateFlowOutputRequest& WithDestination(const char* value) { SetDestination(value); return *this;}
89
91
96 inline const UpdateEncryption& GetEncryption() const{ return m_encryption; }
97 inline bool EncryptionHasBeenSet() const { return m_encryptionHasBeenSet; }
98 inline void SetEncryption(const UpdateEncryption& value) { m_encryptionHasBeenSet = true; m_encryption = value; }
99 inline void SetEncryption(UpdateEncryption&& value) { m_encryptionHasBeenSet = true; m_encryption = std::move(value); }
100 inline UpdateFlowOutputRequest& WithEncryption(const UpdateEncryption& value) { SetEncryption(value); return *this;}
101 inline UpdateFlowOutputRequest& WithEncryption(UpdateEncryption&& value) { SetEncryption(std::move(value)); return *this;}
103
105
108 inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
109 inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
110 inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
111 inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
112 inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
113 inline UpdateFlowOutputRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
114 inline UpdateFlowOutputRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
115 inline UpdateFlowOutputRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
117
119
123 inline int GetMaxLatency() const{ return m_maxLatency; }
124 inline bool MaxLatencyHasBeenSet() const { return m_maxLatencyHasBeenSet; }
125 inline void SetMaxLatency(int value) { m_maxLatencyHasBeenSet = true; m_maxLatency = value; }
126 inline UpdateFlowOutputRequest& WithMaxLatency(int value) { SetMaxLatency(value); return *this;}
128
130
134 inline const Aws::Vector<MediaStreamOutputConfigurationRequest>& GetMediaStreamOutputConfigurations() const{ return m_mediaStreamOutputConfigurations; }
135 inline bool MediaStreamOutputConfigurationsHasBeenSet() const { return m_mediaStreamOutputConfigurationsHasBeenSet; }
136 inline void SetMediaStreamOutputConfigurations(const Aws::Vector<MediaStreamOutputConfigurationRequest>& value) { m_mediaStreamOutputConfigurationsHasBeenSet = true; m_mediaStreamOutputConfigurations = value; }
137 inline void SetMediaStreamOutputConfigurations(Aws::Vector<MediaStreamOutputConfigurationRequest>&& value) { m_mediaStreamOutputConfigurationsHasBeenSet = true; m_mediaStreamOutputConfigurations = std::move(value); }
140 inline UpdateFlowOutputRequest& AddMediaStreamOutputConfigurations(const MediaStreamOutputConfigurationRequest& value) { m_mediaStreamOutputConfigurationsHasBeenSet = true; m_mediaStreamOutputConfigurations.push_back(value); return *this; }
141 inline UpdateFlowOutputRequest& AddMediaStreamOutputConfigurations(MediaStreamOutputConfigurationRequest&& value) { m_mediaStreamOutputConfigurationsHasBeenSet = true; m_mediaStreamOutputConfigurations.push_back(std::move(value)); return *this; }
143
145
152 inline int GetMinLatency() const{ return m_minLatency; }
153 inline bool MinLatencyHasBeenSet() const { return m_minLatencyHasBeenSet; }
154 inline void SetMinLatency(int value) { m_minLatencyHasBeenSet = true; m_minLatency = value; }
155 inline UpdateFlowOutputRequest& WithMinLatency(int value) { SetMinLatency(value); return *this;}
157
159
162 inline const Aws::String& GetOutputArn() const{ return m_outputArn; }
163 inline bool OutputArnHasBeenSet() const { return m_outputArnHasBeenSet; }
164 inline void SetOutputArn(const Aws::String& value) { m_outputArnHasBeenSet = true; m_outputArn = value; }
165 inline void SetOutputArn(Aws::String&& value) { m_outputArnHasBeenSet = true; m_outputArn = std::move(value); }
166 inline void SetOutputArn(const char* value) { m_outputArnHasBeenSet = true; m_outputArn.assign(value); }
167 inline UpdateFlowOutputRequest& WithOutputArn(const Aws::String& value) { SetOutputArn(value); return *this;}
168 inline UpdateFlowOutputRequest& WithOutputArn(Aws::String&& value) { SetOutputArn(std::move(value)); return *this;}
169 inline UpdateFlowOutputRequest& WithOutputArn(const char* value) { SetOutputArn(value); return *this;}
171
173
176 inline int GetPort() const{ return m_port; }
177 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
178 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
179 inline UpdateFlowOutputRequest& WithPort(int value) { SetPort(value); return *this;}
181
183
186 inline const Protocol& GetProtocol() const{ return m_protocol; }
187 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
188 inline void SetProtocol(const Protocol& value) { m_protocolHasBeenSet = true; m_protocol = value; }
189 inline void SetProtocol(Protocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); }
190 inline UpdateFlowOutputRequest& WithProtocol(const Protocol& value) { SetProtocol(value); return *this;}
191 inline UpdateFlowOutputRequest& WithProtocol(Protocol&& value) { SetProtocol(std::move(value)); return *this;}
193
195
198 inline const Aws::String& GetRemoteId() const{ return m_remoteId; }
199 inline bool RemoteIdHasBeenSet() const { return m_remoteIdHasBeenSet; }
200 inline void SetRemoteId(const Aws::String& value) { m_remoteIdHasBeenSet = true; m_remoteId = value; }
201 inline void SetRemoteId(Aws::String&& value) { m_remoteIdHasBeenSet = true; m_remoteId = std::move(value); }
202 inline void SetRemoteId(const char* value) { m_remoteIdHasBeenSet = true; m_remoteId.assign(value); }
203 inline UpdateFlowOutputRequest& WithRemoteId(const Aws::String& value) { SetRemoteId(value); return *this;}
204 inline UpdateFlowOutputRequest& WithRemoteId(Aws::String&& value) { SetRemoteId(std::move(value)); return *this;}
205 inline UpdateFlowOutputRequest& WithRemoteId(const char* value) { SetRemoteId(value); return *this;}
207
209
213 inline int GetSenderControlPort() const{ return m_senderControlPort; }
214 inline bool SenderControlPortHasBeenSet() const { return m_senderControlPortHasBeenSet; }
215 inline void SetSenderControlPort(int value) { m_senderControlPortHasBeenSet = true; m_senderControlPort = value; }
216 inline UpdateFlowOutputRequest& WithSenderControlPort(int value) { SetSenderControlPort(value); return *this;}
218
220
224 inline const Aws::String& GetSenderIpAddress() const{ return m_senderIpAddress; }
225 inline bool SenderIpAddressHasBeenSet() const { return m_senderIpAddressHasBeenSet; }
226 inline void SetSenderIpAddress(const Aws::String& value) { m_senderIpAddressHasBeenSet = true; m_senderIpAddress = value; }
227 inline void SetSenderIpAddress(Aws::String&& value) { m_senderIpAddressHasBeenSet = true; m_senderIpAddress = std::move(value); }
228 inline void SetSenderIpAddress(const char* value) { m_senderIpAddressHasBeenSet = true; m_senderIpAddress.assign(value); }
229 inline UpdateFlowOutputRequest& WithSenderIpAddress(const Aws::String& value) { SetSenderIpAddress(value); return *this;}
230 inline UpdateFlowOutputRequest& WithSenderIpAddress(Aws::String&& value) { SetSenderIpAddress(std::move(value)); return *this;}
231 inline UpdateFlowOutputRequest& WithSenderIpAddress(const char* value) { SetSenderIpAddress(value); return *this;}
233
235
238 inline int GetSmoothingLatency() const{ return m_smoothingLatency; }
239 inline bool SmoothingLatencyHasBeenSet() const { return m_smoothingLatencyHasBeenSet; }
240 inline void SetSmoothingLatency(int value) { m_smoothingLatencyHasBeenSet = true; m_smoothingLatency = value; }
241 inline UpdateFlowOutputRequest& WithSmoothingLatency(int value) { SetSmoothingLatency(value); return *this;}
243
245
249 inline const Aws::String& GetStreamId() const{ return m_streamId; }
250 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
251 inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; }
252 inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); }
253 inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); }
254 inline UpdateFlowOutputRequest& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
255 inline UpdateFlowOutputRequest& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
256 inline UpdateFlowOutputRequest& WithStreamId(const char* value) { SetStreamId(value); return *this;}
258
260
263 inline const VpcInterfaceAttachment& GetVpcInterfaceAttachment() const{ return m_vpcInterfaceAttachment; }
264 inline bool VpcInterfaceAttachmentHasBeenSet() const { return m_vpcInterfaceAttachmentHasBeenSet; }
265 inline void SetVpcInterfaceAttachment(const VpcInterfaceAttachment& value) { m_vpcInterfaceAttachmentHasBeenSet = true; m_vpcInterfaceAttachment = value; }
266 inline void SetVpcInterfaceAttachment(VpcInterfaceAttachment&& value) { m_vpcInterfaceAttachmentHasBeenSet = true; m_vpcInterfaceAttachment = std::move(value); }
270
272
277 inline const OutputStatus& GetOutputStatus() const{ return m_outputStatus; }
278 inline bool OutputStatusHasBeenSet() const { return m_outputStatusHasBeenSet; }
279 inline void SetOutputStatus(const OutputStatus& value) { m_outputStatusHasBeenSet = true; m_outputStatus = value; }
280 inline void SetOutputStatus(OutputStatus&& value) { m_outputStatusHasBeenSet = true; m_outputStatus = std::move(value); }
281 inline UpdateFlowOutputRequest& WithOutputStatus(const OutputStatus& value) { SetOutputStatus(value); return *this;}
282 inline UpdateFlowOutputRequest& WithOutputStatus(OutputStatus&& value) { SetOutputStatus(std::move(value)); return *this;}
284 private:
285
286 Aws::Vector<Aws::String> m_cidrAllowList;
287 bool m_cidrAllowListHasBeenSet = false;
288
289 Aws::String m_description;
290 bool m_descriptionHasBeenSet = false;
291
292 Aws::String m_destination;
293 bool m_destinationHasBeenSet = false;
294
295 UpdateEncryption m_encryption;
296 bool m_encryptionHasBeenSet = false;
297
298 Aws::String m_flowArn;
299 bool m_flowArnHasBeenSet = false;
300
301 int m_maxLatency;
302 bool m_maxLatencyHasBeenSet = false;
303
304 Aws::Vector<MediaStreamOutputConfigurationRequest> m_mediaStreamOutputConfigurations;
305 bool m_mediaStreamOutputConfigurationsHasBeenSet = false;
306
307 int m_minLatency;
308 bool m_minLatencyHasBeenSet = false;
309
310 Aws::String m_outputArn;
311 bool m_outputArnHasBeenSet = false;
312
313 int m_port;
314 bool m_portHasBeenSet = false;
315
316 Protocol m_protocol;
317 bool m_protocolHasBeenSet = false;
318
319 Aws::String m_remoteId;
320 bool m_remoteIdHasBeenSet = false;
321
322 int m_senderControlPort;
323 bool m_senderControlPortHasBeenSet = false;
324
325 Aws::String m_senderIpAddress;
326 bool m_senderIpAddressHasBeenSet = false;
327
328 int m_smoothingLatency;
329 bool m_smoothingLatencyHasBeenSet = false;
330
331 Aws::String m_streamId;
332 bool m_streamIdHasBeenSet = false;
333
334 VpcInterfaceAttachment m_vpcInterfaceAttachment;
335 bool m_vpcInterfaceAttachmentHasBeenSet = false;
336
337 OutputStatus m_outputStatus;
338 bool m_outputStatusHasBeenSet = false;
339 };
340
341} // namespace Model
342} // namespace MediaConnect
343} // namespace Aws
void SetCidrAllowList(Aws::Vector< Aws::String > &&value)
UpdateFlowOutputRequest & WithRemoteId(const Aws::String &value)
UpdateFlowOutputRequest & AddCidrAllowList(const char *value)
UpdateFlowOutputRequest & WithDescription(const char *value)
UpdateFlowOutputRequest & WithRemoteId(Aws::String &&value)
UpdateFlowOutputRequest & WithProtocol(Protocol &&value)
UpdateFlowOutputRequest & WithCidrAllowList(Aws::Vector< Aws::String > &&value)
void SetCidrAllowList(const Aws::Vector< Aws::String > &value)
UpdateFlowOutputRequest & WithOutputArn(const Aws::String &value)
UpdateFlowOutputRequest & WithCidrAllowList(const Aws::Vector< Aws::String > &value)
UpdateFlowOutputRequest & WithMediaStreamOutputConfigurations(const Aws::Vector< MediaStreamOutputConfigurationRequest > &value)
UpdateFlowOutputRequest & WithStreamId(Aws::String &&value)
UpdateFlowOutputRequest & WithFlowArn(const Aws::String &value)
UpdateFlowOutputRequest & WithDescription(const Aws::String &value)
void SetVpcInterfaceAttachment(const VpcInterfaceAttachment &value)
virtual const char * GetServiceRequestName() const override
UpdateFlowOutputRequest & WithVpcInterfaceAttachment(const VpcInterfaceAttachment &value)
const VpcInterfaceAttachment & GetVpcInterfaceAttachment() const
UpdateFlowOutputRequest & WithSenderIpAddress(const Aws::String &value)
UpdateFlowOutputRequest & WithDestination(Aws::String &&value)
UpdateFlowOutputRequest & WithEncryption(UpdateEncryption &&value)
UpdateFlowOutputRequest & WithVpcInterfaceAttachment(VpcInterfaceAttachment &&value)
const Aws::Vector< Aws::String > & GetCidrAllowList() const
UpdateFlowOutputRequest & WithSmoothingLatency(int value)
UpdateFlowOutputRequest & WithFlowArn(const char *value)
void SetVpcInterfaceAttachment(VpcInterfaceAttachment &&value)
void SetMediaStreamOutputConfigurations(const Aws::Vector< MediaStreamOutputConfigurationRequest > &value)
UpdateFlowOutputRequest & WithSenderIpAddress(Aws::String &&value)
UpdateFlowOutputRequest & WithOutputArn(Aws::String &&value)
UpdateFlowOutputRequest & WithStreamId(const char *value)
void SetMediaStreamOutputConfigurations(Aws::Vector< MediaStreamOutputConfigurationRequest > &&value)
const Aws::Vector< MediaStreamOutputConfigurationRequest > & GetMediaStreamOutputConfigurations() const
UpdateFlowOutputRequest & WithProtocol(const Protocol &value)
UpdateFlowOutputRequest & AddMediaStreamOutputConfigurations(const MediaStreamOutputConfigurationRequest &value)
UpdateFlowOutputRequest & WithDestination(const Aws::String &value)
UpdateFlowOutputRequest & WithDescription(Aws::String &&value)
UpdateFlowOutputRequest & WithOutputStatus(const OutputStatus &value)
UpdateFlowOutputRequest & AddCidrAllowList(Aws::String &&value)
UpdateFlowOutputRequest & AddMediaStreamOutputConfigurations(MediaStreamOutputConfigurationRequest &&value)
UpdateFlowOutputRequest & AddCidrAllowList(const Aws::String &value)
UpdateFlowOutputRequest & WithMediaStreamOutputConfigurations(Aws::Vector< MediaStreamOutputConfigurationRequest > &&value)
UpdateFlowOutputRequest & WithEncryption(const UpdateEncryption &value)
UpdateFlowOutputRequest & WithSenderIpAddress(const char *value)
UpdateFlowOutputRequest & WithStreamId(const Aws::String &value)
UpdateFlowOutputRequest & WithDestination(const char *value)
UpdateFlowOutputRequest & WithSenderControlPort(int value)
UpdateFlowOutputRequest & WithOutputStatus(OutputStatus &&value)
UpdateFlowOutputRequest & WithFlowArn(Aws::String &&value)
AWS_MEDIACONNECT_API Aws::String SerializePayload() const override
UpdateFlowOutputRequest & WithOutputArn(const char *value)
UpdateFlowOutputRequest & WithRemoteId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector