AWS SDK for C++  1.9.109
AWS SDK for C++
DataCatalog.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace Athena
24 {
25 namespace Model
26 {
27 
35  {
36  public:
41 
42 
48  inline const Aws::String& GetName() const{ return m_name; }
49 
55  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
56 
62  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 
69  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
70 
76  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
77 
83  inline DataCatalog& WithName(const Aws::String& value) { SetName(value); return *this;}
84 
90  inline DataCatalog& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
91 
97  inline DataCatalog& WithName(const char* value) { SetName(value); return *this;}
98 
99 
103  inline const Aws::String& GetDescription() const{ return m_description; }
104 
108  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
109 
113  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
114 
118  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
119 
123  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
124 
128  inline DataCatalog& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
129 
133  inline DataCatalog& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
134 
138  inline DataCatalog& WithDescription(const char* value) { SetDescription(value); return *this;}
139 
140 
146  inline const DataCatalogType& GetType() const{ return m_type; }
147 
153  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
154 
160  inline void SetType(const DataCatalogType& value) { m_typeHasBeenSet = true; m_type = value; }
161 
167  inline void SetType(DataCatalogType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
168 
174  inline DataCatalog& WithType(const DataCatalogType& value) { SetType(value); return *this;}
175 
181  inline DataCatalog& WithType(DataCatalogType&& value) { SetType(std::move(value)); return *this;}
182 
183 
210  inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
211 
238  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
239 
266  inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
267 
294  inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
295 
322  inline DataCatalog& WithParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetParameters(value); return *this;}
323 
350  inline DataCatalog& WithParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetParameters(std::move(value)); return *this;}
351 
378  inline DataCatalog& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
379 
406  inline DataCatalog& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
407 
434  inline DataCatalog& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
435 
462  inline DataCatalog& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
463 
490  inline DataCatalog& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
491 
518  inline DataCatalog& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
519 
546  inline DataCatalog& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
547 
548  private:
549 
550  Aws::String m_name;
551  bool m_nameHasBeenSet;
552 
553  Aws::String m_description;
554  bool m_descriptionHasBeenSet;
555 
556  DataCatalogType m_type;
557  bool m_typeHasBeenSet;
558 
560  bool m_parametersHasBeenSet;
561  };
562 
563 } // namespace Model
564 } // namespace Athena
565 } // namespace Aws
Aws::Athena::Model::DataCatalog::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Athena::Model::DataCatalog::AddParameters
DataCatalog & AddParameters(const char *key, Aws::String &&value)
Definition: DataCatalog.h:490
Aws::Athena::Model::DataCatalog::NameHasBeenSet
bool NameHasBeenSet() const
Definition: DataCatalog.h:55
Aws::Athena::Model::DataCatalog::WithDescription
DataCatalog & WithDescription(Aws::String &&value)
Definition: DataCatalog.h:133
Aws::Athena::Model::DataCatalog::AddParameters
DataCatalog & AddParameters(Aws::String &&key, const Aws::String &value)
Definition: DataCatalog.h:406
Aws::Athena::Model::DataCatalog::AddParameters
DataCatalog & AddParameters(Aws::String &&key, const char *value)
Definition: DataCatalog.h:518
Aws::Athena::Model::DataCatalog::DataCatalog
DataCatalog(Aws::Utils::Json::JsonView jsonValue)
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::DataCatalog::SetDescription
void SetDescription(const char *value)
Definition: DataCatalog.h:123
Aws::Athena::Model::DataCatalog::GetParameters
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
Definition: DataCatalog.h:210
Aws::Athena::Model::DataCatalog::WithName
DataCatalog & WithName(Aws::String &&value)
Definition: DataCatalog.h:90
Aws::Athena::Model::DataCatalog::SetName
void SetName(Aws::String &&value)
Definition: DataCatalog.h:69
DataCatalogType.h
Aws::Athena::Model::DataCatalog::SetName
void SetName(const Aws::String &value)
Definition: DataCatalog.h:62
Aws::Athena::Model::DataCatalog::WithType
DataCatalog & WithType(DataCatalogType &&value)
Definition: DataCatalog.h:181
Aws::Athena::Model::DataCatalog::WithParameters
DataCatalog & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DataCatalog.h:322
Aws::Athena::Model::DataCatalog::SetType
void SetType(const DataCatalogType &value)
Definition: DataCatalog.h:160
Aws::Athena::Model::DataCatalog::WithDescription
DataCatalog & WithDescription(const char *value)
Definition: DataCatalog.h:138
Aws::Athena::Model::DataCatalog::SetParameters
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: DataCatalog.h:266
Aws::Athena::Model::DataCatalog::WithType
DataCatalog & WithType(const DataCatalogType &value)
Definition: DataCatalog.h:174
Aws::Athena::Model::DataCatalog::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: DataCatalog.h:153
Aws::Athena::Model::DataCatalog::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: DataCatalog.h:108
Aws::Athena::Model::DataCatalog::DataCatalog
DataCatalog()
Aws::Athena::Model::DataCatalog::SetType
void SetType(DataCatalogType &&value)
Definition: DataCatalog.h:167
Aws::Athena::Model::DataCatalog::AddParameters
DataCatalog & AddParameters(Aws::String &&key, Aws::String &&value)
Definition: DataCatalog.h:462
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Athena_EXPORTS.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Athena::Model::DataCatalog::WithName
DataCatalog & WithName(const Aws::String &value)
Definition: DataCatalog.h:83
Aws::Athena::Model::DataCatalog::WithName
DataCatalog & WithName(const char *value)
Definition: DataCatalog.h:97
Aws::Athena::Model::DataCatalog::SetDescription
void SetDescription(Aws::String &&value)
Definition: DataCatalog.h:118
Aws::Athena::Model::DataCatalog::operator=
DataCatalog & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::DataCatalog::SetParameters
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DataCatalog.h:294
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::DataCatalog::GetName
const Aws::String & GetName() const
Definition: DataCatalog.h:48
Aws::Athena::Model::DataCatalog::WithParameters
DataCatalog & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: DataCatalog.h:350
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::DataCatalog::GetType
const DataCatalogType & GetType() const
Definition: DataCatalog.h:146
Aws::Athena::Model::DataCatalog::AddParameters
DataCatalog & AddParameters(const Aws::String &key, const Aws::String &value)
Definition: DataCatalog.h:378
Aws::Athena::Model::DataCatalog
Definition: DataCatalog.h:35
Aws::Athena::Model::DataCatalog::ParametersHasBeenSet
bool ParametersHasBeenSet() const
Definition: DataCatalog.h:238
Aws::Athena::Model::DataCatalog::AddParameters
DataCatalog & AddParameters(const char *key, const char *value)
Definition: DataCatalog.h:546
Aws::Athena::Model::DataCatalogType
DataCatalogType
Definition: DataCatalogType.h:17
AWSMap.h
Aws::Athena::Model::DataCatalog::SetName
void SetName(const char *value)
Definition: DataCatalog.h:76
Aws::Athena::Model::DataCatalog::WithDescription
DataCatalog & WithDescription(const Aws::String &value)
Definition: DataCatalog.h:128
Aws::Athena::Model::DataCatalog::AddParameters
DataCatalog & AddParameters(const Aws::String &key, Aws::String &&value)
Definition: DataCatalog.h:434
Aws::Athena::Model::DataCatalog::GetDescription
const Aws::String & GetDescription() const
Definition: DataCatalog.h:103
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19
Aws::Athena::Model::DataCatalog::SetDescription
void SetDescription(const Aws::String &value)
Definition: DataCatalog.h:113