AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ListTableMetadataRequest.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 ListTableMetadataRequest() = default;
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 "ListTableMetadata"; }
31
32 AWS_ATHENA_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetCatalogName() const { return m_catalogName; }
42 inline bool CatalogNameHasBeenSet() const { return m_catalogNameHasBeenSet; }
43 template<typename CatalogNameT = Aws::String>
44 void SetCatalogName(CatalogNameT&& value) { m_catalogNameHasBeenSet = true; m_catalogName = std::forward<CatalogNameT>(value); }
45 template<typename CatalogNameT = Aws::String>
46 ListTableMetadataRequest& WithCatalogName(CatalogNameT&& value) { SetCatalogName(std::forward<CatalogNameT>(value)); return *this;}
48
50
53 inline const Aws::String& GetDatabaseName() const { return m_databaseName; }
54 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
55 template<typename DatabaseNameT = Aws::String>
56 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
57 template<typename DatabaseNameT = Aws::String>
58 ListTableMetadataRequest& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
60
62
66 inline const Aws::String& GetExpression() const { return m_expression; }
67 inline bool ExpressionHasBeenSet() const { return m_expressionHasBeenSet; }
68 template<typename ExpressionT = Aws::String>
69 void SetExpression(ExpressionT&& value) { m_expressionHasBeenSet = true; m_expression = std::forward<ExpressionT>(value); }
70 template<typename ExpressionT = Aws::String>
71 ListTableMetadataRequest& WithExpression(ExpressionT&& value) { SetExpression(std::forward<ExpressionT>(value)); return *this;}
73
75
80 inline const Aws::String& GetNextToken() const { return m_nextToken; }
81 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
82 template<typename NextTokenT = Aws::String>
83 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
84 template<typename NextTokenT = Aws::String>
85 ListTableMetadataRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
87
89
92 inline int GetMaxResults() const { return m_maxResults; }
93 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
94 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
95 inline ListTableMetadataRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
97
99
103 inline const Aws::String& GetWorkGroup() const { return m_workGroup; }
104 inline bool WorkGroupHasBeenSet() const { return m_workGroupHasBeenSet; }
105 template<typename WorkGroupT = Aws::String>
106 void SetWorkGroup(WorkGroupT&& value) { m_workGroupHasBeenSet = true; m_workGroup = std::forward<WorkGroupT>(value); }
107 template<typename WorkGroupT = Aws::String>
108 ListTableMetadataRequest& WithWorkGroup(WorkGroupT&& value) { SetWorkGroup(std::forward<WorkGroupT>(value)); return *this;}
110 private:
111
112 Aws::String m_catalogName;
113 bool m_catalogNameHasBeenSet = false;
114
115 Aws::String m_databaseName;
116 bool m_databaseNameHasBeenSet = false;
117
118 Aws::String m_expression;
119 bool m_expressionHasBeenSet = false;
120
121 Aws::String m_nextToken;
122 bool m_nextTokenHasBeenSet = false;
123
124 int m_maxResults{0};
125 bool m_maxResultsHasBeenSet = false;
126
127 Aws::String m_workGroup;
128 bool m_workGroupHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace Athena
133} // namespace Aws
AWS_ATHENA_API Aws::String SerializePayload() const override
ListTableMetadataRequest & WithWorkGroup(WorkGroupT &&value)
ListTableMetadataRequest & WithDatabaseName(DatabaseNameT &&value)
virtual const char * GetServiceRequestName() const override
ListTableMetadataRequest & WithExpression(ExpressionT &&value)
AWS_ATHENA_API ListTableMetadataRequest()=default
ListTableMetadataRequest & WithMaxResults(int value)
ListTableMetadataRequest & WithCatalogName(CatalogNameT &&value)
ListTableMetadataRequest & WithNextToken(NextTokenT &&value)
AWS_ATHENA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String