AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateDataCatalogRequest.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/AthenaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/athena/model/DataCatalogType.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Athena
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_ATHENA_API UpdateDataCatalogRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateDataCatalog"; }
33
34 AWS_ATHENA_API Aws::String SerializePayload() const override;
35
37
38
40
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 UpdateDataCatalogRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
52 inline UpdateDataCatalogRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
53 inline UpdateDataCatalogRequest& WithName(const char* value) { SetName(value); return *this;}
55
57
62 inline const DataCatalogType& GetType() const{ return m_type; }
63 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
64 inline void SetType(const DataCatalogType& value) { m_typeHasBeenSet = true; m_type = value; }
65 inline void SetType(DataCatalogType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
66 inline UpdateDataCatalogRequest& WithType(const DataCatalogType& value) { SetType(value); return *this;}
67 inline UpdateDataCatalogRequest& WithType(DataCatalogType&& value) { SetType(std::move(value)); return *this;}
69
71
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline UpdateDataCatalogRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline UpdateDataCatalogRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline UpdateDataCatalogRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
103 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const{ return m_parameters; }
104 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
105 inline void SetParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_parametersHasBeenSet = true; m_parameters = value; }
106 inline void SetParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); }
109 inline UpdateDataCatalogRequest& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
110 inline UpdateDataCatalogRequest& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
111 inline UpdateDataCatalogRequest& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
112 inline UpdateDataCatalogRequest& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; }
113 inline UpdateDataCatalogRequest& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; }
114 inline UpdateDataCatalogRequest& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; }
115 inline UpdateDataCatalogRequest& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; }
117 private:
118
119 Aws::String m_name;
120 bool m_nameHasBeenSet = false;
121
122 DataCatalogType m_type;
123 bool m_typeHasBeenSet = false;
124
125 Aws::String m_description;
126 bool m_descriptionHasBeenSet = false;
127
129 bool m_parametersHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace Athena
134} // namespace Aws
void SetParameters(Aws::Map< Aws::String, Aws::String > &&value)
UpdateDataCatalogRequest & AddParameters(Aws::String &&key, const char *value)
AWS_ATHENA_API Aws::String SerializePayload() const override
UpdateDataCatalogRequest & AddParameters(const char *key, const char *value)
UpdateDataCatalogRequest & WithName(const Aws::String &value)
UpdateDataCatalogRequest & WithDescription(const char *value)
UpdateDataCatalogRequest & AddParameters(const Aws::String &key, const Aws::String &value)
UpdateDataCatalogRequest & WithType(DataCatalogType &&value)
UpdateDataCatalogRequest & WithParameters(const Aws::Map< Aws::String, Aws::String > &value)
UpdateDataCatalogRequest & AddParameters(const Aws::String &key, Aws::String &&value)
UpdateDataCatalogRequest & AddParameters(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetParameters() const
UpdateDataCatalogRequest & WithDescription(Aws::String &&value)
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateDataCatalogRequest & WithName(Aws::String &&value)
UpdateDataCatalogRequest & WithType(const DataCatalogType &value)
void SetParameters(const Aws::Map< Aws::String, Aws::String > &value)
UpdateDataCatalogRequest & WithName(const char *value)
UpdateDataCatalogRequest & WithParameters(Aws::Map< Aws::String, Aws::String > &&value)
UpdateDataCatalogRequest & AddParameters(Aws::String &&key, Aws::String &&value)
virtual const char * GetServiceRequestName() const override
UpdateDataCatalogRequest & AddParameters(Aws::String &&key, const Aws::String &value)
UpdateDataCatalogRequest & WithDescription(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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