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/ServiceConnectContainerConfiguration.h>
13#include <aws/ecs/model/ServiceConnectService.h>
56 m_enabledHasBeenSet =
true;
76 template <
typename NamespaceT = Aws::String>
78 m_namespaceHasBeenSet =
true;
79 m_namespace = std::forward<NamespaceT>(value);
81 template <
typename NamespaceT = Aws::String>
102 template <
typename ServicesT = Aws::Vector<ServiceConnectService>>
104 m_servicesHasBeenSet =
true;
105 m_services = std::forward<ServicesT>(value);
107 template <
typename ServicesT = Aws::Vector<ServiceConnectService>>
112 template <
typename ServicesT = ServiceConnectService>
114 m_servicesHasBeenSet =
true;
115 m_services.emplace_back(std::forward<ServicesT>(value));
124 template <
typename LogConfigurationT = LogConfiguration>
126 m_logConfigurationHasBeenSet =
true;
127 m_logConfiguration = std::forward<LogConfigurationT>(value);
129 template <
typename LogConfigurationT = LogConfiguration>
149 template <
typename AccessLogConfigurationT = ServiceConnectAccessLogConfiguration>
151 m_accessLogConfigurationHasBeenSet =
true;
152 m_accessLogConfiguration = std::forward<AccessLogConfigurationT>(value);
154 template <
typename AccessLogConfigurationT = ServiceConnectAccessLogConfiguration>
174 template <
typename ContainerConfigurationsT = Aws::Vector<ServiceConnectContainerConfiguration>>
176 m_containerConfigurationsHasBeenSet =
true;
177 m_containerConfigurations = std::forward<ContainerConfigurationsT>(value);
179 template <
typename ContainerConfigurationsT = Aws::Vector<ServiceConnectContainerConfiguration>>
184 template <
typename ContainerConfigurationsT = ServiceConnectContainerConfiguration>
186 m_containerConfigurationsHasBeenSet =
true;
187 m_containerConfigurations.emplace_back(std::forward<ContainerConfigurationsT>(value));
192 bool m_enabled{
false};
198 LogConfiguration m_logConfiguration;
200 ServiceConnectAccessLogConfiguration m_accessLogConfiguration;
203 bool m_enabledHasBeenSet =
false;
204 bool m_namespaceHasBeenSet =
false;
205 bool m_servicesHasBeenSet =
false;
206 bool m_logConfigurationHasBeenSet =
false;
207 bool m_accessLogConfigurationHasBeenSet =
false;
208 bool m_containerConfigurationsHasBeenSet =
false;
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetServices(ServicesT &&value)
ServiceConnectConfiguration & WithContainerConfigurations(ContainerConfigurationsT &&value)
AWS_ECS_API ServiceConnectConfiguration()=default
const Aws::Vector< ServiceConnectContainerConfiguration > & GetContainerConfigurations() const
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)
ServiceConnectConfiguration & AddContainerConfigurations(ContainerConfigurationsT &&value)
bool AccessLogConfigurationHasBeenSet() const
const Aws::Vector< ServiceConnectService > & GetServices() const
const Aws::String & GetNamespace() const
ServiceConnectConfiguration & WithNamespace(NamespaceT &&value)
bool ContainerConfigurationsHasBeenSet() const
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)
void SetContainerConfigurations(ContainerConfigurationsT &&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