7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/athena/model/DataCatalogType.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/athena/model/DataCatalogStatus.h>
12#include <aws/athena/model/ConnectionType.h>
56 template<
typename NameT = Aws::String>
57 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
58 template<
typename NameT = Aws::String>
68 template<
typename DescriptionT = Aws::String>
69 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
70 template<
typename DescriptionT = Aws::String>
126 template<
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
127 void SetParameters(ParametersT&& value) { m_parametersHasBeenSet =
true; m_parameters = std::forward<ParametersT>(value); }
128 template<
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
130 template<
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::String>
132 m_parametersHasBeenSet =
true; m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
return *
this;
184 template<
typename ErrorT = Aws::String>
185 void SetError(ErrorT&& value) { m_errorHasBeenSet =
true; m_error = std::forward<ErrorT>(value); }
186 template<
typename ErrorT = Aws::String>
192 bool m_nameHasBeenSet =
false;
195 bool m_descriptionHasBeenSet =
false;
198 bool m_typeHasBeenSet =
false;
201 bool m_parametersHasBeenSet =
false;
204 bool m_statusHasBeenSet =
false;
207 bool m_connectionTypeHasBeenSet =
false;
210 bool m_errorHasBeenSet =
false;
DataCatalogStatus GetStatus() const
DataCatalog & WithParameters(ParametersT &&value)
bool ErrorHasBeenSet() const
bool NameHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool TypeHasBeenSet() const
DataCatalog & WithName(NameT &&value)
void SetError(ErrorT &&value)
DataCatalog & WithType(DataCatalogType value)
void SetParameters(ParametersT &&value)
bool DescriptionHasBeenSet() const
const Aws::String & GetDescription() const
DataCatalog & WithError(ErrorT &&value)
void SetType(DataCatalogType value)
void SetStatus(DataCatalogStatus value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetError() const
AWS_ATHENA_API DataCatalog(Aws::Utils::Json::JsonView jsonValue)
DataCatalog & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
const Aws::String & GetName() const
bool ParametersHasBeenSet() const
DataCatalog & WithDescription(DescriptionT &&value)
DataCatalogType GetType() const
AWS_ATHENA_API DataCatalog & operator=(Aws::Utils::Json::JsonView jsonValue)
bool StatusHasBeenSet() const
DataCatalog & WithStatus(DataCatalogStatus value)
void SetName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
AWS_ATHENA_API DataCatalog()=default
ConnectionType GetConnectionType() const
DataCatalog & WithConnectionType(ConnectionType value)
bool ConnectionTypeHasBeenSet() const
void SetConnectionType(ConnectionType 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