AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateBridgeSourceRequest.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/AWSString.h>
10#include <aws/mediaconnect/model/UpdateBridgeFlowSourceRequest.h>
11#include <aws/mediaconnect/model/UpdateBridgeNetworkSourceRequest.h>
12#include <utility>
13
14namespace Aws
15{
16namespace MediaConnect
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_MEDIACONNECT_API UpdateBridgeSourceRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateBridgeSource"; }
33
34 AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetBridgeArn() const { return m_bridgeArn; }
42 inline bool BridgeArnHasBeenSet() const { return m_bridgeArnHasBeenSet; }
43 template<typename BridgeArnT = Aws::String>
44 void SetBridgeArn(BridgeArnT&& value) { m_bridgeArnHasBeenSet = true; m_bridgeArn = std::forward<BridgeArnT>(value); }
45 template<typename BridgeArnT = Aws::String>
46 UpdateBridgeSourceRequest& WithBridgeArn(BridgeArnT&& value) { SetBridgeArn(std::forward<BridgeArnT>(value)); return *this;}
48
50
53 inline const UpdateBridgeFlowSourceRequest& GetFlowSource() const { return m_flowSource; }
54 inline bool FlowSourceHasBeenSet() const { return m_flowSourceHasBeenSet; }
55 template<typename FlowSourceT = UpdateBridgeFlowSourceRequest>
56 void SetFlowSource(FlowSourceT&& value) { m_flowSourceHasBeenSet = true; m_flowSource = std::forward<FlowSourceT>(value); }
57 template<typename FlowSourceT = UpdateBridgeFlowSourceRequest>
58 UpdateBridgeSourceRequest& WithFlowSource(FlowSourceT&& value) { SetFlowSource(std::forward<FlowSourceT>(value)); return *this;}
60
62
65 inline const UpdateBridgeNetworkSourceRequest& GetNetworkSource() const { return m_networkSource; }
66 inline bool NetworkSourceHasBeenSet() const { return m_networkSourceHasBeenSet; }
67 template<typename NetworkSourceT = UpdateBridgeNetworkSourceRequest>
68 void SetNetworkSource(NetworkSourceT&& value) { m_networkSourceHasBeenSet = true; m_networkSource = std::forward<NetworkSourceT>(value); }
69 template<typename NetworkSourceT = UpdateBridgeNetworkSourceRequest>
70 UpdateBridgeSourceRequest& WithNetworkSource(NetworkSourceT&& value) { SetNetworkSource(std::forward<NetworkSourceT>(value)); return *this;}
72
74
77 inline const Aws::String& GetSourceName() const { return m_sourceName; }
78 inline bool SourceNameHasBeenSet() const { return m_sourceNameHasBeenSet; }
79 template<typename SourceNameT = Aws::String>
80 void SetSourceName(SourceNameT&& value) { m_sourceNameHasBeenSet = true; m_sourceName = std::forward<SourceNameT>(value); }
81 template<typename SourceNameT = Aws::String>
82 UpdateBridgeSourceRequest& WithSourceName(SourceNameT&& value) { SetSourceName(std::forward<SourceNameT>(value)); return *this;}
84 private:
85
86 Aws::String m_bridgeArn;
87 bool m_bridgeArnHasBeenSet = false;
88
90 bool m_flowSourceHasBeenSet = false;
91
93 bool m_networkSourceHasBeenSet = false;
94
95 Aws::String m_sourceName;
96 bool m_sourceNameHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace MediaConnect
101} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateBridgeSourceRequest & WithSourceName(SourceNameT &&value)
const UpdateBridgeFlowSourceRequest & GetFlowSource() const
AWS_MEDIACONNECT_API UpdateBridgeSourceRequest()=default
UpdateBridgeSourceRequest & WithFlowSource(FlowSourceT &&value)
AWS_MEDIACONNECT_API Aws::String SerializePayload() const override
const UpdateBridgeNetworkSourceRequest & GetNetworkSource() const
UpdateBridgeSourceRequest & WithNetworkSource(NetworkSourceT &&value)
UpdateBridgeSourceRequest & WithBridgeArn(BridgeArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String