AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTableMetadataRequest.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/AthenaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Athena
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_ATHENA_API GetTableMetadataRequest();
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetTableMetadata"; }
31
32 AWS_ATHENA_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetCatalogName() const{ return m_catalogName; }
43 inline bool CatalogNameHasBeenSet() const { return m_catalogNameHasBeenSet; }
44 inline void SetCatalogName(const Aws::String& value) { m_catalogNameHasBeenSet = true; m_catalogName = value; }
45 inline void SetCatalogName(Aws::String&& value) { m_catalogNameHasBeenSet = true; m_catalogName = std::move(value); }
46 inline void SetCatalogName(const char* value) { m_catalogNameHasBeenSet = true; m_catalogName.assign(value); }
47 inline GetTableMetadataRequest& WithCatalogName(const Aws::String& value) { SetCatalogName(value); return *this;}
48 inline GetTableMetadataRequest& WithCatalogName(Aws::String&& value) { SetCatalogName(std::move(value)); return *this;}
49 inline GetTableMetadataRequest& WithCatalogName(const char* value) { SetCatalogName(value); return *this;}
51
53
56 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
57 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
58 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
59 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
60 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
61 inline GetTableMetadataRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
62 inline GetTableMetadataRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
63 inline GetTableMetadataRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
65
67
70 inline const Aws::String& GetTableName() const{ return m_tableName; }
71 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
72 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
73 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
74 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
75 inline GetTableMetadataRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
76 inline GetTableMetadataRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
77 inline GetTableMetadataRequest& WithTableName(const char* value) { SetTableName(value); return *this;}
79
81
85 inline const Aws::String& GetWorkGroup() const{ return m_workGroup; }
86 inline bool WorkGroupHasBeenSet() const { return m_workGroupHasBeenSet; }
87 inline void SetWorkGroup(const Aws::String& value) { m_workGroupHasBeenSet = true; m_workGroup = value; }
88 inline void SetWorkGroup(Aws::String&& value) { m_workGroupHasBeenSet = true; m_workGroup = std::move(value); }
89 inline void SetWorkGroup(const char* value) { m_workGroupHasBeenSet = true; m_workGroup.assign(value); }
90 inline GetTableMetadataRequest& WithWorkGroup(const Aws::String& value) { SetWorkGroup(value); return *this;}
91 inline GetTableMetadataRequest& WithWorkGroup(Aws::String&& value) { SetWorkGroup(std::move(value)); return *this;}
92 inline GetTableMetadataRequest& WithWorkGroup(const char* value) { SetWorkGroup(value); return *this;}
94 private:
95
96 Aws::String m_catalogName;
97 bool m_catalogNameHasBeenSet = 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 Aws::String m_workGroup;
106 bool m_workGroupHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Athena
111} // namespace Aws
GetTableMetadataRequest & WithCatalogName(Aws::String &&value)
GetTableMetadataRequest & WithTableName(const Aws::String &value)
GetTableMetadataRequest & WithWorkGroup(Aws::String &&value)
GetTableMetadataRequest & WithCatalogName(const char *value)
GetTableMetadataRequest & WithTableName(Aws::String &&value)
GetTableMetadataRequest & WithDatabaseName(const Aws::String &value)
GetTableMetadataRequest & WithDatabaseName(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetTableMetadataRequest & WithWorkGroup(const char *value)
GetTableMetadataRequest & WithWorkGroup(const Aws::String &value)
GetTableMetadataRequest & WithDatabaseName(Aws::String &&value)
AWS_ATHENA_API Aws::String SerializePayload() const override
GetTableMetadataRequest & WithCatalogName(const Aws::String &value)
GetTableMetadataRequest & WithTableName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String