/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Glue { namespace Model { class AWS_GLUE_API GetUserDefinedFunctionResult { public: GetUserDefinedFunctionResult(); GetUserDefinedFunctionResult(const Aws::AmazonWebServiceResult& result); GetUserDefinedFunctionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The requested function definition.

*/ inline const UserDefinedFunction& GetUserDefinedFunction() const{ return m_userDefinedFunction; } /** *

The requested function definition.

*/ inline void SetUserDefinedFunction(const UserDefinedFunction& value) { m_userDefinedFunction = value; } /** *

The requested function definition.

*/ inline void SetUserDefinedFunction(UserDefinedFunction&& value) { m_userDefinedFunction = std::move(value); } /** *

The requested function definition.

*/ inline GetUserDefinedFunctionResult& WithUserDefinedFunction(const UserDefinedFunction& value) { SetUserDefinedFunction(value); return *this;} /** *

The requested function definition.

*/ inline GetUserDefinedFunctionResult& WithUserDefinedFunction(UserDefinedFunction&& value) { SetUserDefinedFunction(std::move(value)); return *this;} private: UserDefinedFunction m_userDefinedFunction; }; } // namespace Model } // namespace Glue } // namespace Aws