AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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
28 {
29 public:
30 AWS_MEDIACONNECT_API UpdateBridgeSourceRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateBridgeSource"; }
37
38 AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::String& GetBridgeArn() const{ return m_bridgeArn; }
46 inline bool BridgeArnHasBeenSet() const { return m_bridgeArnHasBeenSet; }
47 inline void SetBridgeArn(const Aws::String& value) { m_bridgeArnHasBeenSet = true; m_bridgeArn = value; }
48 inline void SetBridgeArn(Aws::String&& value) { m_bridgeArnHasBeenSet = true; m_bridgeArn = std::move(value); }
49 inline void SetBridgeArn(const char* value) { m_bridgeArnHasBeenSet = true; m_bridgeArn.assign(value); }
50 inline UpdateBridgeSourceRequest& WithBridgeArn(const Aws::String& value) { SetBridgeArn(value); return *this;}
51 inline UpdateBridgeSourceRequest& WithBridgeArn(Aws::String&& value) { SetBridgeArn(std::move(value)); return *this;}
52 inline UpdateBridgeSourceRequest& WithBridgeArn(const char* value) { SetBridgeArn(value); return *this;}
54
56
57 inline const UpdateBridgeFlowSourceRequest& GetFlowSource() const{ return m_flowSource; }
58 inline bool FlowSourceHasBeenSet() const { return m_flowSourceHasBeenSet; }
59 inline void SetFlowSource(const UpdateBridgeFlowSourceRequest& value) { m_flowSourceHasBeenSet = true; m_flowSource = value; }
60 inline void SetFlowSource(UpdateBridgeFlowSourceRequest&& value) { m_flowSourceHasBeenSet = true; m_flowSource = std::move(value); }
62 inline UpdateBridgeSourceRequest& WithFlowSource(UpdateBridgeFlowSourceRequest&& value) { SetFlowSource(std::move(value)); return *this;}
64
66
67 inline const UpdateBridgeNetworkSourceRequest& GetNetworkSource() const{ return m_networkSource; }
68 inline bool NetworkSourceHasBeenSet() const { return m_networkSourceHasBeenSet; }
69 inline void SetNetworkSource(const UpdateBridgeNetworkSourceRequest& value) { m_networkSourceHasBeenSet = true; m_networkSource = value; }
70 inline void SetNetworkSource(UpdateBridgeNetworkSourceRequest&& value) { m_networkSourceHasBeenSet = true; m_networkSource = std::move(value); }
74
76
79 inline const Aws::String& GetSourceName() const{ return m_sourceName; }
80 inline bool SourceNameHasBeenSet() const { return m_sourceNameHasBeenSet; }
81 inline void SetSourceName(const Aws::String& value) { m_sourceNameHasBeenSet = true; m_sourceName = value; }
82 inline void SetSourceName(Aws::String&& value) { m_sourceNameHasBeenSet = true; m_sourceName = std::move(value); }
83 inline void SetSourceName(const char* value) { m_sourceNameHasBeenSet = true; m_sourceName.assign(value); }
84 inline UpdateBridgeSourceRequest& WithSourceName(const Aws::String& value) { SetSourceName(value); return *this;}
85 inline UpdateBridgeSourceRequest& WithSourceName(Aws::String&& value) { SetSourceName(std::move(value)); return *this;}
86 inline UpdateBridgeSourceRequest& WithSourceName(const char* value) { SetSourceName(value); return *this;}
88 private:
89
90 Aws::String m_bridgeArn;
91 bool m_bridgeArnHasBeenSet = false;
92
94 bool m_flowSourceHasBeenSet = false;
95
97 bool m_networkSourceHasBeenSet = false;
98
99 Aws::String m_sourceName;
100 bool m_sourceNameHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace MediaConnect
105} // namespace Aws
UpdateBridgeSourceRequest & WithBridgeArn(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
const UpdateBridgeFlowSourceRequest & GetFlowSource() const
UpdateBridgeSourceRequest & WithSourceName(const char *value)
UpdateBridgeSourceRequest & WithBridgeArn(const char *value)
UpdateBridgeSourceRequest & WithNetworkSource(UpdateBridgeNetworkSourceRequest &&value)
AWS_MEDIACONNECT_API Aws::String SerializePayload() const override
const UpdateBridgeNetworkSourceRequest & GetNetworkSource() const
UpdateBridgeSourceRequest & WithFlowSource(const UpdateBridgeFlowSourceRequest &value)
void SetNetworkSource(const UpdateBridgeNetworkSourceRequest &value)
UpdateBridgeSourceRequest & WithSourceName(Aws::String &&value)
UpdateBridgeSourceRequest & WithSourceName(const Aws::String &value)
UpdateBridgeSourceRequest & WithFlowSource(UpdateBridgeFlowSourceRequest &&value)
UpdateBridgeSourceRequest & WithBridgeArn(const Aws::String &value)
void SetFlowSource(const UpdateBridgeFlowSourceRequest &value)
void SetNetworkSource(UpdateBridgeNetworkSourceRequest &&value)
UpdateBridgeSourceRequest & WithNetworkSource(const UpdateBridgeNetworkSourceRequest &value)
void SetFlowSource(UpdateBridgeFlowSourceRequest &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String