AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
BridgeNetworkOutput.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 BridgeNetworkOutput() = default;
37 AWS_MEDIACONNECT_API BridgeNetworkOutput(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
47 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
48 template<typename IpAddressT = Aws::String>
49 void SetIpAddress(IpAddressT&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::forward<IpAddressT>(value); }
50 template<typename IpAddressT = Aws::String>
51 BridgeNetworkOutput& WithIpAddress(IpAddressT&& value) { SetIpAddress(std::forward<IpAddressT>(value)); return *this;}
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template<typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 BridgeNetworkOutput& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetNetworkName() const { return m_networkName; }
71 inline bool NetworkNameHasBeenSet() const { return m_networkNameHasBeenSet; }
72 template<typename NetworkNameT = Aws::String>
73 void SetNetworkName(NetworkNameT&& value) { m_networkNameHasBeenSet = true; m_networkName = std::forward<NetworkNameT>(value); }
74 template<typename NetworkNameT = Aws::String>
75 BridgeNetworkOutput& WithNetworkName(NetworkNameT&& value) { SetNetworkName(std::forward<NetworkNameT>(value)); return *this;}
77
79
82 inline int GetPort() const { return m_port; }
83 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
84 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
85 inline BridgeNetworkOutput& WithPort(int value) { SetPort(value); return *this;}
87
89
94 inline Protocol GetProtocol() const { return m_protocol; }
95 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
96 inline void SetProtocol(Protocol value) { m_protocolHasBeenSet = true; m_protocol = value; }
97 inline BridgeNetworkOutput& WithProtocol(Protocol value) { SetProtocol(value); return *this;}
99
101
104 inline int GetTtl() const { return m_ttl; }
105 inline bool TtlHasBeenSet() const { return m_ttlHasBeenSet; }
106 inline void SetTtl(int value) { m_ttlHasBeenSet = true; m_ttl = value; }
107 inline BridgeNetworkOutput& WithTtl(int value) { SetTtl(value); return *this;}
109 private:
110
111 Aws::String m_ipAddress;
112 bool m_ipAddressHasBeenSet = false;
113
114 Aws::String m_name;
115 bool m_nameHasBeenSet = false;
116
117 Aws::String m_networkName;
118 bool m_networkNameHasBeenSet = false;
119
120 int m_port{0};
121 bool m_portHasBeenSet = false;
122
123 Protocol m_protocol{Protocol::NOT_SET};
124 bool m_protocolHasBeenSet = false;
125
126 int m_ttl{0};
127 bool m_ttlHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace MediaConnect
132} // namespace Aws
BridgeNetworkOutput & WithProtocol(Protocol value)
BridgeNetworkOutput & WithName(NameT &&value)
BridgeNetworkOutput & WithIpAddress(IpAddressT &&value)
AWS_MEDIACONNECT_API BridgeNetworkOutput(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API BridgeNetworkOutput()=default
BridgeNetworkOutput & WithNetworkName(NetworkNameT &&value)
AWS_MEDIACONNECT_API BridgeNetworkOutput & operator=(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