AWS SDK for C++  1.9.40
AWS SDK for C++
DeleteUserDefinedFunctionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/glue/GlueRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Glue
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DeleteUserDefinedFunction"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
41  inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
42 
47  inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
48 
53  inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
54 
59  inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
60 
65  inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
66 
71  inline DeleteUserDefinedFunctionRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
72 
77  inline DeleteUserDefinedFunctionRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
78 
83  inline DeleteUserDefinedFunctionRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
84 
85 
89  inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
90 
94  inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
95 
99  inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
100 
104  inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
105 
109  inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
110 
114  inline DeleteUserDefinedFunctionRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
115 
119  inline DeleteUserDefinedFunctionRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
120 
124  inline DeleteUserDefinedFunctionRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
125 
126 
130  inline const Aws::String& GetFunctionName() const{ return m_functionName; }
131 
135  inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
136 
140  inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
141 
145  inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
146 
150  inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
151 
155  inline DeleteUserDefinedFunctionRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
156 
160  inline DeleteUserDefinedFunctionRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
161 
165  inline DeleteUserDefinedFunctionRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
166 
167  private:
168 
169  Aws::String m_catalogId;
170  bool m_catalogIdHasBeenSet;
171 
172  Aws::String m_databaseName;
173  bool m_databaseNameHasBeenSet;
174 
175  Aws::String m_functionName;
176  bool m_functionNameHasBeenSet;
177  };
178 
179 } // namespace Model
180 } // namespace Glue
181 } // namespace Aws
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::WithCatalogId
DeleteUserDefinedFunctionRequest & WithCatalogId(const Aws::String &value)
Definition: DeleteUserDefinedFunctionRequest.h:71
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::SetCatalogId
void SetCatalogId(Aws::String &&value)
Definition: DeleteUserDefinedFunctionRequest.h:59
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::SetDatabaseName
void SetDatabaseName(const char *value)
Definition: DeleteUserDefinedFunctionRequest.h:109
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::WithFunctionName
DeleteUserDefinedFunctionRequest & WithFunctionName(Aws::String &&value)
Definition: DeleteUserDefinedFunctionRequest.h:160
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::GetFunctionName
const Aws::String & GetFunctionName() const
Definition: DeleteUserDefinedFunctionRequest.h:130
Glue_EXPORTS.h
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::SetCatalogId
void SetCatalogId(const Aws::String &value)
Definition: DeleteUserDefinedFunctionRequest.h:53
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::CatalogIdHasBeenSet
bool CatalogIdHasBeenSet() const
Definition: DeleteUserDefinedFunctionRequest.h:47
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::DeleteUserDefinedFunctionRequest
DeleteUserDefinedFunctionRequest()
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::WithFunctionName
DeleteUserDefinedFunctionRequest & WithFunctionName(const char *value)
Definition: DeleteUserDefinedFunctionRequest.h:165
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::WithFunctionName
DeleteUserDefinedFunctionRequest & WithFunctionName(const Aws::String &value)
Definition: DeleteUserDefinedFunctionRequest.h:155
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::WithCatalogId
DeleteUserDefinedFunctionRequest & WithCatalogId(const char *value)
Definition: DeleteUserDefinedFunctionRequest.h:83
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteUserDefinedFunctionRequest.h:30
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::SetFunctionName
void SetFunctionName(const Aws::String &value)
Definition: DeleteUserDefinedFunctionRequest.h:140
AWS_GLUE_API
#define AWS_GLUE_API
Definition: Glue_EXPORTS.h:28
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Glue::Model::DeleteUserDefinedFunctionRequest
Definition: DeleteUserDefinedFunctionRequest.h:22
AWSString.h
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::SetDatabaseName
void SetDatabaseName(Aws::String &&value)
Definition: DeleteUserDefinedFunctionRequest.h:104
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::WithDatabaseName
DeleteUserDefinedFunctionRequest & WithDatabaseName(const char *value)
Definition: DeleteUserDefinedFunctionRequest.h:124
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::SetFunctionName
void SetFunctionName(const char *value)
Definition: DeleteUserDefinedFunctionRequest.h:150
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::WithDatabaseName
DeleteUserDefinedFunctionRequest & WithDatabaseName(const Aws::String &value)
Definition: DeleteUserDefinedFunctionRequest.h:114
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::FunctionNameHasBeenSet
bool FunctionNameHasBeenSet() const
Definition: DeleteUserDefinedFunctionRequest.h:135
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::WithDatabaseName
DeleteUserDefinedFunctionRequest & WithDatabaseName(Aws::String &&value)
Definition: DeleteUserDefinedFunctionRequest.h:119
Aws::Glue::GlueRequest
Definition: GlueRequest.h:17
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::GetDatabaseName
const Aws::String & GetDatabaseName() const
Definition: DeleteUserDefinedFunctionRequest.h:89
Aws
Definition: AccessManagementClient.h:15
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::SetCatalogId
void SetCatalogId(const char *value)
Definition: DeleteUserDefinedFunctionRequest.h:65
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::SetFunctionName
void SetFunctionName(Aws::String &&value)
Definition: DeleteUserDefinedFunctionRequest.h:145
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::SetDatabaseName
void SetDatabaseName(const Aws::String &value)
Definition: DeleteUserDefinedFunctionRequest.h:99
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::WithCatalogId
DeleteUserDefinedFunctionRequest & WithCatalogId(Aws::String &&value)
Definition: DeleteUserDefinedFunctionRequest.h:77
GlueRequest.h
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::GetCatalogId
const Aws::String & GetCatalogId() const
Definition: DeleteUserDefinedFunctionRequest.h:41
Aws::Glue::Model::DeleteUserDefinedFunctionRequest::DatabaseNameHasBeenSet
bool DatabaseNameHasBeenSet() const
Definition: DeleteUserDefinedFunctionRequest.h:94