AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
BridgeNetworkOutput.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
9#include <aws/mediaconnect/model/Protocol.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace MediaConnect {
21namespace Model {
22
30 public:
31 AWS_MEDIACONNECT_API BridgeNetworkOutput() = default;
32 AWS_MEDIACONNECT_API BridgeNetworkOutput(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetIpAddress() const { return m_ipAddress; }
41 inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; }
42 template <typename IpAddressT = Aws::String>
43 void SetIpAddress(IpAddressT&& value) {
44 m_ipAddressHasBeenSet = true;
45 m_ipAddress = std::forward<IpAddressT>(value);
46 }
47 template <typename IpAddressT = Aws::String>
48 BridgeNetworkOutput& WithIpAddress(IpAddressT&& value) {
49 SetIpAddress(std::forward<IpAddressT>(value));
50 return *this;
51 }
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) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
66 BridgeNetworkOutput& WithName(NameT&& value) {
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetNetworkName() const { return m_networkName; }
77 inline bool NetworkNameHasBeenSet() const { return m_networkNameHasBeenSet; }
78 template <typename NetworkNameT = Aws::String>
79 void SetNetworkName(NetworkNameT&& value) {
80 m_networkNameHasBeenSet = true;
81 m_networkName = std::forward<NetworkNameT>(value);
82 }
83 template <typename NetworkNameT = Aws::String>
84 BridgeNetworkOutput& WithNetworkName(NetworkNameT&& value) {
85 SetNetworkName(std::forward<NetworkNameT>(value));
86 return *this;
87 }
89
91
94 inline int GetPort() const { return m_port; }
95 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
96 inline void SetPort(int value) {
97 m_portHasBeenSet = true;
98 m_port = value;
99 }
100 inline BridgeNetworkOutput& WithPort(int value) {
101 SetPort(value);
102 return *this;
103 }
105
107
112 inline Protocol GetProtocol() const { return m_protocol; }
113 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
114 inline void SetProtocol(Protocol value) {
115 m_protocolHasBeenSet = true;
116 m_protocol = value;
117 }
119 SetProtocol(value);
120 return *this;
121 }
123
125
128 inline int GetTtl() const { return m_ttl; }
129 inline bool TtlHasBeenSet() const { return m_ttlHasBeenSet; }
130 inline void SetTtl(int value) {
131 m_ttlHasBeenSet = true;
132 m_ttl = value;
133 }
134 inline BridgeNetworkOutput& WithTtl(int value) {
135 SetTtl(value);
136 return *this;
137 }
139 private:
140 Aws::String m_ipAddress;
141
142 Aws::String m_name;
143
144 Aws::String m_networkName;
145
146 int m_port{0};
147
148 Protocol m_protocol{Protocol::NOT_SET};
149
150 int m_ttl{0};
151 bool m_ipAddressHasBeenSet = false;
152 bool m_nameHasBeenSet = false;
153 bool m_networkNameHasBeenSet = false;
154 bool m_portHasBeenSet = false;
155 bool m_protocolHasBeenSet = false;
156 bool m_ttlHasBeenSet = false;
157};
158
159} // namespace Model
160} // namespace MediaConnect
161} // 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