AWS SDK for C++  1.8.129
AWS SDK for C++
UpdateTableRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/glue/GlueRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Glue
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UpdateTable"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
43 
48  inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
49 
54  inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
55 
60  inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
61 
66  inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
67 
72  inline UpdateTableRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
73 
78  inline UpdateTableRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
79 
84  inline UpdateTableRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
85 
86 
91  inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
92 
97  inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
98 
103  inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
104 
109  inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
110 
115  inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
116 
121  inline UpdateTableRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
122 
127  inline UpdateTableRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
128 
133  inline UpdateTableRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
134 
135 
140  inline const TableInput& GetTableInput() const{ return m_tableInput; }
141 
146  inline bool TableInputHasBeenSet() const { return m_tableInputHasBeenSet; }
147 
152  inline void SetTableInput(const TableInput& value) { m_tableInputHasBeenSet = true; m_tableInput = value; }
153 
158  inline void SetTableInput(TableInput&& value) { m_tableInputHasBeenSet = true; m_tableInput = std::move(value); }
159 
164  inline UpdateTableRequest& WithTableInput(const TableInput& value) { SetTableInput(value); return *this;}
165 
170  inline UpdateTableRequest& WithTableInput(TableInput&& value) { SetTableInput(std::move(value)); return *this;}
171 
172 
178  inline bool GetSkipArchive() const{ return m_skipArchive; }
179 
185  inline bool SkipArchiveHasBeenSet() const { return m_skipArchiveHasBeenSet; }
186 
192  inline void SetSkipArchive(bool value) { m_skipArchiveHasBeenSet = true; m_skipArchive = value; }
193 
199  inline UpdateTableRequest& WithSkipArchive(bool value) { SetSkipArchive(value); return *this;}
200 
201  private:
202 
203  Aws::String m_catalogId;
204  bool m_catalogIdHasBeenSet;
205 
206  Aws::String m_databaseName;
207  bool m_databaseNameHasBeenSet;
208 
209  TableInput m_tableInput;
210  bool m_tableInputHasBeenSet;
211 
212  bool m_skipArchive;
213  bool m_skipArchiveHasBeenSet;
214  };
215 
216 } // namespace Model
217 } // namespace Glue
218 } // namespace Aws
Aws::Glue::Model::UpdateTableRequest::TableInputHasBeenSet
bool TableInputHasBeenSet() const
Definition: UpdateTableRequest.h:146
Aws::Glue::Model::UpdateTableRequest::WithDatabaseName
UpdateTableRequest & WithDatabaseName(const Aws::String &value)
Definition: UpdateTableRequest.h:121
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Glue::Model::UpdateTableRequest::WithSkipArchive
UpdateTableRequest & WithSkipArchive(bool value)
Definition: UpdateTableRequest.h:199
Aws::Glue::Model::UpdateTableRequest::WithCatalogId
UpdateTableRequest & WithCatalogId(const Aws::String &value)
Definition: UpdateTableRequest.h:72
Aws::Glue::Model::UpdateTableRequest::SetDatabaseName
void SetDatabaseName(const Aws::String &value)
Definition: UpdateTableRequest.h:103
Glue_EXPORTS.h
Aws::Glue::Model::UpdateTableRequest::SetTableInput
void SetTableInput(const TableInput &value)
Definition: UpdateTableRequest.h:152
Aws::Glue::Model::UpdateTableRequest::GetTableInput
const TableInput & GetTableInput() const
Definition: UpdateTableRequest.h:140
Aws::Glue::Model::UpdateTableRequest::WithTableInput
UpdateTableRequest & WithTableInput(const TableInput &value)
Definition: UpdateTableRequest.h:164
Aws::Glue::Model::UpdateTableRequest::WithDatabaseName
UpdateTableRequest & WithDatabaseName(Aws::String &&value)
Definition: UpdateTableRequest.h:127
Aws::Glue::Model::UpdateTableRequest::WithTableInput
UpdateTableRequest & WithTableInput(TableInput &&value)
Definition: UpdateTableRequest.h:170
Aws::Glue::Model::UpdateTableRequest::SetCatalogId
void SetCatalogId(Aws::String &&value)
Definition: UpdateTableRequest.h:60
Aws::Glue::Model::UpdateTableRequest::SkipArchiveHasBeenSet
bool SkipArchiveHasBeenSet() const
Definition: UpdateTableRequest.h:185
Aws::Glue::Model::UpdateTableRequest::SetCatalogId
void SetCatalogId(const Aws::String &value)
Definition: UpdateTableRequest.h:54
Aws::Glue::Model::UpdateTableRequest::SetDatabaseName
void SetDatabaseName(const char *value)
Definition: UpdateTableRequest.h:115
Aws::Glue::Model::UpdateTableRequest::SetTableInput
void SetTableInput(TableInput &&value)
Definition: UpdateTableRequest.h:158
Aws::Glue::Model::UpdateTableRequest::GetSkipArchive
bool GetSkipArchive() const
Definition: UpdateTableRequest.h:178
Aws::Glue::Model::UpdateTableRequest::SetDatabaseName
void SetDatabaseName(Aws::String &&value)
Definition: UpdateTableRequest.h:109
Aws::Glue::Model::UpdateTableRequest::GetDatabaseName
const Aws::String & GetDatabaseName() const
Definition: UpdateTableRequest.h:91
AWS_GLUE_API
#define AWS_GLUE_API
Definition: Glue_EXPORTS.h:28
Aws::Glue::Model::UpdateTableRequest::WithCatalogId
UpdateTableRequest & WithCatalogId(Aws::String &&value)
Definition: UpdateTableRequest.h:78
Aws::Glue::Model::UpdateTableRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Glue::Model::UpdateTableRequest::GetCatalogId
const Aws::String & GetCatalogId() const
Definition: UpdateTableRequest.h:42
Aws::Glue::Model::UpdateTableRequest::UpdateTableRequest
UpdateTableRequest()
Aws::Glue::Model::UpdateTableRequest::DatabaseNameHasBeenSet
bool DatabaseNameHasBeenSet() const
Definition: UpdateTableRequest.h:97
Aws::Glue::Model::UpdateTableRequest::CatalogIdHasBeenSet
bool CatalogIdHasBeenSet() const
Definition: UpdateTableRequest.h:48
AWSString.h
Aws::Glue::Model::UpdateTableRequest::WithDatabaseName
UpdateTableRequest & WithDatabaseName(const char *value)
Definition: UpdateTableRequest.h:133
Aws::Glue::GlueRequest
Definition: GlueRequest.h:17
Aws::Glue::Model::UpdateTableRequest::SetSkipArchive
void SetSkipArchive(bool value)
Definition: UpdateTableRequest.h:192
Aws::Glue::Model::UpdateTableRequest::WithCatalogId
UpdateTableRequest & WithCatalogId(const char *value)
Definition: UpdateTableRequest.h:84
Aws::Glue::Model::UpdateTableRequest::SetCatalogId
void SetCatalogId(const char *value)
Definition: UpdateTableRequest.h:66
Aws
Definition: AccessManagementClient.h:15
Aws::Glue::Model::UpdateTableRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glue::Model::TableInput
Definition: TableInput.h:38
Aws::Glue::Model::UpdateTableRequest
Definition: UpdateTableRequest.h:23
Aws::Glue::Model::UpdateTableRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateTableRequest.h:31
TableInput.h
GlueRequest.h