AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddBridgeNetworkSourceRequest.h
1
6#pragma once
7#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediaconnect/model/Protocol.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaConnect
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_MEDIACONNECT_API AddBridgeNetworkSourceRequest();
38 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetMulticastIp() const{ return m_multicastIp; }
46 inline bool MulticastIpHasBeenSet() const { return m_multicastIpHasBeenSet; }
47 inline void SetMulticastIp(const Aws::String& value) { m_multicastIpHasBeenSet = true; m_multicastIp = value; }
48 inline void SetMulticastIp(Aws::String&& value) { m_multicastIpHasBeenSet = true; m_multicastIp = std::move(value); }
49 inline void SetMulticastIp(const char* value) { m_multicastIpHasBeenSet = true; m_multicastIp.assign(value); }
50 inline AddBridgeNetworkSourceRequest& WithMulticastIp(const Aws::String& value) { SetMulticastIp(value); return *this;}
51 inline AddBridgeNetworkSourceRequest& WithMulticastIp(Aws::String&& value) { SetMulticastIp(std::move(value)); return *this;}
52 inline AddBridgeNetworkSourceRequest& WithMulticastIp(const char* value) { SetMulticastIp(value); return *this;}
54
56
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline AddBridgeNetworkSourceRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline AddBridgeNetworkSourceRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline AddBridgeNetworkSourceRequest& WithName(const char* value) { SetName(value); return *this;}
69
71
74 inline const Aws::String& GetNetworkName() const{ return m_networkName; }
75 inline bool NetworkNameHasBeenSet() const { return m_networkNameHasBeenSet; }
76 inline void SetNetworkName(const Aws::String& value) { m_networkNameHasBeenSet = true; m_networkName = value; }
77 inline void SetNetworkName(Aws::String&& value) { m_networkNameHasBeenSet = true; m_networkName = std::move(value); }
78 inline void SetNetworkName(const char* value) { m_networkNameHasBeenSet = true; m_networkName.assign(value); }
79 inline AddBridgeNetworkSourceRequest& WithNetworkName(const Aws::String& value) { SetNetworkName(value); return *this;}
80 inline AddBridgeNetworkSourceRequest& WithNetworkName(Aws::String&& value) { SetNetworkName(std::move(value)); return *this;}
81 inline AddBridgeNetworkSourceRequest& WithNetworkName(const char* value) { SetNetworkName(value); return *this;}
83
85
88 inline int GetPort() const{ return m_port; }
89 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
90 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
91 inline AddBridgeNetworkSourceRequest& WithPort(int value) { SetPort(value); return *this;}
93
95
98 inline const Protocol& GetProtocol() const{ return m_protocol; }
99 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
100 inline void SetProtocol(const Protocol& value) { m_protocolHasBeenSet = true; m_protocol = value; }
101 inline void SetProtocol(Protocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); }
102 inline AddBridgeNetworkSourceRequest& WithProtocol(const Protocol& value) { SetProtocol(value); return *this;}
103 inline AddBridgeNetworkSourceRequest& WithProtocol(Protocol&& value) { SetProtocol(std::move(value)); return *this;}
105 private:
106
107 Aws::String m_multicastIp;
108 bool m_multicastIpHasBeenSet = false;
109
110 Aws::String m_name;
111 bool m_nameHasBeenSet = false;
112
113 Aws::String m_networkName;
114 bool m_networkNameHasBeenSet = false;
115
116 int m_port;
117 bool m_portHasBeenSet = false;
118
119 Protocol m_protocol;
120 bool m_protocolHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace MediaConnect
125} // namespace Aws
AddBridgeNetworkSourceRequest & WithNetworkName(const char *value)
AddBridgeNetworkSourceRequest & WithProtocol(const Protocol &value)
AWS_MEDIACONNECT_API AddBridgeNetworkSourceRequest(Aws::Utils::Json::JsonView jsonValue)
AddBridgeNetworkSourceRequest & WithName(const Aws::String &value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AddBridgeNetworkSourceRequest & WithName(const char *value)
AddBridgeNetworkSourceRequest & WithNetworkName(Aws::String &&value)
AddBridgeNetworkSourceRequest & WithNetworkName(const Aws::String &value)
AddBridgeNetworkSourceRequest & WithProtocol(Protocol &&value)
AddBridgeNetworkSourceRequest & WithMulticastIp(const char *value)
AddBridgeNetworkSourceRequest & WithName(Aws::String &&value)
AddBridgeNetworkSourceRequest & WithMulticastIp(const Aws::String &value)
AddBridgeNetworkSourceRequest & WithMulticastIp(Aws::String &&value)
AWS_MEDIACONNECT_API AddBridgeNetworkSourceRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue