AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteObjectsOnCancelRequest.h
1
6#pragma once
7#include <aws/lakeformation/LakeFormation_EXPORTS.h>
8#include <aws/lakeformation/LakeFormationRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lakeformation/model/VirtualObject.h>
12#include <utility>
13
14namespace Aws
15{
16namespace LakeFormation
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_LAKEFORMATION_API DeleteObjectsOnCancelRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DeleteObjectsOnCancel"; }
33
34 AWS_LAKEFORMATION_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
43 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
44 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
45 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
46 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
47 inline DeleteObjectsOnCancelRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
48 inline DeleteObjectsOnCancelRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
49 inline DeleteObjectsOnCancelRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
51
53
56 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
57 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
58 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
59 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
60 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
61 inline DeleteObjectsOnCancelRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
62 inline DeleteObjectsOnCancelRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
63 inline DeleteObjectsOnCancelRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
65
67
70 inline const Aws::String& GetTableName() const{ return m_tableName; }
71 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
72 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
73 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
74 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
75 inline DeleteObjectsOnCancelRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
76 inline DeleteObjectsOnCancelRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
77 inline DeleteObjectsOnCancelRequest& WithTableName(const char* value) { SetTableName(value); return *this;}
79
81
84 inline const Aws::String& GetTransactionId() const{ return m_transactionId; }
85 inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; }
86 inline void SetTransactionId(const Aws::String& value) { m_transactionIdHasBeenSet = true; m_transactionId = value; }
87 inline void SetTransactionId(Aws::String&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::move(value); }
88 inline void SetTransactionId(const char* value) { m_transactionIdHasBeenSet = true; m_transactionId.assign(value); }
89 inline DeleteObjectsOnCancelRequest& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;}
90 inline DeleteObjectsOnCancelRequest& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;}
91 inline DeleteObjectsOnCancelRequest& WithTransactionId(const char* value) { SetTransactionId(value); return *this;}
93
95
99 inline const Aws::Vector<VirtualObject>& GetObjects() const{ return m_objects; }
100 inline bool ObjectsHasBeenSet() const { return m_objectsHasBeenSet; }
101 inline void SetObjects(const Aws::Vector<VirtualObject>& value) { m_objectsHasBeenSet = true; m_objects = value; }
102 inline void SetObjects(Aws::Vector<VirtualObject>&& value) { m_objectsHasBeenSet = true; m_objects = std::move(value); }
104 inline DeleteObjectsOnCancelRequest& WithObjects(Aws::Vector<VirtualObject>&& value) { SetObjects(std::move(value)); return *this;}
105 inline DeleteObjectsOnCancelRequest& AddObjects(const VirtualObject& value) { m_objectsHasBeenSet = true; m_objects.push_back(value); return *this; }
106 inline DeleteObjectsOnCancelRequest& AddObjects(VirtualObject&& value) { m_objectsHasBeenSet = true; m_objects.push_back(std::move(value)); return *this; }
108 private:
109
110 Aws::String m_catalogId;
111 bool m_catalogIdHasBeenSet = false;
112
113 Aws::String m_databaseName;
114 bool m_databaseNameHasBeenSet = false;
115
116 Aws::String m_tableName;
117 bool m_tableNameHasBeenSet = false;
118
119 Aws::String m_transactionId;
120 bool m_transactionIdHasBeenSet = false;
121
123 bool m_objectsHasBeenSet = false;
124 };
125
126} // namespace Model
127} // namespace LakeFormation
128} // namespace Aws
DeleteObjectsOnCancelRequest & WithTransactionId(const char *value)
DeleteObjectsOnCancelRequest & AddObjects(VirtualObject &&value)
DeleteObjectsOnCancelRequest & WithDatabaseName(Aws::String &&value)
DeleteObjectsOnCancelRequest & WithTransactionId(const Aws::String &value)
DeleteObjectsOnCancelRequest & WithTableName(Aws::String &&value)
AWS_LAKEFORMATION_API Aws::String SerializePayload() const override
DeleteObjectsOnCancelRequest & AddObjects(const VirtualObject &value)
void SetObjects(const Aws::Vector< VirtualObject > &value)
DeleteObjectsOnCancelRequest & WithObjects(Aws::Vector< VirtualObject > &&value)
DeleteObjectsOnCancelRequest & WithTableName(const Aws::String &value)
DeleteObjectsOnCancelRequest & WithDatabaseName(const char *value)
DeleteObjectsOnCancelRequest & WithCatalogId(const Aws::String &value)
DeleteObjectsOnCancelRequest & WithTransactionId(Aws::String &&value)
DeleteObjectsOnCancelRequest & WithTableName(const char *value)
DeleteObjectsOnCancelRequest & WithDatabaseName(const Aws::String &value)
DeleteObjectsOnCancelRequest & WithCatalogId(Aws::String &&value)
DeleteObjectsOnCancelRequest & WithCatalogId(const char *value)
DeleteObjectsOnCancelRequest & WithObjects(const Aws::Vector< VirtualObject > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector