AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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
27 {
28 public:
29 AWS_MEDIACONNECT_API UpdateFlowSourceRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "UpdateFlowSource"; }
36
37 AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
38
39
41
45 inline const UpdateEncryption& GetDecryption() const { return m_decryption; }
46 inline bool DecryptionHasBeenSet() const { return m_decryptionHasBeenSet; }
47 template<typename DecryptionT = UpdateEncryption>
48 void SetDecryption(DecryptionT&& value) { m_decryptionHasBeenSet = true; m_decryption = std::forward<DecryptionT>(value); }
49 template<typename DecryptionT = UpdateEncryption>
50 UpdateFlowSourceRequest& WithDecryption(DecryptionT&& value) { SetDecryption(std::forward<DecryptionT>(value)); return *this;}
52
54
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template<typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
62 template<typename DescriptionT = Aws::String>
63 UpdateFlowSourceRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
65
67
72 inline const Aws::String& GetEntitlementArn() const { return m_entitlementArn; }
73 inline bool EntitlementArnHasBeenSet() const { return m_entitlementArnHasBeenSet; }
74 template<typename EntitlementArnT = Aws::String>
75 void SetEntitlementArn(EntitlementArnT&& value) { m_entitlementArnHasBeenSet = true; m_entitlementArn = std::forward<EntitlementArnT>(value); }
76 template<typename EntitlementArnT = Aws::String>
77 UpdateFlowSourceRequest& WithEntitlementArn(EntitlementArnT&& value) { SetEntitlementArn(std::forward<EntitlementArnT>(value)); return *this;}
79
81
84 inline const Aws::String& GetFlowArn() const { return m_flowArn; }
85 inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
86 template<typename FlowArnT = Aws::String>
87 void SetFlowArn(FlowArnT&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::forward<FlowArnT>(value); }
88 template<typename FlowArnT = Aws::String>
89 UpdateFlowSourceRequest& WithFlowArn(FlowArnT&& value) { SetFlowArn(std::forward<FlowArnT>(value)); return *this;}
91
93
97 inline int GetIngestPort() const { return m_ingestPort; }
98 inline bool IngestPortHasBeenSet() const { return m_ingestPortHasBeenSet; }
99 inline void SetIngestPort(int value) { m_ingestPortHasBeenSet = true; m_ingestPort = value; }
100 inline UpdateFlowSourceRequest& WithIngestPort(int value) { SetIngestPort(value); return *this;}
102
104
107 inline int GetMaxBitrate() const { return m_maxBitrate; }
108 inline bool MaxBitrateHasBeenSet() const { return m_maxBitrateHasBeenSet; }
109 inline void SetMaxBitrate(int value) { m_maxBitrateHasBeenSet = true; m_maxBitrate = value; }
110 inline UpdateFlowSourceRequest& WithMaxBitrate(int value) { SetMaxBitrate(value); return *this;}
112
114
118 inline int GetMaxLatency() const { return m_maxLatency; }
119 inline bool MaxLatencyHasBeenSet() const { return m_maxLatencyHasBeenSet; }
120 inline void SetMaxLatency(int value) { m_maxLatencyHasBeenSet = true; m_maxLatency = value; }
121 inline UpdateFlowSourceRequest& WithMaxLatency(int value) { SetMaxLatency(value); return *this;}
123
125
129 inline int GetMaxSyncBuffer() const { return m_maxSyncBuffer; }
130 inline bool MaxSyncBufferHasBeenSet() const { return m_maxSyncBufferHasBeenSet; }
131 inline void SetMaxSyncBuffer(int value) { m_maxSyncBufferHasBeenSet = true; m_maxSyncBuffer = value; }
132 inline UpdateFlowSourceRequest& WithMaxSyncBuffer(int value) { SetMaxSyncBuffer(value); return *this;}
134
136
140 inline const Aws::Vector<MediaStreamSourceConfigurationRequest>& GetMediaStreamSourceConfigurations() const { return m_mediaStreamSourceConfigurations; }
141 inline bool MediaStreamSourceConfigurationsHasBeenSet() const { return m_mediaStreamSourceConfigurationsHasBeenSet; }
142 template<typename MediaStreamSourceConfigurationsT = Aws::Vector<MediaStreamSourceConfigurationRequest>>
143 void SetMediaStreamSourceConfigurations(MediaStreamSourceConfigurationsT&& value) { m_mediaStreamSourceConfigurationsHasBeenSet = true; m_mediaStreamSourceConfigurations = std::forward<MediaStreamSourceConfigurationsT>(value); }
144 template<typename MediaStreamSourceConfigurationsT = Aws::Vector<MediaStreamSourceConfigurationRequest>>
145 UpdateFlowSourceRequest& WithMediaStreamSourceConfigurations(MediaStreamSourceConfigurationsT&& value) { SetMediaStreamSourceConfigurations(std::forward<MediaStreamSourceConfigurationsT>(value)); return *this;}
146 template<typename MediaStreamSourceConfigurationsT = MediaStreamSourceConfigurationRequest>
147 UpdateFlowSourceRequest& AddMediaStreamSourceConfigurations(MediaStreamSourceConfigurationsT&& value) { m_mediaStreamSourceConfigurationsHasBeenSet = true; m_mediaStreamSourceConfigurations.emplace_back(std::forward<MediaStreamSourceConfigurationsT>(value)); return *this; }
149
151
158 inline int GetMinLatency() const { return m_minLatency; }
159 inline bool MinLatencyHasBeenSet() const { return m_minLatencyHasBeenSet; }
160 inline void SetMinLatency(int value) { m_minLatencyHasBeenSet = true; m_minLatency = value; }
161 inline UpdateFlowSourceRequest& WithMinLatency(int value) { SetMinLatency(value); return *this;}
163
165
170 inline Protocol GetProtocol() const { return m_protocol; }
171 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
172 inline void SetProtocol(Protocol value) { m_protocolHasBeenSet = true; m_protocol = value; }
173 inline UpdateFlowSourceRequest& WithProtocol(Protocol value) { SetProtocol(value); return *this;}
175
177
181 inline int GetSenderControlPort() const { return m_senderControlPort; }
182 inline bool SenderControlPortHasBeenSet() const { return m_senderControlPortHasBeenSet; }
183 inline void SetSenderControlPort(int value) { m_senderControlPortHasBeenSet = true; m_senderControlPort = value; }
184 inline UpdateFlowSourceRequest& WithSenderControlPort(int value) { SetSenderControlPort(value); return *this;}
186
188
192 inline const Aws::String& GetSenderIpAddress() const { return m_senderIpAddress; }
193 inline bool SenderIpAddressHasBeenSet() const { return m_senderIpAddressHasBeenSet; }
194 template<typename SenderIpAddressT = Aws::String>
195 void SetSenderIpAddress(SenderIpAddressT&& value) { m_senderIpAddressHasBeenSet = true; m_senderIpAddress = std::forward<SenderIpAddressT>(value); }
196 template<typename SenderIpAddressT = Aws::String>
197 UpdateFlowSourceRequest& WithSenderIpAddress(SenderIpAddressT&& value) { SetSenderIpAddress(std::forward<SenderIpAddressT>(value)); return *this;}
199
201
204 inline const Aws::String& GetSourceArn() const { return m_sourceArn; }
205 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
206 template<typename SourceArnT = Aws::String>
207 void SetSourceArn(SourceArnT&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::forward<SourceArnT>(value); }
208 template<typename SourceArnT = Aws::String>
209 UpdateFlowSourceRequest& WithSourceArn(SourceArnT&& value) { SetSourceArn(std::forward<SourceArnT>(value)); return *this;}
211
213
216 inline const Aws::String& GetSourceListenerAddress() const { return m_sourceListenerAddress; }
217 inline bool SourceListenerAddressHasBeenSet() const { return m_sourceListenerAddressHasBeenSet; }
218 template<typename SourceListenerAddressT = Aws::String>
219 void SetSourceListenerAddress(SourceListenerAddressT&& value) { m_sourceListenerAddressHasBeenSet = true; m_sourceListenerAddress = std::forward<SourceListenerAddressT>(value); }
220 template<typename SourceListenerAddressT = Aws::String>
221 UpdateFlowSourceRequest& WithSourceListenerAddress(SourceListenerAddressT&& value) { SetSourceListenerAddress(std::forward<SourceListenerAddressT>(value)); return *this;}
223
225
228 inline int GetSourceListenerPort() const { return m_sourceListenerPort; }
229 inline bool SourceListenerPortHasBeenSet() const { return m_sourceListenerPortHasBeenSet; }
230 inline void SetSourceListenerPort(int value) { m_sourceListenerPortHasBeenSet = true; m_sourceListenerPort = value; }
231 inline UpdateFlowSourceRequest& WithSourceListenerPort(int value) { SetSourceListenerPort(value); return *this;}
233
235
239 inline const Aws::String& GetStreamId() const { return m_streamId; }
240 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
241 template<typename StreamIdT = Aws::String>
242 void SetStreamId(StreamIdT&& value) { m_streamIdHasBeenSet = true; m_streamId = std::forward<StreamIdT>(value); }
243 template<typename StreamIdT = Aws::String>
244 UpdateFlowSourceRequest& WithStreamId(StreamIdT&& value) { SetStreamId(std::forward<StreamIdT>(value)); return *this;}
246
248
251 inline const Aws::String& GetVpcInterfaceName() const { return m_vpcInterfaceName; }
252 inline bool VpcInterfaceNameHasBeenSet() const { return m_vpcInterfaceNameHasBeenSet; }
253 template<typename VpcInterfaceNameT = Aws::String>
254 void SetVpcInterfaceName(VpcInterfaceNameT&& value) { m_vpcInterfaceNameHasBeenSet = true; m_vpcInterfaceName = std::forward<VpcInterfaceNameT>(value); }
255 template<typename VpcInterfaceNameT = Aws::String>
256 UpdateFlowSourceRequest& WithVpcInterfaceName(VpcInterfaceNameT&& value) { SetVpcInterfaceName(std::forward<VpcInterfaceNameT>(value)); return *this;}
258
260
265 inline const Aws::String& GetWhitelistCidr() const { return m_whitelistCidr; }
266 inline bool WhitelistCidrHasBeenSet() const { return m_whitelistCidrHasBeenSet; }
267 template<typename WhitelistCidrT = Aws::String>
268 void SetWhitelistCidr(WhitelistCidrT&& value) { m_whitelistCidrHasBeenSet = true; m_whitelistCidr = std::forward<WhitelistCidrT>(value); }
269 template<typename WhitelistCidrT = Aws::String>
270 UpdateFlowSourceRequest& WithWhitelistCidr(WhitelistCidrT&& value) { SetWhitelistCidr(std::forward<WhitelistCidrT>(value)); return *this;}
272
274
278 inline const UpdateGatewayBridgeSourceRequest& GetGatewayBridgeSource() const { return m_gatewayBridgeSource; }
279 inline bool GatewayBridgeSourceHasBeenSet() const { return m_gatewayBridgeSourceHasBeenSet; }
280 template<typename GatewayBridgeSourceT = UpdateGatewayBridgeSourceRequest>
281 void SetGatewayBridgeSource(GatewayBridgeSourceT&& value) { m_gatewayBridgeSourceHasBeenSet = true; m_gatewayBridgeSource = std::forward<GatewayBridgeSourceT>(value); }
282 template<typename GatewayBridgeSourceT = UpdateGatewayBridgeSourceRequest>
283 UpdateFlowSourceRequest& WithGatewayBridgeSource(GatewayBridgeSourceT&& value) { SetGatewayBridgeSource(std::forward<GatewayBridgeSourceT>(value)); return *this;}
285 private:
286
287 UpdateEncryption m_decryption;
288 bool m_decryptionHasBeenSet = false;
289
290 Aws::String m_description;
291 bool m_descriptionHasBeenSet = false;
292
293 Aws::String m_entitlementArn;
294 bool m_entitlementArnHasBeenSet = false;
295
296 Aws::String m_flowArn;
297 bool m_flowArnHasBeenSet = false;
298
299 int m_ingestPort{0};
300 bool m_ingestPortHasBeenSet = false;
301
302 int m_maxBitrate{0};
303 bool m_maxBitrateHasBeenSet = false;
304
305 int m_maxLatency{0};
306 bool m_maxLatencyHasBeenSet = false;
307
308 int m_maxSyncBuffer{0};
309 bool m_maxSyncBufferHasBeenSet = false;
310
311 Aws::Vector<MediaStreamSourceConfigurationRequest> m_mediaStreamSourceConfigurations;
312 bool m_mediaStreamSourceConfigurationsHasBeenSet = false;
313
314 int m_minLatency{0};
315 bool m_minLatencyHasBeenSet = false;
316
317 Protocol m_protocol{Protocol::NOT_SET};
318 bool m_protocolHasBeenSet = false;
319
320 int m_senderControlPort{0};
321 bool m_senderControlPortHasBeenSet = false;
322
323 Aws::String m_senderIpAddress;
324 bool m_senderIpAddressHasBeenSet = false;
325
326 Aws::String m_sourceArn;
327 bool m_sourceArnHasBeenSet = false;
328
329 Aws::String m_sourceListenerAddress;
330 bool m_sourceListenerAddressHasBeenSet = false;
331
332 int m_sourceListenerPort{0};
333 bool m_sourceListenerPortHasBeenSet = false;
334
335 Aws::String m_streamId;
336 bool m_streamIdHasBeenSet = false;
337
338 Aws::String m_vpcInterfaceName;
339 bool m_vpcInterfaceNameHasBeenSet = false;
340
341 Aws::String m_whitelistCidr;
342 bool m_whitelistCidrHasBeenSet = false;
343
344 UpdateGatewayBridgeSourceRequest m_gatewayBridgeSource;
345 bool m_gatewayBridgeSourceHasBeenSet = false;
346 };
347
348} // namespace Model
349} // namespace MediaConnect
350} // namespace Aws
UpdateFlowSourceRequest & WithSenderIpAddress(SenderIpAddressT &&value)
UpdateFlowSourceRequest & WithSourceListenerPort(int value)
void SetSourceListenerAddress(SourceListenerAddressT &&value)
virtual const char * GetServiceRequestName() const override
UpdateFlowSourceRequest & WithDecryption(DecryptionT &&value)
const UpdateGatewayBridgeSourceRequest & GetGatewayBridgeSource() const
UpdateFlowSourceRequest & WithFlowArn(FlowArnT &&value)
UpdateFlowSourceRequest & WithProtocol(Protocol value)
UpdateFlowSourceRequest & WithEntitlementArn(EntitlementArnT &&value)
UpdateFlowSourceRequest & WithSourceListenerAddress(SourceListenerAddressT &&value)
void SetGatewayBridgeSource(GatewayBridgeSourceT &&value)
UpdateFlowSourceRequest & WithStreamId(StreamIdT &&value)
UpdateFlowSourceRequest & WithMaxSyncBuffer(int value)
AWS_MEDIACONNECT_API Aws::String SerializePayload() const override
void SetMediaStreamSourceConfigurations(MediaStreamSourceConfigurationsT &&value)
UpdateFlowSourceRequest & WithSourceArn(SourceArnT &&value)
AWS_MEDIACONNECT_API UpdateFlowSourceRequest()=default
UpdateFlowSourceRequest & WithDescription(DescriptionT &&value)
UpdateFlowSourceRequest & WithWhitelistCidr(WhitelistCidrT &&value)
UpdateFlowSourceRequest & WithGatewayBridgeSource(GatewayBridgeSourceT &&value)
const Aws::Vector< MediaStreamSourceConfigurationRequest > & GetMediaStreamSourceConfigurations() const
UpdateFlowSourceRequest & AddMediaStreamSourceConfigurations(MediaStreamSourceConfigurationsT &&value)
UpdateFlowSourceRequest & WithSenderControlPort(int value)
UpdateFlowSourceRequest & WithVpcInterfaceName(VpcInterfaceNameT &&value)
UpdateFlowSourceRequest & WithMediaStreamSourceConfigurations(MediaStreamSourceConfigurationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector