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/GovernanceMode.h>
13#include <aws/glue/model/PrincipalType.h>
14#include <aws/glue/model/ResourceUri.h>
47 template <
typename FunctionNameT = Aws::String>
49 m_functionNameHasBeenSet =
true;
50 m_functionName = std::forward<FunctionNameT>(value);
52 template <
typename FunctionNameT = Aws::String>
65 template <
typename DatabaseNameT = Aws::String>
67 m_databaseNameHasBeenSet =
true;
68 m_databaseName = std::forward<DatabaseNameT>(value);
70 template <
typename DatabaseNameT = Aws::String>
83 template <
typename ClassNameT = Aws::String>
85 m_classNameHasBeenSet =
true;
86 m_className = std::forward<ClassNameT>(value);
88 template <
typename ClassNameT = Aws::String>
101 template <
typename OwnerNameT = Aws::String>
103 m_ownerNameHasBeenSet =
true;
104 m_ownerName = std::forward<OwnerNameT>(value);
106 template <
typename OwnerNameT = Aws::String>
120 m_functionTypeHasBeenSet =
true;
121 m_functionType = value;
136 m_ownerTypeHasBeenSet =
true;
151 template <
typename CreateTimeT = Aws::Utils::DateTime>
153 m_createTimeHasBeenSet =
true;
154 m_createTime = std::forward<CreateTimeT>(value);
156 template <
typename CreateTimeT = Aws::Utils::DateTime>
169 template <
typename ResourceUrisT = Aws::Vector<ResourceUri>>
171 m_resourceUrisHasBeenSet =
true;
172 m_resourceUris = std::forward<ResourceUrisT>(value);
174 template <
typename ResourceUrisT = Aws::Vector<ResourceUri>>
179 template <
typename ResourceUrisT = ResourceUri>
181 m_resourceUrisHasBeenSet =
true;
182 m_resourceUris.emplace_back(std::forward<ResourceUrisT>(value));
195 template <
typename ArtifactLocationT = Aws::String>
197 m_artifactLocationHasBeenSet =
true;
198 m_artifactLocation = std::forward<ArtifactLocationT>(value);
200 template <
typename ArtifactLocationT = Aws::String>
218 m_governanceModeHasBeenSet =
true;
219 m_governanceMode = value;
233 template <
typename CatalogIdT = Aws::String>
235 m_catalogIdHasBeenSet =
true;
236 m_catalogId = std::forward<CatalogIdT>(value);
238 template <
typename CatalogIdT = Aws::String>
266 bool m_functionNameHasBeenSet =
false;
267 bool m_databaseNameHasBeenSet =
false;
268 bool m_classNameHasBeenSet =
false;
269 bool m_ownerNameHasBeenSet =
false;
270 bool m_functionTypeHasBeenSet =
false;
271 bool m_ownerTypeHasBeenSet =
false;
272 bool m_createTimeHasBeenSet =
false;
273 bool m_resourceUrisHasBeenSet =
false;
274 bool m_artifactLocationHasBeenSet =
false;
275 bool m_governanceModeHasBeenSet =
false;
276 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)
bool ArtifactLocationHasBeenSet() const
void SetCreateTime(CreateTimeT &&value)
GovernanceMode GetGovernanceMode() const
UserDefinedFunction & WithGovernanceMode(GovernanceMode value)
FunctionType GetFunctionType() const
PrincipalType GetOwnerType() const
bool GovernanceModeHasBeenSet() const
UserDefinedFunction & WithDatabaseName(DatabaseNameT &&value)
bool FunctionTypeHasBeenSet() const
const Aws::String & GetDatabaseName() const
UserDefinedFunction & WithOwnerName(OwnerNameT &&value)
const Aws::String & GetArtifactLocation() const
bool ResourceUrisHasBeenSet() const
void SetResourceUris(ResourceUrisT &&value)
void SetArtifactLocation(ArtifactLocationT &&value)
UserDefinedFunction & WithArtifactLocation(ArtifactLocationT &&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
void SetGovernanceMode(GovernanceMode value)
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