7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECS_EXPORTS.h>
9#include <aws/ecs/model/TransportProtocol.h>
46 template <
typename BindIPT = Aws::String>
48 m_bindIPHasBeenSet =
true;
49 m_bindIP = std::forward<BindIPT>(value);
51 template <
typename BindIPT = Aws::String>
65 m_containerPortHasBeenSet =
true;
66 m_containerPort = value;
81 m_hostPortHasBeenSet =
true;
97 m_protocolHasBeenSet =
true;
144 template <
typename ContainerPortRangeT = Aws::String>
146 m_containerPortRangeHasBeenSet =
true;
147 m_containerPortRange = std::forward<ContainerPortRangeT>(value);
149 template <
typename ContainerPortRangeT = Aws::String>
163 template <
typename HostPortRangeT = Aws::String>
165 m_hostPortRangeHasBeenSet =
true;
166 m_hostPortRange = std::forward<HostPortRangeT>(value);
168 template <
typename HostPortRangeT = Aws::String>
177 int m_containerPort{0};
186 bool m_bindIPHasBeenSet =
false;
187 bool m_containerPortHasBeenSet =
false;
188 bool m_hostPortHasBeenSet =
false;
189 bool m_protocolHasBeenSet =
false;
190 bool m_containerPortRangeHasBeenSet =
false;
191 bool m_hostPortRangeHasBeenSet =
false;
bool HostPortHasBeenSet() const
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkBinding & WithHostPortRange(HostPortRangeT &&value)
const Aws::String & GetHostPortRange() const
bool BindIPHasBeenSet() const
NetworkBinding & WithHostPort(int value)
NetworkBinding & WithProtocol(TransportProtocol value)
void SetHostPortRange(HostPortRangeT &&value)
TransportProtocol GetProtocol() const
bool ContainerPortRangeHasBeenSet() const
NetworkBinding & WithContainerPortRange(ContainerPortRangeT &&value)
AWS_ECS_API NetworkBinding()=default
bool ProtocolHasBeenSet() const
const Aws::String & GetBindIP() const
AWS_ECS_API NetworkBinding & operator=(Aws::Utils::Json::JsonView jsonValue)
bool HostPortRangeHasBeenSet() const
int GetContainerPort() const
NetworkBinding & WithBindIP(BindIPT &&value)
NetworkBinding & WithContainerPort(int value)
void SetProtocol(TransportProtocol value)
const Aws::String & GetContainerPortRange() const
void SetContainerPort(int value)
bool ContainerPortHasBeenSet() const
void SetContainerPortRange(ContainerPortRangeT &&value)
void SetBindIP(BindIPT &&value)
AWS_ECS_API NetworkBinding(Aws::Utils::Json::JsonView jsonValue)
void SetHostPort(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue