7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/AllowedValue.h>
11#include <aws/glue/model/DataOperation.h>
12#include <aws/glue/model/PropertyLocation.h>
13#include <aws/glue/model/PropertyType.h>
46 template <
typename NameT = Aws::String>
48 m_nameHasBeenSet =
true;
49 m_name = std::forward<NameT>(value);
51 template <
typename NameT = Aws::String>
53 SetName(std::forward<NameT>(value));
64 template <
typename DescriptionT = Aws::String>
66 m_descriptionHasBeenSet =
true;
67 m_description = std::forward<DescriptionT>(value);
69 template <
typename DescriptionT = Aws::String>
83 m_requiredHasBeenSet =
true;
98 template <
typename DefaultValueT = Aws::String>
100 m_defaultValueHasBeenSet =
true;
101 m_defaultValue = std::forward<DefaultValueT>(value);
103 template <
typename DefaultValueT = Aws::String>
116 template <
typename PropertyTypesT = Aws::Vector<PropertyType>>
118 m_propertyTypesHasBeenSet =
true;
119 m_propertyTypes = std::forward<PropertyTypesT>(value);
121 template <
typename PropertyTypesT = Aws::Vector<PropertyType>>
127 m_propertyTypesHasBeenSet =
true;
128 m_propertyTypes.push_back(value);
140 template <
typename AllowedValuesT = Aws::Vector<AllowedValue>>
142 m_allowedValuesHasBeenSet =
true;
143 m_allowedValues = std::forward<AllowedValuesT>(value);
145 template <
typename AllowedValuesT = Aws::Vector<AllowedValue>>
150 template <
typename AllowedValuesT = AllowedValue>
152 m_allowedValuesHasBeenSet =
true;
153 m_allowedValues.emplace_back(std::forward<AllowedValuesT>(value));
164 template <
typename DataOperationScopesT = Aws::Vector<DataOperation>>
166 m_dataOperationScopesHasBeenSet =
true;
167 m_dataOperationScopes = std::forward<DataOperationScopesT>(value);
169 template <
typename DataOperationScopesT = Aws::Vector<DataOperation>>
175 m_dataOperationScopesHasBeenSet =
true;
176 m_dataOperationScopes.push_back(value);
188 template <
typename KeyOverr
ideT = Aws::String>
190 m_keyOverrideHasBeenSet =
true;
191 m_keyOverride = std::forward<KeyOverrideT>(value);
193 template <
typename KeyOverr
ideT = Aws::String>
208 m_propertyLocationHasBeenSet =
true;
209 m_propertyLocation = value;
221 bool m_required{
false};
234 bool m_nameHasBeenSet =
false;
235 bool m_descriptionHasBeenSet =
false;
236 bool m_requiredHasBeenSet =
false;
237 bool m_defaultValueHasBeenSet =
false;
238 bool m_propertyTypesHasBeenSet =
false;
239 bool m_allowedValuesHasBeenSet =
false;
240 bool m_dataOperationScopesHasBeenSet =
false;
241 bool m_keyOverrideHasBeenSet =
false;
242 bool m_propertyLocationHasBeenSet =
false;
bool PropertyTypesHasBeenSet() const
Property & WithKeyOverride(KeyOverrideT &&value)
void SetKeyOverride(KeyOverrideT &&value)
Property & AddAllowedValues(AllowedValuesT &&value)
Property & WithDataOperationScopes(DataOperationScopesT &&value)
Property & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
Property & AddPropertyTypes(PropertyType value)
Property & WithPropertyLocation(PropertyLocation value)
const Aws::String & GetDefaultValue() const
Property & WithPropertyTypes(PropertyTypesT &&value)
bool DataOperationScopesHasBeenSet() const
void SetDataOperationScopes(DataOperationScopesT &&value)
void SetPropertyLocation(PropertyLocation value)
PropertyLocation GetPropertyLocation() const
const Aws::String & GetName() const
Property & WithName(NameT &&value)
AWS_GLUE_API Property & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AllowedValue > & GetAllowedValues() const
const Aws::Vector< DataOperation > & GetDataOperationScopes() const
AWS_GLUE_API Property(Aws::Utils::Json::JsonView jsonValue)
void SetDefaultValue(DefaultValueT &&value)
void SetAllowedValues(AllowedValuesT &&value)
bool DefaultValueHasBeenSet() const
bool DescriptionHasBeenSet() const
const Aws::Vector< PropertyType > & GetPropertyTypes() const
const Aws::String & GetDescription() const
Property & WithRequired(bool value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
Property & AddDataOperationScopes(DataOperation value)
AWS_GLUE_API Property()=default
void SetPropertyTypes(PropertyTypesT &&value)
void SetRequired(bool value)
void SetName(NameT &&value)
const Aws::String & GetKeyOverride() const
bool PropertyLocationHasBeenSet() const
bool NameHasBeenSet() const
bool AllowedValuesHasBeenSet() const
bool RequiredHasBeenSet() const
Property & WithDefaultValue(DefaultValueT &&value)
bool KeyOverrideHasBeenSet() const
Property & WithAllowedValues(AllowedValuesT &&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