7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ecs/model/TransportProtocol.h>
54 inline void SetBindIP(
const char* value) { m_bindIPHasBeenSet =
true; m_bindIP.assign(value); }
66 inline void SetContainerPort(
int value) { m_containerPortHasBeenSet =
true; m_containerPort = value; }
76 inline void SetHostPort(
int value) { m_hostPortHasBeenSet =
true; m_hostPort = value; }
132 inline void SetContainerPortRange(
const char* value) { m_containerPortRangeHasBeenSet =
true; m_containerPortRange.assign(value); }
147 inline void SetHostPortRange(
const char* value) { m_hostPortRangeHasBeenSet =
true; m_hostPortRange.assign(value); }
155 bool m_bindIPHasBeenSet =
false;
158 bool m_containerPortHasBeenSet =
false;
161 bool m_hostPortHasBeenSet =
false;
164 bool m_protocolHasBeenSet =
false;
167 bool m_containerPortRangeHasBeenSet =
false;
170 bool m_hostPortRangeHasBeenSet =
false;
NetworkBinding & WithProtocol(TransportProtocol &&value)
void SetContainerPortRange(Aws::String &&value)
void SetHostPortRange(const Aws::String &value)
bool HostPortHasBeenSet() const
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API NetworkBinding()
void SetProtocol(TransportProtocol &&value)
void SetContainerPortRange(const Aws::String &value)
void SetBindIP(const char *value)
const Aws::String & GetHostPortRange() const
void SetProtocol(const TransportProtocol &value)
bool BindIPHasBeenSet() const
NetworkBinding & WithHostPort(int value)
NetworkBinding & WithHostPortRange(const Aws::String &value)
NetworkBinding & WithContainerPortRange(Aws::String &&value)
const TransportProtocol & GetProtocol() const
void SetBindIP(Aws::String &&value)
NetworkBinding & WithBindIP(const char *value)
NetworkBinding & WithContainerPortRange(const char *value)
bool ContainerPortRangeHasBeenSet() const
bool ProtocolHasBeenSet() const
const Aws::String & GetBindIP() const
void SetHostPortRange(Aws::String &&value)
AWS_ECS_API NetworkBinding & operator=(Aws::Utils::Json::JsonView jsonValue)
bool HostPortRangeHasBeenSet() const
void SetBindIP(const Aws::String &value)
NetworkBinding & WithBindIP(Aws::String &&value)
int GetContainerPort() const
void SetContainerPortRange(const char *value)
NetworkBinding & WithContainerPort(int value)
NetworkBinding & WithHostPortRange(const char *value)
const Aws::String & GetContainerPortRange() const
void SetContainerPort(int value)
NetworkBinding & WithHostPortRange(Aws::String &&value)
bool ContainerPortHasBeenSet() const
AWS_ECS_API NetworkBinding(Aws::Utils::Json::JsonView jsonValue)
NetworkBinding & WithBindIP(const Aws::String &value)
NetworkBinding & WithProtocol(const TransportProtocol &value)
void SetHostPortRange(const char *value)
NetworkBinding & WithContainerPortRange(const Aws::String &value)
void SetHostPort(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue