AWS SDK for C++  1.9.40
AWS SDK for C++
GetColumnStatisticsForTableRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/glue/GlueRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Glue
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "GetColumnStatisticsForTable"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
43 
48  inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
49 
54  inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
55 
60  inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
61 
66  inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
67 
72  inline GetColumnStatisticsForTableRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
73 
78  inline GetColumnStatisticsForTableRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
79 
84  inline GetColumnStatisticsForTableRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
85 
86 
90  inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
91 
95  inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
96 
100  inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
101 
105  inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
106 
110  inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
111 
115  inline GetColumnStatisticsForTableRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
116 
120  inline GetColumnStatisticsForTableRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
121 
125  inline GetColumnStatisticsForTableRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
126 
127 
131  inline const Aws::String& GetTableName() const{ return m_tableName; }
132 
136  inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
137 
141  inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
142 
146  inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
147 
151  inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
152 
156  inline GetColumnStatisticsForTableRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
157 
161  inline GetColumnStatisticsForTableRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
162 
166  inline GetColumnStatisticsForTableRequest& WithTableName(const char* value) { SetTableName(value); return *this;}
167 
168 
172  inline const Aws::Vector<Aws::String>& GetColumnNames() const{ return m_columnNames; }
173 
177  inline bool ColumnNamesHasBeenSet() const { return m_columnNamesHasBeenSet; }
178 
182  inline void SetColumnNames(const Aws::Vector<Aws::String>& value) { m_columnNamesHasBeenSet = true; m_columnNames = value; }
183 
187  inline void SetColumnNames(Aws::Vector<Aws::String>&& value) { m_columnNamesHasBeenSet = true; m_columnNames = std::move(value); }
188 
192  inline GetColumnStatisticsForTableRequest& WithColumnNames(const Aws::Vector<Aws::String>& value) { SetColumnNames(value); return *this;}
193 
197  inline GetColumnStatisticsForTableRequest& WithColumnNames(Aws::Vector<Aws::String>&& value) { SetColumnNames(std::move(value)); return *this;}
198 
202  inline GetColumnStatisticsForTableRequest& AddColumnNames(const Aws::String& value) { m_columnNamesHasBeenSet = true; m_columnNames.push_back(value); return *this; }
203 
207  inline GetColumnStatisticsForTableRequest& AddColumnNames(Aws::String&& value) { m_columnNamesHasBeenSet = true; m_columnNames.push_back(std::move(value)); return *this; }
208 
212  inline GetColumnStatisticsForTableRequest& AddColumnNames(const char* value) { m_columnNamesHasBeenSet = true; m_columnNames.push_back(value); return *this; }
213 
214  private:
215 
216  Aws::String m_catalogId;
217  bool m_catalogIdHasBeenSet;
218 
219  Aws::String m_databaseName;
220  bool m_databaseNameHasBeenSet;
221 
222  Aws::String m_tableName;
223  bool m_tableNameHasBeenSet;
224 
225  Aws::Vector<Aws::String> m_columnNames;
226  bool m_columnNamesHasBeenSet;
227  };
228 
229 } // namespace Model
230 } // namespace Glue
231 } // namespace Aws
Aws::Glue::Model::GetColumnStatisticsForTableRequest::AddColumnNames
GetColumnStatisticsForTableRequest & AddColumnNames(const char *value)
Definition: GetColumnStatisticsForTableRequest.h:212
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::Glue::Model::GetColumnStatisticsForTableRequest::GetTableName
const Aws::String & GetTableName() const
Definition: GetColumnStatisticsForTableRequest.h:131
Aws::Glue::Model::GetColumnStatisticsForTableRequest::ColumnNamesHasBeenSet
bool ColumnNamesHasBeenSet() const
Definition: GetColumnStatisticsForTableRequest.h:177
Aws::Glue::Model::GetColumnStatisticsForTableRequest::WithColumnNames
GetColumnStatisticsForTableRequest & WithColumnNames(Aws::Vector< Aws::String > &&value)
Definition: GetColumnStatisticsForTableRequest.h:197
Aws::Glue::Model::GetColumnStatisticsForTableRequest::SetTableName
void SetTableName(const Aws::String &value)
Definition: GetColumnStatisticsForTableRequest.h:141
Aws::Glue::Model::GetColumnStatisticsForTableRequest::GetCatalogId
const Aws::String & GetCatalogId() const
Definition: GetColumnStatisticsForTableRequest.h:42
Glue_EXPORTS.h
Aws::Glue::Model::GetColumnStatisticsForTableRequest::SetDatabaseName
void SetDatabaseName(const char *value)
Definition: GetColumnStatisticsForTableRequest.h:110
Aws::Glue::Model::GetColumnStatisticsForTableRequest::WithCatalogId
GetColumnStatisticsForTableRequest & WithCatalogId(Aws::String &&value)
Definition: GetColumnStatisticsForTableRequest.h:78
Aws::Glue::Model::GetColumnStatisticsForTableRequest::SetDatabaseName
void SetDatabaseName(Aws::String &&value)
Definition: GetColumnStatisticsForTableRequest.h:105
Aws::Glue::Model::GetColumnStatisticsForTableRequest::WithDatabaseName
GetColumnStatisticsForTableRequest & WithDatabaseName(Aws::String &&value)
Definition: GetColumnStatisticsForTableRequest.h:120
Aws::Glue::Model::GetColumnStatisticsForTableRequest::GetDatabaseName
const Aws::String & GetDatabaseName() const
Definition: GetColumnStatisticsForTableRequest.h:90
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Glue::Model::GetColumnStatisticsForTableRequest::GetColumnStatisticsForTableRequest
GetColumnStatisticsForTableRequest()
AWSVector.h
Aws::Glue::Model::GetColumnStatisticsForTableRequest::TableNameHasBeenSet
bool TableNameHasBeenSet() const
Definition: GetColumnStatisticsForTableRequest.h:136
Aws::Glue::Model::GetColumnStatisticsForTableRequest::WithTableName
GetColumnStatisticsForTableRequest & WithTableName(const char *value)
Definition: GetColumnStatisticsForTableRequest.h:166
Aws::Glue::Model::GetColumnStatisticsForTableRequest::WithTableName
GetColumnStatisticsForTableRequest & WithTableName(const Aws::String &value)
Definition: GetColumnStatisticsForTableRequest.h:156
Aws::Glue::Model::GetColumnStatisticsForTableRequest::WithDatabaseName
GetColumnStatisticsForTableRequest & WithDatabaseName(const char *value)
Definition: GetColumnStatisticsForTableRequest.h:125
Aws::Glue::Model::GetColumnStatisticsForTableRequest::SetDatabaseName
void SetDatabaseName(const Aws::String &value)
Definition: GetColumnStatisticsForTableRequest.h:100
Aws::Glue::Model::GetColumnStatisticsForTableRequest::AddColumnNames
GetColumnStatisticsForTableRequest & AddColumnNames(const Aws::String &value)
Definition: GetColumnStatisticsForTableRequest.h:202
AWS_GLUE_API
#define AWS_GLUE_API
Definition: Glue_EXPORTS.h:28
Aws::Glue::Model::GetColumnStatisticsForTableRequest::WithDatabaseName
GetColumnStatisticsForTableRequest & WithDatabaseName(const Aws::String &value)
Definition: GetColumnStatisticsForTableRequest.h:115
Aws::Glue::Model::GetColumnStatisticsForTableRequest::DatabaseNameHasBeenSet
bool DatabaseNameHasBeenSet() const
Definition: GetColumnStatisticsForTableRequest.h:95
Aws::Glue::Model::GetColumnStatisticsForTableRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetColumnStatisticsForTableRequest.h:31
Aws::Glue::Model::GetColumnStatisticsForTableRequest::CatalogIdHasBeenSet
bool CatalogIdHasBeenSet() const
Definition: GetColumnStatisticsForTableRequest.h:48
AWSString.h
Aws::Glue::Model::GetColumnStatisticsForTableRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Glue::Model::GetColumnStatisticsForTableRequest::GetColumnNames
const Aws::Vector< Aws::String > & GetColumnNames() const
Definition: GetColumnStatisticsForTableRequest.h:172
Aws::Glue::Model::GetColumnStatisticsForTableRequest::SetTableName
void SetTableName(const char *value)
Definition: GetColumnStatisticsForTableRequest.h:151
Aws::Glue::Model::GetColumnStatisticsForTableRequest::WithCatalogId
GetColumnStatisticsForTableRequest & WithCatalogId(const Aws::String &value)
Definition: GetColumnStatisticsForTableRequest.h:72
Aws::Glue::Model::GetColumnStatisticsForTableRequest::SetCatalogId
void SetCatalogId(const Aws::String &value)
Definition: GetColumnStatisticsForTableRequest.h:54
Aws::Glue::GlueRequest
Definition: GlueRequest.h:17
Aws::Glue::Model::GetColumnStatisticsForTableRequest::SetCatalogId
void SetCatalogId(const char *value)
Definition: GetColumnStatisticsForTableRequest.h:66
Aws::Glue::Model::GetColumnStatisticsForTableRequest::AddColumnNames
GetColumnStatisticsForTableRequest & AddColumnNames(Aws::String &&value)
Definition: GetColumnStatisticsForTableRequest.h:207
Aws
Definition: AccessManagementClient.h:15
Aws::Glue::Model::GetColumnStatisticsForTableRequest::WithTableName
GetColumnStatisticsForTableRequest & WithTableName(Aws::String &&value)
Definition: GetColumnStatisticsForTableRequest.h:161
Aws::Glue::Model::GetColumnStatisticsForTableRequest::WithColumnNames
GetColumnStatisticsForTableRequest & WithColumnNames(const Aws::Vector< Aws::String > &value)
Definition: GetColumnStatisticsForTableRequest.h:192
Aws::Glue::Model::GetColumnStatisticsForTableRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glue::Model::GetColumnStatisticsForTableRequest
Definition: GetColumnStatisticsForTableRequest.h:23
Aws::Glue::Model::GetColumnStatisticsForTableRequest::SetCatalogId
void SetCatalogId(Aws::String &&value)
Definition: GetColumnStatisticsForTableRequest.h:60
Aws::Glue::Model::GetColumnStatisticsForTableRequest::SetTableName
void SetTableName(Aws::String &&value)
Definition: GetColumnStatisticsForTableRequest.h:146
Aws::Glue::Model::GetColumnStatisticsForTableRequest::WithCatalogId
GetColumnStatisticsForTableRequest & WithCatalogId(const char *value)
Definition: GetColumnStatisticsForTableRequest.h:84
Aws::Glue::Model::GetColumnStatisticsForTableRequest::SetColumnNames
void SetColumnNames(Aws::Vector< Aws::String > &&value)
Definition: GetColumnStatisticsForTableRequest.h:187
GlueRequest.h
Aws::Glue::Model::GetColumnStatisticsForTableRequest::SetColumnNames
void SetColumnNames(const Aws::Vector< Aws::String > &value)
Definition: GetColumnStatisticsForTableRequest.h:182