AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 const UpdateCatalogBehavior& GetUpdateBehavior() const{ return m_updateBehavior; }
57 inline bool UpdateBehaviorHasBeenSet() const { return m_updateBehaviorHasBeenSet; }
58 inline void SetUpdateBehavior(const UpdateCatalogBehavior& value) { m_updateBehaviorHasBeenSet = true; m_updateBehavior = value; }
59 inline void SetUpdateBehavior(UpdateCatalogBehavior&& value) { m_updateBehaviorHasBeenSet = true; m_updateBehavior = std::move(value); }
61 inline CatalogSchemaChangePolicy& WithUpdateBehavior(UpdateCatalogBehavior&& value) { SetUpdateBehavior(std::move(value)); return *this;}
63 private:
64
65 bool m_enableUpdateCatalog;
66 bool m_enableUpdateCatalogHasBeenSet = false;
67
68 UpdateCatalogBehavior m_updateBehavior;
69 bool m_updateBehaviorHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace Glue
74} // namespace Aws
CatalogSchemaChangePolicy & WithEnableUpdateCatalog(bool value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUpdateBehavior(const UpdateCatalogBehavior &value)
CatalogSchemaChangePolicy & WithUpdateBehavior(const UpdateCatalogBehavior &value)
AWS_GLUE_API CatalogSchemaChangePolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API CatalogSchemaChangePolicy(Aws::Utils::Json::JsonView jsonValue)
CatalogSchemaChangePolicy & WithUpdateBehavior(UpdateCatalogBehavior &&value)
const UpdateCatalogBehavior & GetUpdateBehavior() const
void SetUpdateBehavior(UpdateCatalogBehavior &&value)
Aws::Utils::Json::JsonValue JsonValue