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/LogConfiguration.h>
11#include <aws/ecs/model/ServiceConnectService.h>
59 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
74 template<
typename NamespaceT = Aws::String>
75 void SetNamespace(NamespaceT&& value) { m_namespaceHasBeenSet =
true; m_namespace = std::forward<NamespaceT>(value); }
76 template<
typename NamespaceT = Aws::String>
94 template<
typename ServicesT = Aws::Vector<ServiceConnectService>>
95 void SetServices(ServicesT&& value) { m_servicesHasBeenSet =
true; m_services = std::forward<ServicesT>(value); }
96 template<
typename ServicesT = Aws::Vector<ServiceConnectService>>
98 template<
typename ServicesT = ServiceConnectService>
106 template<
typename LogConfigurationT = LogConfiguration>
107 void SetLogConfiguration(LogConfigurationT&& value) { m_logConfigurationHasBeenSet =
true; m_logConfiguration = std::forward<LogConfigurationT>(value); }
108 template<
typename LogConfigurationT = LogConfiguration>
113 bool m_enabled{
false};
114 bool m_enabledHasBeenSet =
false;
117 bool m_namespaceHasBeenSet =
false;
120 bool m_servicesHasBeenSet =
false;
122 LogConfiguration m_logConfiguration;
123 bool m_logConfigurationHasBeenSet =
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 SetNamespace(NamespaceT &&value)
bool EnabledHasBeenSet() const
ServiceConnectConfiguration & WithEnabled(bool value)
bool NamespaceHasBeenSet() const
ServiceConnectConfiguration & AddServices(ServicesT &&value)
const Aws::Vector< ServiceConnectService > & GetServices() const
const Aws::String & GetNamespace() const
ServiceConnectConfiguration & WithNamespace(NamespaceT &&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)
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