AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DeleteTableOptimizerRequest.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/TableOptimizerType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUE_API DeleteTableOptimizerRequest() = default;
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 "DeleteTableOptimizer"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
43 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
44 template<typename CatalogIdT = Aws::String>
45 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::forward<CatalogIdT>(value); }
46 template<typename CatalogIdT = Aws::String>
47 DeleteTableOptimizerRequest& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
49
51
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 DeleteTableOptimizerRequest& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
61
63
66 inline const Aws::String& GetTableName() const { return m_tableName; }
67 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
68 template<typename TableNameT = Aws::String>
69 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
70 template<typename TableNameT = Aws::String>
71 DeleteTableOptimizerRequest& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
73
75
78 inline TableOptimizerType GetType() const { return m_type; }
79 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
80 inline void SetType(TableOptimizerType value) { m_typeHasBeenSet = true; m_type = value; }
81 inline DeleteTableOptimizerRequest& WithType(TableOptimizerType value) { SetType(value); return *this;}
83 private:
84
85 Aws::String m_catalogId;
86 bool m_catalogIdHasBeenSet = false;
87
88 Aws::String m_databaseName;
89 bool m_databaseNameHasBeenSet = false;
90
91 Aws::String m_tableName;
92 bool m_tableNameHasBeenSet = false;
93
95 bool m_typeHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace Glue
100} // namespace Aws
AWS_GLUE_API Aws::String SerializePayload() const override
AWS_GLUE_API DeleteTableOptimizerRequest()=default
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DeleteTableOptimizerRequest & WithDatabaseName(DatabaseNameT &&value)
DeleteTableOptimizerRequest & WithTableName(TableNameT &&value)
DeleteTableOptimizerRequest & WithCatalogId(CatalogIdT &&value)
virtual const char * GetServiceRequestName() const override
DeleteTableOptimizerRequest & WithType(TableOptimizerType value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String