AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
25 AWS_GLUE_API CreatePartitionIndexRequest() = 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 "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 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 CreatePartitionIndexRequest& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
49
51
55 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
56 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
57 template<typename DatabaseNameT = Aws::String>
58 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
59 template<typename DatabaseNameT = Aws::String>
60 CreatePartitionIndexRequest& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
62
64
68 inline const Aws::String& GetTableName() const { return m_tableName; }
69 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
70 template<typename TableNameT = Aws::String>
71 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
72 template<typename TableNameT = Aws::String>
73 CreatePartitionIndexRequest& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
75
77
81 inline const PartitionIndex& GetPartitionIndex() const { return m_partitionIndex; }
82 inline bool PartitionIndexHasBeenSet() const { return m_partitionIndexHasBeenSet; }
83 template<typename PartitionIndexT = PartitionIndex>
84 void SetPartitionIndex(PartitionIndexT&& value) { m_partitionIndexHasBeenSet = true; m_partitionIndex = std::forward<PartitionIndexT>(value); }
85 template<typename PartitionIndexT = PartitionIndex>
86 CreatePartitionIndexRequest& WithPartitionIndex(PartitionIndexT&& value) { SetPartitionIndex(std::forward<PartitionIndexT>(value)); return *this;}
88 private:
89
90 Aws::String m_catalogId;
91 bool m_catalogIdHasBeenSet = false;
92
93 Aws::String m_databaseName;
94 bool m_databaseNameHasBeenSet = false;
95
96 Aws::String m_tableName;
97 bool m_tableNameHasBeenSet = false;
98
99 PartitionIndex m_partitionIndex;
100 bool m_partitionIndexHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace Glue
105} // namespace Aws
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
CreatePartitionIndexRequest & WithTableName(TableNameT &&value)
CreatePartitionIndexRequest & WithCatalogId(CatalogIdT &&value)
CreatePartitionIndexRequest & WithDatabaseName(DatabaseNameT &&value)
AWS_GLUE_API CreatePartitionIndexRequest()=default
AWS_GLUE_API Aws::String SerializePayload() const override
CreatePartitionIndexRequest & WithPartitionIndex(PartitionIndexT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String