7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ecs/model/TimeoutConfiguration.h>
11#include <aws/ecs/model/ServiceConnectTlsConfiguration.h>
12#include <aws/ecs/model/ServiceConnectClientAlias.h>
58 inline void SetPortName(
const char* value) { m_portNameHasBeenSet =
true; m_portName.assign(value); }
78 inline void SetDiscoveryName(
const char* value) { m_discoveryNameHasBeenSet =
true; m_discoveryName.assign(value); }
150 bool m_portNameHasBeenSet =
false;
153 bool m_discoveryNameHasBeenSet =
false;
156 bool m_clientAliasesHasBeenSet =
false;
158 int m_ingressPortOverride;
159 bool m_ingressPortOverrideHasBeenSet =
false;
162 bool m_timeoutHasBeenSet =
false;
165 bool m_tlsHasBeenSet =
false;
bool ClientAliasesHasBeenSet() const
ServiceConnectService & AddClientAliases(const ServiceConnectClientAlias &value)
AWS_ECS_API ServiceConnectService & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIngressPortOverride(int value)
ServiceConnectService & WithTimeout(const TimeoutConfiguration &value)
ServiceConnectService & WithPortName(Aws::String &&value)
ServiceConnectService & WithPortName(const Aws::String &value)
bool TlsHasBeenSet() const
const Aws::Vector< ServiceConnectClientAlias > & GetClientAliases() const
ServiceConnectService & WithTls(ServiceConnectTlsConfiguration &&value)
bool PortNameHasBeenSet() const
void SetTls(ServiceConnectTlsConfiguration &&value)
void SetTls(const ServiceConnectTlsConfiguration &value)
const TimeoutConfiguration & GetTimeout() const
void SetClientAliases(const Aws::Vector< ServiceConnectClientAlias > &value)
ServiceConnectService & WithIngressPortOverride(int value)
const ServiceConnectTlsConfiguration & GetTls() const
void SetDiscoveryName(Aws::String &&value)
AWS_ECS_API ServiceConnectService()
bool IngressPortOverrideHasBeenSet() const
ServiceConnectService & WithClientAliases(const Aws::Vector< ServiceConnectClientAlias > &value)
const Aws::String & GetDiscoveryName() const
int GetIngressPortOverride() const
ServiceConnectService & WithTimeout(TimeoutConfiguration &&value)
ServiceConnectService & WithDiscoveryName(Aws::String &&value)
ServiceConnectService & AddClientAliases(ServiceConnectClientAlias &&value)
void SetTimeout(const TimeoutConfiguration &value)
void SetDiscoveryName(const char *value)
const Aws::String & GetPortName() const
ServiceConnectService & WithTls(const ServiceConnectTlsConfiguration &value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDiscoveryName(const Aws::String &value)
void SetTimeout(TimeoutConfiguration &&value)
bool TimeoutHasBeenSet() const
ServiceConnectService & WithClientAliases(Aws::Vector< ServiceConnectClientAlias > &&value)
void SetClientAliases(Aws::Vector< ServiceConnectClientAlias > &&value)
void SetPortName(Aws::String &&value)
bool DiscoveryNameHasBeenSet() const
void SetPortName(const Aws::String &value)
ServiceConnectService & WithDiscoveryName(const Aws::String &value)
ServiceConnectService & WithPortName(const char *value)
void SetPortName(const char *value)
ServiceConnectService & WithDiscoveryName(const char *value)
AWS_ECS_API ServiceConnectService(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue