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/PropertyType.h>
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
63 template <
typename DescriptionT = Aws::String>
65 m_descriptionHasBeenSet =
true;
66 m_description = std::forward<DescriptionT>(value);
68 template <
typename DescriptionT = Aws::String>
82 m_requiredHasBeenSet =
true;
97 template <
typename DefaultValueT = Aws::String>
99 m_defaultValueHasBeenSet =
true;
100 m_defaultValue = std::forward<DefaultValueT>(value);
102 template <
typename DefaultValueT = Aws::String>
115 template <
typename PropertyTypesT = Aws::Vector<PropertyType>>
117 m_propertyTypesHasBeenSet =
true;
118 m_propertyTypes = std::forward<PropertyTypesT>(value);
120 template <
typename PropertyTypesT = Aws::Vector<PropertyType>>
126 m_propertyTypesHasBeenSet =
true;
127 m_propertyTypes.push_back(value);
139 template <
typename AllowedValuesT = Aws::Vector<AllowedValue>>
141 m_allowedValuesHasBeenSet =
true;
142 m_allowedValues = std::forward<AllowedValuesT>(value);
144 template <
typename AllowedValuesT = Aws::Vector<AllowedValue>>
149 template <
typename AllowedValuesT = AllowedValue>
151 m_allowedValuesHasBeenSet =
true;
152 m_allowedValues.emplace_back(std::forward<AllowedValuesT>(value));
163 template <
typename DataOperationScopesT = Aws::Vector<DataOperation>>
165 m_dataOperationScopesHasBeenSet =
true;
166 m_dataOperationScopes = std::forward<DataOperationScopesT>(value);
168 template <
typename DataOperationScopesT = Aws::Vector<DataOperation>>
174 m_dataOperationScopesHasBeenSet =
true;
175 m_dataOperationScopes.push_back(value);
184 bool m_required{
false};
193 bool m_nameHasBeenSet =
false;
194 bool m_descriptionHasBeenSet =
false;
195 bool m_requiredHasBeenSet =
false;
196 bool m_defaultValueHasBeenSet =
false;
197 bool m_propertyTypesHasBeenSet =
false;
198 bool m_allowedValuesHasBeenSet =
false;
199 bool m_dataOperationScopesHasBeenSet =
false;
bool PropertyTypesHasBeenSet() const
Property & AddAllowedValues(AllowedValuesT &&value)
Property & WithDataOperationScopes(DataOperationScopesT &&value)
Property & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
Property & AddPropertyTypes(PropertyType value)
const Aws::String & GetDefaultValue() const
Property & WithPropertyTypes(PropertyTypesT &&value)
bool DataOperationScopesHasBeenSet() const
void SetDataOperationScopes(DataOperationScopesT &&value)
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)
bool NameHasBeenSet() const
bool AllowedValuesHasBeenSet() const
bool RequiredHasBeenSet() const
Property & WithDefaultValue(DefaultValueT &&value)
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