AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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 template<typename DatabaseNameT = Aws::String>
45 void SetDatabaseName(DatabaseNameT&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::forward<DatabaseNameT>(value); }
46 template<typename DatabaseNameT = Aws::String>
47 UpdateColumnStatisticsTaskSettingsRequest& WithDatabaseName(DatabaseNameT&& value) { SetDatabaseName(std::forward<DatabaseNameT>(value)); return *this;}
49
51
54 inline const Aws::String& GetTableName() const { return m_tableName; }
55 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
56 template<typename TableNameT = Aws::String>
57 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
58 template<typename TableNameT = Aws::String>
59 UpdateColumnStatisticsTaskSettingsRequest& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
61
63
66 inline const Aws::String& GetRole() const { return m_role; }
67 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
68 template<typename RoleT = Aws::String>
69 void SetRole(RoleT&& value) { m_roleHasBeenSet = true; m_role = std::forward<RoleT>(value); }
70 template<typename RoleT = Aws::String>
71 UpdateColumnStatisticsTaskSettingsRequest& WithRole(RoleT&& value) { SetRole(std::forward<RoleT>(value)); return *this;}
73
75
78 inline const Aws::String& GetSchedule() const { return m_schedule; }
79 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
80 template<typename ScheduleT = Aws::String>
81 void SetSchedule(ScheduleT&& value) { m_scheduleHasBeenSet = true; m_schedule = std::forward<ScheduleT>(value); }
82 template<typename ScheduleT = Aws::String>
83 UpdateColumnStatisticsTaskSettingsRequest& WithSchedule(ScheduleT&& value) { SetSchedule(std::forward<ScheduleT>(value)); return *this;}
85
87
90 inline const Aws::Vector<Aws::String>& GetColumnNameList() const { return m_columnNameList; }
91 inline bool ColumnNameListHasBeenSet() const { return m_columnNameListHasBeenSet; }
92 template<typename ColumnNameListT = Aws::Vector<Aws::String>>
93 void SetColumnNameList(ColumnNameListT&& value) { m_columnNameListHasBeenSet = true; m_columnNameList = std::forward<ColumnNameListT>(value); }
94 template<typename ColumnNameListT = Aws::Vector<Aws::String>>
95 UpdateColumnStatisticsTaskSettingsRequest& WithColumnNameList(ColumnNameListT&& value) { SetColumnNameList(std::forward<ColumnNameListT>(value)); return *this;}
96 template<typename ColumnNameListT = Aws::String>
97 UpdateColumnStatisticsTaskSettingsRequest& AddColumnNameList(ColumnNameListT&& value) { m_columnNameListHasBeenSet = true; m_columnNameList.emplace_back(std::forward<ColumnNameListT>(value)); return *this; }
99
101
104 inline double GetSampleSize() const { return m_sampleSize; }
105 inline bool SampleSizeHasBeenSet() const { return m_sampleSizeHasBeenSet; }
106 inline void SetSampleSize(double value) { m_sampleSizeHasBeenSet = true; m_sampleSize = value; }
107 inline UpdateColumnStatisticsTaskSettingsRequest& WithSampleSize(double value) { SetSampleSize(value); return *this;}
109
111
114 inline const Aws::String& GetCatalogID() const { return m_catalogID; }
115 inline bool CatalogIDHasBeenSet() const { return m_catalogIDHasBeenSet; }
116 template<typename CatalogIDT = Aws::String>
117 void SetCatalogID(CatalogIDT&& value) { m_catalogIDHasBeenSet = true; m_catalogID = std::forward<CatalogIDT>(value); }
118 template<typename CatalogIDT = Aws::String>
119 UpdateColumnStatisticsTaskSettingsRequest& WithCatalogID(CatalogIDT&& value) { SetCatalogID(std::forward<CatalogIDT>(value)); return *this;}
121
123
127 inline const Aws::String& GetSecurityConfiguration() const { return m_securityConfiguration; }
128 inline bool SecurityConfigurationHasBeenSet() const { return m_securityConfigurationHasBeenSet; }
129 template<typename SecurityConfigurationT = Aws::String>
130 void SetSecurityConfiguration(SecurityConfigurationT&& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = std::forward<SecurityConfigurationT>(value); }
131 template<typename SecurityConfigurationT = Aws::String>
132 UpdateColumnStatisticsTaskSettingsRequest& WithSecurityConfiguration(SecurityConfigurationT&& value) { SetSecurityConfiguration(std::forward<SecurityConfigurationT>(value)); return *this;}
134 private:
135
136 Aws::String m_databaseName;
137 bool m_databaseNameHasBeenSet = false;
138
139 Aws::String m_tableName;
140 bool m_tableNameHasBeenSet = false;
141
142 Aws::String m_role;
143 bool m_roleHasBeenSet = false;
144
145 Aws::String m_schedule;
146 bool m_scheduleHasBeenSet = false;
147
148 Aws::Vector<Aws::String> m_columnNameList;
149 bool m_columnNameListHasBeenSet = false;
150
151 double m_sampleSize{0.0};
152 bool m_sampleSizeHasBeenSet = false;
153
154 Aws::String m_catalogID;
155 bool m_catalogIDHasBeenSet = false;
156
157 Aws::String m_securityConfiguration;
158 bool m_securityConfigurationHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace Glue
163} // namespace Aws
AWS_GLUE_API Aws::String SerializePayload() const override
UpdateColumnStatisticsTaskSettingsRequest & WithRole(RoleT &&value)
UpdateColumnStatisticsTaskSettingsRequest & WithColumnNameList(ColumnNameListT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateColumnStatisticsTaskSettingsRequest & WithSampleSize(double value)
UpdateColumnStatisticsTaskSettingsRequest & AddColumnNameList(ColumnNameListT &&value)
UpdateColumnStatisticsTaskSettingsRequest & WithSchedule(ScheduleT &&value)
UpdateColumnStatisticsTaskSettingsRequest & WithCatalogID(CatalogIDT &&value)
UpdateColumnStatisticsTaskSettingsRequest & WithTableName(TableNameT &&value)
UpdateColumnStatisticsTaskSettingsRequest & WithSecurityConfiguration(SecurityConfigurationT &&value)
UpdateColumnStatisticsTaskSettingsRequest & WithDatabaseName(DatabaseNameT &&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