AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateUserDefinedFunctionRequest.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 UpdateUserDefinedFunctionRequest() = 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 "UpdateUserDefinedFunction"; }
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
58 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
59 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
60 template <typename DatabaseNameT = Aws::String>
61 void SetDatabaseName(DatabaseNameT&& value) {
62 m_databaseNameHasBeenSet = true;
63 m_databaseName = std::forward<DatabaseNameT>(value);
64 }
65 template <typename DatabaseNameT = Aws::String>
67 SetDatabaseName(std::forward<DatabaseNameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetFunctionName() const { return m_functionName; }
77 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
78 template <typename FunctionNameT = Aws::String>
79 void SetFunctionName(FunctionNameT&& value) {
80 m_functionNameHasBeenSet = true;
81 m_functionName = std::forward<FunctionNameT>(value);
82 }
83 template <typename FunctionNameT = Aws::String>
85 SetFunctionName(std::forward<FunctionNameT>(value));
86 return *this;
87 }
89
91
95 inline const UserDefinedFunctionInput& GetFunctionInput() const { return m_functionInput; }
96 inline bool FunctionInputHasBeenSet() const { return m_functionInputHasBeenSet; }
97 template <typename FunctionInputT = UserDefinedFunctionInput>
98 void SetFunctionInput(FunctionInputT&& value) {
99 m_functionInputHasBeenSet = true;
100 m_functionInput = std::forward<FunctionInputT>(value);
101 }
102 template <typename FunctionInputT = UserDefinedFunctionInput>
104 SetFunctionInput(std::forward<FunctionInputT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_catalogId;
110
111 Aws::String m_databaseName;
112
113 Aws::String m_functionName;
114
115 UserDefinedFunctionInput m_functionInput;
116 bool m_catalogIdHasBeenSet = false;
117 bool m_databaseNameHasBeenSet = false;
118 bool m_functionNameHasBeenSet = false;
119 bool m_functionInputHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace Glue
124} // namespace Aws
UpdateUserDefinedFunctionRequest & WithDatabaseName(DatabaseNameT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateUserDefinedFunctionRequest & WithFunctionInput(FunctionInputT &&value)
UpdateUserDefinedFunctionRequest & WithCatalogId(CatalogIdT &&value)
UpdateUserDefinedFunctionRequest & WithFunctionName(FunctionNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String