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; }
76 inline void SetNamespace(
const char* value) { m_namespaceHasBeenSet =
true; m_namespace.assign(value); }
116 bool m_enabledHasBeenSet =
false;
119 bool m_namespaceHasBeenSet =
false;
122 bool m_servicesHasBeenSet =
false;
125 bool m_logConfigurationHasBeenSet =
false;
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
ServiceConnectConfiguration & WithNamespace(const Aws::String &value)
ServiceConnectConfiguration & WithServices(const Aws::Vector< ServiceConnectService > &value)
bool ServicesHasBeenSet() const
ServiceConnectConfiguration & AddServices(const ServiceConnectService &value)
void SetServices(const Aws::Vector< ServiceConnectService > &value)
bool EnabledHasBeenSet() const
ServiceConnectConfiguration & WithEnabled(bool value)
bool NamespaceHasBeenSet() const
void SetNamespace(const Aws::String &value)
ServiceConnectConfiguration & WithLogConfiguration(const LogConfiguration &value)
ServiceConnectConfiguration & WithNamespace(Aws::String &&value)
const Aws::Vector< ServiceConnectService > & GetServices() const
const Aws::String & GetNamespace() const
ServiceConnectConfiguration & AddServices(ServiceConnectService &&value)
AWS_ECS_API ServiceConnectConfiguration()
void SetServices(Aws::Vector< ServiceConnectService > &&value)
AWS_ECS_API ServiceConnectConfiguration(Aws::Utils::Json::JsonView jsonValue)
ServiceConnectConfiguration & WithNamespace(const char *value)
const LogConfiguration & GetLogConfiguration() const
void SetNamespace(Aws::String &&value)
bool LogConfigurationHasBeenSet() const
void SetEnabled(bool value)
AWS_ECS_API ServiceConnectConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetNamespace(const char *value)
ServiceConnectConfiguration & WithServices(Aws::Vector< ServiceConnectService > &&value)
void SetLogConfiguration(const LogConfiguration &value)
ServiceConnectConfiguration & WithLogConfiguration(LogConfiguration &&value)
void SetLogConfiguration(LogConfiguration &&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