AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WriteOperation.h
1
6#pragma once
7#include <aws/lakeformation/LakeFormation_EXPORTS.h>
8#include <aws/lakeformation/model/AddObjectInput.h>
9#include <aws/lakeformation/model/DeleteObjectInput.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 LakeFormation
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LAKEFORMATION_API WriteOperation();
37 AWS_LAKEFORMATION_API WriteOperation(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LAKEFORMATION_API WriteOperation& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const AddObjectInput& GetAddObject() const{ return m_addObject; }
47 inline bool AddObjectHasBeenSet() const { return m_addObjectHasBeenSet; }
48 inline void SetAddObject(const AddObjectInput& value) { m_addObjectHasBeenSet = true; m_addObject = value; }
49 inline void SetAddObject(AddObjectInput&& value) { m_addObjectHasBeenSet = true; m_addObject = std::move(value); }
50 inline WriteOperation& WithAddObject(const AddObjectInput& value) { SetAddObject(value); return *this;}
51 inline WriteOperation& WithAddObject(AddObjectInput&& value) { SetAddObject(std::move(value)); return *this;}
53
55
58 inline const DeleteObjectInput& GetDeleteObject() const{ return m_deleteObject; }
59 inline bool DeleteObjectHasBeenSet() const { return m_deleteObjectHasBeenSet; }
60 inline void SetDeleteObject(const DeleteObjectInput& value) { m_deleteObjectHasBeenSet = true; m_deleteObject = value; }
61 inline void SetDeleteObject(DeleteObjectInput&& value) { m_deleteObjectHasBeenSet = true; m_deleteObject = std::move(value); }
62 inline WriteOperation& WithDeleteObject(const DeleteObjectInput& value) { SetDeleteObject(value); return *this;}
63 inline WriteOperation& WithDeleteObject(DeleteObjectInput&& value) { SetDeleteObject(std::move(value)); return *this;}
65 private:
66
67 AddObjectInput m_addObject;
68 bool m_addObjectHasBeenSet = false;
69
70 DeleteObjectInput m_deleteObject;
71 bool m_deleteObjectHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace LakeFormation
76} // namespace Aws
AWS_LAKEFORMATION_API WriteOperation(Aws::Utils::Json::JsonView jsonValue)
void SetAddObject(AddObjectInput &&value)
WriteOperation & WithAddObject(const AddObjectInput &value)
const AddObjectInput & GetAddObject() const
AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDeleteObject(const DeleteObjectInput &value)
void SetAddObject(const AddObjectInput &value)
AWS_LAKEFORMATION_API WriteOperation()
WriteOperation & WithDeleteObject(const DeleteObjectInput &value)
AWS_LAKEFORMATION_API WriteOperation & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDeleteObject(DeleteObjectInput &&value)
WriteOperation & WithDeleteObject(DeleteObjectInput &&value)
WriteOperation & WithAddObject(AddObjectInput &&value)
const DeleteObjectInput & GetDeleteObject() const
Aws::Utils::Json::JsonValue JsonValue