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/PropertyLocation.h>
11#include <aws/glue/model/PropertyType.h>
44 template <
typename NameT = Aws::String>
46 m_nameHasBeenSet =
true;
47 m_name = std::forward<NameT>(value);
49 template <
typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
63 template <
typename KeyOverr
ideT = Aws::String>
65 m_keyOverrideHasBeenSet =
true;
66 m_keyOverride = std::forward<KeyOverrideT>(value);
68 template <
typename KeyOverr
ideT = 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>
116 template <
typename AllowedValuesT = Aws::Vector<Aws::String>>
118 m_allowedValuesHasBeenSet =
true;
119 m_allowedValues = std::forward<AllowedValuesT>(value);
121 template <
typename AllowedValuesT = Aws::Vector<Aws::String>>
126 template <
typename AllowedValuesT = Aws::String>
128 m_allowedValuesHasBeenSet =
true;
129 m_allowedValues.emplace_back(std::forward<AllowedValuesT>(value));
142 m_propertyLocationHasBeenSet =
true;
143 m_propertyLocation = value;
158 m_propertyTypeHasBeenSet =
true;
159 m_propertyType = value;
171 bool m_required{
false};
180 bool m_nameHasBeenSet =
false;
181 bool m_keyOverrideHasBeenSet =
false;
182 bool m_requiredHasBeenSet =
false;
183 bool m_defaultValueHasBeenSet =
false;
184 bool m_allowedValuesHasBeenSet =
false;
185 bool m_propertyLocationHasBeenSet =
false;
186 bool m_propertyTypeHasBeenSet =
false;
bool KeyOverrideHasBeenSet() const
const Aws::Vector< Aws::String > & GetAllowedValues() const
ConnectorProperty & WithRequired(bool value)
void SetName(NameT &&value)
bool RequiredHasBeenSet() const
ConnectorProperty & WithDefaultValue(DefaultValueT &&value)
ConnectorProperty & AddAllowedValues(AllowedValuesT &&value)
PropertyType GetPropertyType() const
bool PropertyTypeHasBeenSet() const
PropertyLocation GetPropertyLocation() const
bool AllowedValuesHasBeenSet() const
ConnectorProperty & WithKeyOverride(KeyOverrideT &&value)
const Aws::String & GetKeyOverride() const
ConnectorProperty & WithName(NameT &&value)
const Aws::String & GetDefaultValue() const
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetKeyOverride(KeyOverrideT &&value)
ConnectorProperty & WithPropertyLocation(PropertyLocation value)
void SetAllowedValues(AllowedValuesT &&value)
AWS_GLUE_API ConnectorProperty & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NameHasBeenSet() const
void SetPropertyType(PropertyType value)
void SetRequired(bool value)
void SetPropertyLocation(PropertyLocation value)
bool PropertyLocationHasBeenSet() const
const Aws::String & GetName() const
void SetDefaultValue(DefaultValueT &&value)
bool DefaultValueHasBeenSet() const
AWS_GLUE_API ConnectorProperty()=default
AWS_GLUE_API ConnectorProperty(Aws::Utils::Json::JsonView jsonValue)
ConnectorProperty & WithAllowedValues(AllowedValuesT &&value)
ConnectorProperty & WithPropertyType(PropertyType 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