7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
48 template<
typename NameT = Aws::String>
49 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
50 template<
typename NameT = Aws::String>
60 template<
typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
62 template<
typename DescriptionT = Aws::String>
72 template<
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
73 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
74 template<
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
76 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::String>
78 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
84 bool m_nameHasBeenSet =
false;
87 bool m_descriptionHasBeenSet =
false;
90 bool m_parametersHasBeenSet =
false;
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
AWS_ATHENA_API Database & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ParametersHasBeenSet() const
AWS_ATHENA_API Database(Aws::Utils::Json::JsonView jsonValue)
void SetName(NameT &&value)
bool NameHasBeenSet() const
Database & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetDescription() const
Database & WithName(NameT &&value)
Database & WithParameters(ParametersT &&value)
void SetParameters(ParametersT &&value)
AWS_ATHENA_API Database()=default
bool DescriptionHasBeenSet() const
Database & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
const Aws::String & GetName() const
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