AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateBridgeSourceRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconnect/MediaConnectRequest.h>
9#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
10#include <aws/mediaconnect/model/UpdateBridgeFlowSourceRequest.h>
11#include <aws/mediaconnect/model/UpdateBridgeNetworkSourceRequest.h>
12
13#include <utility>
14
15namespace Aws {
16namespace MediaConnect {
17namespace Model {
18
22 public:
23 AWS_MEDIACONNECT_API UpdateBridgeSourceRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateBridgeSource"; }
30
31 AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
32
34
37 inline const Aws::String& GetBridgeArn() const { return m_bridgeArn; }
38 inline bool BridgeArnHasBeenSet() const { return m_bridgeArnHasBeenSet; }
39 template <typename BridgeArnT = Aws::String>
40 void SetBridgeArn(BridgeArnT&& value) {
41 m_bridgeArnHasBeenSet = true;
42 m_bridgeArn = std::forward<BridgeArnT>(value);
43 }
44 template <typename BridgeArnT = Aws::String>
46 SetBridgeArn(std::forward<BridgeArnT>(value));
47 return *this;
48 }
50
52
55 inline const UpdateBridgeFlowSourceRequest& GetFlowSource() const { return m_flowSource; }
56 inline bool FlowSourceHasBeenSet() const { return m_flowSourceHasBeenSet; }
57 template <typename FlowSourceT = UpdateBridgeFlowSourceRequest>
58 void SetFlowSource(FlowSourceT&& value) {
59 m_flowSourceHasBeenSet = true;
60 m_flowSource = std::forward<FlowSourceT>(value);
61 }
62 template <typename FlowSourceT = UpdateBridgeFlowSourceRequest>
64 SetFlowSource(std::forward<FlowSourceT>(value));
65 return *this;
66 }
68
70
73 inline const UpdateBridgeNetworkSourceRequest& GetNetworkSource() const { return m_networkSource; }
74 inline bool NetworkSourceHasBeenSet() const { return m_networkSourceHasBeenSet; }
75 template <typename NetworkSourceT = UpdateBridgeNetworkSourceRequest>
76 void SetNetworkSource(NetworkSourceT&& value) {
77 m_networkSourceHasBeenSet = true;
78 m_networkSource = std::forward<NetworkSourceT>(value);
79 }
80 template <typename NetworkSourceT = UpdateBridgeNetworkSourceRequest>
82 SetNetworkSource(std::forward<NetworkSourceT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetSourceName() const { return m_sourceName; }
92 inline bool SourceNameHasBeenSet() const { return m_sourceNameHasBeenSet; }
93 template <typename SourceNameT = Aws::String>
94 void SetSourceName(SourceNameT&& value) {
95 m_sourceNameHasBeenSet = true;
96 m_sourceName = std::forward<SourceNameT>(value);
97 }
98 template <typename SourceNameT = Aws::String>
100 SetSourceName(std::forward<SourceNameT>(value));
101 return *this;
102 }
104 private:
105 Aws::String m_bridgeArn;
106
108
109 UpdateBridgeNetworkSourceRequest m_networkSource;
110
111 Aws::String m_sourceName;
112 bool m_bridgeArnHasBeenSet = false;
113 bool m_flowSourceHasBeenSet = false;
114 bool m_networkSourceHasBeenSet = false;
115 bool m_sourceNameHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace MediaConnect
120} // 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