AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InputDestination.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/medialive/model/InputDestinationVpc.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/medialive/model/InputDestinationRoute.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace MediaLive
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_MEDIALIVE_API InputDestination();
38 AWS_MEDIALIVE_API InputDestination(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Aws::String& GetIp() const{ return m_ip; }
50 inline bool IpHasBeenSet() const { return m_ipHasBeenSet; }
51 inline void SetIp(const Aws::String& value) { m_ipHasBeenSet = true; m_ip = value; }
52 inline void SetIp(Aws::String&& value) { m_ipHasBeenSet = true; m_ip = std::move(value); }
53 inline void SetIp(const char* value) { m_ipHasBeenSet = true; m_ip.assign(value); }
54 inline InputDestination& WithIp(const Aws::String& value) { SetIp(value); return *this;}
55 inline InputDestination& WithIp(Aws::String&& value) { SetIp(std::move(value)); return *this;}
56 inline InputDestination& WithIp(const char* value) { SetIp(value); return *this;}
58
60
63 inline const Aws::String& GetPort() const{ return m_port; }
64 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
65 inline void SetPort(const Aws::String& value) { m_portHasBeenSet = true; m_port = value; }
66 inline void SetPort(Aws::String&& value) { m_portHasBeenSet = true; m_port = std::move(value); }
67 inline void SetPort(const char* value) { m_portHasBeenSet = true; m_port.assign(value); }
68 inline InputDestination& WithPort(const Aws::String& value) { SetPort(value); return *this;}
69 inline InputDestination& WithPort(Aws::String&& value) { SetPort(std::move(value)); return *this;}
70 inline InputDestination& WithPort(const char* value) { SetPort(value); return *this;}
72
74
78 inline const Aws::String& GetUrl() const{ return m_url; }
79 inline bool UrlHasBeenSet() const { return m_urlHasBeenSet; }
80 inline void SetUrl(const Aws::String& value) { m_urlHasBeenSet = true; m_url = value; }
81 inline void SetUrl(Aws::String&& value) { m_urlHasBeenSet = true; m_url = std::move(value); }
82 inline void SetUrl(const char* value) { m_urlHasBeenSet = true; m_url.assign(value); }
83 inline InputDestination& WithUrl(const Aws::String& value) { SetUrl(value); return *this;}
84 inline InputDestination& WithUrl(Aws::String&& value) { SetUrl(std::move(value)); return *this;}
85 inline InputDestination& WithUrl(const char* value) { SetUrl(value); return *this;}
87
89
90 inline const InputDestinationVpc& GetVpc() const{ return m_vpc; }
91 inline bool VpcHasBeenSet() const { return m_vpcHasBeenSet; }
92 inline void SetVpc(const InputDestinationVpc& value) { m_vpcHasBeenSet = true; m_vpc = value; }
93 inline void SetVpc(InputDestinationVpc&& value) { m_vpcHasBeenSet = true; m_vpc = std::move(value); }
94 inline InputDestination& WithVpc(const InputDestinationVpc& value) { SetVpc(value); return *this;}
95 inline InputDestination& WithVpc(InputDestinationVpc&& value) { SetVpc(std::move(value)); return *this;}
97
99
102 inline const Aws::String& GetNetwork() const{ return m_network; }
103 inline bool NetworkHasBeenSet() const { return m_networkHasBeenSet; }
104 inline void SetNetwork(const Aws::String& value) { m_networkHasBeenSet = true; m_network = value; }
105 inline void SetNetwork(Aws::String&& value) { m_networkHasBeenSet = true; m_network = std::move(value); }
106 inline void SetNetwork(const char* value) { m_networkHasBeenSet = true; m_network.assign(value); }
107 inline InputDestination& WithNetwork(const Aws::String& value) { SetNetwork(value); return *this;}
108 inline InputDestination& WithNetwork(Aws::String&& value) { SetNetwork(std::move(value)); return *this;}
109 inline InputDestination& WithNetwork(const char* value) { SetNetwork(value); return *this;}
111
113
118 inline const Aws::Vector<InputDestinationRoute>& GetNetworkRoutes() const{ return m_networkRoutes; }
119 inline bool NetworkRoutesHasBeenSet() const { return m_networkRoutesHasBeenSet; }
120 inline void SetNetworkRoutes(const Aws::Vector<InputDestinationRoute>& value) { m_networkRoutesHasBeenSet = true; m_networkRoutes = value; }
121 inline void SetNetworkRoutes(Aws::Vector<InputDestinationRoute>&& value) { m_networkRoutesHasBeenSet = true; m_networkRoutes = std::move(value); }
124 inline InputDestination& AddNetworkRoutes(const InputDestinationRoute& value) { m_networkRoutesHasBeenSet = true; m_networkRoutes.push_back(value); return *this; }
125 inline InputDestination& AddNetworkRoutes(InputDestinationRoute&& value) { m_networkRoutesHasBeenSet = true; m_networkRoutes.push_back(std::move(value)); return *this; }
127 private:
128
129 Aws::String m_ip;
130 bool m_ipHasBeenSet = false;
131
132 Aws::String m_port;
133 bool m_portHasBeenSet = false;
134
135 Aws::String m_url;
136 bool m_urlHasBeenSet = false;
137
139 bool m_vpcHasBeenSet = false;
140
141 Aws::String m_network;
142 bool m_networkHasBeenSet = false;
143
145 bool m_networkRoutesHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace MediaLive
150} // namespace Aws
const Aws::Vector< InputDestinationRoute > & GetNetworkRoutes() const
InputDestination & WithNetwork(Aws::String &&value)
void SetVpc(const InputDestinationVpc &value)
void SetUrl(const Aws::String &value)
InputDestination & WithNetwork(const Aws::String &value)
void SetNetwork(const Aws::String &value)
InputDestination & WithNetworkRoutes(const Aws::Vector< InputDestinationRoute > &value)
void SetNetworkRoutes(const Aws::Vector< InputDestinationRoute > &value)
void SetIp(const Aws::String &value)
InputDestination & WithUrl(const char *value)
const Aws::String & GetPort() const
InputDestination & WithPort(const char *value)
InputDestination & WithIp(const char *value)
AWS_MEDIALIVE_API InputDestination & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API InputDestination(Aws::Utils::Json::JsonView jsonValue)
InputDestination & WithNetworkRoutes(Aws::Vector< InputDestinationRoute > &&value)
InputDestination & WithPort(Aws::String &&value)
InputDestination & WithUrl(Aws::String &&value)
InputDestination & WithVpc(InputDestinationVpc &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVpc(InputDestinationVpc &&value)
InputDestination & WithVpc(const InputDestinationVpc &value)
void SetPort(const Aws::String &value)
InputDestination & AddNetworkRoutes(const InputDestinationRoute &value)
InputDestination & WithPort(const Aws::String &value)
InputDestination & WithNetwork(const char *value)
InputDestination & WithIp(Aws::String &&value)
InputDestination & WithIp(const Aws::String &value)
InputDestination & AddNetworkRoutes(InputDestinationRoute &&value)
const Aws::String & GetNetwork() const
const InputDestinationVpc & GetVpc() const
InputDestination & WithUrl(const Aws::String &value)
void SetNetworkRoutes(Aws::Vector< InputDestinationRoute > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue