7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/appflow/model/DestinationFieldProperties.h>
9#include <aws/appflow/model/SourceFieldProperties.h>
10#include <aws/appflow/model/SupportedFieldTypeDetails.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
46 template <
typename IdentifierT = Aws::String>
48 m_identifierHasBeenSet =
true;
49 m_identifier = std::forward<IdentifierT>(value);
51 template <
typename IdentifierT = Aws::String>
64 template <
typename ParentIdentifierT = Aws::String>
66 m_parentIdentifierHasBeenSet =
true;
67 m_parentIdentifier = std::forward<ParentIdentifierT>(value);
69 template <
typename ParentIdentifierT = Aws::String>
82 template <
typename LabelT = Aws::String>
84 m_labelHasBeenSet =
true;
85 m_label = std::forward<LabelT>(value);
87 template <
typename LabelT = Aws::String>
89 SetLabel(std::forward<LabelT>(value));
102 m_isPrimaryKeyHasBeenSet =
true;
103 m_isPrimaryKey = value;
117 template <
typename DefaultValueT = Aws::String>
119 m_defaultValueHasBeenSet =
true;
120 m_defaultValue = std::forward<DefaultValueT>(value);
122 template <
typename DefaultValueT = Aws::String>
136 m_isDeprecatedHasBeenSet =
true;
137 m_isDeprecated = value;
153 template <
typename SupportedFieldTypeDetailsT = SupportedFieldTypeDetails>
155 m_supportedFieldTypeDetailsHasBeenSet =
true;
156 m_supportedFieldTypeDetails = std::forward<SupportedFieldTypeDetailsT>(value);
158 template <
typename SupportedFieldTypeDetailsT = SupportedFieldTypeDetails>
171 template <
typename DescriptionT = Aws::String>
173 m_descriptionHasBeenSet =
true;
174 m_description = std::forward<DescriptionT>(value);
176 template <
typename DescriptionT = Aws::String>
190 template <
typename SourcePropertiesT = SourceFieldProperties>
192 m_sourcePropertiesHasBeenSet =
true;
193 m_sourceProperties = std::forward<SourcePropertiesT>(value);
195 template <
typename SourcePropertiesT = SourceFieldProperties>
209 template <
typename DestinationPropertiesT = DestinationFieldProperties>
211 m_destinationPropertiesHasBeenSet =
true;
212 m_destinationProperties = std::forward<DestinationPropertiesT>(value);
214 template <
typename DestinationPropertiesT = DestinationFieldProperties>
227 template <
typename CustomPropertiesT = Aws::Map<Aws::String, Aws::String>>
229 m_customPropertiesHasBeenSet =
true;
230 m_customProperties = std::forward<CustomPropertiesT>(value);
232 template <
typename CustomPropertiesT = Aws::Map<Aws::String, Aws::String>>
237 template <
typename CustomPropertiesKeyT = Aws::String,
typename CustomPropertiesValueT = Aws::String>
239 m_customPropertiesHasBeenSet =
true;
240 m_customProperties.emplace(std::forward<CustomPropertiesKeyT>(key), std::forward<CustomPropertiesValueT>(value));
251 bool m_isPrimaryKey{
false};
255 bool m_isDeprecated{
false};
257 SupportedFieldTypeDetails m_supportedFieldTypeDetails;
261 SourceFieldProperties m_sourceProperties;
263 DestinationFieldProperties m_destinationProperties;
266 bool m_identifierHasBeenSet =
false;
267 bool m_parentIdentifierHasBeenSet =
false;
268 bool m_labelHasBeenSet =
false;
269 bool m_isPrimaryKeyHasBeenSet =
false;
270 bool m_defaultValueHasBeenSet =
false;
271 bool m_isDeprecatedHasBeenSet =
false;
272 bool m_supportedFieldTypeDetailsHasBeenSet =
false;
273 bool m_descriptionHasBeenSet =
false;
274 bool m_sourcePropertiesHasBeenSet =
false;
275 bool m_destinationPropertiesHasBeenSet =
false;
276 bool m_customPropertiesHasBeenSet =
false;
ConnectorEntityField & AddCustomProperties(CustomPropertiesKeyT &&key, CustomPropertiesValueT &&value)
bool ParentIdentifierHasBeenSet() const
bool GetIsDeprecated() const
bool SupportedFieldTypeDetailsHasBeenSet() const
ConnectorEntityField & WithParentIdentifier(ParentIdentifierT &&value)
bool DescriptionHasBeenSet() const
ConnectorEntityField & WithIsDeprecated(bool value)
bool SourcePropertiesHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetCustomProperties() const
const Aws::String & GetDefaultValue() const
const Aws::String & GetIdentifier() const
ConnectorEntityField & WithCustomProperties(CustomPropertiesT &&value)
void SetDefaultValue(DefaultValueT &&value)
bool IsDeprecatedHasBeenSet() const
void SetIsDeprecated(bool value)
void SetIsPrimaryKey(bool value)
bool CustomPropertiesHasBeenSet() const
void SetDestinationProperties(DestinationPropertiesT &&value)
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
const DestinationFieldProperties & GetDestinationProperties() const
void SetSourceProperties(SourcePropertiesT &&value)
bool DestinationPropertiesHasBeenSet() const
ConnectorEntityField & WithIdentifier(IdentifierT &&value)
bool IsPrimaryKeyHasBeenSet() const
bool DefaultValueHasBeenSet() const
ConnectorEntityField & WithDescription(DescriptionT &&value)
AWS_APPFLOW_API ConnectorEntityField()=default
ConnectorEntityField & WithSupportedFieldTypeDetails(SupportedFieldTypeDetailsT &&value)
void SetIdentifier(IdentifierT &&value)
ConnectorEntityField & WithSourceProperties(SourcePropertiesT &&value)
ConnectorEntityField & WithLabel(LabelT &&value)
void SetCustomProperties(CustomPropertiesT &&value)
const Aws::String & GetParentIdentifier() const
void SetDescription(DescriptionT &&value)
const SourceFieldProperties & GetSourceProperties() const
void SetLabel(LabelT &&value)
ConnectorEntityField & WithIsPrimaryKey(bool value)
ConnectorEntityField & WithDestinationProperties(DestinationPropertiesT &&value)
const SupportedFieldTypeDetails & GetSupportedFieldTypeDetails() const
bool GetIsPrimaryKey() const
const Aws::String & GetDescription() const
AWS_APPFLOW_API ConnectorEntityField(Aws::Utils::Json::JsonView jsonValue)
void SetSupportedFieldTypeDetails(SupportedFieldTypeDetailsT &&value)
AWS_APPFLOW_API ConnectorEntityField & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetLabel() const
ConnectorEntityField & WithDefaultValue(DefaultValueT &&value)
bool LabelHasBeenSet() const
void SetParentIdentifier(ParentIdentifierT &&value)
bool IdentifierHasBeenSet() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue