AWS SDK for C++  1.9.40
AWS SDK for C++
GetUserDefinedFunctionRequest.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 "GetUserDefinedFunction"; }
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 GetUserDefinedFunctionRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
72 
77  inline GetUserDefinedFunctionRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
78 
83  inline GetUserDefinedFunctionRequest& 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 GetUserDefinedFunctionRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
115 
119  inline GetUserDefinedFunctionRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
120 
124  inline GetUserDefinedFunctionRequest& 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 GetUserDefinedFunctionRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
156 
160  inline GetUserDefinedFunctionRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
161 
165  inline GetUserDefinedFunctionRequest& 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::GetUserDefinedFunctionRequest::WithFunctionName
GetUserDefinedFunctionRequest & WithFunctionName(const char *value)
Definition: GetUserDefinedFunctionRequest.h:165
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Glue::Model::GetUserDefinedFunctionRequest::SetDatabaseName
void SetDatabaseName(const char *value)
Definition: GetUserDefinedFunctionRequest.h:109
Aws::Glue::Model::GetUserDefinedFunctionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Glue_EXPORTS.h
Aws::Glue::Model::GetUserDefinedFunctionRequest::WithCatalogId
GetUserDefinedFunctionRequest & WithCatalogId(const Aws::String &value)
Definition: GetUserDefinedFunctionRequest.h:71
Aws::Glue::Model::GetUserDefinedFunctionRequest
Definition: GetUserDefinedFunctionRequest.h:22
Aws::Glue::Model::GetUserDefinedFunctionRequest::SetDatabaseName
void SetDatabaseName(Aws::String &&value)
Definition: GetUserDefinedFunctionRequest.h:104
Aws::Glue::Model::GetUserDefinedFunctionRequest::WithCatalogId
GetUserDefinedFunctionRequest & WithCatalogId(const char *value)
Definition: GetUserDefinedFunctionRequest.h:83
Aws::Glue::Model::GetUserDefinedFunctionRequest::DatabaseNameHasBeenSet
bool DatabaseNameHasBeenSet() const
Definition: GetUserDefinedFunctionRequest.h:94
Aws::Glue::Model::GetUserDefinedFunctionRequest::GetFunctionName
const Aws::String & GetFunctionName() const
Definition: GetUserDefinedFunctionRequest.h:130
Aws::Glue::Model::GetUserDefinedFunctionRequest::WithFunctionName
GetUserDefinedFunctionRequest & WithFunctionName(Aws::String &&value)
Definition: GetUserDefinedFunctionRequest.h:160
Aws::Glue::Model::GetUserDefinedFunctionRequest::GetUserDefinedFunctionRequest
GetUserDefinedFunctionRequest()
Aws::Glue::Model::GetUserDefinedFunctionRequest::GetDatabaseName
const Aws::String & GetDatabaseName() const
Definition: GetUserDefinedFunctionRequest.h:89
Aws::Glue::Model::GetUserDefinedFunctionRequest::GetCatalogId
const Aws::String & GetCatalogId() const
Definition: GetUserDefinedFunctionRequest.h:41
Aws::Glue::Model::GetUserDefinedFunctionRequest::WithFunctionName
GetUserDefinedFunctionRequest & WithFunctionName(const Aws::String &value)
Definition: GetUserDefinedFunctionRequest.h:155
AWS_GLUE_API
#define AWS_GLUE_API
Definition: Glue_EXPORTS.h:28
Aws::Glue::Model::GetUserDefinedFunctionRequest::SetFunctionName
void SetFunctionName(Aws::String &&value)
Definition: GetUserDefinedFunctionRequest.h:145
Aws::Glue::Model::GetUserDefinedFunctionRequest::WithDatabaseName
GetUserDefinedFunctionRequest & WithDatabaseName(const Aws::String &value)
Definition: GetUserDefinedFunctionRequest.h:114
Aws::Glue::Model::GetUserDefinedFunctionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Glue::Model::GetUserDefinedFunctionRequest::SetDatabaseName
void SetDatabaseName(const Aws::String &value)
Definition: GetUserDefinedFunctionRequest.h:99
AWSString.h
Aws::Glue::Model::GetUserDefinedFunctionRequest::WithDatabaseName
GetUserDefinedFunctionRequest & WithDatabaseName(const char *value)
Definition: GetUserDefinedFunctionRequest.h:124
Aws::Glue::Model::GetUserDefinedFunctionRequest::WithCatalogId
GetUserDefinedFunctionRequest & WithCatalogId(Aws::String &&value)
Definition: GetUserDefinedFunctionRequest.h:77
Aws::Glue::Model::GetUserDefinedFunctionRequest::CatalogIdHasBeenSet
bool CatalogIdHasBeenSet() const
Definition: GetUserDefinedFunctionRequest.h:47
Aws::Glue::GlueRequest
Definition: GlueRequest.h:17
Aws::Glue::Model::GetUserDefinedFunctionRequest::FunctionNameHasBeenSet
bool FunctionNameHasBeenSet() const
Definition: GetUserDefinedFunctionRequest.h:135
Aws::Glue::Model::GetUserDefinedFunctionRequest::SetCatalogId
void SetCatalogId(const char *value)
Definition: GetUserDefinedFunctionRequest.h:65
Aws::Glue::Model::GetUserDefinedFunctionRequest::SetCatalogId
void SetCatalogId(Aws::String &&value)
Definition: GetUserDefinedFunctionRequest.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::Glue::Model::GetUserDefinedFunctionRequest::SetFunctionName
void SetFunctionName(const Aws::String &value)
Definition: GetUserDefinedFunctionRequest.h:140
Aws::Glue::Model::GetUserDefinedFunctionRequest::SetFunctionName
void SetFunctionName(const char *value)
Definition: GetUserDefinedFunctionRequest.h:150
Aws::Glue::Model::GetUserDefinedFunctionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetUserDefinedFunctionRequest.h:30
Aws::Glue::Model::GetUserDefinedFunctionRequest::SetCatalogId
void SetCatalogId(const Aws::String &value)
Definition: GetUserDefinedFunctionRequest.h:53
Aws::Glue::Model::GetUserDefinedFunctionRequest::WithDatabaseName
GetUserDefinedFunctionRequest & WithDatabaseName(Aws::String &&value)
Definition: GetUserDefinedFunctionRequest.h:119
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
GlueRequest.h