AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateTableOptimizerRequest.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 <aws/glue/model/TableOptimizerConfiguration.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Glue
17{
18namespace Model
19{
20
24 {
25 public:
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 "CreateTableOptimizer"; }
33
34 AWS_GLUE_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
44 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
45 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
46 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
47 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
48 inline CreateTableOptimizerRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
49 inline CreateTableOptimizerRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
50 inline CreateTableOptimizerRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
52
54
57 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
58 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
59 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
60 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
61 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
62 inline CreateTableOptimizerRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
63 inline CreateTableOptimizerRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
64 inline CreateTableOptimizerRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
66
68
71 inline const Aws::String& GetTableName() const{ return m_tableName; }
72 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
73 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
74 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
75 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
76 inline CreateTableOptimizerRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
77 inline CreateTableOptimizerRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
78 inline CreateTableOptimizerRequest& WithTableName(const char* value) { SetTableName(value); return *this;}
80
82
86 inline const TableOptimizerType& GetType() const{ return m_type; }
87 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
88 inline void SetType(const TableOptimizerType& value) { m_typeHasBeenSet = true; m_type = value; }
89 inline void SetType(TableOptimizerType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
90 inline CreateTableOptimizerRequest& WithType(const TableOptimizerType& value) { SetType(value); return *this;}
91 inline CreateTableOptimizerRequest& WithType(TableOptimizerType&& value) { SetType(std::move(value)); return *this;}
93
95
99 inline const TableOptimizerConfiguration& GetTableOptimizerConfiguration() const{ return m_tableOptimizerConfiguration; }
100 inline bool TableOptimizerConfigurationHasBeenSet() const { return m_tableOptimizerConfigurationHasBeenSet; }
101 inline void SetTableOptimizerConfiguration(const TableOptimizerConfiguration& value) { m_tableOptimizerConfigurationHasBeenSet = true; m_tableOptimizerConfiguration = value; }
102 inline void SetTableOptimizerConfiguration(TableOptimizerConfiguration&& value) { m_tableOptimizerConfigurationHasBeenSet = true; m_tableOptimizerConfiguration = std::move(value); }
106 private:
107
108 Aws::String m_catalogId;
109 bool m_catalogIdHasBeenSet = false;
110
111 Aws::String m_databaseName;
112 bool m_databaseNameHasBeenSet = false;
113
114 Aws::String m_tableName;
115 bool m_tableNameHasBeenSet = false;
116
117 TableOptimizerType m_type;
118 bool m_typeHasBeenSet = false;
119
120 TableOptimizerConfiguration m_tableOptimizerConfiguration;
121 bool m_tableOptimizerConfigurationHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace Glue
126} // namespace Aws
CreateTableOptimizerRequest & WithDatabaseName(const char *value)
CreateTableOptimizerRequest & WithTableName(Aws::String &&value)
CreateTableOptimizerRequest & WithCatalogId(const char *value)
void SetTableOptimizerConfiguration(const TableOptimizerConfiguration &value)
CreateTableOptimizerRequest & WithCatalogId(const Aws::String &value)
CreateTableOptimizerRequest & WithType(TableOptimizerType &&value)
CreateTableOptimizerRequest & WithTableOptimizerConfiguration(const TableOptimizerConfiguration &value)
void SetTableOptimizerConfiguration(TableOptimizerConfiguration &&value)
const TableOptimizerConfiguration & GetTableOptimizerConfiguration() const
CreateTableOptimizerRequest & WithDatabaseName(Aws::String &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateTableOptimizerRequest & WithTableName(const char *value)
CreateTableOptimizerRequest & WithTableName(const Aws::String &value)
CreateTableOptimizerRequest & WithTableOptimizerConfiguration(TableOptimizerConfiguration &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
CreateTableOptimizerRequest & WithCatalogId(Aws::String &&value)
CreateTableOptimizerRequest & WithDatabaseName(const Aws::String &value)
CreateTableOptimizerRequest & WithType(const TableOptimizerType &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String