7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
59 inline int GetPort()
const{
return m_port; }
61 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
87 inline void SetDnsName(
const char* value) { m_dnsNameHasBeenSet =
true; m_dnsName.assign(value); }
95 bool m_portHasBeenSet =
false;
98 bool m_dnsNameHasBeenSet =
false;
bool DnsNameHasBeenSet() const
void SetDnsName(const Aws::String &value)
AWS_ECS_API ServiceConnectClientAlias()
AWS_ECS_API ServiceConnectClientAlias & operator=(Aws::Utils::Json::JsonView jsonValue)
ServiceConnectClientAlias & WithDnsName(const Aws::String &value)
void SetDnsName(const char *value)
const Aws::String & GetDnsName() const
void SetDnsName(Aws::String &&value)
ServiceConnectClientAlias & WithDnsName(Aws::String &&value)
ServiceConnectClientAlias & WithPort(int value)
AWS_ECS_API ServiceConnectClientAlias(Aws::Utils::Json::JsonView jsonValue)
ServiceConnectClientAlias & WithDnsName(const char *value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
bool PortHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue