AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; }
48 inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); }
49 inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); }
50 inline UpdateBridgeNetworkOutputRequest& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;}
51 inline UpdateBridgeNetworkOutputRequest& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;}
52 inline UpdateBridgeNetworkOutputRequest& WithIpAddress(const char* value) { SetIpAddress(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 UpdateBridgeNetworkOutputRequest& WithNetworkName(const Aws::String& value) { SetNetworkName(value); return *this;}
65 inline UpdateBridgeNetworkOutputRequest& WithNetworkName(Aws::String&& value) { SetNetworkName(std::move(value)); return *this;}
66 inline UpdateBridgeNetworkOutputRequest& 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 UpdateBridgeNetworkOutputRequest& 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 UpdateBridgeNetworkOutputRequest& WithProtocol(const Protocol& value) { SetProtocol(value); return *this;}
88 inline UpdateBridgeNetworkOutputRequest& WithProtocol(Protocol&& value) { SetProtocol(std::move(value)); return *this;}
90
92
95 inline int GetTtl() const{ return m_ttl; }
96 inline bool TtlHasBeenSet() const { return m_ttlHasBeenSet; }
97 inline void SetTtl(int value) { m_ttlHasBeenSet = true; m_ttl = value; }
98 inline UpdateBridgeNetworkOutputRequest& WithTtl(int value) { SetTtl(value); return *this;}
100 private:
101
102 Aws::String m_ipAddress;
103 bool m_ipAddressHasBeenSet = false;
104
105 Aws::String m_networkName;
106 bool m_networkNameHasBeenSet = false;
107
108 int m_port;
109 bool m_portHasBeenSet = false;
110
111 Protocol m_protocol;
112 bool m_protocolHasBeenSet = false;
113
114 int m_ttl;
115 bool m_ttlHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace MediaConnect
120} // namespace Aws
UpdateBridgeNetworkOutputRequest & WithProtocol(const Protocol &value)
UpdateBridgeNetworkOutputRequest & WithProtocol(Protocol &&value)
UpdateBridgeNetworkOutputRequest & WithIpAddress(Aws::String &&value)
AWS_MEDIACONNECT_API UpdateBridgeNetworkOutputRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
UpdateBridgeNetworkOutputRequest & WithNetworkName(const Aws::String &value)
UpdateBridgeNetworkOutputRequest & WithIpAddress(const Aws::String &value)
UpdateBridgeNetworkOutputRequest & WithNetworkName(Aws::String &&value)
UpdateBridgeNetworkOutputRequest & WithIpAddress(const char *value)
AWS_MEDIACONNECT_API UpdateBridgeNetworkOutputRequest(Aws::Utils::Json::JsonView jsonValue)
UpdateBridgeNetworkOutputRequest & WithNetworkName(const char *value)
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