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/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/glue/model/ResourceUri.h>
51 template<
typename FunctionNameT = Aws::String>
52 void SetFunctionName(FunctionNameT&& value) { m_functionNameHasBeenSet =
true; m_functionName = std::forward<FunctionNameT>(value); }
53 template<
typename FunctionNameT = Aws::String>
63 template<
typename DatabaseNameT = Aws::String>
64 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet =
true; m_databaseName = std::forward<DatabaseNameT>(value); }
65 template<
typename DatabaseNameT = Aws::String>
75 template<
typename ClassNameT = Aws::String>
76 void SetClassName(ClassNameT&& value) { m_classNameHasBeenSet =
true; m_className = std::forward<ClassNameT>(value); }
77 template<
typename ClassNameT = Aws::String>
87 template<
typename OwnerNameT = Aws::String>
88 void SetOwnerName(OwnerNameT&& value) { m_ownerNameHasBeenSet =
true; m_ownerName = std::forward<OwnerNameT>(value); }
89 template<
typename OwnerNameT = Aws::String>
109 template<
typename CreateTimeT = Aws::Utils::DateTime>
110 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet =
true; m_createTime = std::forward<CreateTimeT>(value); }
111 template<
typename CreateTimeT = Aws::Utils::DateTime>
121 template<
typename ResourceUrisT = Aws::Vector<ResourceUri>>
122 void SetResourceUris(ResourceUrisT&& value) { m_resourceUrisHasBeenSet =
true; m_resourceUris = std::forward<ResourceUrisT>(value); }
123 template<
typename ResourceUrisT = Aws::Vector<ResourceUri>>
125 template<
typename ResourceUrisT = ResourceUri>
135 template<
typename CatalogIdT = Aws::String>
136 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet =
true; m_catalogId = std::forward<CatalogIdT>(value); }
137 template<
typename CatalogIdT = Aws::String>
143 bool m_functionNameHasBeenSet =
false;
146 bool m_databaseNameHasBeenSet =
false;
149 bool m_classNameHasBeenSet =
false;
152 bool m_ownerNameHasBeenSet =
false;
155 bool m_ownerTypeHasBeenSet =
false;
158 bool m_createTimeHasBeenSet =
false;
161 bool m_resourceUrisHasBeenSet =
false;
164 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)
PrincipalType GetOwnerType() const
UserDefinedFunction & WithDatabaseName(DatabaseNameT &&value)
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)
bool CatalogIdHasBeenSet() const
AWS_GLUE_API UserDefinedFunction()=default
void SetCatalogId(CatalogIdT &&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