AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CatalogSchemaChangePolicy.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/UpdateCatalogBehavior.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GLUE_API CatalogSchemaChangePolicy() = default;
39
40
42
46 inline bool GetEnableUpdateCatalog() const { return m_enableUpdateCatalog; }
47 inline bool EnableUpdateCatalogHasBeenSet() const { return m_enableUpdateCatalogHasBeenSet; }
48 inline void SetEnableUpdateCatalog(bool value) { m_enableUpdateCatalogHasBeenSet = true; m_enableUpdateCatalog = value; }
51
53
56 inline UpdateCatalogBehavior GetUpdateBehavior() const { return m_updateBehavior; }
57 inline bool UpdateBehaviorHasBeenSet() const { return m_updateBehaviorHasBeenSet; }
58 inline void SetUpdateBehavior(UpdateCatalogBehavior value) { m_updateBehaviorHasBeenSet = true; m_updateBehavior = value; }
61 private:
62
63 bool m_enableUpdateCatalog{false};
64 bool m_enableUpdateCatalogHasBeenSet = false;
65
67 bool m_updateBehaviorHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace Glue
72} // namespace Aws
void SetUpdateBehavior(UpdateCatalogBehavior value)
CatalogSchemaChangePolicy & WithEnableUpdateCatalog(bool value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API CatalogSchemaChangePolicy()=default
CatalogSchemaChangePolicy & WithUpdateBehavior(UpdateCatalogBehavior value)
AWS_GLUE_API CatalogSchemaChangePolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API CatalogSchemaChangePolicy(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue