7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename FieldsT = Aws::Vector<Aws::String>>
49 void SetFields(FieldsT&& value) { m_fieldsHasBeenSet =
true; m_fields = std::forward<FieldsT>(value); }
50 template<
typename FieldsT = Aws::Vector<Aws::String>>
52 template<
typename FieldsT = Aws::String>
53 SourceTableConfig&
AddFields(FieldsT&& value) { m_fieldsHasBeenSet =
true; m_fields.emplace_back(std::forward<FieldsT>(value));
return *
this; }
62 template<
typename FilterPredicateT = Aws::String>
63 void SetFilterPredicate(FilterPredicateT&& value) { m_filterPredicateHasBeenSet =
true; m_filterPredicate = std::forward<FilterPredicateT>(value); }
64 template<
typename FilterPredicateT = Aws::String>
76 template<
typename PrimaryKeyT = Aws::Vector<Aws::String>>
77 void SetPrimaryKey(PrimaryKeyT&& value) { m_primaryKeyHasBeenSet =
true; m_primaryKey = std::forward<PrimaryKeyT>(value); }
78 template<
typename PrimaryKeyT = Aws::Vector<Aws::String>>
80 template<
typename PrimaryKeyT = Aws::String>
81 SourceTableConfig&
AddPrimaryKey(PrimaryKeyT&& value) { m_primaryKeyHasBeenSet =
true; m_primaryKey.emplace_back(std::forward<PrimaryKeyT>(value));
return *
this; }
90 template<
typename RecordUpdateFieldT = Aws::String>
91 void SetRecordUpdateField(RecordUpdateFieldT&& value) { m_recordUpdateFieldHasBeenSet =
true; m_recordUpdateField = std::forward<RecordUpdateFieldT>(value); }
92 template<
typename RecordUpdateFieldT = Aws::String>
98 bool m_fieldsHasBeenSet =
false;
101 bool m_filterPredicateHasBeenSet =
false;
104 bool m_primaryKeyHasBeenSet =
false;
107 bool m_recordUpdateFieldHasBeenSet =
false;
AWS_GLUE_API SourceTableConfig()=default
AWS_GLUE_API SourceTableConfig(Aws::Utils::Json::JsonView jsonValue)
bool FieldsHasBeenSet() const
SourceTableConfig & WithRecordUpdateField(RecordUpdateFieldT &&value)
SourceTableConfig & WithFilterPredicate(FilterPredicateT &&value)
void SetRecordUpdateField(RecordUpdateFieldT &&value)
const Aws::String & GetRecordUpdateField() const
const Aws::Vector< Aws::String > & GetPrimaryKey() const
AWS_GLUE_API SourceTableConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RecordUpdateFieldHasBeenSet() const
SourceTableConfig & AddPrimaryKey(PrimaryKeyT &&value)
const Aws::String & GetFilterPredicate() const
SourceTableConfig & AddFields(FieldsT &&value)
void SetPrimaryKey(PrimaryKeyT &&value)
const Aws::Vector< Aws::String > & GetFields() const
SourceTableConfig & WithFields(FieldsT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetFields(FieldsT &&value)
bool FilterPredicateHasBeenSet() const
bool PrimaryKeyHasBeenSet() const
SourceTableConfig & WithPrimaryKey(PrimaryKeyT &&value)
void SetFilterPredicate(FilterPredicateT &&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