AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateBridgeNetworkSourceRequest.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 UpdateBridgeNetworkSourceRequest();
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 UpdateBridgeNetworkSourceRequest& WithMulticastIp(const Aws::String& value) { SetMulticastIp(value); return *this;}
51 inline UpdateBridgeNetworkSourceRequest& WithMulticastIp(Aws::String&& value) { SetMulticastIp(std::move(value)); return *this;}
52 inline UpdateBridgeNetworkSourceRequest& WithMulticastIp(const char* value) { SetMulticastIp(value); return *this;}
54
56
59 inline const Aws::String& GetNetworkName() const{ return m_networkName; }
60 inline bool NetworkNameHasBeenSet() const { return m_networkNameHasBeenSet; }
61 inline void SetNetworkName(const Aws::String& value) { m_networkNameHasBeenSet = true; m_networkName = value; }
62 inline void SetNetworkName(Aws::String&& value) { m_networkNameHasBeenSet = true; m_networkName = std::move(value); }
63 inline void SetNetworkName(const char* value) { m_networkNameHasBeenSet = true; m_networkName.assign(value); }
64 inline UpdateBridgeNetworkSourceRequest& WithNetworkName(const Aws::String& value) { SetNetworkName(value); return *this;}
65 inline UpdateBridgeNetworkSourceRequest& WithNetworkName(Aws::String&& value) { SetNetworkName(std::move(value)); return *this;}
66 inline UpdateBridgeNetworkSourceRequest& WithNetworkName(const char* value) { SetNetworkName(value); return *this;}
68
70
73 inline int GetPort() const{ return m_port; }
74 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
75 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
76 inline UpdateBridgeNetworkSourceRequest& WithPort(int value) { SetPort(value); return *this;}
78
80
83 inline const Protocol& GetProtocol() const{ return m_protocol; }
84 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
85 inline void SetProtocol(const Protocol& value) { m_protocolHasBeenSet = true; m_protocol = value; }
86 inline void SetProtocol(Protocol&& value) { m_protocolHasBeenSet = true; m_protocol = std::move(value); }
87 inline UpdateBridgeNetworkSourceRequest& WithProtocol(const Protocol& value) { SetProtocol(value); return *this;}
88 inline UpdateBridgeNetworkSourceRequest& WithProtocol(Protocol&& value) { SetProtocol(std::move(value)); return *this;}
90 private:
91
92 Aws::String m_multicastIp;
93 bool m_multicastIpHasBeenSet = false;
94
95 Aws::String m_networkName;
96 bool m_networkNameHasBeenSet = false;
97
98 int m_port;
99 bool m_portHasBeenSet = false;
100
101 Protocol m_protocol;
102 bool m_protocolHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace MediaConnect
107} // namespace Aws
UpdateBridgeNetworkSourceRequest & WithNetworkName(const char *value)
AWS_MEDIACONNECT_API UpdateBridgeNetworkSourceRequest(Aws::Utils::Json::JsonView jsonValue)
UpdateBridgeNetworkSourceRequest & WithMulticastIp(const char *value)
UpdateBridgeNetworkSourceRequest & WithNetworkName(Aws::String &&value)
UpdateBridgeNetworkSourceRequest & WithProtocol(const Protocol &value)
UpdateBridgeNetworkSourceRequest & WithMulticastIp(Aws::String &&value)
UpdateBridgeNetworkSourceRequest & WithProtocol(Protocol &&value)
AWS_MEDIACONNECT_API UpdateBridgeNetworkSourceRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateBridgeNetworkSourceRequest & WithMulticastIp(const Aws::String &value)
UpdateBridgeNetworkSourceRequest & WithNetworkName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue