AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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 template<typename DatabaseNameT = Aws::String>
46 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
47 template<typename DatabaseNameT = Aws::String>
48 CreateColumnStatisticsTaskSettingsRequest& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
50
52
55 inline const Aws::String& GetTableName() const { return m_tableName; }
56 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
57 template<typename TableNameT = Aws::String>
58 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
59 template<typename TableNameT = Aws::String>
60 CreateColumnStatisticsTaskSettingsRequest& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
62
64
67 inline const Aws::String& GetRole() const { return m_role; }
68 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
69 template<typename RoleT = Aws::String>
70 void SetRole(RoleT&& value) { m_roleHasBeenSet = true; m_role = std::forward<RoleT>(value); }
71 template<typename RoleT = Aws::String>
72 CreateColumnStatisticsTaskSettingsRequest& WithRole(RoleT&& value) { SetRole(std::forward<RoleT>(value)); return *this;}
74
76
79 inline const Aws::String& GetSchedule() const { return m_schedule; }
80 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
81 template<typename ScheduleT = Aws::String>
82 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet = true; m_schedule = std::forward<ScheduleT>(value); }
83 template<typename ScheduleT = Aws::String>
84 CreateColumnStatisticsTaskSettingsRequest& WithSchedule(ScheduleT&& value) { SetSchedule(std::forward<ScheduleT>(value)); return *this;}
86
88
91 inline const Aws::Vector<Aws::String>& GetColumnNameList() const { return m_columnNameList; }
92 inline bool ColumnNameListHasBeenSet() const { return m_columnNameListHasBeenSet; }
93 template<typename ColumnNameListT = Aws::Vector<Aws::String>>
94 void SetColumnNameList(ColumnNameListT&& value) { m_columnNameListHasBeenSet = true; m_columnNameList = std::forward<ColumnNameListT>(value); }
95 template<typename ColumnNameListT = Aws::Vector<Aws::String>>
96 CreateColumnStatisticsTaskSettingsRequest& WithColumnNameList(ColumnNameListT&& value) { SetColumnNameList(std::forward<ColumnNameListT>(value)); return *this;}
97 template<typename ColumnNameListT = Aws::String>
98 CreateColumnStatisticsTaskSettingsRequest& AddColumnNameList(ColumnNameListT&& value) { m_columnNameListHasBeenSet = true; m_columnNameList.emplace_back(std::forward<ColumnNameListT>(value)); return *this; }
100
102
105 inline double GetSampleSize() const { return m_sampleSize; }
106 inline bool SampleSizeHasBeenSet() const { return m_sampleSizeHasBeenSet; }
107 inline void SetSampleSize(double value) { m_sampleSizeHasBeenSet = true; m_sampleSize = value; }
108 inline CreateColumnStatisticsTaskSettingsRequest& WithSampleSize(double value) { SetSampleSize(value); return *this;}
110
112
115 inline const Aws::String& GetCatalogID() const { return m_catalogID; }
116 inline bool CatalogIDHasBeenSet() const { return m_catalogIDHasBeenSet; }
117 template<typename CatalogIDT = Aws::String>
118 void SetCatalogID(CatalogIDT&& value) { m_catalogIDHasBeenSet = true; m_catalogID = std::forward<CatalogIDT>(value); }
119 template<typename CatalogIDT = Aws::String>
120 CreateColumnStatisticsTaskSettingsRequest& WithCatalogID(CatalogIDT&& value) { SetCatalogID(std::forward<CatalogIDT>(value)); return *this;}
122
124
128 inline const Aws::String& GetSecurityConfiguration() const { return m_securityConfiguration; }
129 inline bool SecurityConfigurationHasBeenSet() const { return m_securityConfigurationHasBeenSet; }
130 template<typename SecurityConfigurationT = Aws::String>
131 void SetSecurityConfiguration(SecurityConfigurationT&& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = std::forward<SecurityConfigurationT>(value); }
132 template<typename SecurityConfigurationT = Aws::String>
133 CreateColumnStatisticsTaskSettingsRequest& WithSecurityConfiguration(SecurityConfigurationT&& value) { SetSecurityConfiguration(std::forward<SecurityConfigurationT>(value)); return *this;}
135
137
140 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
141 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
142 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
143 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
144 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
145 CreateColumnStatisticsTaskSettingsRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
146 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
147 CreateColumnStatisticsTaskSettingsRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
148 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
149 }
151 private:
152
153 Aws::String m_databaseName;
154 bool m_databaseNameHasBeenSet = false;
155
156 Aws::String m_tableName;
157 bool m_tableNameHasBeenSet = false;
158
159 Aws::String m_role;
160 bool m_roleHasBeenSet = false;
161
162 Aws::String m_schedule;
163 bool m_scheduleHasBeenSet = false;
164
165 Aws::Vector<Aws::String> m_columnNameList;
166 bool m_columnNameListHasBeenSet = false;
167
168 double m_sampleSize{0.0};
169 bool m_sampleSizeHasBeenSet = false;
170
171 Aws::String m_catalogID;
172 bool m_catalogIDHasBeenSet = false;
173
174 Aws::String m_securityConfiguration;
175 bool m_securityConfigurationHasBeenSet = false;
176
178 bool m_tagsHasBeenSet = false;
179 };
180
181} // namespace Model
182} // namespace Glue
183} // namespace Aws
CreateColumnStatisticsTaskSettingsRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateColumnStatisticsTaskSettingsRequest & WithTags(TagsT &&value)
CreateColumnStatisticsTaskSettingsRequest & WithColumnNameList(ColumnNameListT &&value)
CreateColumnStatisticsTaskSettingsRequest & AddColumnNameList(ColumnNameListT &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
CreateColumnStatisticsTaskSettingsRequest & WithRole(RoleT &&value)
CreateColumnStatisticsTaskSettingsRequest & WithSampleSize(double value)
CreateColumnStatisticsTaskSettingsRequest & WithSecurityConfiguration(SecurityConfigurationT &&value)
CreateColumnStatisticsTaskSettingsRequest & WithCatalogID(CatalogIDT &&value)
CreateColumnStatisticsTaskSettingsRequest & WithSchedule(ScheduleT &&value)
CreateColumnStatisticsTaskSettingsRequest & WithDatabaseName(DatabaseNameT &&value)
CreateColumnStatisticsTaskSettingsRequest & WithTableName(TableNameT &&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