AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreatePartitionIndexRequest.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/PartitionIndex.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace 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 "CreatePartitionIndex"; }
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 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
45 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
46 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
47 inline CreatePartitionIndexRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
48 inline CreatePartitionIndexRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
49 inline CreatePartitionIndexRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
51
53
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 CreatePartitionIndexRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
63 inline CreatePartitionIndexRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
64 inline CreatePartitionIndexRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
66
68
72 inline const Aws::String& GetTableName() const{ return m_tableName; }
73 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
74 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
75 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
76 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
77 inline CreatePartitionIndexRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
78 inline CreatePartitionIndexRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
79 inline CreatePartitionIndexRequest& WithTableName(const char* value) { SetTableName(value); return *this;}
81
83
87 inline const PartitionIndex& GetPartitionIndex() const{ return m_partitionIndex; }
88 inline bool PartitionIndexHasBeenSet() const { return m_partitionIndexHasBeenSet; }
89 inline void SetPartitionIndex(const PartitionIndex& value) { m_partitionIndexHasBeenSet = true; m_partitionIndex = value; }
90 inline void SetPartitionIndex(PartitionIndex&& value) { m_partitionIndexHasBeenSet = true; m_partitionIndex = std::move(value); }
92 inline CreatePartitionIndexRequest& WithPartitionIndex(PartitionIndex&& value) { SetPartitionIndex(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_catalogId;
97 bool m_catalogIdHasBeenSet = false;
98
99 Aws::String m_databaseName;
100 bool m_databaseNameHasBeenSet = false;
101
102 Aws::String m_tableName;
103 bool m_tableNameHasBeenSet = false;
104
105 PartitionIndex m_partitionIndex;
106 bool m_partitionIndexHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Glue
111} // namespace Aws
CreatePartitionIndexRequest & WithTableName(Aws::String &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
CreatePartitionIndexRequest & WithDatabaseName(const Aws::String &value)
CreatePartitionIndexRequest & WithTableName(const Aws::String &value)
CreatePartitionIndexRequest & WithPartitionIndex(PartitionIndex &&value)
CreatePartitionIndexRequest & WithCatalogId(const char *value)
CreatePartitionIndexRequest & WithDatabaseName(Aws::String &&value)
CreatePartitionIndexRequest & WithTableName(const char *value)
CreatePartitionIndexRequest & WithPartitionIndex(const PartitionIndex &value)
AWS_GLUE_API Aws::String SerializePayload() const override
CreatePartitionIndexRequest & WithCatalogId(Aws::String &&value)
CreatePartitionIndexRequest & WithCatalogId(const Aws::String &value)
CreatePartitionIndexRequest & WithDatabaseName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String