AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DestinationConfiguration.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/Interface.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 DestinationConfiguration() = default;
34 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetDestinationIp() const { return m_destinationIp; }
42 inline bool DestinationIpHasBeenSet() const { return m_destinationIpHasBeenSet; }
43 template <typename DestinationIpT = Aws::String>
44 void SetDestinationIp(DestinationIpT&& value) {
45 m_destinationIpHasBeenSet = true;
46 m_destinationIp = std::forward<DestinationIpT>(value);
47 }
48 template <typename DestinationIpT = Aws::String>
50 SetDestinationIp(std::forward<DestinationIpT>(value));
51 return *this;
52 }
54
56
60 inline int GetDestinationPort() const { return m_destinationPort; }
61 inline bool DestinationPortHasBeenSet() const { return m_destinationPortHasBeenSet; }
62 inline void SetDestinationPort(int value) {
63 m_destinationPortHasBeenSet = true;
64 m_destinationPort = value;
65 }
67 SetDestinationPort(value);
68 return *this;
69 }
71
73
77 inline const Interface& GetInterface() const { return m_interface; }
78 inline bool InterfaceHasBeenSet() const { return m_interfaceHasBeenSet; }
79 template <typename InterfaceT = Interface>
80 void SetInterface(InterfaceT&& value) {
81 m_interfaceHasBeenSet = true;
82 m_interface = std::forward<InterfaceT>(value);
83 }
84 template <typename InterfaceT = Interface>
86 SetInterface(std::forward<InterfaceT>(value));
87 return *this;
88 }
90
92
98 inline const Aws::String& GetOutboundIp() const { return m_outboundIp; }
99 inline bool OutboundIpHasBeenSet() const { return m_outboundIpHasBeenSet; }
100 template <typename OutboundIpT = Aws::String>
101 void SetOutboundIp(OutboundIpT&& value) {
102 m_outboundIpHasBeenSet = true;
103 m_outboundIp = std::forward<OutboundIpT>(value);
104 }
105 template <typename OutboundIpT = Aws::String>
107 SetOutboundIp(std::forward<OutboundIpT>(value));
108 return *this;
109 }
111 private:
112 Aws::String m_destinationIp;
113
114 int m_destinationPort{0};
115
116 Interface m_interface;
117
118 Aws::String m_outboundIp;
119 bool m_destinationIpHasBeenSet = false;
120 bool m_destinationPortHasBeenSet = false;
121 bool m_interfaceHasBeenSet = false;
122 bool m_outboundIpHasBeenSet = false;
123};
124
125} // namespace Model
126} // namespace MediaConnect
127} // namespace Aws
AWS_MEDIACONNECT_API DestinationConfiguration()=default
AWS_MEDIACONNECT_API DestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API DestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DestinationConfiguration & WithOutboundIp(OutboundIpT &&value)
DestinationConfiguration & WithDestinationIp(DestinationIpT &&value)
DestinationConfiguration & WithDestinationPort(int value)
DestinationConfiguration & WithInterface(InterfaceT &&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