AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
42
43
45
48 inline const Aws::String& GetFunctionName() const{ return m_functionName; }
49 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
50 inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
51 inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
52 inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
53 inline UserDefinedFunctionInput& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
54 inline UserDefinedFunctionInput& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
55 inline UserDefinedFunctionInput& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
57
59
62 inline const Aws::String& GetClassName() const{ return m_className; }
63 inline bool ClassNameHasBeenSet() const { return m_classNameHasBeenSet; }
64 inline void SetClassName(const Aws::String& value) { m_classNameHasBeenSet = true; m_className = value; }
65 inline void SetClassName(Aws::String&& value) { m_classNameHasBeenSet = true; m_className = std::move(value); }
66 inline void SetClassName(const char* value) { m_classNameHasBeenSet = true; m_className.assign(value); }
67 inline UserDefinedFunctionInput& WithClassName(const Aws::String& value) { SetClassName(value); return *this;}
68 inline UserDefinedFunctionInput& WithClassName(Aws::String&& value) { SetClassName(std::move(value)); return *this;}
69 inline UserDefinedFunctionInput& WithClassName(const char* value) { SetClassName(value); return *this;}
71
73
76 inline const Aws::String& GetOwnerName() const{ return m_ownerName; }
77 inline bool OwnerNameHasBeenSet() const { return m_ownerNameHasBeenSet; }
78 inline void SetOwnerName(const Aws::String& value) { m_ownerNameHasBeenSet = true; m_ownerName = value; }
79 inline void SetOwnerName(Aws::String&& value) { m_ownerNameHasBeenSet = true; m_ownerName = std::move(value); }
80 inline void SetOwnerName(const char* value) { m_ownerNameHasBeenSet = true; m_ownerName.assign(value); }
81 inline UserDefinedFunctionInput& WithOwnerName(const Aws::String& value) { SetOwnerName(value); return *this;}
82 inline UserDefinedFunctionInput& WithOwnerName(Aws::String&& value) { SetOwnerName(std::move(value)); return *this;}
83 inline UserDefinedFunctionInput& WithOwnerName(const char* value) { SetOwnerName(value); return *this;}
85
87
90 inline const PrincipalType& GetOwnerType() const{ return m_ownerType; }
91 inline bool OwnerTypeHasBeenSet() const { return m_ownerTypeHasBeenSet; }
92 inline void SetOwnerType(const PrincipalType& value) { m_ownerTypeHasBeenSet = true; m_ownerType = value; }
93 inline void SetOwnerType(PrincipalType&& value) { m_ownerTypeHasBeenSet = true; m_ownerType = std::move(value); }
94 inline UserDefinedFunctionInput& WithOwnerType(const PrincipalType& value) { SetOwnerType(value); return *this;}
95 inline UserDefinedFunctionInput& WithOwnerType(PrincipalType&& value) { SetOwnerType(std::move(value)); return *this;}
97
99
102 inline const Aws::Vector<ResourceUri>& GetResourceUris() const{ return m_resourceUris; }
103 inline bool ResourceUrisHasBeenSet() const { return m_resourceUrisHasBeenSet; }
104 inline void SetResourceUris(const Aws::Vector<ResourceUri>& value) { m_resourceUrisHasBeenSet = true; m_resourceUris = value; }
105 inline void SetResourceUris(Aws::Vector<ResourceUri>&& value) { m_resourceUrisHasBeenSet = true; m_resourceUris = std::move(value); }
107 inline UserDefinedFunctionInput& WithResourceUris(Aws::Vector<ResourceUri>&& value) { SetResourceUris(std::move(value)); return *this;}
108 inline UserDefinedFunctionInput& AddResourceUris(const ResourceUri& value) { m_resourceUrisHasBeenSet = true; m_resourceUris.push_back(value); return *this; }
109 inline UserDefinedFunctionInput& AddResourceUris(ResourceUri&& value) { m_resourceUrisHasBeenSet = true; m_resourceUris.push_back(std::move(value)); return *this; }
111 private:
112
113 Aws::String m_functionName;
114 bool m_functionNameHasBeenSet = false;
115
116 Aws::String m_className;
117 bool m_classNameHasBeenSet = false;
118
119 Aws::String m_ownerName;
120 bool m_ownerNameHasBeenSet = false;
121
122 PrincipalType m_ownerType;
123 bool m_ownerTypeHasBeenSet = false;
124
125 Aws::Vector<ResourceUri> m_resourceUris;
126 bool m_resourceUrisHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace Glue
131} // namespace Aws
const Aws::Vector< ResourceUri > & GetResourceUris() const
UserDefinedFunctionInput & WithResourceUris(Aws::Vector< ResourceUri > &&value)
UserDefinedFunctionInput & WithFunctionName(const char *value)
UserDefinedFunctionInput & WithOwnerType(const PrincipalType &value)
UserDefinedFunctionInput & WithFunctionName(Aws::String &&value)
UserDefinedFunctionInput & WithResourceUris(const Aws::Vector< ResourceUri > &value)
UserDefinedFunctionInput & WithClassName(const Aws::String &value)
void SetResourceUris(Aws::Vector< ResourceUri > &&value)
UserDefinedFunctionInput & WithOwnerType(PrincipalType &&value)
UserDefinedFunctionInput & WithClassName(Aws::String &&value)
UserDefinedFunctionInput & WithClassName(const char *value)
AWS_GLUE_API UserDefinedFunctionInput & operator=(Aws::Utils::Json::JsonView jsonValue)
UserDefinedFunctionInput & WithOwnerName(Aws::String &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
UserDefinedFunctionInput & AddResourceUris(const ResourceUri &value)
UserDefinedFunctionInput & WithOwnerName(const Aws::String &value)
void SetResourceUris(const Aws::Vector< ResourceUri > &value)
UserDefinedFunctionInput & WithFunctionName(const Aws::String &value)
UserDefinedFunctionInput & WithOwnerName(const char *value)
AWS_GLUE_API UserDefinedFunctionInput(Aws::Utils::Json::JsonView jsonValue)
UserDefinedFunctionInput & AddResourceUris(ResourceUri &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue