AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartColumnStatisticsTaskRunRequest.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 <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace 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 "StartColumnStatisticsTaskRun"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
43 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
44 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
45 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
46 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
48 inline StartColumnStatisticsTaskRunRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
49 inline StartColumnStatisticsTaskRunRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
51
53
56 inline const Aws::String& GetTableName() const{ return m_tableName; }
57 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
58 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
59 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
60 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
61 inline StartColumnStatisticsTaskRunRequest& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
62 inline StartColumnStatisticsTaskRunRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
63 inline StartColumnStatisticsTaskRunRequest& WithTableName(const char* value) { SetTableName(value); return *this;}
65
67
71 inline const Aws::Vector<Aws::String>& GetColumnNameList() const{ return m_columnNameList; }
72 inline bool ColumnNameListHasBeenSet() const { return m_columnNameListHasBeenSet; }
73 inline void SetColumnNameList(const Aws::Vector<Aws::String>& value) { m_columnNameListHasBeenSet = true; m_columnNameList = value; }
74 inline void SetColumnNameList(Aws::Vector<Aws::String>&& value) { m_columnNameListHasBeenSet = true; m_columnNameList = std::move(value); }
77 inline StartColumnStatisticsTaskRunRequest& AddColumnNameList(const Aws::String& value) { m_columnNameListHasBeenSet = true; m_columnNameList.push_back(value); return *this; }
78 inline StartColumnStatisticsTaskRunRequest& AddColumnNameList(Aws::String&& value) { m_columnNameListHasBeenSet = true; m_columnNameList.push_back(std::move(value)); return *this; }
79 inline StartColumnStatisticsTaskRunRequest& AddColumnNameList(const char* value) { m_columnNameListHasBeenSet = true; m_columnNameList.push_back(value); return *this; }
81
83
86 inline const Aws::String& GetRole() const{ return m_role; }
87 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
88 inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
89 inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
90 inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
91 inline StartColumnStatisticsTaskRunRequest& WithRole(const Aws::String& value) { SetRole(value); return *this;}
92 inline StartColumnStatisticsTaskRunRequest& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
93 inline StartColumnStatisticsTaskRunRequest& WithRole(const char* value) { SetRole(value); return *this;}
95
97
101 inline double GetSampleSize() const{ return m_sampleSize; }
102 inline bool SampleSizeHasBeenSet() const { return m_sampleSizeHasBeenSet; }
103 inline void SetSampleSize(double value) { m_sampleSizeHasBeenSet = true; m_sampleSize = value; }
104 inline StartColumnStatisticsTaskRunRequest& WithSampleSize(double value) { SetSampleSize(value); return *this;}
106
108
112 inline const Aws::String& GetCatalogID() const{ return m_catalogID; }
113 inline bool CatalogIDHasBeenSet() const { return m_catalogIDHasBeenSet; }
114 inline void SetCatalogID(const Aws::String& value) { m_catalogIDHasBeenSet = true; m_catalogID = value; }
115 inline void SetCatalogID(Aws::String&& value) { m_catalogIDHasBeenSet = true; m_catalogID = std::move(value); }
116 inline void SetCatalogID(const char* value) { m_catalogIDHasBeenSet = true; m_catalogID.assign(value); }
117 inline StartColumnStatisticsTaskRunRequest& WithCatalogID(const Aws::String& value) { SetCatalogID(value); return *this;}
118 inline StartColumnStatisticsTaskRunRequest& WithCatalogID(Aws::String&& value) { SetCatalogID(std::move(value)); return *this;}
119 inline StartColumnStatisticsTaskRunRequest& WithCatalogID(const char* value) { SetCatalogID(value); return *this;}
121
123
127 inline const Aws::String& GetSecurityConfiguration() const{ return m_securityConfiguration; }
128 inline bool SecurityConfigurationHasBeenSet() const { return m_securityConfigurationHasBeenSet; }
129 inline void SetSecurityConfiguration(const Aws::String& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = value; }
130 inline void SetSecurityConfiguration(Aws::String&& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = std::move(value); }
131 inline void SetSecurityConfiguration(const char* value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration.assign(value); }
136 private:
137
138 Aws::String m_databaseName;
139 bool m_databaseNameHasBeenSet = false;
140
141 Aws::String m_tableName;
142 bool m_tableNameHasBeenSet = false;
143
144 Aws::Vector<Aws::String> m_columnNameList;
145 bool m_columnNameListHasBeenSet = false;
146
147 Aws::String m_role;
148 bool m_roleHasBeenSet = false;
149
150 double m_sampleSize;
151 bool m_sampleSizeHasBeenSet = false;
152
153 Aws::String m_catalogID;
154 bool m_catalogIDHasBeenSet = false;
155
156 Aws::String m_securityConfiguration;
157 bool m_securityConfigurationHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace Glue
162} // namespace Aws
StartColumnStatisticsTaskRunRequest & AddColumnNameList(const Aws::String &value)
StartColumnStatisticsTaskRunRequest & AddColumnNameList(Aws::String &&value)
StartColumnStatisticsTaskRunRequest & WithTableName(const char *value)
StartColumnStatisticsTaskRunRequest & WithCatalogID(const Aws::String &value)
StartColumnStatisticsTaskRunRequest & WithColumnNameList(Aws::Vector< Aws::String > &&value)
StartColumnStatisticsTaskRunRequest & WithTableName(const Aws::String &value)
AWS_GLUE_API Aws::String SerializePayload() const override
StartColumnStatisticsTaskRunRequest & AddColumnNameList(const char *value)
StartColumnStatisticsTaskRunRequest & WithTableName(Aws::String &&value)
StartColumnStatisticsTaskRunRequest & WithRole(Aws::String &&value)
StartColumnStatisticsTaskRunRequest & WithCatalogID(Aws::String &&value)
StartColumnStatisticsTaskRunRequest & WithDatabaseName(Aws::String &&value)
StartColumnStatisticsTaskRunRequest & WithColumnNameList(const Aws::Vector< Aws::String > &value)
StartColumnStatisticsTaskRunRequest & WithDatabaseName(const Aws::String &value)
StartColumnStatisticsTaskRunRequest & WithRole(const char *value)
StartColumnStatisticsTaskRunRequest & WithRole(const Aws::String &value)
StartColumnStatisticsTaskRunRequest & WithSecurityConfiguration(Aws::String &&value)
StartColumnStatisticsTaskRunRequest & WithSecurityConfiguration(const char *value)
StartColumnStatisticsTaskRunRequest & WithSampleSize(double value)
StartColumnStatisticsTaskRunRequest & WithSecurityConfiguration(const Aws::String &value)
StartColumnStatisticsTaskRunRequest & WithCatalogID(const char *value)
StartColumnStatisticsTaskRunRequest & WithDatabaseName(const char *value)
AWS_GLUE_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
std::vector< T, Aws::Allocator< T > > Vector