AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateFlowSourceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediaconnect/MediaConnectRequest.h>
10#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
11#include <aws/mediaconnect/model/FlowTransitEncryption.h>
12#include <aws/mediaconnect/model/MediaStreamSourceConfigurationRequest.h>
13#include <aws/mediaconnect/model/NdiSourceSettings.h>
14#include <aws/mediaconnect/model/Protocol.h>
15#include <aws/mediaconnect/model/State.h>
16#include <aws/mediaconnect/model/UpdateEncryption.h>
17#include <aws/mediaconnect/model/UpdateGatewayBridgeSourceRequest.h>
18
19#include <utility>
20
21namespace Aws {
22namespace MediaConnect {
23namespace Model {
24
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
40
44 inline const UpdateEncryption& GetDecryption() const { return m_decryption; }
45 inline bool DecryptionHasBeenSet() const { return m_decryptionHasBeenSet; }
46 template <typename DecryptionT = UpdateEncryption>
47 void SetDecryption(DecryptionT&& value) {
48 m_decryptionHasBeenSet = true;
49 m_decryption = std::forward<DecryptionT>(value);
50 }
51 template <typename DecryptionT = UpdateEncryption>
53 SetDecryption(std::forward<DecryptionT>(value));
54 return *this;
55 }
57
59
63 inline const Aws::String& GetDescription() const { return m_description; }
64 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
65 template <typename DescriptionT = Aws::String>
66 void SetDescription(DescriptionT&& value) {
67 m_descriptionHasBeenSet = true;
68 m_description = std::forward<DescriptionT>(value);
69 }
70 template <typename DescriptionT = Aws::String>
72 SetDescription(std::forward<DescriptionT>(value));
73 return *this;
74 }
76
78
83 inline const Aws::String& GetEntitlementArn() const { return m_entitlementArn; }
84 inline bool EntitlementArnHasBeenSet() const { return m_entitlementArnHasBeenSet; }
85 template <typename EntitlementArnT = Aws::String>
86 void SetEntitlementArn(EntitlementArnT&& value) {
87 m_entitlementArnHasBeenSet = true;
88 m_entitlementArn = std::forward<EntitlementArnT>(value);
89 }
90 template <typename EntitlementArnT = Aws::String>
91 UpdateFlowSourceRequest& WithEntitlementArn(EntitlementArnT&& value) {
92 SetEntitlementArn(std::forward<EntitlementArnT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::String& GetFlowArn() const { return m_flowArn; }
102 inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; }
103 template <typename FlowArnT = Aws::String>
104 void SetFlowArn(FlowArnT&& value) {
105 m_flowArnHasBeenSet = true;
106 m_flowArn = std::forward<FlowArnT>(value);
107 }
108 template <typename FlowArnT = Aws::String>
110 SetFlowArn(std::forward<FlowArnT>(value));
111 return *this;
112 }
114
116
120 inline int GetIngestPort() const { return m_ingestPort; }
121 inline bool IngestPortHasBeenSet() const { return m_ingestPortHasBeenSet; }
122 inline void SetIngestPort(int value) {
123 m_ingestPortHasBeenSet = true;
124 m_ingestPort = value;
125 }
127 SetIngestPort(value);
128 return *this;
129 }
131
133
136 inline int GetMaxBitrate() const { return m_maxBitrate; }
137 inline bool MaxBitrateHasBeenSet() const { return m_maxBitrateHasBeenSet; }
138 inline void SetMaxBitrate(int value) {
139 m_maxBitrateHasBeenSet = true;
140 m_maxBitrate = value;
141 }
143 SetMaxBitrate(value);
144 return *this;
145 }
147
149
153 inline int GetMaxLatency() const { return m_maxLatency; }
154 inline bool MaxLatencyHasBeenSet() const { return m_maxLatencyHasBeenSet; }
155 inline void SetMaxLatency(int value) {
156 m_maxLatencyHasBeenSet = true;
157 m_maxLatency = value;
158 }
160 SetMaxLatency(value);
161 return *this;
162 }
164
166
170 inline int GetMaxSyncBuffer() const { return m_maxSyncBuffer; }
171 inline bool MaxSyncBufferHasBeenSet() const { return m_maxSyncBufferHasBeenSet; }
172 inline void SetMaxSyncBuffer(int value) {
173 m_maxSyncBufferHasBeenSet = true;
174 m_maxSyncBuffer = value;
175 }
177 SetMaxSyncBuffer(value);
178 return *this;
179 }
181
183
188 return m_mediaStreamSourceConfigurations;
189 }
190 inline bool MediaStreamSourceConfigurationsHasBeenSet() const { return m_mediaStreamSourceConfigurationsHasBeenSet; }
191 template <typename MediaStreamSourceConfigurationsT = Aws::Vector<MediaStreamSourceConfigurationRequest>>
192 void SetMediaStreamSourceConfigurations(MediaStreamSourceConfigurationsT&& value) {
193 m_mediaStreamSourceConfigurationsHasBeenSet = true;
194 m_mediaStreamSourceConfigurations = std::forward<MediaStreamSourceConfigurationsT>(value);
195 }
196 template <typename MediaStreamSourceConfigurationsT = Aws::Vector<MediaStreamSourceConfigurationRequest>>
197 UpdateFlowSourceRequest& WithMediaStreamSourceConfigurations(MediaStreamSourceConfigurationsT&& value) {
198 SetMediaStreamSourceConfigurations(std::forward<MediaStreamSourceConfigurationsT>(value));
199 return *this;
200 }
201 template <typename MediaStreamSourceConfigurationsT = MediaStreamSourceConfigurationRequest>
202 UpdateFlowSourceRequest& AddMediaStreamSourceConfigurations(MediaStreamSourceConfigurationsT&& value) {
203 m_mediaStreamSourceConfigurationsHasBeenSet = true;
204 m_mediaStreamSourceConfigurations.emplace_back(std::forward<MediaStreamSourceConfigurationsT>(value));
205 return *this;
206 }
208
210
217 inline int GetMinLatency() const { return m_minLatency; }
218 inline bool MinLatencyHasBeenSet() const { return m_minLatencyHasBeenSet; }
219 inline void SetMinLatency(int value) {
220 m_minLatencyHasBeenSet = true;
221 m_minLatency = value;
222 }
224 SetMinLatency(value);
225 return *this;
226 }
228
230
235 inline Protocol GetProtocol() const { return m_protocol; }
236 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
237 inline void SetProtocol(Protocol value) {
238 m_protocolHasBeenSet = true;
239 m_protocol = value;
240 }
242 SetProtocol(value);
243 return *this;
244 }
246
248
252 inline int GetSenderControlPort() const { return m_senderControlPort; }
253 inline bool SenderControlPortHasBeenSet() const { return m_senderControlPortHasBeenSet; }
254 inline void SetSenderControlPort(int value) {
255 m_senderControlPortHasBeenSet = true;
256 m_senderControlPort = value;
257 }
260 return *this;
261 }
263
265
269 inline const Aws::String& GetSenderIpAddress() const { return m_senderIpAddress; }
270 inline bool SenderIpAddressHasBeenSet() const { return m_senderIpAddressHasBeenSet; }
271 template <typename SenderIpAddressT = Aws::String>
272 void SetSenderIpAddress(SenderIpAddressT&& value) {
273 m_senderIpAddressHasBeenSet = true;
274 m_senderIpAddress = std::forward<SenderIpAddressT>(value);
275 }
276 template <typename SenderIpAddressT = Aws::String>
277 UpdateFlowSourceRequest& WithSenderIpAddress(SenderIpAddressT&& value) {
278 SetSenderIpAddress(std::forward<SenderIpAddressT>(value));
279 return *this;
280 }
282
284
287 inline const Aws::String& GetSourceArn() const { return m_sourceArn; }
288 inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; }
289 template <typename SourceArnT = Aws::String>
290 void SetSourceArn(SourceArnT&& value) {
291 m_sourceArnHasBeenSet = true;
292 m_sourceArn = std::forward<SourceArnT>(value);
293 }
294 template <typename SourceArnT = Aws::String>
296 SetSourceArn(std::forward<SourceArnT>(value));
297 return *this;
298 }
300
302
305 inline const Aws::String& GetSourceListenerAddress() const { return m_sourceListenerAddress; }
306 inline bool SourceListenerAddressHasBeenSet() const { return m_sourceListenerAddressHasBeenSet; }
307 template <typename SourceListenerAddressT = Aws::String>
308 void SetSourceListenerAddress(SourceListenerAddressT&& value) {
309 m_sourceListenerAddressHasBeenSet = true;
310 m_sourceListenerAddress = std::forward<SourceListenerAddressT>(value);
311 }
312 template <typename SourceListenerAddressT = Aws::String>
313 UpdateFlowSourceRequest& WithSourceListenerAddress(SourceListenerAddressT&& value) {
314 SetSourceListenerAddress(std::forward<SourceListenerAddressT>(value));
315 return *this;
316 }
318
320
323 inline int GetSourceListenerPort() const { return m_sourceListenerPort; }
324 inline bool SourceListenerPortHasBeenSet() const { return m_sourceListenerPortHasBeenSet; }
325 inline void SetSourceListenerPort(int value) {
326 m_sourceListenerPortHasBeenSet = true;
327 m_sourceListenerPort = value;
328 }
331 return *this;
332 }
334
336
340 inline const Aws::String& GetStreamId() const { return m_streamId; }
341 inline bool StreamIdHasBeenSet() const { return m_streamIdHasBeenSet; }
342 template <typename StreamIdT = Aws::String>
343 void SetStreamId(StreamIdT&& value) {
344 m_streamIdHasBeenSet = true;
345 m_streamId = std::forward<StreamIdT>(value);
346 }
347 template <typename StreamIdT = Aws::String>
349 SetStreamId(std::forward<StreamIdT>(value));
350 return *this;
351 }
353
355
358 inline const Aws::String& GetVpcInterfaceName() const { return m_vpcInterfaceName; }
359 inline bool VpcInterfaceNameHasBeenSet() const { return m_vpcInterfaceNameHasBeenSet; }
360 template <typename VpcInterfaceNameT = Aws::String>
361 void SetVpcInterfaceName(VpcInterfaceNameT&& value) {
362 m_vpcInterfaceNameHasBeenSet = true;
363 m_vpcInterfaceName = std::forward<VpcInterfaceNameT>(value);
364 }
365 template <typename VpcInterfaceNameT = Aws::String>
366 UpdateFlowSourceRequest& WithVpcInterfaceName(VpcInterfaceNameT&& value) {
367 SetVpcInterfaceName(std::forward<VpcInterfaceNameT>(value));
368 return *this;
369 }
371
373
378 inline const Aws::String& GetWhitelistCidr() const { return m_whitelistCidr; }
379 inline bool WhitelistCidrHasBeenSet() const { return m_whitelistCidrHasBeenSet; }
380 template <typename WhitelistCidrT = Aws::String>
381 void SetWhitelistCidr(WhitelistCidrT&& value) {
382 m_whitelistCidrHasBeenSet = true;
383 m_whitelistCidr = std::forward<WhitelistCidrT>(value);
384 }
385 template <typename WhitelistCidrT = Aws::String>
387 SetWhitelistCidr(std::forward<WhitelistCidrT>(value));
388 return *this;
389 }
391
393
397 inline const UpdateGatewayBridgeSourceRequest& GetGatewayBridgeSource() const { return m_gatewayBridgeSource; }
398 inline bool GatewayBridgeSourceHasBeenSet() const { return m_gatewayBridgeSourceHasBeenSet; }
399 template <typename GatewayBridgeSourceT = UpdateGatewayBridgeSourceRequest>
400 void SetGatewayBridgeSource(GatewayBridgeSourceT&& value) {
401 m_gatewayBridgeSourceHasBeenSet = true;
402 m_gatewayBridgeSource = std::forward<GatewayBridgeSourceT>(value);
403 }
404 template <typename GatewayBridgeSourceT = UpdateGatewayBridgeSourceRequest>
405 UpdateFlowSourceRequest& WithGatewayBridgeSource(GatewayBridgeSourceT&& value) {
406 SetGatewayBridgeSource(std::forward<GatewayBridgeSourceT>(value));
407 return *this;
408 }
410
412
416 inline const NdiSourceSettings& GetNdiSourceSettings() const { return m_ndiSourceSettings; }
417 inline bool NdiSourceSettingsHasBeenSet() const { return m_ndiSourceSettingsHasBeenSet; }
418 template <typename NdiSourceSettingsT = NdiSourceSettings>
419 void SetNdiSourceSettings(NdiSourceSettingsT&& value) {
420 m_ndiSourceSettingsHasBeenSet = true;
421 m_ndiSourceSettings = std::forward<NdiSourceSettingsT>(value);
422 }
423 template <typename NdiSourceSettingsT = NdiSourceSettings>
424 UpdateFlowSourceRequest& WithNdiSourceSettings(NdiSourceSettingsT&& value) {
425 SetNdiSourceSettings(std::forward<NdiSourceSettingsT>(value));
426 return *this;
427 }
429
431
435 inline State GetRouterIntegrationState() const { return m_routerIntegrationState; }
436 inline bool RouterIntegrationStateHasBeenSet() const { return m_routerIntegrationStateHasBeenSet; }
437 inline void SetRouterIntegrationState(State value) {
438 m_routerIntegrationStateHasBeenSet = true;
439 m_routerIntegrationState = value;
440 }
443 return *this;
444 }
446
448
452 inline const FlowTransitEncryption& GetRouterIntegrationTransitDecryption() const { return m_routerIntegrationTransitDecryption; }
453 inline bool RouterIntegrationTransitDecryptionHasBeenSet() const { return m_routerIntegrationTransitDecryptionHasBeenSet; }
454 template <typename RouterIntegrationTransitDecryptionT = FlowTransitEncryption>
455 void SetRouterIntegrationTransitDecryption(RouterIntegrationTransitDecryptionT&& value) {
456 m_routerIntegrationTransitDecryptionHasBeenSet = true;
457 m_routerIntegrationTransitDecryption = std::forward<RouterIntegrationTransitDecryptionT>(value);
458 }
459 template <typename RouterIntegrationTransitDecryptionT = FlowTransitEncryption>
460 UpdateFlowSourceRequest& WithRouterIntegrationTransitDecryption(RouterIntegrationTransitDecryptionT&& value) {
461 SetRouterIntegrationTransitDecryption(std::forward<RouterIntegrationTransitDecryptionT>(value));
462 return *this;
463 }
465 private:
466 UpdateEncryption m_decryption;
467
468 Aws::String m_description;
469
470 Aws::String m_entitlementArn;
471
472 Aws::String m_flowArn;
473
474 int m_ingestPort{0};
475
476 int m_maxBitrate{0};
477
478 int m_maxLatency{0};
479
480 int m_maxSyncBuffer{0};
481
482 Aws::Vector<MediaStreamSourceConfigurationRequest> m_mediaStreamSourceConfigurations;
483
484 int m_minLatency{0};
485
486 Protocol m_protocol{Protocol::NOT_SET};
487
488 int m_senderControlPort{0};
489
490 Aws::String m_senderIpAddress;
491
492 Aws::String m_sourceArn;
493
494 Aws::String m_sourceListenerAddress;
495
496 int m_sourceListenerPort{0};
497
498 Aws::String m_streamId;
499
500 Aws::String m_vpcInterfaceName;
501
502 Aws::String m_whitelistCidr;
503
504 UpdateGatewayBridgeSourceRequest m_gatewayBridgeSource;
505
506 NdiSourceSettings m_ndiSourceSettings;
507
508 State m_routerIntegrationState{State::NOT_SET};
509
510 FlowTransitEncryption m_routerIntegrationTransitDecryption;
511 bool m_decryptionHasBeenSet = false;
512 bool m_descriptionHasBeenSet = false;
513 bool m_entitlementArnHasBeenSet = false;
514 bool m_flowArnHasBeenSet = false;
515 bool m_ingestPortHasBeenSet = false;
516 bool m_maxBitrateHasBeenSet = false;
517 bool m_maxLatencyHasBeenSet = false;
518 bool m_maxSyncBufferHasBeenSet = false;
519 bool m_mediaStreamSourceConfigurationsHasBeenSet = false;
520 bool m_minLatencyHasBeenSet = false;
521 bool m_protocolHasBeenSet = false;
522 bool m_senderControlPortHasBeenSet = false;
523 bool m_senderIpAddressHasBeenSet = false;
524 bool m_sourceArnHasBeenSet = false;
525 bool m_sourceListenerAddressHasBeenSet = false;
526 bool m_sourceListenerPortHasBeenSet = false;
527 bool m_streamIdHasBeenSet = false;
528 bool m_vpcInterfaceNameHasBeenSet = false;
529 bool m_whitelistCidrHasBeenSet = false;
530 bool m_gatewayBridgeSourceHasBeenSet = false;
531 bool m_ndiSourceSettingsHasBeenSet = false;
532 bool m_routerIntegrationStateHasBeenSet = false;
533 bool m_routerIntegrationTransitDecryptionHasBeenSet = false;
534};
535
536} // namespace Model
537} // namespace MediaConnect
538} // namespace Aws
UpdateFlowSourceRequest & WithSenderIpAddress(SenderIpAddressT &&value)
UpdateFlowSourceRequest & WithSourceListenerPort(int value)
void SetSourceListenerAddress(SourceListenerAddressT &&value)
const FlowTransitEncryption & GetRouterIntegrationTransitDecryption() const
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)
UpdateFlowSourceRequest & WithRouterIntegrationTransitDecryption(RouterIntegrationTransitDecryptionT &&value)
void SetRouterIntegrationTransitDecryption(RouterIntegrationTransitDecryptionT &&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 & WithRouterIntegrationState(State value)
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 & WithNdiSourceSettings(NdiSourceSettingsT &&value)
UpdateFlowSourceRequest & WithMediaStreamSourceConfigurations(MediaStreamSourceConfigurationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector