AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateUserDefinedFunctionRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/model/UserDefinedFunctionInput.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUE_API UpdateUserDefinedFunctionRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateUserDefinedFunction"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
44 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
45 template<typename CatalogIdT = Aws::String>
46 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::forward<CatalogIdT>(value); }
47 template<typename CatalogIdT = Aws::String>
48 UpdateUserDefinedFunctionRequest& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
50
52
56 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
57 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
58 template<typename DatabaseNameT = Aws::String>
59 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
60 template<typename DatabaseNameT = Aws::String>
61 UpdateUserDefinedFunctionRequest& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
63
65
68 inline const Aws::String& GetFunctionName() const { return m_functionName; }
69 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
70 template<typename FunctionNameT = Aws::String>
71 void SetFunctionName(FunctionNameT&& value) { m_functionNameHasBeenSet = true; m_functionName = std::forward<FunctionNameT>(value); }
72 template<typename FunctionNameT = Aws::String>
73 UpdateUserDefinedFunctionRequest& WithFunctionName(FunctionNameT&& value) { SetFunctionName(std::forward<FunctionNameT>(value)); return *this;}
75
77
81 inline const UserDefinedFunctionInput& GetFunctionInput() const { return m_functionInput; }
82 inline bool FunctionInputHasBeenSet() const { return m_functionInputHasBeenSet; }
83 template<typename FunctionInputT = UserDefinedFunctionInput>
84 void SetFunctionInput(FunctionInputT&& value) { m_functionInputHasBeenSet = true; m_functionInput = std::forward<FunctionInputT>(value); }
85 template<typename FunctionInputT = UserDefinedFunctionInput>
86 UpdateUserDefinedFunctionRequest& WithFunctionInput(FunctionInputT&& value) { SetFunctionInput(std::forward<FunctionInputT>(value)); return *this;}
88 private:
89
90 Aws::String m_catalogId;
91 bool m_catalogIdHasBeenSet = false;
92
93 Aws::String m_databaseName;
94 bool m_databaseNameHasBeenSet = false;
95
96 Aws::String m_functionName;
97 bool m_functionNameHasBeenSet = false;
98
99 UserDefinedFunctionInput m_functionInput;
100 bool m_functionInputHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Glue
105} // 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