7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/glue/Glue_EXPORTS.h>
11#include <aws/glue/model/FunctionType.h>
12#include <aws/glue/model/PrincipalType.h>
13#include <aws/glue/model/ResourceUri.h>
46 template <
typename FunctionNameT = Aws::String>
48 m_functionNameHasBeenSet =
true;
49 m_functionName = std::forward<FunctionNameT>(value);
51 template <
typename FunctionNameT = Aws::String>
64 template <
typename DatabaseNameT = Aws::String>
66 m_databaseNameHasBeenSet =
true;
67 m_databaseName = std::forward<DatabaseNameT>(value);
69 template <
typename DatabaseNameT = Aws::String>
82 template <
typename ClassNameT = Aws::String>
84 m_classNameHasBeenSet =
true;
85 m_className = std::forward<ClassNameT>(value);
87 template <
typename ClassNameT = Aws::String>
100 template <
typename OwnerNameT = Aws::String>
102 m_ownerNameHasBeenSet =
true;
103 m_ownerName = std::forward<OwnerNameT>(value);
105 template <
typename OwnerNameT = Aws::String>
119 m_functionTypeHasBeenSet =
true;
120 m_functionType = value;
135 m_ownerTypeHasBeenSet =
true;
150 template <
typename CreateTimeT = Aws::Utils::DateTime>
152 m_createTimeHasBeenSet =
true;
153 m_createTime = std::forward<CreateTimeT>(value);
155 template <
typename CreateTimeT = Aws::Utils::DateTime>
168 template <
typename ResourceUrisT = Aws::Vector<ResourceUri>>
170 m_resourceUrisHasBeenSet =
true;
171 m_resourceUris = std::forward<ResourceUrisT>(value);
173 template <
typename ResourceUrisT = Aws::Vector<ResourceUri>>
178 template <
typename ResourceUrisT = ResourceUri>
180 m_resourceUrisHasBeenSet =
true;
181 m_resourceUris.emplace_back(std::forward<ResourceUrisT>(value));
192 template <
typename CatalogIdT = Aws::String>
194 m_catalogIdHasBeenSet =
true;
195 m_catalogId = std::forward<CatalogIdT>(value);
197 template <
typename CatalogIdT = Aws::String>
221 bool m_functionNameHasBeenSet =
false;
222 bool m_databaseNameHasBeenSet =
false;
223 bool m_classNameHasBeenSet =
false;
224 bool m_ownerNameHasBeenSet =
false;
225 bool m_functionTypeHasBeenSet =
false;
226 bool m_ownerTypeHasBeenSet =
false;
227 bool m_createTimeHasBeenSet =
false;
228 bool m_resourceUrisHasBeenSet =
false;
229 bool m_catalogIdHasBeenSet =
false;
void SetOwnerName(OwnerNameT &&value)
const Aws::String & GetCatalogId() const
bool FunctionNameHasBeenSet() const
const Aws::String & GetFunctionName() const
UserDefinedFunction & WithOwnerType(PrincipalType value)
bool DatabaseNameHasBeenSet() const
UserDefinedFunction & WithFunctionName(FunctionNameT &&value)
UserDefinedFunction & WithClassName(ClassNameT &&value)
void SetCreateTime(CreateTimeT &&value)
FunctionType GetFunctionType() const
PrincipalType GetOwnerType() const
UserDefinedFunction & WithDatabaseName(DatabaseNameT &&value)
bool FunctionTypeHasBeenSet() const
const Aws::String & GetDatabaseName() const
UserDefinedFunction & WithOwnerName(OwnerNameT &&value)
bool ResourceUrisHasBeenSet() const
void SetResourceUris(ResourceUrisT &&value)
UserDefinedFunction & WithCatalogId(CatalogIdT &&value)
void SetFunctionName(FunctionNameT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetClassName(ClassNameT &&value)
UserDefinedFunction & AddResourceUris(ResourceUrisT &&value)
void SetOwnerType(PrincipalType value)
AWS_GLUE_API UserDefinedFunction(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API UserDefinedFunction & operator=(Aws::Utils::Json::JsonView jsonValue)
UserDefinedFunction & WithFunctionType(FunctionType value)
bool CatalogIdHasBeenSet() const
AWS_GLUE_API UserDefinedFunction()=default
void SetCatalogId(CatalogIdT &&value)
void SetFunctionType(FunctionType value)
UserDefinedFunction & WithCreateTime(CreateTimeT &&value)
const Aws::Vector< ResourceUri > & GetResourceUris() const
bool ClassNameHasBeenSet() const
bool OwnerTypeHasBeenSet() const
void SetDatabaseName(DatabaseNameT &&value)
const Aws::String & GetOwnerName() const
const Aws::String & GetClassName() const
bool OwnerNameHasBeenSet() const
UserDefinedFunction & WithResourceUris(ResourceUrisT &&value)
bool CreateTimeHasBeenSet() const
const Aws::Utils::DateTime & GetCreateTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue