AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
CreatePartitionIndexRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/PartitionIndex.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API CreatePartitionIndexRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CreatePartitionIndex"; }
29
30 AWS_GLUE_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
39 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
40 template <typename CatalogIdT = Aws::String>
41 void SetCatalogId(CatalogIdT&& value) {
42 m_catalogIdHasBeenSet = true;
43 m_catalogId = std::forward<CatalogIdT>(value);
44 }
45 template <typename CatalogIdT = Aws::String>
47 SetCatalogId(std::forward<CatalogIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
58 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
59 template <typename DatabaseNameT = Aws::String>
60 void SetDatabaseName(DatabaseNameT&& value) {
61 m_databaseNameHasBeenSet = true;
62 m_databaseName = std::forward<DatabaseNameT>(value);
63 }
64 template <typename DatabaseNameT = Aws::String>
66 SetDatabaseName(std::forward<DatabaseNameT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::String& GetTableName() const { return m_tableName; }
77 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
78 template <typename TableNameT = Aws::String>
79 void SetTableName(TableNameT&& value) {
80 m_tableNameHasBeenSet = true;
81 m_tableName = std::forward<TableNameT>(value);
82 }
83 template <typename TableNameT = Aws::String>
85 SetTableName(std::forward<TableNameT>(value));
86 return *this;
87 }
89
91
95 inline const PartitionIndex& GetPartitionIndex() const { return m_partitionIndex; }
96 inline bool PartitionIndexHasBeenSet() const { return m_partitionIndexHasBeenSet; }
97 template <typename PartitionIndexT = PartitionIndex>
98 void SetPartitionIndex(PartitionIndexT&& value) {
99 m_partitionIndexHasBeenSet = true;
100 m_partitionIndex = std::forward<PartitionIndexT>(value);
101 }
102 template <typename PartitionIndexT = PartitionIndex>
104 SetPartitionIndex(std::forward<PartitionIndexT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_catalogId;
110 bool m_catalogIdHasBeenSet = false;
111
112 Aws::String m_databaseName;
113 bool m_databaseNameHasBeenSet = false;
114
115 Aws::String m_tableName;
116 bool m_tableNameHasBeenSet = false;
117
118 PartitionIndex m_partitionIndex;
119 bool m_partitionIndexHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace Glue
124} // 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