AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateColumnStatisticsTaskSettingsRequest.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 "UpdateColumnStatisticsTaskSettings"; }
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); }
49 inline UpdateColumnStatisticsTaskSettingsRequest& 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); }
62 inline UpdateColumnStatisticsTaskSettingsRequest& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
63 inline UpdateColumnStatisticsTaskSettingsRequest& WithTableName(const char* value) { SetTableName(value); return *this;}
65
67
70 inline const Aws::String& GetRole() const{ return m_role; }
71 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
72 inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
73 inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
74 inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
75 inline UpdateColumnStatisticsTaskSettingsRequest& WithRole(const Aws::String& value) { SetRole(value); return *this;}
76 inline UpdateColumnStatisticsTaskSettingsRequest& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
77 inline UpdateColumnStatisticsTaskSettingsRequest& WithRole(const char* value) { SetRole(value); return *this;}
79
81
84 inline const Aws::String& GetSchedule() const{ return m_schedule; }
85 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
86 inline void SetSchedule(const Aws::String& value) { m_scheduleHasBeenSet = true; m_schedule = value; }
87 inline void SetSchedule(Aws::String&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); }
88 inline void SetSchedule(const char* value) { m_scheduleHasBeenSet = true; m_schedule.assign(value); }
90 inline UpdateColumnStatisticsTaskSettingsRequest& WithSchedule(Aws::String&& value) { SetSchedule(std::move(value)); return *this;}
91 inline UpdateColumnStatisticsTaskSettingsRequest& WithSchedule(const char* value) { SetSchedule(value); return *this;}
93
95
98 inline const Aws::Vector<Aws::String>& GetColumnNameList() const{ return m_columnNameList; }
99 inline bool ColumnNameListHasBeenSet() const { return m_columnNameListHasBeenSet; }
100 inline void SetColumnNameList(const Aws::Vector<Aws::String>& value) { m_columnNameListHasBeenSet = true; m_columnNameList = value; }
101 inline void SetColumnNameList(Aws::Vector<Aws::String>&& value) { m_columnNameListHasBeenSet = true; m_columnNameList = std::move(value); }
104 inline UpdateColumnStatisticsTaskSettingsRequest& AddColumnNameList(const Aws::String& value) { m_columnNameListHasBeenSet = true; m_columnNameList.push_back(value); return *this; }
105 inline UpdateColumnStatisticsTaskSettingsRequest& AddColumnNameList(Aws::String&& value) { m_columnNameListHasBeenSet = true; m_columnNameList.push_back(std::move(value)); return *this; }
106 inline UpdateColumnStatisticsTaskSettingsRequest& AddColumnNameList(const char* value) { m_columnNameListHasBeenSet = true; m_columnNameList.push_back(value); return *this; }
108
110
113 inline double GetSampleSize() const{ return m_sampleSize; }
114 inline bool SampleSizeHasBeenSet() const { return m_sampleSizeHasBeenSet; }
115 inline void SetSampleSize(double value) { m_sampleSizeHasBeenSet = true; m_sampleSize = value; }
116 inline UpdateColumnStatisticsTaskSettingsRequest& WithSampleSize(double value) { SetSampleSize(value); return *this;}
118
120
123 inline const Aws::String& GetCatalogID() const{ return m_catalogID; }
124 inline bool CatalogIDHasBeenSet() const { return m_catalogIDHasBeenSet; }
125 inline void SetCatalogID(const Aws::String& value) { m_catalogIDHasBeenSet = true; m_catalogID = value; }
126 inline void SetCatalogID(Aws::String&& value) { m_catalogIDHasBeenSet = true; m_catalogID = std::move(value); }
127 inline void SetCatalogID(const char* value) { m_catalogIDHasBeenSet = true; m_catalogID.assign(value); }
129 inline UpdateColumnStatisticsTaskSettingsRequest& WithCatalogID(Aws::String&& value) { SetCatalogID(std::move(value)); return *this;}
130 inline UpdateColumnStatisticsTaskSettingsRequest& WithCatalogID(const char* value) { SetCatalogID(value); return *this;}
132
134
138 inline const Aws::String& GetSecurityConfiguration() const{ return m_securityConfiguration; }
139 inline bool SecurityConfigurationHasBeenSet() const { return m_securityConfigurationHasBeenSet; }
140 inline void SetSecurityConfiguration(const Aws::String& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = value; }
141 inline void SetSecurityConfiguration(Aws::String&& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = std::move(value); }
142 inline void SetSecurityConfiguration(const char* value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration.assign(value); }
147 private:
148
149 Aws::String m_databaseName;
150 bool m_databaseNameHasBeenSet = false;
151
152 Aws::String m_tableName;
153 bool m_tableNameHasBeenSet = false;
154
155 Aws::String m_role;
156 bool m_roleHasBeenSet = false;
157
158 Aws::String m_schedule;
159 bool m_scheduleHasBeenSet = false;
160
161 Aws::Vector<Aws::String> m_columnNameList;
162 bool m_columnNameListHasBeenSet = false;
163
164 double m_sampleSize;
165 bool m_sampleSizeHasBeenSet = false;
166
167 Aws::String m_catalogID;
168 bool m_catalogIDHasBeenSet = false;
169
170 Aws::String m_securityConfiguration;
171 bool m_securityConfigurationHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace Glue
176} // namespace Aws
UpdateColumnStatisticsTaskSettingsRequest & WithSchedule(Aws::String &&value)
AWS_GLUE_API Aws::String SerializePayload() const override
UpdateColumnStatisticsTaskSettingsRequest & WithRole(Aws::String &&value)
UpdateColumnStatisticsTaskSettingsRequest & WithTableName(const Aws::String &value)
UpdateColumnStatisticsTaskSettingsRequest & AddColumnNameList(const Aws::String &value)
UpdateColumnStatisticsTaskSettingsRequest & WithCatalogID(const char *value)
UpdateColumnStatisticsTaskSettingsRequest & WithRole(const Aws::String &value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateColumnStatisticsTaskSettingsRequest & WithCatalogID(const Aws::String &value)
UpdateColumnStatisticsTaskSettingsRequest & WithCatalogID(Aws::String &&value)
UpdateColumnStatisticsTaskSettingsRequest & AddColumnNameList(Aws::String &&value)
UpdateColumnStatisticsTaskSettingsRequest & WithSampleSize(double value)
UpdateColumnStatisticsTaskSettingsRequest & WithRole(const char *value)
UpdateColumnStatisticsTaskSettingsRequest & WithSecurityConfiguration(const char *value)
UpdateColumnStatisticsTaskSettingsRequest & AddColumnNameList(const char *value)
UpdateColumnStatisticsTaskSettingsRequest & WithDatabaseName(Aws::String &&value)
UpdateColumnStatisticsTaskSettingsRequest & WithSecurityConfiguration(const Aws::String &value)
UpdateColumnStatisticsTaskSettingsRequest & WithColumnNameList(Aws::Vector< Aws::String > &&value)
UpdateColumnStatisticsTaskSettingsRequest & WithSchedule(const Aws::String &value)
UpdateColumnStatisticsTaskSettingsRequest & WithDatabaseName(const Aws::String &value)
UpdateColumnStatisticsTaskSettingsRequest & WithSchedule(const char *value)
UpdateColumnStatisticsTaskSettingsRequest & WithSecurityConfiguration(Aws::String &&value)
UpdateColumnStatisticsTaskSettingsRequest & WithTableName(Aws::String &&value)
UpdateColumnStatisticsTaskSettingsRequest & WithColumnNameList(const Aws::Vector< Aws::String > &value)
UpdateColumnStatisticsTaskSettingsRequest & WithDatabaseName(const char *value)
UpdateColumnStatisticsTaskSettingsRequest & WithTableName(const char *value)
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