7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/model/ConnectionType.h>
9#include <aws/athena/model/DataCatalogStatus.h>
10#include <aws/athena/model/DataCatalogType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
50 template <
typename NameT = Aws::String>
52 m_nameHasBeenSet =
true;
53 m_name = std::forward<NameT>(value);
55 template <
typename NameT = Aws::String>
57 SetName(std::forward<NameT>(value));
68 template <
typename DescriptionT = Aws::String>
70 m_descriptionHasBeenSet =
true;
71 m_description = std::forward<DescriptionT>(value);
73 template <
typename DescriptionT = Aws::String>
91 m_typeHasBeenSet =
true;
138 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
140 m_parametersHasBeenSet =
true;
141 m_parameters = std::forward<ParametersT>(value);
143 template <
typename ParametersT = Aws::Map<Aws::String, Aws::String>>
148 template <
typename ParametersKeyT = Aws::String,
typename ParametersValueT = Aws::String>
150 m_parametersHasBeenSet =
true;
151 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
181 m_statusHasBeenSet =
true;
201 m_connectionTypeHasBeenSet =
true;
202 m_connectionType = value;
216 template <
typename ErrorT = Aws::String>
218 m_errorHasBeenSet =
true;
219 m_error = std::forward<ErrorT>(value);
221 template <
typename ErrorT = Aws::String>
223 SetError(std::forward<ErrorT>(value));
241 bool m_nameHasBeenSet =
false;
242 bool m_descriptionHasBeenSet =
false;
243 bool m_typeHasBeenSet =
false;
244 bool m_parametersHasBeenSet =
false;
245 bool m_statusHasBeenSet =
false;
246 bool m_connectionTypeHasBeenSet =
false;
247 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