7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/ecs/ECS_EXPORTS.h>
10#include <aws/ecs/model/LogConfiguration.h>
11#include <aws/ecs/model/ServiceConnectAccessLogConfiguration.h>
12#include <aws/ecs/model/ServiceConnectService.h>
55 m_enabledHasBeenSet =
true;
75 template <
typename NamespaceT = Aws::String>
77 m_namespaceHasBeenSet =
true;
78 m_namespace = std::forward<NamespaceT>(value);
80 template <
typename NamespaceT = Aws::String>
101 template <
typename ServicesT = Aws::Vector<ServiceConnectService>>
103 m_servicesHasBeenSet =
true;
104 m_services = std::forward<ServicesT>(value);
106 template <
typename ServicesT = Aws::Vector<ServiceConnectService>>
111 template <
typename ServicesT = ServiceConnectService>
113 m_servicesHasBeenSet =
true;
114 m_services.emplace_back(std::forward<ServicesT>(value));
123 template <
typename LogConfigurationT = LogConfiguration>
125 m_logConfigurationHasBeenSet =
true;
126 m_logConfiguration = std::forward<LogConfigurationT>(value);
128 template <
typename LogConfigurationT = LogConfiguration>
148 template <
typename AccessLogConfigurationT = ServiceConnectAccessLogConfiguration>
150 m_accessLogConfigurationHasBeenSet =
true;
151 m_accessLogConfiguration = std::forward<AccessLogConfigurationT>(value);
153 template <
typename AccessLogConfigurationT = ServiceConnectAccessLogConfiguration>
160 bool m_enabled{
false};
166 LogConfiguration m_logConfiguration;
168 ServiceConnectAccessLogConfiguration m_accessLogConfiguration;
169 bool m_enabledHasBeenSet =
false;
170 bool m_namespaceHasBeenSet =
false;
171 bool m_servicesHasBeenSet =
false;
172 bool m_logConfigurationHasBeenSet =
false;
173 bool m_accessLogConfigurationHasBeenSet =
false;
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetServices(ServicesT &&value)
AWS_ECS_API ServiceConnectConfiguration()=default
bool ServicesHasBeenSet() const
void SetLogConfiguration(LogConfigurationT &&value)
void SetAccessLogConfiguration(AccessLogConfigurationT &&value)
void SetNamespace(NamespaceT &&value)
bool EnabledHasBeenSet() const
ServiceConnectConfiguration & WithEnabled(bool value)
bool NamespaceHasBeenSet() const
ServiceConnectConfiguration & AddServices(ServicesT &&value)
bool AccessLogConfigurationHasBeenSet() const
const Aws::Vector< ServiceConnectService > & GetServices() const
const Aws::String & GetNamespace() const
ServiceConnectConfiguration & WithNamespace(NamespaceT &&value)
ServiceConnectConfiguration & WithAccessLogConfiguration(AccessLogConfigurationT &&value)
AWS_ECS_API ServiceConnectConfiguration(Aws::Utils::Json::JsonView jsonValue)
const LogConfiguration & GetLogConfiguration() const
bool LogConfigurationHasBeenSet() const
void SetEnabled(bool value)
AWS_ECS_API ServiceConnectConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const ServiceConnectAccessLogConfiguration & GetAccessLogConfiguration() const
ServiceConnectConfiguration & WithLogConfiguration(LogConfigurationT &&value)
ServiceConnectConfiguration & WithServices(ServicesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue