AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateTableRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/model/TableInput.h>
11#include <aws/glue/model/ViewUpdateAction.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Glue
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_GLUE_API UpdateTableRequest();
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 "UpdateTable"; }
33
34 AWS_GLUE_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
45 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
46 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
47 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
48 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
49 inline UpdateTableRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
50 inline UpdateTableRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
51 inline UpdateTableRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
53
55
59 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
60 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
61 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
62 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
63 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
64 inline UpdateTableRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
65 inline UpdateTableRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
66 inline UpdateTableRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
68
70
74 inline const TableInput& GetTableInput() const{ return m_tableInput; }
75 inline bool TableInputHasBeenSet() const { return m_tableInputHasBeenSet; }
76 inline void SetTableInput(const TableInput& value) { m_tableInputHasBeenSet = true; m_tableInput = value; }
77 inline void SetTableInput(TableInput&& value) { m_tableInputHasBeenSet = true; m_tableInput = std::move(value); }
78 inline UpdateTableRequest& WithTableInput(const TableInput& value) { SetTableInput(value); return *this;}
79 inline UpdateTableRequest& WithTableInput(TableInput&& value) { SetTableInput(std::move(value)); return *this;}
81
83
88 inline bool GetSkipArchive() const{ return m_skipArchive; }
89 inline bool SkipArchiveHasBeenSet() const { return m_skipArchiveHasBeenSet; }
90 inline void SetSkipArchive(bool value) { m_skipArchiveHasBeenSet = true; m_skipArchive = value; }
91 inline UpdateTableRequest& WithSkipArchive(bool value) { SetSkipArchive(value); return *this;}
93
95
98 inline const Aws::String& GetTransactionId() const{ return m_transactionId; }
99 inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; }
100 inline void SetTransactionId(const Aws::String& value) { m_transactionIdHasBeenSet = true; m_transactionId = value; }
101 inline void SetTransactionId(Aws::String&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::move(value); }
102 inline void SetTransactionId(const char* value) { m_transactionIdHasBeenSet = true; m_transactionId.assign(value); }
103 inline UpdateTableRequest& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;}
104 inline UpdateTableRequest& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;}
105 inline UpdateTableRequest& WithTransactionId(const char* value) { SetTransactionId(value); return *this;}
107
109
112 inline const Aws::String& GetVersionId() const{ return m_versionId; }
113 inline bool VersionIdHasBeenSet() const { return m_versionIdHasBeenSet; }
114 inline void SetVersionId(const Aws::String& value) { m_versionIdHasBeenSet = true; m_versionId = value; }
115 inline void SetVersionId(Aws::String&& value) { m_versionIdHasBeenSet = true; m_versionId = std::move(value); }
116 inline void SetVersionId(const char* value) { m_versionIdHasBeenSet = true; m_versionId.assign(value); }
117 inline UpdateTableRequest& WithVersionId(const Aws::String& value) { SetVersionId(value); return *this;}
118 inline UpdateTableRequest& WithVersionId(Aws::String&& value) { SetVersionId(std::move(value)); return *this;}
119 inline UpdateTableRequest& WithVersionId(const char* value) { SetVersionId(value); return *this;}
121
123
126 inline const ViewUpdateAction& GetViewUpdateAction() const{ return m_viewUpdateAction; }
127 inline bool ViewUpdateActionHasBeenSet() const { return m_viewUpdateActionHasBeenSet; }
128 inline void SetViewUpdateAction(const ViewUpdateAction& value) { m_viewUpdateActionHasBeenSet = true; m_viewUpdateAction = value; }
129 inline void SetViewUpdateAction(ViewUpdateAction&& value) { m_viewUpdateActionHasBeenSet = true; m_viewUpdateAction = std::move(value); }
131 inline UpdateTableRequest& WithViewUpdateAction(ViewUpdateAction&& value) { SetViewUpdateAction(std::move(value)); return *this;}
133
135
139 inline bool GetForce() const{ return m_force; }
140 inline bool ForceHasBeenSet() const { return m_forceHasBeenSet; }
141 inline void SetForce(bool value) { m_forceHasBeenSet = true; m_force = value; }
142 inline UpdateTableRequest& WithForce(bool value) { SetForce(value); return *this;}
144 private:
145
146 Aws::String m_catalogId;
147 bool m_catalogIdHasBeenSet = false;
148
149 Aws::String m_databaseName;
150 bool m_databaseNameHasBeenSet = false;
151
152 TableInput m_tableInput;
153 bool m_tableInputHasBeenSet = false;
154
155 bool m_skipArchive;
156 bool m_skipArchiveHasBeenSet = false;
157
158 Aws::String m_transactionId;
159 bool m_transactionIdHasBeenSet = false;
160
161 Aws::String m_versionId;
162 bool m_versionIdHasBeenSet = false;
163
164 ViewUpdateAction m_viewUpdateAction;
165 bool m_viewUpdateActionHasBeenSet = false;
166
167 bool m_force;
168 bool m_forceHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace Glue
173} // namespace Aws
const TableInput & GetTableInput() const
UpdateTableRequest & WithTableInput(TableInput &&value)
void SetCatalogId(const Aws::String &value)
UpdateTableRequest & WithCatalogId(Aws::String &&value)
const ViewUpdateAction & GetViewUpdateAction() const
UpdateTableRequest & WithDatabaseName(const char *value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetTransactionId() const
void SetViewUpdateAction(ViewUpdateAction &&value)
UpdateTableRequest & WithTableInput(const TableInput &value)
UpdateTableRequest & WithSkipArchive(bool value)
void SetVersionId(const Aws::String &value)
const Aws::String & GetDatabaseName() const
UpdateTableRequest & WithForce(bool value)
UpdateTableRequest & WithDatabaseName(const Aws::String &value)
UpdateTableRequest & WithViewUpdateAction(ViewUpdateAction &&value)
void SetDatabaseName(const Aws::String &value)
UpdateTableRequest & WithTransactionId(Aws::String &&value)
const Aws::String & GetVersionId() const
UpdateTableRequest & WithTransactionId(const Aws::String &value)
const Aws::String & GetCatalogId() const
UpdateTableRequest & WithViewUpdateAction(const ViewUpdateAction &value)
UpdateTableRequest & WithVersionId(Aws::String &&value)
UpdateTableRequest & WithCatalogId(const Aws::String &value)
void SetDatabaseName(Aws::String &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetViewUpdateAction(const ViewUpdateAction &value)
UpdateTableRequest & WithVersionId(const Aws::String &value)
AWS_GLUE_API Aws::String SerializePayload() const override
void SetTableInput(const TableInput &value)
UpdateTableRequest & WithDatabaseName(Aws::String &&value)
UpdateTableRequest & WithTransactionId(const char *value)
UpdateTableRequest & WithCatalogId(const char *value)
void SetCatalogId(Aws::String &&value)
UpdateTableRequest & WithVersionId(const char *value)
void SetTransactionId(Aws::String &&value)
void SetTransactionId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String