7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/ecs/ECS_EXPORTS.h>
9#include <aws/ecs/model/ServiceConnectTestTrafficRules.h>
54 inline int GetPort()
const {
return m_port; }
57 m_portHasBeenSet =
true;
86 template <
typename DnsNameT = Aws::String>
88 m_dnsNameHasBeenSet =
true;
89 m_dnsName = std::forward<DnsNameT>(value);
91 template <
typename DnsNameT = Aws::String>
107 template <
typename TestTrafficRulesT = ServiceConnectTestTrafficRules>
109 m_testTrafficRulesHasBeenSet =
true;
110 m_testTrafficRules = std::forward<TestTrafficRulesT>(value);
112 template <
typename TestTrafficRulesT = ServiceConnectTestTrafficRules>
123 ServiceConnectTestTrafficRules m_testTrafficRules;
124 bool m_portHasBeenSet =
false;
125 bool m_dnsNameHasBeenSet =
false;
126 bool m_testTrafficRulesHasBeenSet =
false;
AWS_ECS_API ServiceConnectClientAlias()=default
ServiceConnectClientAlias & WithDnsName(DnsNameT &&value)
bool DnsNameHasBeenSet() const
ServiceConnectClientAlias & WithTestTrafficRules(TestTrafficRulesT &&value)
AWS_ECS_API ServiceConnectClientAlias & operator=(Aws::Utils::Json::JsonView jsonValue)
bool TestTrafficRulesHasBeenSet() const
const ServiceConnectTestTrafficRules & GetTestTrafficRules() const
const Aws::String & GetDnsName() const
ServiceConnectClientAlias & WithPort(int value)
AWS_ECS_API ServiceConnectClientAlias(Aws::Utils::Json::JsonView jsonValue)
void SetTestTrafficRules(TestTrafficRulesT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
bool PortHasBeenSet() const
void SetDnsName(DnsNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue