7#include <aws/ecs/ECS_EXPORTS.h>
8#include <aws/ecs/model/LogDriver.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/ecs/model/Secret.h>
230 template<
typename OptionsT = Aws::Map<Aws::String, Aws::String>>
231 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet =
true; m_options = std::forward<OptionsT>(value); }
232 template<
typename OptionsT = Aws::Map<Aws::String, Aws::String>>
234 template<
typename OptionsKeyT = Aws::String,
typename OptionsValueT = Aws::String>
236 m_optionsHasBeenSet =
true; m_options.emplace(std::forward<OptionsKeyT>(key), std::forward<OptionsValueT>(value));
return *
this;
249 template<
typename SecretOptionsT = Aws::Vector<Secret>>
250 void SetSecretOptions(SecretOptionsT&& value) { m_secretOptionsHasBeenSet =
true; m_secretOptions = std::forward<SecretOptionsT>(value); }
251 template<
typename SecretOptionsT = Aws::Vector<Secret>>
253 template<
typename SecretOptionsT = Secret>
254 LogConfiguration&
AddSecretOptions(SecretOptionsT&& value) { m_secretOptionsHasBeenSet =
true; m_secretOptions.emplace_back(std::forward<SecretOptionsT>(value));
return *
this; }
259 bool m_logDriverHasBeenSet =
false;
262 bool m_optionsHasBeenSet =
false;
265 bool m_secretOptionsHasBeenSet =
false;
bool OptionsHasBeenSet() const
LogConfiguration & AddOptions(OptionsKeyT &&key, OptionsValueT &&value)
AWS_ECS_API LogConfiguration()=default
AWS_ECS_API LogConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLogDriver(LogDriver value)
AWS_ECS_API LogConfiguration(Aws::Utils::Json::JsonView jsonValue)
LogConfiguration & WithSecretOptions(SecretOptionsT &&value)
const Aws::Vector< Secret > & GetSecretOptions() const
LogConfiguration & AddSecretOptions(SecretOptionsT &&value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetOptions(OptionsT &&value)
LogConfiguration & WithLogDriver(LogDriver value)
bool LogDriverHasBeenSet() const
LogConfiguration & WithOptions(OptionsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetOptions() const
bool SecretOptionsHasBeenSet() const
LogDriver GetLogDriver() const
void SetSecretOptions(SecretOptionsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue