AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
49 inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
50 inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
51 inline BridgeNetworkOutput& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
52 inline BridgeNetworkOutput& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
53 inline BridgeNetworkOutput& WithIpAddress(const char* value) { SetIpAddress(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 BridgeNetworkOutput& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline BridgeNetworkOutput& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline BridgeNetworkOutput& 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 BridgeNetworkOutput& WithNetworkName(const Aws::String& value) { SetNetworkName(value); return *this;}
80 inline BridgeNetworkOutput& WithNetworkName(Aws::String&& value) { SetNetworkName(std::move(value)); return *this;}
81 inline BridgeNetworkOutput& 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 BridgeNetworkOutput& 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 BridgeNetworkOutput& WithProtocol(const Protocol& value) { SetProtocol(value); return *this;}
103 inline BridgeNetworkOutput& WithProtocol(Protocol&& value) { SetProtocol(std::move(value)); return *this;}
105
107
110 inline int GetTtl() const{ return m_ttl; }
111 inline bool TtlHasBeenSet() const { return m_ttlHasBeenSet; }
112 inline void SetTtl(int value) { m_ttlHasBeenSet = true; m_ttl = value; }
113 inline BridgeNetworkOutput& WithTtl(int value) { SetTtl(value); return *this;}
115 private:
116
117 Aws::String m_ipAddress;
118 bool m_ipAddressHasBeenSet = false;
119
120 Aws::String m_name;
121 bool m_nameHasBeenSet = false;
122
123 Aws::String m_networkName;
124 bool m_networkNameHasBeenSet = false;
125
126 int m_port;
127 bool m_portHasBeenSet = false;
128
129 Protocol m_protocol;
130 bool m_protocolHasBeenSet = false;
131
132 int m_ttl;
133 bool m_ttlHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace MediaConnect
138} // namespace Aws
BridgeNetworkOutput & WithName(const char *value)
AWS_MEDIACONNECT_API BridgeNetworkOutput(Aws::Utils::Json::JsonView jsonValue)
BridgeNetworkOutput & WithNetworkName(const Aws::String &value)
BridgeNetworkOutput & WithName(const Aws::String &value)
BridgeNetworkOutput & WithNetworkName(Aws::String &&value)
BridgeNetworkOutput & WithProtocol(const Protocol &value)
BridgeNetworkOutput & WithName(Aws::String &&value)
BridgeNetworkOutput & WithIpAddress(const char *value)
AWS_MEDIACONNECT_API BridgeNetworkOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
BridgeNetworkOutput & WithIpAddress(Aws::String &&value)
BridgeNetworkOutput & WithProtocol(Protocol &&value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
BridgeNetworkOutput & WithNetworkName(const char *value)
BridgeNetworkOutput & WithIpAddress(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue