AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Database.h
1
6#pragma once
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>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Athena
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ATHENA_API Database();
37 AWS_ATHENA_API Database(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ATHENA_API Database& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetName() const{ return m_name; }
47 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
48 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
49 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
50 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
51 inline Database& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline Database& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline Database& WithName(const char* value) { SetName(value); return *this;}
55
57
60 inline const Aws::String& GetDescription() const{ return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
63 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
64 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
65 inline Database& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
66 inline Database& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
67 inline Database& WithDescription(const char* value) { SetDescription(value); return *this;}
69
71
74 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
75 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
76 inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
77 inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
78 inline Database& WithParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetParameters(value); return *this;}
79 inline Database& WithParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetParameters(std::move(value)); return *this;}
80 inline Database& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
81 inline Database& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
82 inline Database& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
83 inline Database& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
84 inline Database& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
85 inline Database& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
86 inline Database& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
88 private:
89
90 Aws::String m_name;
91 bool m_nameHasBeenSet = false;
92
93 Aws::String m_description;
94 bool m_descriptionHasBeenSet = false;
95
97 bool m_parametersHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Athena
102} // namespace Aws
void SetName(const Aws::String &value)
Definition Database.h:48
Database & WithName(Aws::String &&value)
Definition Database.h:52
Database & AddParameters(Aws::String &&key, const char *value)
Definition Database.h:85
Database & WithName(const Aws::String &value)
Definition Database.h:51
void SetDescription(Aws::String &&value)
Definition Database.h:63
Database & WithDescription(Aws::String &&value)
Definition Database.h:66
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
Definition Database.h:74
void SetName(Aws::String &&value)
Definition Database.h:49
Database & WithName(const char *value)
Definition Database.h:53
AWS_ATHENA_API Database & operator=(Aws::Utils::Json::JsonView jsonValue)
Database & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition Database.h:79
void SetDescription(const Aws::String &value)
Definition Database.h:62
bool ParametersHasBeenSet() const
Definition Database.h:75
AWS_ATHENA_API Database(Aws::Utils::Json::JsonView jsonValue)
Database & WithDescription(const char *value)
Definition Database.h:67
bool NameHasBeenSet() const
Definition Database.h:47
Database & AddParameters(const Aws::String &key, const Aws::String &value)
Definition Database.h:80
Database & AddParameters(Aws::String &&key, const Aws::String &value)
Definition Database.h:81
Database & WithDescription(const Aws::String &value)
Definition Database.h:65
Database & AddParameters(const Aws::String &key, Aws::String &&value)
Definition Database.h:82
Database & AddParameters(const char *key, Aws::String &&value)
Definition Database.h:84
const Aws::String & GetDescription() const
Definition Database.h:60
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition Database.h:76
Database & AddParameters(Aws::String &&key, Aws::String &&value)
Definition Database.h:83
bool DescriptionHasBeenSet() const
Definition Database.h:61
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition Database.h:77
void SetDescription(const char *value)
Definition Database.h:64
void SetName(const char *value)
Definition Database.h:50
Database & AddParameters(const char *key, const char *value)
Definition Database.h:86
const Aws::String & GetName() const
Definition Database.h:46
Database & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition Database.h:78
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