AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UserDefinedFunctionInput.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/PrincipalType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/model/ResourceUri.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Glue
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_GLUE_API UserDefinedFunctionInput() = default;
42
43
45
48 inline const Aws::String& GetFunctionName() const { return m_functionName; }
49 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
50 template<typename FunctionNameT = Aws::String>
51 void SetFunctionName(FunctionNameT&& value) { m_functionNameHasBeenSet = true; m_functionName = std::forward<FunctionNameT>(value); }
52 template<typename FunctionNameT = Aws::String>
53 UserDefinedFunctionInput& WithFunctionName(FunctionNameT&& value) { SetFunctionName(std::forward<FunctionNameT>(value)); return *this;}
55
57
60 inline const Aws::String& GetClassName() const { return m_className; }
61 inline bool ClassNameHasBeenSet() const { return m_classNameHasBeenSet; }
62 template<typename ClassNameT = Aws::String>
63 void SetClassName(ClassNameT&& value) { m_classNameHasBeenSet = true; m_className = std::forward<ClassNameT>(value); }
64 template<typename ClassNameT = Aws::String>
65 UserDefinedFunctionInput& WithClassName(ClassNameT&& value) { SetClassName(std::forward<ClassNameT>(value)); return *this;}
67
69
72 inline const Aws::String& GetOwnerName() const { return m_ownerName; }
73 inline bool OwnerNameHasBeenSet() const { return m_ownerNameHasBeenSet; }
74 template<typename OwnerNameT = Aws::String>
75 void SetOwnerName(OwnerNameT&& value) { m_ownerNameHasBeenSet = true; m_ownerName = std::forward<OwnerNameT>(value); }
76 template<typename OwnerNameT = Aws::String>
77 UserDefinedFunctionInput& WithOwnerName(OwnerNameT&& value) { SetOwnerName(std::forward<OwnerNameT>(value)); return *this;}
79
81
84 inline PrincipalType GetOwnerType() const { return m_ownerType; }
85 inline bool OwnerTypeHasBeenSet() const { return m_ownerTypeHasBeenSet; }
86 inline void SetOwnerType(PrincipalType value) { m_ownerTypeHasBeenSet = true; m_ownerType = value; }
87 inline UserDefinedFunctionInput& WithOwnerType(PrincipalType value) { SetOwnerType(value); return *this;}
89
91
94 inline const Aws::Vector<ResourceUri>& GetResourceUris() const { return m_resourceUris; }
95 inline bool ResourceUrisHasBeenSet() const { return m_resourceUrisHasBeenSet; }
96 template<typename ResourceUrisT = Aws::Vector<ResourceUri>>
97 void SetResourceUris(ResourceUrisT&& value) { m_resourceUrisHasBeenSet = true; m_resourceUris = std::forward<ResourceUrisT>(value); }
98 template<typename ResourceUrisT = Aws::Vector<ResourceUri>>
99 UserDefinedFunctionInput& WithResourceUris(ResourceUrisT&& value) { SetResourceUris(std::forward<ResourceUrisT>(value)); return *this;}
100 template<typename ResourceUrisT = ResourceUri>
101 UserDefinedFunctionInput& AddResourceUris(ResourceUrisT&& value) { m_resourceUrisHasBeenSet = true; m_resourceUris.emplace_back(std::forward<ResourceUrisT>(value)); return *this; }
103 private:
104
105 Aws::String m_functionName;
106 bool m_functionNameHasBeenSet = false;
107
108 Aws::String m_className;
109 bool m_classNameHasBeenSet = false;
110
111 Aws::String m_ownerName;
112 bool m_ownerNameHasBeenSet = false;
113
115 bool m_ownerTypeHasBeenSet = false;
116
117 Aws::Vector<ResourceUri> m_resourceUris;
118 bool m_resourceUrisHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace Glue
123} // namespace Aws
UserDefinedFunctionInput & WithOwnerType(PrincipalType value)
UserDefinedFunctionInput & WithFunctionName(FunctionNameT &&value)
UserDefinedFunctionInput & AddResourceUris(ResourceUrisT &&value)
const Aws::Vector< ResourceUri > & GetResourceUris() const
UserDefinedFunctionInput & WithResourceUris(ResourceUrisT &&value)
AWS_GLUE_API UserDefinedFunctionInput & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
UserDefinedFunctionInput & WithClassName(ClassNameT &&value)
UserDefinedFunctionInput & WithOwnerName(OwnerNameT &&value)
AWS_GLUE_API UserDefinedFunctionInput()=default
AWS_GLUE_API UserDefinedFunctionInput(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue