AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ColumnStatisticsTaskSettings.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/Schedule.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
27
34 {
35 public:
40
41
43
46 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
47 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
48 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
49 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
50 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
51 inline ColumnStatisticsTaskSettings& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
52 inline ColumnStatisticsTaskSettings& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
53 inline ColumnStatisticsTaskSettings& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
55
57
60 inline const Aws::String& GetTableName() const{ return m_tableName; }
61 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
62 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
63 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
64 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
65 inline ColumnStatisticsTaskSettings& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
66 inline ColumnStatisticsTaskSettings& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
67 inline ColumnStatisticsTaskSettings& WithTableName(const char* value) { SetTableName(value); return *this;}
69
71
74 inline const Schedule& GetSchedule() const{ return m_schedule; }
75 inline bool ScheduleHasBeenSet() const { return m_scheduleHasBeenSet; }
76 inline void SetSchedule(const Schedule& value) { m_scheduleHasBeenSet = true; m_schedule = value; }
77 inline void SetSchedule(Schedule&& value) { m_scheduleHasBeenSet = true; m_schedule = std::move(value); }
78 inline ColumnStatisticsTaskSettings& WithSchedule(const Schedule& value) { SetSchedule(value); return *this;}
79 inline ColumnStatisticsTaskSettings& WithSchedule(Schedule&& value) { SetSchedule(std::move(value)); return *this;}
81
83
86 inline const Aws::Vector<Aws::String>& GetColumnNameList() const{ return m_columnNameList; }
87 inline bool ColumnNameListHasBeenSet() const { return m_columnNameListHasBeenSet; }
88 inline void SetColumnNameList(const Aws::Vector<Aws::String>& value) { m_columnNameListHasBeenSet = true; m_columnNameList = value; }
89 inline void SetColumnNameList(Aws::Vector<Aws::String>&& value) { m_columnNameListHasBeenSet = true; m_columnNameList = std::move(value); }
92 inline ColumnStatisticsTaskSettings& AddColumnNameList(const Aws::String& value) { m_columnNameListHasBeenSet = true; m_columnNameList.push_back(value); return *this; }
93 inline ColumnStatisticsTaskSettings& AddColumnNameList(Aws::String&& value) { m_columnNameListHasBeenSet = true; m_columnNameList.push_back(std::move(value)); return *this; }
94 inline ColumnStatisticsTaskSettings& AddColumnNameList(const char* value) { m_columnNameListHasBeenSet = true; m_columnNameList.push_back(value); return *this; }
96
98
101 inline const Aws::String& GetCatalogID() const{ return m_catalogID; }
102 inline bool CatalogIDHasBeenSet() const { return m_catalogIDHasBeenSet; }
103 inline void SetCatalogID(const Aws::String& value) { m_catalogIDHasBeenSet = true; m_catalogID = value; }
104 inline void SetCatalogID(Aws::String&& value) { m_catalogIDHasBeenSet = true; m_catalogID = std::move(value); }
105 inline void SetCatalogID(const char* value) { m_catalogIDHasBeenSet = true; m_catalogID.assign(value); }
106 inline ColumnStatisticsTaskSettings& WithCatalogID(const Aws::String& value) { SetCatalogID(value); return *this;}
107 inline ColumnStatisticsTaskSettings& WithCatalogID(Aws::String&& value) { SetCatalogID(std::move(value)); return *this;}
108 inline ColumnStatisticsTaskSettings& WithCatalogID(const char* value) { SetCatalogID(value); return *this;}
110
112
115 inline const Aws::String& GetRole() const{ return m_role; }
116 inline bool RoleHasBeenSet() const { return m_roleHasBeenSet; }
117 inline void SetRole(const Aws::String& value) { m_roleHasBeenSet = true; m_role = value; }
118 inline void SetRole(Aws::String&& value) { m_roleHasBeenSet = true; m_role = std::move(value); }
119 inline void SetRole(const char* value) { m_roleHasBeenSet = true; m_role.assign(value); }
120 inline ColumnStatisticsTaskSettings& WithRole(const Aws::String& value) { SetRole(value); return *this;}
121 inline ColumnStatisticsTaskSettings& WithRole(Aws::String&& value) { SetRole(std::move(value)); return *this;}
122 inline ColumnStatisticsTaskSettings& WithRole(const char* value) { SetRole(value); return *this;}
124
126
129 inline double GetSampleSize() const{ return m_sampleSize; }
130 inline bool SampleSizeHasBeenSet() const { return m_sampleSizeHasBeenSet; }
131 inline void SetSampleSize(double value) { m_sampleSizeHasBeenSet = true; m_sampleSize = value; }
132 inline ColumnStatisticsTaskSettings& WithSampleSize(double value) { SetSampleSize(value); return *this;}
134
136
140 inline const Aws::String& GetSecurityConfiguration() const{ return m_securityConfiguration; }
141 inline bool SecurityConfigurationHasBeenSet() const { return m_securityConfigurationHasBeenSet; }
142 inline void SetSecurityConfiguration(const Aws::String& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = value; }
143 inline void SetSecurityConfiguration(Aws::String&& value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration = std::move(value); }
144 inline void SetSecurityConfiguration(const char* value) { m_securityConfigurationHasBeenSet = true; m_securityConfiguration.assign(value); }
147 inline ColumnStatisticsTaskSettings& WithSecurityConfiguration(const char* value) { SetSecurityConfiguration(value); return *this;}
149 private:
150
151 Aws::String m_databaseName;
152 bool m_databaseNameHasBeenSet = false;
153
154 Aws::String m_tableName;
155 bool m_tableNameHasBeenSet = false;
156
157 Schedule m_schedule;
158 bool m_scheduleHasBeenSet = false;
159
160 Aws::Vector<Aws::String> m_columnNameList;
161 bool m_columnNameListHasBeenSet = false;
162
163 Aws::String m_catalogID;
164 bool m_catalogIDHasBeenSet = false;
165
166 Aws::String m_role;
167 bool m_roleHasBeenSet = false;
168
169 double m_sampleSize;
170 bool m_sampleSizeHasBeenSet = false;
171
172 Aws::String m_securityConfiguration;
173 bool m_securityConfigurationHasBeenSet = false;
174 };
175
176} // namespace Model
177} // namespace Glue
178} // namespace Aws
ColumnStatisticsTaskSettings & WithCatalogID(const Aws::String &value)
ColumnStatisticsTaskSettings & WithCatalogID(Aws::String &&value)
ColumnStatisticsTaskSettings & WithSecurityConfiguration(const char *value)
ColumnStatisticsTaskSettings & WithSchedule(const Schedule &value)
ColumnStatisticsTaskSettings & WithSampleSize(double value)
ColumnStatisticsTaskSettings & WithRole(const char *value)
ColumnStatisticsTaskSettings & WithTableName(const char *value)
ColumnStatisticsTaskSettings & WithSecurityConfiguration(const Aws::String &value)
void SetColumnNameList(const Aws::Vector< Aws::String > &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetColumnNameList(Aws::Vector< Aws::String > &&value)
ColumnStatisticsTaskSettings & AddColumnNameList(Aws::String &&value)
ColumnStatisticsTaskSettings & WithSecurityConfiguration(Aws::String &&value)
ColumnStatisticsTaskSettings & WithDatabaseName(Aws::String &&value)
ColumnStatisticsTaskSettings & WithDatabaseName(const char *value)
const Aws::Vector< Aws::String > & GetColumnNameList() const
AWS_GLUE_API ColumnStatisticsTaskSettings(Aws::Utils::Json::JsonView jsonValue)
ColumnStatisticsTaskSettings & WithRole(Aws::String &&value)
ColumnStatisticsTaskSettings & WithColumnNameList(const Aws::Vector< Aws::String > &value)
ColumnStatisticsTaskSettings & AddColumnNameList(const Aws::String &value)
ColumnStatisticsTaskSettings & WithTableName(const Aws::String &value)
ColumnStatisticsTaskSettings & WithSchedule(Schedule &&value)
ColumnStatisticsTaskSettings & WithColumnNameList(Aws::Vector< Aws::String > &&value)
ColumnStatisticsTaskSettings & WithRole(const Aws::String &value)
ColumnStatisticsTaskSettings & WithCatalogID(const char *value)
ColumnStatisticsTaskSettings & WithDatabaseName(const Aws::String &value)
AWS_GLUE_API ColumnStatisticsTaskSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
ColumnStatisticsTaskSettings & AddColumnNameList(const char *value)
ColumnStatisticsTaskSettings & WithTableName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue