AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DestinationConfiguration.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/Interface.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 DestinationConfiguration();
39 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetDestinationIp() const{ return m_destinationIp; }
47 inline bool DestinationIpHasBeenSet() const { return m_destinationIpHasBeenSet; }
48 inline void SetDestinationIp(const Aws::String& value) { m_destinationIpHasBeenSet = true; m_destinationIp = value; }
49 inline void SetDestinationIp(Aws::String&& value) { m_destinationIpHasBeenSet = true; m_destinationIp = std::move(value); }
50 inline void SetDestinationIp(const char* value) { m_destinationIpHasBeenSet = true; m_destinationIp.assign(value); }
51 inline DestinationConfiguration& WithDestinationIp(const Aws::String& value) { SetDestinationIp(value); return *this;}
52 inline DestinationConfiguration& WithDestinationIp(Aws::String&& value) { SetDestinationIp(std::move(value)); return *this;}
53 inline DestinationConfiguration& WithDestinationIp(const char* value) { SetDestinationIp(value); return *this;}
55
57
61 inline int GetDestinationPort() const{ return m_destinationPort; }
62 inline bool DestinationPortHasBeenSet() const { return m_destinationPortHasBeenSet; }
63 inline void SetDestinationPort(int value) { m_destinationPortHasBeenSet = true; m_destinationPort = value; }
64 inline DestinationConfiguration& WithDestinationPort(int value) { SetDestinationPort(value); return *this;}
66
68
71 inline const Interface& GetInterface() const{ return m_interface; }
72 inline bool InterfaceHasBeenSet() const { return m_interfaceHasBeenSet; }
73 inline void SetInterface(const Interface& value) { m_interfaceHasBeenSet = true; m_interface = value; }
74 inline void SetInterface(Interface&& value) { m_interfaceHasBeenSet = true; m_interface = std::move(value); }
75 inline DestinationConfiguration& WithInterface(const Interface& value) { SetInterface(value); return *this;}
76 inline DestinationConfiguration& WithInterface(Interface&& value) { SetInterface(std::move(value)); return *this;}
78
80
86 inline const Aws::String& GetOutboundIp() const{ return m_outboundIp; }
87 inline bool OutboundIpHasBeenSet() const { return m_outboundIpHasBeenSet; }
88 inline void SetOutboundIp(const Aws::String& value) { m_outboundIpHasBeenSet = true; m_outboundIp = value; }
89 inline void SetOutboundIp(Aws::String&& value) { m_outboundIpHasBeenSet = true; m_outboundIp = std::move(value); }
90 inline void SetOutboundIp(const char* value) { m_outboundIpHasBeenSet = true; m_outboundIp.assign(value); }
91 inline DestinationConfiguration& WithOutboundIp(const Aws::String& value) { SetOutboundIp(value); return *this;}
92 inline DestinationConfiguration& WithOutboundIp(Aws::String&& value) { SetOutboundIp(std::move(value)); return *this;}
93 inline DestinationConfiguration& WithOutboundIp(const char* value) { SetOutboundIp(value); return *this;}
95 private:
96
97 Aws::String m_destinationIp;
98 bool m_destinationIpHasBeenSet = false;
99
100 int m_destinationPort;
101 bool m_destinationPortHasBeenSet = false;
102
103 Interface m_interface;
104 bool m_interfaceHasBeenSet = false;
105
106 Aws::String m_outboundIp;
107 bool m_outboundIpHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace MediaConnect
112} // namespace Aws
DestinationConfiguration & WithDestinationIp(const char *value)
DestinationConfiguration & WithOutboundIp(const Aws::String &value)
DestinationConfiguration & WithInterface(Interface &&value)
AWS_MEDIACONNECT_API DestinationConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API DestinationConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
DestinationConfiguration & WithDestinationPort(int value)
DestinationConfiguration & WithOutboundIp(const char *value)
DestinationConfiguration & WithOutboundIp(Aws::String &&value)
DestinationConfiguration & WithDestinationIp(const Aws::String &value)
DestinationConfiguration & WithDestinationIp(Aws::String &&value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
DestinationConfiguration & WithInterface(const Interface &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue