AWS SDK for C++

AWS SDK for C++ Version 1.11.690

Loading...
Searching...
No Matches
BatchUpdatePartitionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/GlueRequest.h>
10#include <aws/glue/Glue_EXPORTS.h>
11#include <aws/glue/model/BatchUpdatePartitionRequestEntry.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Glue {
17namespace Model {
18
22 public:
23 AWS_GLUE_API BatchUpdatePartitionRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "BatchUpdatePartition"; }
30
31 AWS_GLUE_API Aws::String SerializePayload() const override;
32
34
36
40 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
41 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
42 template <typename CatalogIdT = Aws::String>
43 void SetCatalogId(CatalogIdT&& value) {
44 m_catalogIdHasBeenSet = true;
45 m_catalogId = std::forward<CatalogIdT>(value);
46 }
47 template <typename CatalogIdT = Aws::String>
49 SetCatalogId(std::forward<CatalogIdT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
60 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
61 template <typename DatabaseNameT = Aws::String>
62 void SetDatabaseName(DatabaseNameT&& value) {
63 m_databaseNameHasBeenSet = true;
64 m_databaseName = std::forward<DatabaseNameT>(value);
65 }
66 template <typename DatabaseNameT = Aws::String>
68 SetDatabaseName(std::forward<DatabaseNameT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetTableName() const { return m_tableName; }
78 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
79 template <typename TableNameT = Aws::String>
80 void SetTableName(TableNameT&& value) {
81 m_tableNameHasBeenSet = true;
82 m_tableName = std::forward<TableNameT>(value);
83 }
84 template <typename TableNameT = Aws::String>
86 SetTableName(std::forward<TableNameT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::Vector<BatchUpdatePartitionRequestEntry>& GetEntries() const { return m_entries; }
97 inline bool EntriesHasBeenSet() const { return m_entriesHasBeenSet; }
98 template <typename EntriesT = Aws::Vector<BatchUpdatePartitionRequestEntry>>
99 void SetEntries(EntriesT&& value) {
100 m_entriesHasBeenSet = true;
101 m_entries = std::forward<EntriesT>(value);
102 }
103 template <typename EntriesT = Aws::Vector<BatchUpdatePartitionRequestEntry>>
105 SetEntries(std::forward<EntriesT>(value));
106 return *this;
107 }
108 template <typename EntriesT = BatchUpdatePartitionRequestEntry>
110 m_entriesHasBeenSet = true;
111 m_entries.emplace_back(std::forward<EntriesT>(value));
112 return *this;
113 }
115 private:
116 Aws::String m_catalogId;
117 bool m_catalogIdHasBeenSet = false;
118
119 Aws::String m_databaseName;
120 bool m_databaseNameHasBeenSet = false;
121
122 Aws::String m_tableName;
123 bool m_tableNameHasBeenSet = false;
124
126 bool m_entriesHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace Glue
131} // namespace Aws
const Aws::Vector< BatchUpdatePartitionRequestEntry > & GetEntries() const
AWS_GLUE_API BatchUpdatePartitionRequest()=default
BatchUpdatePartitionRequest & AddEntries(EntriesT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
BatchUpdatePartitionRequest & WithCatalogId(CatalogIdT &&value)
BatchUpdatePartitionRequest & WithDatabaseName(DatabaseNameT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
BatchUpdatePartitionRequest & WithEntries(EntriesT &&value)
BatchUpdatePartitionRequest & WithTableName(TableNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector