7#include <aws/appflow/Appflow_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/appflow/model/SupportedFieldTypeDetails.h>
10#include <aws/appflow/model/SourceFieldProperties.h>
11#include <aws/appflow/model/DestinationFieldProperties.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
52 template<
typename IdentifierT = Aws::String>
53 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet =
true; m_identifier = std::forward<IdentifierT>(value); }
54 template<
typename IdentifierT = Aws::String>
64 template<
typename ParentIdentifierT = Aws::String>
65 void SetParentIdentifier(ParentIdentifierT&& value) { m_parentIdentifierHasBeenSet =
true; m_parentIdentifier = std::forward<ParentIdentifierT>(value); }
66 template<
typename ParentIdentifierT = Aws::String>
76 template<
typename LabelT = Aws::String>
77 void SetLabel(LabelT&& value) { m_labelHasBeenSet =
true; m_label = std::forward<LabelT>(value); }
78 template<
typename LabelT = Aws::String>
89 inline void SetIsPrimaryKey(
bool value) { m_isPrimaryKeyHasBeenSet =
true; m_isPrimaryKey = value; }
99 template<
typename DefaultValueT = Aws::String>
100 void SetDefaultValue(DefaultValueT&& value) { m_defaultValueHasBeenSet =
true; m_defaultValue = std::forward<DefaultValueT>(value); }
101 template<
typename DefaultValueT = Aws::String>
111 inline void SetIsDeprecated(
bool value) { m_isDeprecatedHasBeenSet =
true; m_isDeprecated = value; }
123 template<
typename SupportedFieldTypeDetailsT = SupportedFieldTypeDetails>
124 void SetSupportedFieldTypeDetails(SupportedFieldTypeDetailsT&& value) { m_supportedFieldTypeDetailsHasBeenSet =
true; m_supportedFieldTypeDetails = std::forward<SupportedFieldTypeDetailsT>(value); }
125 template<
typename SupportedFieldTypeDetailsT = SupportedFieldTypeDetails>
135 template<
typename DescriptionT = Aws::String>
136 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
137 template<
typename DescriptionT = Aws::String>
148 template<
typename SourcePropertiesT = SourceFieldProperties>
149 void SetSourceProperties(SourcePropertiesT&& value) { m_sourcePropertiesHasBeenSet =
true; m_sourceProperties = std::forward<SourcePropertiesT>(value); }
150 template<
typename SourcePropertiesT = SourceFieldProperties>
161 template<
typename DestinationPropertiesT = DestinationFieldProperties>
162 void SetDestinationProperties(DestinationPropertiesT&& value) { m_destinationPropertiesHasBeenSet =
true; m_destinationProperties = std::forward<DestinationPropertiesT>(value); }
163 template<
typename DestinationPropertiesT = DestinationFieldProperties>
173 template<
typename CustomPropertiesT = Aws::Map<Aws::String, Aws::String>>
174 void SetCustomProperties(CustomPropertiesT&& value) { m_customPropertiesHasBeenSet =
true; m_customProperties = std::forward<CustomPropertiesT>(value); }
175 template<
typename CustomPropertiesT = Aws::Map<Aws::String, Aws::String>>
177 template<
typename CustomPropertiesKeyT = Aws::String,
typename CustomPropertiesValueT = Aws::String>
179 m_customPropertiesHasBeenSet =
true; m_customProperties.emplace(std::forward<CustomPropertiesKeyT>(key), std::forward<CustomPropertiesValueT>(value));
return *
this;
185 bool m_identifierHasBeenSet =
false;
188 bool m_parentIdentifierHasBeenSet =
false;
191 bool m_labelHasBeenSet =
false;
193 bool m_isPrimaryKey{
false};
194 bool m_isPrimaryKeyHasBeenSet =
false;
197 bool m_defaultValueHasBeenSet =
false;
199 bool m_isDeprecated{
false};
200 bool m_isDeprecatedHasBeenSet =
false;
202 SupportedFieldTypeDetails m_supportedFieldTypeDetails;
203 bool m_supportedFieldTypeDetailsHasBeenSet =
false;
206 bool m_descriptionHasBeenSet =
false;
208 SourceFieldProperties m_sourceProperties;
209 bool m_sourcePropertiesHasBeenSet =
false;
211 DestinationFieldProperties m_destinationProperties;
212 bool m_destinationPropertiesHasBeenSet =
false;
215 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