AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateBridgeNetworkOutputRequest.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 UpdateBridgeNetworkOutputRequest() = default;
38 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
46 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
47 template<typename IpAddressT = Aws::String>
48 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::forward<IpAddressT>(value); }
49 template<typename IpAddressT = Aws::String>
50 UpdateBridgeNetworkOutputRequest& WithIpAddress(IpAddressT&& value) { SetIpAddress(std::forward<IpAddressT>(value)); return *this;}
52
54
57 inline const Aws::String& GetNetworkName() const { return m_networkName; }
58 inline bool NetworkNameHasBeenSet() const { return m_networkNameHasBeenSet; }
59 template<typename NetworkNameT = Aws::String>
60 void SetNetworkName(NetworkNameT&& value) { m_networkNameHasBeenSet = true; m_networkName = std::forward<NetworkNameT>(value); }
61 template<typename NetworkNameT = Aws::String>
62 UpdateBridgeNetworkOutputRequest& WithNetworkName(NetworkNameT&& value) { SetNetworkName(std::forward<NetworkNameT>(value)); return *this;}
64
66
69 inline int GetPort() const { return m_port; }
70 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
71 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
72 inline UpdateBridgeNetworkOutputRequest& WithPort(int value) { SetPort(value); return *this;}
74
76
81 inline Protocol GetProtocol() const { return m_protocol; }
82 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
83 inline void SetProtocol(Protocol value) { m_protocolHasBeenSet = true; m_protocol = value; }
84 inline UpdateBridgeNetworkOutputRequest& WithProtocol(Protocol value) { SetProtocol(value); return *this;}
86
88
91 inline int GetTtl() const { return m_ttl; }
92 inline bool TtlHasBeenSet() const { return m_ttlHasBeenSet; }
93 inline void SetTtl(int value) { m_ttlHasBeenSet = true; m_ttl = value; }
94 inline UpdateBridgeNetworkOutputRequest& WithTtl(int value) { SetTtl(value); return *this;}
96 private:
97
98 Aws::String m_ipAddress;
99 bool m_ipAddressHasBeenSet = false;
100
101 Aws::String m_networkName;
102 bool m_networkNameHasBeenSet = false;
103
104 int m_port{0};
105 bool m_portHasBeenSet = false;
106
107 Protocol m_protocol{Protocol::NOT_SET};
108 bool m_protocolHasBeenSet = false;
109
110 int m_ttl{0};
111 bool m_ttlHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace MediaConnect
116} // namespace Aws
UpdateBridgeNetworkOutputRequest & WithIpAddress(IpAddressT &&value)
UpdateBridgeNetworkOutputRequest & WithProtocol(Protocol value)
AWS_MEDIACONNECT_API UpdateBridgeNetworkOutputRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API UpdateBridgeNetworkOutputRequest()=default
UpdateBridgeNetworkOutputRequest & WithNetworkName(NetworkNameT &&value)
AWS_MEDIACONNECT_API UpdateBridgeNetworkOutputRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue