7#include <aws/batch/Batch_EXPORTS.h>
8#include <aws/batch/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/batch/model/Secret.h>
117 template<
typename OptionsT = Aws::Map<Aws::String, Aws::String>>
118 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet =
true; m_options = std::forward<OptionsT>(value); }
119 template<
typename OptionsT = Aws::Map<Aws::String, Aws::String>>
121 template<
typename OptionsKeyT = Aws::String,
typename OptionsValueT = Aws::String>
123 m_optionsHasBeenSet =
true; m_options.emplace(std::forward<OptionsKeyT>(key), std::forward<OptionsValueT>(value));
return *
this;
135 template<
typename SecretOptionsT = Aws::Vector<Secret>>
136 void SetSecretOptions(SecretOptionsT&& value) { m_secretOptionsHasBeenSet =
true; m_secretOptions = std::forward<SecretOptionsT>(value); }
137 template<
typename SecretOptionsT = Aws::Vector<Secret>>
139 template<
typename SecretOptionsT = Secret>
140 LogConfiguration&
AddSecretOptions(SecretOptionsT&& value) { m_secretOptionsHasBeenSet =
true; m_secretOptions.emplace_back(std::forward<SecretOptionsT>(value));
return *
this; }
145 bool m_logDriverHasBeenSet =
false;
148 bool m_optionsHasBeenSet =
false;
151 bool m_secretOptionsHasBeenSet =
false;
LogConfiguration & AddOptions(OptionsKeyT &&key, OptionsValueT &&value)
bool OptionsHasBeenSet() const
void SetOptions(OptionsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetOptions() const
bool LogDriverHasBeenSet() const
void SetSecretOptions(SecretOptionsT &&value)
AWS_BATCH_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_BATCH_API LogConfiguration()=default
const Aws::Vector< Secret > & GetSecretOptions() const
LogConfiguration & WithSecretOptions(SecretOptionsT &&value)
LogConfiguration & AddSecretOptions(SecretOptionsT &&value)
LogConfiguration & WithLogDriver(LogDriver value)
AWS_BATCH_API LogConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
bool SecretOptionsHasBeenSet() const
void SetLogDriver(LogDriver value)
LogDriver GetLogDriver() const
AWS_BATCH_API LogConfiguration(Aws::Utils::Json::JsonView jsonValue)
LogConfiguration & WithOptions(OptionsT &&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