AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataCatalog.h
1
6#pragma once
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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Athena
24{
25namespace Model
26{
27
37 {
38 public:
39 AWS_ATHENA_API DataCatalog();
40 AWS_ATHENA_API DataCatalog(Aws::Utils::Json::JsonView jsonValue);
42 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
52 inline const Aws::String& GetName() const{ return m_name; }
53 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
54 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
55 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
56 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
57 inline DataCatalog& WithName(const Aws::String& value) { SetName(value); return *this;}
58 inline DataCatalog& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
59 inline DataCatalog& WithName(const char* value) { SetName(value); return *this;}
61
63
66 inline const Aws::String& GetDescription() const{ return m_description; }
67 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
68 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
69 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
70 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
71 inline DataCatalog& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
72 inline DataCatalog& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
73 inline DataCatalog& WithDescription(const char* value) { SetDescription(value); return *this;}
75
77
82 inline const DataCatalogType& GetType() const{ return m_type; }
83 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
84 inline void SetType(const DataCatalogType& value) { m_typeHasBeenSet = true; m_type = value; }
85 inline void SetType(DataCatalogType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
86 inline DataCatalog& WithType(const DataCatalogType& value) { SetType(value); return *this;}
87 inline DataCatalog& WithType(DataCatalogType&& value) { SetType(std::move(value)); return *this;}
89
91
115 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
116 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
117 inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
118 inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
119 inline DataCatalog& WithParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetParameters(value); return *this;}
120 inline DataCatalog& WithParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetParameters(std::move(value)); return *this;}
121 inline DataCatalog& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
122 inline DataCatalog& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
123 inline DataCatalog& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
124 inline DataCatalog& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
125 inline DataCatalog& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
126 inline DataCatalog& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
127 inline DataCatalog& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
129 private:
130
131 Aws::String m_name;
132 bool m_nameHasBeenSet = false;
133
134 Aws::String m_description;
135 bool m_descriptionHasBeenSet = false;
136
137 DataCatalogType m_type;
138 bool m_typeHasBeenSet = false;
139
141 bool m_parametersHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace Athena
146} // namespace Aws
DataCatalog & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
DataCatalog & WithDescription(const Aws::String &value)
Definition DataCatalog.h:71
DataCatalog & WithName(const Aws::String &value)
Definition DataCatalog.h:57
DataCatalog & AddParameters(const char *key, const char *value)
void SetName(Aws::String &&value)
Definition DataCatalog.h:55
void SetDescription(Aws::String &&value)
Definition DataCatalog.h:69
DataCatalog & WithName(Aws::String &&value)
Definition DataCatalog.h:58
DataCatalog & AddParameters(Aws::String &&key, const Aws::String &value)
DataCatalog & WithDescription(const char *value)
Definition DataCatalog.h:73
DataCatalog & WithType(DataCatalogType &&value)
Definition DataCatalog.h:87
DataCatalog & AddParameters(const Aws::String &key, const Aws::String &value)
void SetType(DataCatalogType &&value)
Definition DataCatalog.h:85
DataCatalog & WithDescription(Aws::String &&value)
Definition DataCatalog.h:72
const Aws::String & GetDescription() const
Definition DataCatalog.h:66
DataCatalog & WithName(const char *value)
Definition DataCatalog.h:59
void SetName(const char *value)
Definition DataCatalog.h:56
void SetDescription(const char *value)
Definition DataCatalog.h:70
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetName(const Aws::String &value)
Definition DataCatalog.h:54
DataCatalog & AddParameters(const Aws::String &key, Aws::String &&value)
DataCatalog & AddParameters(Aws::String &&key, const char *value)
AWS_ATHENA_API DataCatalog(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
Definition DataCatalog.h:52
DataCatalog & WithType(const DataCatalogType &value)
Definition DataCatalog.h:86
const DataCatalogType & GetType() const
Definition DataCatalog.h:82
void SetType(const DataCatalogType &value)
Definition DataCatalog.h:84
AWS_ATHENA_API DataCatalog & operator=(Aws::Utils::Json::JsonView jsonValue)
DataCatalog & AddParameters(Aws::String &&key, Aws::String &&value)
DataCatalog & AddParameters(const char *key, Aws::String &&value)
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
void SetDescription(const Aws::String &value)
Definition DataCatalog.h:68
DataCatalog & WithParameters(const Aws::Map< Aws::String, Aws::String > &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