AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateUserDefinedFunctionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/UserDefinedFunctionInput.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API CreateUserDefinedFunctionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CreateUserDefinedFunction"; }
29
30 AWS_GLUE_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
40 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
41 template <typename CatalogIdT = Aws::String>
42 void SetCatalogId(CatalogIdT&& value) {
43 m_catalogIdHasBeenSet = true;
44 m_catalogId = std::forward<CatalogIdT>(value);
45 }
46 template <typename CatalogIdT = Aws::String>
48 SetCatalogId(std::forward<CatalogIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
58 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
59 template <typename DatabaseNameT = Aws::String>
60 void SetDatabaseName(DatabaseNameT&& value) {
61 m_databaseNameHasBeenSet = true;
62 m_databaseName = std::forward<DatabaseNameT>(value);
63 }
64 template <typename DatabaseNameT = Aws::String>
66 SetDatabaseName(std::forward<DatabaseNameT>(value));
67 return *this;
68 }
70
72
76 inline const UserDefinedFunctionInput& GetFunctionInput() const { return m_functionInput; }
77 inline bool FunctionInputHasBeenSet() const { return m_functionInputHasBeenSet; }
78 template <typename FunctionInputT = UserDefinedFunctionInput>
79 void SetFunctionInput(FunctionInputT&& value) {
80 m_functionInputHasBeenSet = true;
81 m_functionInput = std::forward<FunctionInputT>(value);
82 }
83 template <typename FunctionInputT = UserDefinedFunctionInput>
85 SetFunctionInput(std::forward<FunctionInputT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_catalogId;
91
92 Aws::String m_databaseName;
93
94 UserDefinedFunctionInput m_functionInput;
95 bool m_catalogIdHasBeenSet = false;
96 bool m_databaseNameHasBeenSet = false;
97 bool m_functionInputHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Glue
102} // namespace Aws
AWS_GLUE_API Aws::String SerializePayload() const override
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateUserDefinedFunctionRequest & WithFunctionInput(FunctionInputT &&value)
CreateUserDefinedFunctionRequest & WithDatabaseName(DatabaseNameT &&value)
CreateUserDefinedFunctionRequest & WithCatalogId(CatalogIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String