AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateColumnStatisticsTaskSettingsRequest.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/core/utils/memory/stl/AWSMap.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Glue
17{
18namespace Model
19{
20
24 {
25 public:
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 "CreateColumnStatisticsTaskSettings"; }
33
34 AWS_GLUE_API Aws::String SerializePayload() const override;
35
37
38
40
43 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
44 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
45 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
46 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
47 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
50 inline CreateColumnStatisticsTaskSettingsRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
52
54
57 inline const Aws::String& GetTableName() const{ return m_tableName; }
58 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
59 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
60 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
61 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
63 inline CreateColumnStatisticsTaskSettingsRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
64 inline CreateColumnStatisticsTaskSettingsRequest& WithTableName(const char* value) { SetTableName(value); return *this;}
66
68
71 inline const Aws::String& GetRole() const{ return m_role; }
72 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
73 inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
74 inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
75 inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
76 inline CreateColumnStatisticsTaskSettingsRequest& WithRole(const Aws::String& value) { SetRole(value); return *this;}
77 inline CreateColumnStatisticsTaskSettingsRequest& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
78 inline CreateColumnStatisticsTaskSettingsRequest& WithRole(const char* value) { SetRole(value); return *this;}
80
82
85 inline const Aws::String& GetSchedule() const{ return m_schedule; }
86 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
87 inline void SetSchedule(const Aws::String& value) { m_scheduleHasBeenSet = true; m_schedule = value; }
88 inline void SetSchedule(Aws::String&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); }
89 inline void SetSchedule(const char* value) { m_scheduleHasBeenSet = true; m_schedule.assign(value); }
91 inline CreateColumnStatisticsTaskSettingsRequest& WithSchedule(Aws::String&& value) { SetSchedule(std::move(value)); return *this;}
92 inline CreateColumnStatisticsTaskSettingsRequest& WithSchedule(const char* value) { SetSchedule(value); return *this;}
94
96
99 inline const Aws::Vector<Aws::String>& GetColumnNameList() const{ return m_columnNameList; }
100 inline bool ColumnNameListHasBeenSet() const { return m_columnNameListHasBeenSet; }
101 inline void SetColumnNameList(const Aws::Vector<Aws::String>& value) { m_columnNameListHasBeenSet = true; m_columnNameList = value; }
102 inline void SetColumnNameList(Aws::Vector<Aws::String>&& value) { m_columnNameListHasBeenSet = true; m_columnNameList = std::move(value); }
105 inline CreateColumnStatisticsTaskSettingsRequest& AddColumnNameList(const Aws::String& value) { m_columnNameListHasBeenSet = true; m_columnNameList.push_back(value); return *this; }
106 inline CreateColumnStatisticsTaskSettingsRequest& AddColumnNameList(Aws::String&& value) { m_columnNameListHasBeenSet = true; m_columnNameList.push_back(std::move(value)); return *this; }
107 inline CreateColumnStatisticsTaskSettingsRequest& AddColumnNameList(const char* value) { m_columnNameListHasBeenSet = true; m_columnNameList.push_back(value); return *this; }
109
111
114 inline double GetSampleSize() const{ return m_sampleSize; }
115 inline bool SampleSizeHasBeenSet() const { return m_sampleSizeHasBeenSet; }
116 inline void SetSampleSize(double value) { m_sampleSizeHasBeenSet = true; m_sampleSize = value; }
117 inline CreateColumnStatisticsTaskSettingsRequest& WithSampleSize(double value) { SetSampleSize(value); return *this;}
119
121
124 inline const Aws::String& GetCatalogID() const{ return m_catalogID; }
125 inline bool CatalogIDHasBeenSet() const { return m_catalogIDHasBeenSet; }
126 inline void SetCatalogID(const Aws::String& value) { m_catalogIDHasBeenSet = true; m_catalogID = value; }
127 inline void SetCatalogID(Aws::String&& value) { m_catalogIDHasBeenSet = true; m_catalogID = std::move(value); }
128 inline void SetCatalogID(const char* value) { m_catalogIDHasBeenSet = true; m_catalogID.assign(value); }
130 inline CreateColumnStatisticsTaskSettingsRequest& WithCatalogID(Aws::String&& value) { SetCatalogID(std::move(value)); return *this;}
131 inline CreateColumnStatisticsTaskSettingsRequest& WithCatalogID(const char* value) { SetCatalogID(value); return *this;}
133
135
139 inline const Aws::String& GetSecurityConfiguration() const{ return m_securityConfiguration; }
140 inline bool SecurityConfigurationHasBeenSet() const { return m_securityConfigurationHasBeenSet; }
141 inline void SetSecurityConfiguration(const Aws::String& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = value; }
142 inline void SetSecurityConfiguration(Aws::String&& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = std::move(value); }
143 inline void SetSecurityConfiguration(const char* value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration.assign(value); }
148
150
153 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
154 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
155 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
156 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
159 inline CreateColumnStatisticsTaskSettingsRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
160 inline CreateColumnStatisticsTaskSettingsRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
161 inline CreateColumnStatisticsTaskSettingsRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
162 inline CreateColumnStatisticsTaskSettingsRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
163 inline CreateColumnStatisticsTaskSettingsRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
164 inline CreateColumnStatisticsTaskSettingsRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
165 inline CreateColumnStatisticsTaskSettingsRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
167 private:
168
169 Aws::String m_databaseName;
170 bool m_databaseNameHasBeenSet = false;
171
172 Aws::String m_tableName;
173 bool m_tableNameHasBeenSet = false;
174
175 Aws::String m_role;
176 bool m_roleHasBeenSet = false;
177
178 Aws::String m_schedule;
179 bool m_scheduleHasBeenSet = false;
180
181 Aws::Vector<Aws::String> m_columnNameList;
182 bool m_columnNameListHasBeenSet = false;
183
184 double m_sampleSize;
185 bool m_sampleSizeHasBeenSet = false;
186
187 Aws::String m_catalogID;
188 bool m_catalogIDHasBeenSet = false;
189
190 Aws::String m_securityConfiguration;
191 bool m_securityConfigurationHasBeenSet = false;
192
194 bool m_tagsHasBeenSet = false;
195 };
196
197} // namespace Model
198} // namespace Glue
199} // namespace Aws
CreateColumnStatisticsTaskSettingsRequest & WithSecurityConfiguration(Aws::String &&value)
CreateColumnStatisticsTaskSettingsRequest & WithDatabaseName(Aws::String &&value)
CreateColumnStatisticsTaskSettingsRequest & WithRole(Aws::String &&value)
CreateColumnStatisticsTaskSettingsRequest & WithColumnNameList(const Aws::Vector< Aws::String > &value)
CreateColumnStatisticsTaskSettingsRequest & WithColumnNameList(Aws::Vector< Aws::String > &&value)
CreateColumnStatisticsTaskSettingsRequest & WithSchedule(const Aws::String &value)
CreateColumnStatisticsTaskSettingsRequest & WithCatalogID(const char *value)
CreateColumnStatisticsTaskSettingsRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateColumnStatisticsTaskSettingsRequest & WithTableName(const char *value)
CreateColumnStatisticsTaskSettingsRequest & WithDatabaseName(const char *value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateColumnStatisticsTaskSettingsRequest & WithCatalogID(Aws::String &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
CreateColumnStatisticsTaskSettingsRequest & WithTableName(Aws::String &&value)
CreateColumnStatisticsTaskSettingsRequest & WithDatabaseName(const Aws::String &value)
CreateColumnStatisticsTaskSettingsRequest & WithSecurityConfiguration(const char *value)
CreateColumnStatisticsTaskSettingsRequest & AddColumnNameList(Aws::String &&value)
CreateColumnStatisticsTaskSettingsRequest & WithSampleSize(double value)
CreateColumnStatisticsTaskSettingsRequest & WithRole(const char *value)
CreateColumnStatisticsTaskSettingsRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateColumnStatisticsTaskSettingsRequest & WithSchedule(Aws::String &&value)
CreateColumnStatisticsTaskSettingsRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateColumnStatisticsTaskSettingsRequest & WithTableName(const Aws::String &value)
CreateColumnStatisticsTaskSettingsRequest & AddColumnNameList(const Aws::String &value)
CreateColumnStatisticsTaskSettingsRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateColumnStatisticsTaskSettingsRequest & WithSecurityConfiguration(const Aws::String &value)
CreateColumnStatisticsTaskSettingsRequest & AddTags(Aws::String &&key, const char *value)
CreateColumnStatisticsTaskSettingsRequest & AddTags(const char *key, Aws::String &&value)
CreateColumnStatisticsTaskSettingsRequest & WithRole(const Aws::String &value)
CreateColumnStatisticsTaskSettingsRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateColumnStatisticsTaskSettingsRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateColumnStatisticsTaskSettingsRequest & WithCatalogID(const Aws::String &value)
CreateColumnStatisticsTaskSettingsRequest & AddTags(const char *key, const char *value)
CreateColumnStatisticsTaskSettingsRequest & AddColumnNameList(const char *value)
CreateColumnStatisticsTaskSettingsRequest & WithSchedule(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector