7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/UpdateCatalogBehavior.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetEnableUpdateCatalog(
bool value) { m_enableUpdateCatalogHasBeenSet =
true; m_enableUpdateCatalog = value; }
70 template<
typename TableT = Aws::String>
71 void SetTable(TableT&& value) { m_tableHasBeenSet =
true; m_table = std::forward<TableT>(value); }
72 template<
typename TableT = Aws::String>
82 template<
typename DatabaseT = Aws::String>
83 void SetDatabase(DatabaseT&& value) { m_databaseHasBeenSet =
true; m_database = std::forward<DatabaseT>(value); }
84 template<
typename DatabaseT = Aws::String>
89 bool m_enableUpdateCatalog{
false};
90 bool m_enableUpdateCatalogHasBeenSet =
false;
93 bool m_updateBehaviorHasBeenSet =
false;
96 bool m_tableHasBeenSet =
false;
99 bool m_databaseHasBeenSet =
false;
AWS_GLUE_API DirectSchemaChangePolicy(Aws::Utils::Json::JsonView jsonValue)
bool UpdateBehaviorHasBeenSet() const
void SetTable(TableT &&value)
DirectSchemaChangePolicy & WithUpdateBehavior(UpdateCatalogBehavior value)
void SetEnableUpdateCatalog(bool value)
bool GetEnableUpdateCatalog() const
DirectSchemaChangePolicy & WithEnableUpdateCatalog(bool value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDatabase(DatabaseT &&value)
bool TableHasBeenSet() const
void SetUpdateBehavior(UpdateCatalogBehavior value)
DirectSchemaChangePolicy & WithTable(TableT &&value)
bool DatabaseHasBeenSet() const
UpdateCatalogBehavior GetUpdateBehavior() const
const Aws::String & GetTable() const
bool EnableUpdateCatalogHasBeenSet() const
AWS_GLUE_API DirectSchemaChangePolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
DirectSchemaChangePolicy & WithDatabase(DatabaseT &&value)
const Aws::String & GetDatabase() const
AWS_GLUE_API DirectSchemaChangePolicy()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue