AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SchemaChangePolicy.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/UpdateBehavior.h>
9#include <aws/glue/model/DeleteBehavior.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Glue
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_GLUE_API SchemaChangePolicy();
40
41
43
46 inline const UpdateBehavior& GetUpdateBehavior() const{ return m_updateBehavior; }
47 inline bool UpdateBehaviorHasBeenSet() const { return m_updateBehaviorHasBeenSet; }
48 inline void SetUpdateBehavior(const UpdateBehavior& value) { m_updateBehaviorHasBeenSet = true; m_updateBehavior = value; }
49 inline void SetUpdateBehavior(UpdateBehavior&& value) { m_updateBehaviorHasBeenSet = true; m_updateBehavior = std::move(value); }
50 inline SchemaChangePolicy& WithUpdateBehavior(const UpdateBehavior& value) { SetUpdateBehavior(value); return *this;}
51 inline SchemaChangePolicy& WithUpdateBehavior(UpdateBehavior&& value) { SetUpdateBehavior(std::move(value)); return *this;}
53
55
58 inline const DeleteBehavior& GetDeleteBehavior() const{ return m_deleteBehavior; }
59 inline bool DeleteBehaviorHasBeenSet() const { return m_deleteBehaviorHasBeenSet; }
60 inline void SetDeleteBehavior(const DeleteBehavior& value) { m_deleteBehaviorHasBeenSet = true; m_deleteBehavior = value; }
61 inline void SetDeleteBehavior(DeleteBehavior&& value) { m_deleteBehaviorHasBeenSet = true; m_deleteBehavior = std::move(value); }
62 inline SchemaChangePolicy& WithDeleteBehavior(const DeleteBehavior& value) { SetDeleteBehavior(value); return *this;}
63 inline SchemaChangePolicy& WithDeleteBehavior(DeleteBehavior&& value) { SetDeleteBehavior(std::move(value)); return *this;}
65 private:
66
67 UpdateBehavior m_updateBehavior;
68 bool m_updateBehaviorHasBeenSet = false;
69
70 DeleteBehavior m_deleteBehavior;
71 bool m_deleteBehaviorHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Glue
76} // namespace Aws
void SetUpdateBehavior(const UpdateBehavior &value)
void SetUpdateBehavior(UpdateBehavior &&value)
SchemaChangePolicy & WithDeleteBehavior(const DeleteBehavior &value)
SchemaChangePolicy & WithUpdateBehavior(const UpdateBehavior &value)
AWS_GLUE_API SchemaChangePolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
SchemaChangePolicy & WithDeleteBehavior(DeleteBehavior &&value)
AWS_GLUE_API SchemaChangePolicy(Aws::Utils::Json::JsonView jsonValue)
SchemaChangePolicy & WithUpdateBehavior(UpdateBehavior &&value)
void SetDeleteBehavior(DeleteBehavior &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const UpdateBehavior & GetUpdateBehavior() const
const DeleteBehavior & GetDeleteBehavior() const
void SetDeleteBehavior(const DeleteBehavior &value)
Aws::Utils::Json::JsonValue JsonValue