AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFlowSourceRequest.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/mediaconnect/MediaConnectRequest.h>
9#include <aws/mediaconnect/model/UpdateEncryption.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/mediaconnect/model/Protocol.h>
13#include <aws/mediaconnect/model/UpdateGatewayBridgeSourceRequest.h>
14#include <aws/mediaconnect/model/MediaStreamSourceConfigurationRequest.h>
15#include <utility>
16
17namespace Aws
18{
19namespace MediaConnect
20{
21namespace Model
22{
23
30 {
31 public:
32 AWS_MEDIACONNECT_API UpdateFlowSourceRequest();
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "UpdateFlowSource"; }
39
40 AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
41
42
44
48 inline const UpdateEncryption& GetDecryption() const{ return m_decryption; }
49 inline bool DecryptionHasBeenSet() const { return m_decryptionHasBeenSet; }
50 inline void SetDecryption(const UpdateEncryption& value) { m_decryptionHasBeenSet = true; m_decryption = value; }
51 inline void SetDecryption(UpdateEncryption&& value) { m_decryptionHasBeenSet = true; m_decryption = std::move(value); }
52 inline UpdateFlowSourceRequest& WithDecryption(const UpdateEncryption& value) { SetDecryption(value); return *this;}
53 inline UpdateFlowSourceRequest& WithDecryption(UpdateEncryption&& value) { SetDecryption(std::move(value)); return *this;}
55
57
61 inline const Aws::String& GetDescription() const{ return m_description; }
62 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
63 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
64 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
65 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
66 inline UpdateFlowSourceRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
67 inline UpdateFlowSourceRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
68 inline UpdateFlowSourceRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
70
72
77 inline const Aws::String& GetEntitlementArn() const{ return m_entitlementArn; }
78 inline bool EntitlementArnHasBeenSet() const { return m_entitlementArnHasBeenSet; }
79 inline void SetEntitlementArn(const Aws::String& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = value; }
80 inline void SetEntitlementArn(Aws::String&& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = std::move(value); }
81 inline void SetEntitlementArn(const char* value) { m_entitlementArnHasBeenSet = true; m_entitlementArn.assign(value); }
82 inline UpdateFlowSourceRequest& WithEntitlementArn(const Aws::String& value) { SetEntitlementArn(value); return *this;}
83 inline UpdateFlowSourceRequest& WithEntitlementArn(Aws::String&& value) { SetEntitlementArn(std::move(value)); return *this;}
84 inline UpdateFlowSourceRequest& WithEntitlementArn(const char* value) { SetEntitlementArn(value); return *this;}
86
88
91 inline const Aws::String& GetFlowArn() const{ return m_flowArn; }
92 inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
93 inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; }
94 inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); }
95 inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); }
96 inline UpdateFlowSourceRequest& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;}
97 inline UpdateFlowSourceRequest& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;}
98 inline UpdateFlowSourceRequest& WithFlowArn(const char* value) { SetFlowArn(value); return *this;}
100
102
105 inline int GetIngestPort() const{ return m_ingestPort; }
106 inline bool IngestPortHasBeenSet() const { return m_ingestPortHasBeenSet; }
107 inline void SetIngestPort(int value) { m_ingestPortHasBeenSet = true; m_ingestPort = value; }
108 inline UpdateFlowSourceRequest& WithIngestPort(int value) { SetIngestPort(value); return *this;}
110
112
115 inline int GetMaxBitrate() const{ return m_maxBitrate; }
116 inline bool MaxBitrateHasBeenSet() const { return m_maxBitrateHasBeenSet; }
117 inline void SetMaxBitrate(int value) { m_maxBitrateHasBeenSet = true; m_maxBitrate = value; }
118 inline UpdateFlowSourceRequest& WithMaxBitrate(int value) { SetMaxBitrate(value); return *this;}
120
122
126 inline int GetMaxLatency() const{ return m_maxLatency; }
127 inline bool MaxLatencyHasBeenSet() const { return m_maxLatencyHasBeenSet; }
128 inline void SetMaxLatency(int value) { m_maxLatencyHasBeenSet = true; m_maxLatency = value; }
129 inline UpdateFlowSourceRequest& WithMaxLatency(int value) { SetMaxLatency(value); return *this;}
131
133
136 inline int GetMaxSyncBuffer() const{ return m_maxSyncBuffer; }
137 inline bool MaxSyncBufferHasBeenSet() const { return m_maxSyncBufferHasBeenSet; }
138 inline void SetMaxSyncBuffer(int value) { m_maxSyncBufferHasBeenSet = true; m_maxSyncBuffer = value; }
139 inline UpdateFlowSourceRequest& WithMaxSyncBuffer(int value) { SetMaxSyncBuffer(value); return *this;}
141
143
147 inline const Aws::Vector<MediaStreamSourceConfigurationRequest>& GetMediaStreamSourceConfigurations() const{ return m_mediaStreamSourceConfigurations; }
148 inline bool MediaStreamSourceConfigurationsHasBeenSet() const { return m_mediaStreamSourceConfigurationsHasBeenSet; }
149 inline void SetMediaStreamSourceConfigurations(const Aws::Vector<MediaStreamSourceConfigurationRequest>& value) { m_mediaStreamSourceConfigurationsHasBeenSet = true; m_mediaStreamSourceConfigurations = value; }
150 inline void SetMediaStreamSourceConfigurations(Aws::Vector<MediaStreamSourceConfigurationRequest>&& value) { m_mediaStreamSourceConfigurationsHasBeenSet = true; m_mediaStreamSourceConfigurations = std::move(value); }
153 inline UpdateFlowSourceRequest& AddMediaStreamSourceConfigurations(const MediaStreamSourceConfigurationRequest& value) { m_mediaStreamSourceConfigurationsHasBeenSet = true; m_mediaStreamSourceConfigurations.push_back(value); return *this; }
154 inline UpdateFlowSourceRequest& AddMediaStreamSourceConfigurations(MediaStreamSourceConfigurationRequest&& value) { m_mediaStreamSourceConfigurationsHasBeenSet = true; m_mediaStreamSourceConfigurations.push_back(std::move(value)); return *this; }
156
158
165 inline int GetMinLatency() const{ return m_minLatency; }
166 inline bool MinLatencyHasBeenSet() const { return m_minLatencyHasBeenSet; }
167 inline void SetMinLatency(int value) { m_minLatencyHasBeenSet = true; m_minLatency = value; }
168 inline UpdateFlowSourceRequest& WithMinLatency(int value) { SetMinLatency(value); return *this;}
170
172
175 inline const Protocol& GetProtocol() const{ return m_protocol; }
176 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
177 inline void SetProtocol(const Protocol& value) { m_protocolHasBeenSet = true; m_protocol = value; }
178 inline void SetProtocol(Protocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); }
179 inline UpdateFlowSourceRequest& WithProtocol(const Protocol& value) { SetProtocol(value); return *this;}
180 inline UpdateFlowSourceRequest& WithProtocol(Protocol&& value) { SetProtocol(std::move(value)); return *this;}
182
184
188 inline int GetSenderControlPort() const{ return m_senderControlPort; }
189 inline bool SenderControlPortHasBeenSet() const { return m_senderControlPortHasBeenSet; }
190 inline void SetSenderControlPort(int value) { m_senderControlPortHasBeenSet = true; m_senderControlPort = value; }
191 inline UpdateFlowSourceRequest& WithSenderControlPort(int value) { SetSenderControlPort(value); return *this;}
193
195
199 inline const Aws::String& GetSenderIpAddress() const{ return m_senderIpAddress; }
200 inline bool SenderIpAddressHasBeenSet() const { return m_senderIpAddressHasBeenSet; }
201 inline void SetSenderIpAddress(const Aws::String& value) { m_senderIpAddressHasBeenSet = true; m_senderIpAddress = value; }
202 inline void SetSenderIpAddress(Aws::String&& value) { m_senderIpAddressHasBeenSet = true; m_senderIpAddress = std::move(value); }
203 inline void SetSenderIpAddress(const char* value) { m_senderIpAddressHasBeenSet = true; m_senderIpAddress.assign(value); }
204 inline UpdateFlowSourceRequest& WithSenderIpAddress(const Aws::String& value) { SetSenderIpAddress(value); return *this;}
205 inline UpdateFlowSourceRequest& WithSenderIpAddress(Aws::String&& value) { SetSenderIpAddress(std::move(value)); return *this;}
206 inline UpdateFlowSourceRequest& WithSenderIpAddress(const char* value) { SetSenderIpAddress(value); return *this;}
208
210
213 inline const Aws::String& GetSourceArn() const{ return m_sourceArn; }
214 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
215 inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; }
216 inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); }
217 inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); }
218 inline UpdateFlowSourceRequest& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;}
219 inline UpdateFlowSourceRequest& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;}
220 inline UpdateFlowSourceRequest& WithSourceArn(const char* value) { SetSourceArn(value); return *this;}
222
224
227 inline const Aws::String& GetSourceListenerAddress() const{ return m_sourceListenerAddress; }
228 inline bool SourceListenerAddressHasBeenSet() const { return m_sourceListenerAddressHasBeenSet; }
229 inline void SetSourceListenerAddress(const Aws::String& value) { m_sourceListenerAddressHasBeenSet = true; m_sourceListenerAddress = value; }
230 inline void SetSourceListenerAddress(Aws::String&& value) { m_sourceListenerAddressHasBeenSet = true; m_sourceListenerAddress = std::move(value); }
231 inline void SetSourceListenerAddress(const char* value) { m_sourceListenerAddressHasBeenSet = true; m_sourceListenerAddress.assign(value); }
234 inline UpdateFlowSourceRequest& WithSourceListenerAddress(const char* value) { SetSourceListenerAddress(value); return *this;}
236
238
241 inline int GetSourceListenerPort() const{ return m_sourceListenerPort; }
242 inline bool SourceListenerPortHasBeenSet() const { return m_sourceListenerPortHasBeenSet; }
243 inline void SetSourceListenerPort(int value) { m_sourceListenerPortHasBeenSet = true; m_sourceListenerPort = value; }
244 inline UpdateFlowSourceRequest& WithSourceListenerPort(int value) { SetSourceListenerPort(value); return *this;}
246
248
252 inline const Aws::String& GetStreamId() const{ return m_streamId; }
253 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
254 inline void SetStreamId(const Aws::String& value) { m_streamIdHasBeenSet = true; m_streamId = value; }
255 inline void SetStreamId(Aws::String&& value) { m_streamIdHasBeenSet = true; m_streamId = std::move(value); }
256 inline void SetStreamId(const char* value) { m_streamIdHasBeenSet = true; m_streamId.assign(value); }
257 inline UpdateFlowSourceRequest& WithStreamId(const Aws::String& value) { SetStreamId(value); return *this;}
258 inline UpdateFlowSourceRequest& WithStreamId(Aws::String&& value) { SetStreamId(std::move(value)); return *this;}
259 inline UpdateFlowSourceRequest& WithStreamId(const char* value) { SetStreamId(value); return *this;}
261
263
266 inline const Aws::String& GetVpcInterfaceName() const{ return m_vpcInterfaceName; }
267 inline bool VpcInterfaceNameHasBeenSet() const { return m_vpcInterfaceNameHasBeenSet; }
268 inline void SetVpcInterfaceName(const Aws::String& value) { m_vpcInterfaceNameHasBeenSet = true; m_vpcInterfaceName = value; }
269 inline void SetVpcInterfaceName(Aws::String&& value) { m_vpcInterfaceNameHasBeenSet = true; m_vpcInterfaceName = std::move(value); }
270 inline void SetVpcInterfaceName(const char* value) { m_vpcInterfaceNameHasBeenSet = true; m_vpcInterfaceName.assign(value); }
272 inline UpdateFlowSourceRequest& WithVpcInterfaceName(Aws::String&& value) { SetVpcInterfaceName(std::move(value)); return *this;}
273 inline UpdateFlowSourceRequest& WithVpcInterfaceName(const char* value) { SetVpcInterfaceName(value); return *this;}
275
277
282 inline const Aws::String& GetWhitelistCidr() const{ return m_whitelistCidr; }
283 inline bool WhitelistCidrHasBeenSet() const { return m_whitelistCidrHasBeenSet; }
284 inline void SetWhitelistCidr(const Aws::String& value) { m_whitelistCidrHasBeenSet = true; m_whitelistCidr = value; }
285 inline void SetWhitelistCidr(Aws::String&& value) { m_whitelistCidrHasBeenSet = true; m_whitelistCidr = std::move(value); }
286 inline void SetWhitelistCidr(const char* value) { m_whitelistCidrHasBeenSet = true; m_whitelistCidr.assign(value); }
287 inline UpdateFlowSourceRequest& WithWhitelistCidr(const Aws::String& value) { SetWhitelistCidr(value); return *this;}
288 inline UpdateFlowSourceRequest& WithWhitelistCidr(Aws::String&& value) { SetWhitelistCidr(std::move(value)); return *this;}
289 inline UpdateFlowSourceRequest& WithWhitelistCidr(const char* value) { SetWhitelistCidr(value); return *this;}
291
293
296 inline const UpdateGatewayBridgeSourceRequest& GetGatewayBridgeSource() const{ return m_gatewayBridgeSource; }
297 inline bool GatewayBridgeSourceHasBeenSet() const { return m_gatewayBridgeSourceHasBeenSet; }
298 inline void SetGatewayBridgeSource(const UpdateGatewayBridgeSourceRequest& value) { m_gatewayBridgeSourceHasBeenSet = true; m_gatewayBridgeSource = value; }
299 inline void SetGatewayBridgeSource(UpdateGatewayBridgeSourceRequest&& value) { m_gatewayBridgeSourceHasBeenSet = true; m_gatewayBridgeSource = std::move(value); }
303 private:
304
305 UpdateEncryption m_decryption;
306 bool m_decryptionHasBeenSet = false;
307
308 Aws::String m_description;
309 bool m_descriptionHasBeenSet = false;
310
311 Aws::String m_entitlementArn;
312 bool m_entitlementArnHasBeenSet = false;
313
314 Aws::String m_flowArn;
315 bool m_flowArnHasBeenSet = false;
316
317 int m_ingestPort;
318 bool m_ingestPortHasBeenSet = false;
319
320 int m_maxBitrate;
321 bool m_maxBitrateHasBeenSet = false;
322
323 int m_maxLatency;
324 bool m_maxLatencyHasBeenSet = false;
325
326 int m_maxSyncBuffer;
327 bool m_maxSyncBufferHasBeenSet = false;
328
329 Aws::Vector<MediaStreamSourceConfigurationRequest> m_mediaStreamSourceConfigurations;
330 bool m_mediaStreamSourceConfigurationsHasBeenSet = false;
331
332 int m_minLatency;
333 bool m_minLatencyHasBeenSet = false;
334
335 Protocol m_protocol;
336 bool m_protocolHasBeenSet = false;
337
338 int m_senderControlPort;
339 bool m_senderControlPortHasBeenSet = false;
340
341 Aws::String m_senderIpAddress;
342 bool m_senderIpAddressHasBeenSet = false;
343
344 Aws::String m_sourceArn;
345 bool m_sourceArnHasBeenSet = false;
346
347 Aws::String m_sourceListenerAddress;
348 bool m_sourceListenerAddressHasBeenSet = false;
349
350 int m_sourceListenerPort;
351 bool m_sourceListenerPortHasBeenSet = false;
352
353 Aws::String m_streamId;
354 bool m_streamIdHasBeenSet = false;
355
356 Aws::String m_vpcInterfaceName;
357 bool m_vpcInterfaceNameHasBeenSet = false;
358
359 Aws::String m_whitelistCidr;
360 bool m_whitelistCidrHasBeenSet = false;
361
362 UpdateGatewayBridgeSourceRequest m_gatewayBridgeSource;
363 bool m_gatewayBridgeSourceHasBeenSet = false;
364 };
365
366} // namespace Model
367} // namespace MediaConnect
368} // namespace Aws
UpdateFlowSourceRequest & WithEntitlementArn(const char *value)
UpdateFlowSourceRequest & WithDescription(const Aws::String &value)
UpdateFlowSourceRequest & WithGatewayBridgeSource(UpdateGatewayBridgeSourceRequest &&value)
UpdateFlowSourceRequest & WithSourceListenerPort(int value)
UpdateFlowSourceRequest & AddMediaStreamSourceConfigurations(MediaStreamSourceConfigurationRequest &&value)
UpdateFlowSourceRequest & WithSourceArn(Aws::String &&value)
void SetGatewayBridgeSource(UpdateGatewayBridgeSourceRequest &&value)
UpdateFlowSourceRequest & WithStreamId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateFlowSourceRequest & WithSourceListenerAddress(const Aws::String &value)
const UpdateGatewayBridgeSourceRequest & GetGatewayBridgeSource() const
UpdateFlowSourceRequest & WithWhitelistCidr(const char *value)
UpdateFlowSourceRequest & WithFlowArn(Aws::String &&value)
UpdateFlowSourceRequest & WithDescription(Aws::String &&value)
UpdateFlowSourceRequest & WithProtocol(const Protocol &value)
UpdateFlowSourceRequest & WithStreamId(Aws::String &&value)
UpdateFlowSourceRequest & WithSourceArn(const Aws::String &value)
void SetGatewayBridgeSource(const UpdateGatewayBridgeSourceRequest &value)
UpdateFlowSourceRequest & WithSenderIpAddress(Aws::String &&value)
UpdateFlowSourceRequest & WithVpcInterfaceName(Aws::String &&value)
UpdateFlowSourceRequest & WithMediaStreamSourceConfigurations(Aws::Vector< MediaStreamSourceConfigurationRequest > &&value)
UpdateFlowSourceRequest & WithProtocol(Protocol &&value)
UpdateFlowSourceRequest & WithSenderIpAddress(const char *value)
UpdateFlowSourceRequest & WithMaxSyncBuffer(int value)
UpdateFlowSourceRequest & WithSourceListenerAddress(Aws::String &&value)
AWS_MEDIACONNECT_API Aws::String SerializePayload() const override
UpdateFlowSourceRequest & WithStreamId(const char *value)
UpdateFlowSourceRequest & WithWhitelistCidr(const Aws::String &value)
UpdateFlowSourceRequest & WithDescription(const char *value)
UpdateFlowSourceRequest & WithSourceArn(const char *value)
UpdateFlowSourceRequest & WithEntitlementArn(const Aws::String &value)
UpdateFlowSourceRequest & WithVpcInterfaceName(const Aws::String &value)
UpdateFlowSourceRequest & WithFlowArn(const char *value)
UpdateFlowSourceRequest & WithDecryption(UpdateEncryption &&value)
UpdateFlowSourceRequest & WithVpcInterfaceName(const char *value)
UpdateFlowSourceRequest & WithWhitelistCidr(Aws::String &&value)
UpdateFlowSourceRequest & WithFlowArn(const Aws::String &value)
UpdateFlowSourceRequest & WithSenderIpAddress(const Aws::String &value)
void SetMediaStreamSourceConfigurations(const Aws::Vector< MediaStreamSourceConfigurationRequest > &value)
UpdateFlowSourceRequest & WithMediaStreamSourceConfigurations(const Aws::Vector< MediaStreamSourceConfigurationRequest > &value)
UpdateFlowSourceRequest & WithGatewayBridgeSource(const UpdateGatewayBridgeSourceRequest &value)
UpdateFlowSourceRequest & AddMediaStreamSourceConfigurations(const MediaStreamSourceConfigurationRequest &value)
UpdateFlowSourceRequest & WithDecryption(const UpdateEncryption &value)
void SetMediaStreamSourceConfigurations(Aws::Vector< MediaStreamSourceConfigurationRequest > &&value)
const Aws::Vector< MediaStreamSourceConfigurationRequest > & GetMediaStreamSourceConfigurations() const
UpdateFlowSourceRequest & WithSenderControlPort(int value)
UpdateFlowSourceRequest & WithSourceListenerAddress(const char *value)
UpdateFlowSourceRequest & WithEntitlementArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector