AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BridgeNetworkSource.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
34 {
35 public:
36 AWS_MEDIACONNECT_API BridgeNetworkSource();
37 AWS_MEDIACONNECT_API BridgeNetworkSource(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetMulticastIp() const{ return m_multicastIp; }
47 inline bool MulticastIpHasBeenSet() const { return m_multicastIpHasBeenSet; }
48 inline void SetMulticastIp(const Aws::String& value) { m_multicastIpHasBeenSet = true; m_multicastIp = value; }
49 inline void SetMulticastIp(Aws::String&& value) { m_multicastIpHasBeenSet = true; m_multicastIp = std::move(value); }
50 inline void SetMulticastIp(const char* value) { m_multicastIpHasBeenSet = true; m_multicastIp.assign(value); }
51 inline BridgeNetworkSource& WithMulticastIp(const Aws::String& value) { SetMulticastIp(value); return *this;}
52 inline BridgeNetworkSource& WithMulticastIp(Aws::String&& value) { SetMulticastIp(std::move(value)); return *this;}
53 inline BridgeNetworkSource& WithMulticastIp(const char* value) { SetMulticastIp(value); return *this;}
55
57
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 BridgeNetworkSource& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline BridgeNetworkSource& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline BridgeNetworkSource& 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 BridgeNetworkSource& WithNetworkName(const Aws::String& value) { SetNetworkName(value); return *this;}
80 inline BridgeNetworkSource& WithNetworkName(Aws::String&& value) { SetNetworkName(std::move(value)); return *this;}
81 inline BridgeNetworkSource& 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 BridgeNetworkSource& 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 BridgeNetworkSource& WithProtocol(const Protocol& value) { SetProtocol(value); return *this;}
103 inline BridgeNetworkSource& 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
BridgeNetworkSource & WithMulticastIp(const char *value)
BridgeNetworkSource & WithMulticastIp(Aws::String &&value)
BridgeNetworkSource & WithProtocol(const Protocol &value)
BridgeNetworkSource & WithMulticastIp(const Aws::String &value)
BridgeNetworkSource & WithName(Aws::String &&value)
AWS_MEDIACONNECT_API BridgeNetworkSource(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API BridgeNetworkSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
BridgeNetworkSource & WithName(const char *value)
BridgeNetworkSource & WithName(const Aws::String &value)
BridgeNetworkSource & WithProtocol(Protocol &&value)
BridgeNetworkSource & WithNetworkName(const Aws::String &value)
BridgeNetworkSource & WithNetworkName(Aws::String &&value)
BridgeNetworkSource & WithNetworkName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue