AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
BatchUpdatePartitionRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/glue/model/BatchUpdatePartitionRequestEntry.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Glue
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_GLUE_API BatchUpdatePartitionRequest() = default;
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 "BatchUpdatePartition"; }
33
34 AWS_GLUE_API Aws::String SerializePayload() const override;
35
37
38
40
44 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
45 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
46 template<typename CatalogIdT = Aws::String>
47 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::forward<CatalogIdT>(value); }
48 template<typename CatalogIdT = Aws::String>
49 BatchUpdatePartitionRequest& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
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) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
61 template<typename DatabaseNameT = Aws::String>
62 BatchUpdatePartitionRequest& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetTableName() const { return m_tableName; }
70 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
71 template<typename TableNameT = Aws::String>
72 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
73 template<typename TableNameT = Aws::String>
74 BatchUpdatePartitionRequest& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
76
78
82 inline const Aws::Vector<BatchUpdatePartitionRequestEntry>& GetEntries() const { return m_entries; }
83 inline bool EntriesHasBeenSet() const { return m_entriesHasBeenSet; }
84 template<typename EntriesT = Aws::Vector<BatchUpdatePartitionRequestEntry>>
85 void SetEntries(EntriesT&& value) { m_entriesHasBeenSet = true; m_entries = std::forward<EntriesT>(value); }
86 template<typename EntriesT = Aws::Vector<BatchUpdatePartitionRequestEntry>>
87 BatchUpdatePartitionRequest& WithEntries(EntriesT&& value) { SetEntries(std::forward<EntriesT>(value)); return *this;}
88 template<typename EntriesT = BatchUpdatePartitionRequestEntry>
89 BatchUpdatePartitionRequest& AddEntries(EntriesT&& value) { m_entriesHasBeenSet = true; m_entries.emplace_back(std::forward<EntriesT>(value)); return *this; }
91 private:
92
93 Aws::String m_catalogId;
94 bool m_catalogIdHasBeenSet = false;
95
96 Aws::String m_databaseName;
97 bool m_databaseNameHasBeenSet = false;
98
99 Aws::String m_tableName;
100 bool m_tableNameHasBeenSet = false;
101
103 bool m_entriesHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace Glue
108} // 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