AWS SDK for C++  1.9.104
AWS SDK for C++
Database.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Athena
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetName() const{ return m_name; }
46 
50  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
51 
55  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
56 
60  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 
65  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
66 
70  inline Database& WithName(const Aws::String& value) { SetName(value); return *this;}
71 
75  inline Database& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
76 
80  inline Database& WithName(const char* value) { SetName(value); return *this;}
81 
82 
86  inline const Aws::String& GetDescription() const{ return m_description; }
87 
91  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
92 
96  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
97 
101  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
102 
106  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
107 
111  inline Database& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
112 
116  inline Database& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
117 
121  inline Database& WithDescription(const char* value) { SetDescription(value); return *this;}
122 
123 
127  inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
128 
132  inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
133 
137  inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
138 
142  inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
143 
147  inline Database& WithParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetParameters(value); return *this;}
148 
152  inline Database& WithParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetParameters(std::move(value)); return *this;}
153 
157  inline Database& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
158 
162  inline Database& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
163 
167  inline Database& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
168 
172  inline Database& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
173 
177  inline Database& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
178 
182  inline Database& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
183 
187  inline Database& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
188 
189  private:
190 
191  Aws::String m_name;
192  bool m_nameHasBeenSet;
193 
194  Aws::String m_description;
195  bool m_descriptionHasBeenSet;
196 
198  bool m_parametersHasBeenSet;
199  };
200 
201 } // namespace Model
202 } // namespace Athena
203 } // namespace Aws
Aws::Athena::Model::Database::AddParameters
Database & AddParameters(const Aws::String &key, const Aws::String &value)
Definition: Database.h:157
Aws::Athena::Model::Database::Database
Database()
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::Database::GetParameters
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
Definition: Database.h:127
Aws::Athena::Model::Database::WithParameters
Database & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: Database.h:152
Aws::Athena::Model::Database::WithName
Database & WithName(const Aws::String &value)
Definition: Database.h:70
Aws::Athena::Model::Database::AddParameters
Database & AddParameters(Aws::String &&key, const char *value)
Definition: Database.h:182
Aws::Athena::Model::Database::SetDescription
void SetDescription(Aws::String &&value)
Definition: Database.h:101
Aws::Athena::Model::Database::SetDescription
void SetDescription(const Aws::String &value)
Definition: Database.h:96
Aws::Athena::Model::Database::SetParameters
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: Database.h:142
Aws::Athena::Model::Database::WithDescription
Database & WithDescription(const char *value)
Definition: Database.h:121
Aws::Athena::Model::Database::GetName
const Aws::String & GetName() const
Definition: Database.h:45
Aws::Athena::Model::Database::AddParameters
Database & AddParameters(const Aws::String &key, Aws::String &&value)
Definition: Database.h:167
Aws::Athena::Model::Database::WithDescription
Database & WithDescription(const Aws::String &value)
Definition: Database.h:111
Aws::Athena::Model::Database::AddParameters
Database & AddParameters(const char *key, const char *value)
Definition: Database.h:187
Aws::Athena::Model::Database::WithDescription
Database & WithDescription(Aws::String &&value)
Definition: Database.h:116
Aws::Athena::Model::Database::AddParameters
Database & AddParameters(Aws::String &&key, Aws::String &&value)
Definition: Database.h:172
Aws::Athena::Model::Database::SetParameters
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: Database.h:137
Aws::Athena::Model::Database::SetDescription
void SetDescription(const char *value)
Definition: Database.h:106
Aws::Athena::Model::Database::SetName
void SetName(Aws::String &&value)
Definition: Database.h:60
Aws::Athena::Model::Database::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Athena::Model::Database::Database
Database(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Athena_EXPORTS.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Athena::Model::Database::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: Database.h:91
Aws::Athena::Model::Database::GetDescription
const Aws::String & GetDescription() const
Definition: Database.h:86
Aws::Athena::Model::Database::ParametersHasBeenSet
bool ParametersHasBeenSet() const
Definition: Database.h:132
Aws::Athena::Model::Database::WithName
Database & WithName(Aws::String &&value)
Definition: Database.h:75
Aws::Athena::Model::Database::WithName
Database & WithName(const char *value)
Definition: Database.h:80
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::Database::NameHasBeenSet
bool NameHasBeenSet() const
Definition: Database.h:50
Aws::Athena::Model::Database::operator=
Database & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Athena::Model::Database::AddParameters
Database & AddParameters(Aws::String &&key, const Aws::String &value)
Definition: Database.h:162
Aws::Athena::Model::Database::AddParameters
Database & AddParameters(const char *key, Aws::String &&value)
Definition: Database.h:177
Aws::Athena::Model::Database
Definition: Database.h:34
Aws::Athena::Model::Database::SetName
void SetName(const char *value)
Definition: Database.h:65
Aws::Athena::Model::Database::SetName
void SetName(const Aws::String &value)
Definition: Database.h:55
AWSMap.h
Aws::Athena::Model::Database::WithParameters
Database & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: Database.h:147
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19