7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
47 template<
typename LogDriverT = Aws::String>
48 void SetLogDriver(LogDriverT&& value) { m_logDriverHasBeenSet =
true; m_logDriver = std::forward<LogDriverT>(value); }
49 template<
typename LogDriverT = Aws::String>
59 template<
typename OptionsT = Aws::Map<Aws::String, Aws::String>>
60 void SetOptions(OptionsT&& value) { m_optionsHasBeenSet =
true; m_options = std::forward<OptionsT>(value); }
61 template<
typename OptionsT = Aws::Map<Aws::String, Aws::String>>
63 template<
typename OptionsKeyT = Aws::String,
typename OptionsValueT = Aws::String>
65 m_optionsHasBeenSet =
true; m_options.emplace(std::forward<OptionsKeyT>(key), std::forward<OptionsValueT>(value));
return *
this;
75 template<
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
76 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
77 template<
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
79 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::String>
81 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
91 template<
typename ErrorT = Aws::String>
92 void SetError(ErrorT&& value) { m_errorHasBeenSet =
true; m_error = std::forward<ErrorT>(value); }
93 template<
typename ErrorT = Aws::String>
99 bool m_logDriverHasBeenSet =
false;
102 bool m_optionsHasBeenSet =
false;
105 bool m_parametersHasBeenSet =
false;
108 bool m_errorHasBeenSet =
false;
bool ParametersHasBeenSet() const
LogConfiguration & WithParameters(ParametersT &&value)
AWS_DEADLINE_API LogConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetOptions(OptionsT &&value)
AWS_DEADLINE_API LogConfiguration()=default
const Aws::String & GetError() const
bool LogDriverHasBeenSet() const
LogConfiguration & AddOptions(OptionsKeyT &&key, OptionsValueT &&value)
void SetParameters(ParametersT &&value)
LogConfiguration & WithLogDriver(LogDriverT &&value)
LogConfiguration & WithOptions(OptionsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetOptions() const
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
const Aws::String & GetLogDriver() const
LogConfiguration & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
bool ErrorHasBeenSet() const
void SetError(ErrorT &&value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
LogConfiguration & WithError(ErrorT &&value)
bool OptionsHasBeenSet() const
AWS_DEADLINE_API LogConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLogDriver(LogDriverT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue