AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DeletePartitionIndexRequest.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 <utility>
11
12namespace Aws
13{
14namespace Glue
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_GLUE_API DeletePartitionIndexRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeletePartitionIndex"; }
31
32 AWS_GLUE_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
42 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
43 template<typename CatalogIdT = Aws::String>
44 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::forward<CatalogIdT>(value); }
45 template<typename CatalogIdT = Aws::String>
46 DeletePartitionIndexRequest& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
48
50
54 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
55 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
56 template<typename DatabaseNameT = Aws::String>
57 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
58 template<typename DatabaseNameT = Aws::String>
59 DeletePartitionIndexRequest& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
61
63
67 inline const Aws::String& GetTableName() const { return m_tableName; }
68 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
69 template<typename TableNameT = Aws::String>
70 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
71 template<typename TableNameT = Aws::String>
72 DeletePartitionIndexRequest& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
74
76
79 inline const Aws::String& GetIndexName() const { return m_indexName; }
80 inline bool IndexNameHasBeenSet() const { return m_indexNameHasBeenSet; }
81 template<typename IndexNameT = Aws::String>
82 void SetIndexName(IndexNameT&& value) { m_indexNameHasBeenSet = true; m_indexName = std::forward<IndexNameT>(value); }
83 template<typename IndexNameT = Aws::String>
84 DeletePartitionIndexRequest& WithIndexName(IndexNameT&& value) { SetIndexName(std::forward<IndexNameT>(value)); return *this;}
86 private:
87
88 Aws::String m_catalogId;
89 bool m_catalogIdHasBeenSet = false;
90
91 Aws::String m_databaseName;
92 bool m_databaseNameHasBeenSet = false;
93
94 Aws::String m_tableName;
95 bool m_tableNameHasBeenSet = false;
96
97 Aws::String m_indexName;
98 bool m_indexNameHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Glue
103} // namespace Aws
AWS_GLUE_API Aws::String SerializePayload() const override
AWS_GLUE_API DeletePartitionIndexRequest()=default
DeletePartitionIndexRequest & WithCatalogId(CatalogIdT &&value)
DeletePartitionIndexRequest & WithIndexName(IndexNameT &&value)
DeletePartitionIndexRequest & WithTableName(TableNameT &&value)
DeletePartitionIndexRequest & WithDatabaseName(DatabaseNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String