AWS SDK for C++  1.9.2
AWS SDK for C++
WorkGroupConfiguration.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Athena
23 {
24 namespace Model
25 {
26 
41  {
42  public:
47 
48 
60  inline const ResultConfiguration& GetResultConfiguration() const{ return m_resultConfiguration; }
61 
73  inline bool ResultConfigurationHasBeenSet() const { return m_resultConfigurationHasBeenSet; }
74 
86  inline void SetResultConfiguration(const ResultConfiguration& value) { m_resultConfigurationHasBeenSet = true; m_resultConfiguration = value; }
87 
99  inline void SetResultConfiguration(ResultConfiguration&& value) { m_resultConfigurationHasBeenSet = true; m_resultConfiguration = std::move(value); }
100 
112  inline WorkGroupConfiguration& WithResultConfiguration(const ResultConfiguration& value) { SetResultConfiguration(value); return *this;}
113 
125  inline WorkGroupConfiguration& WithResultConfiguration(ResultConfiguration&& value) { SetResultConfiguration(std::move(value)); return *this;}
126 
127 
135  inline bool GetEnforceWorkGroupConfiguration() const{ return m_enforceWorkGroupConfiguration; }
136 
144  inline bool EnforceWorkGroupConfigurationHasBeenSet() const { return m_enforceWorkGroupConfigurationHasBeenSet; }
145 
153  inline void SetEnforceWorkGroupConfiguration(bool value) { m_enforceWorkGroupConfigurationHasBeenSet = true; m_enforceWorkGroupConfiguration = value; }
154 
162  inline WorkGroupConfiguration& WithEnforceWorkGroupConfiguration(bool value) { SetEnforceWorkGroupConfiguration(value); return *this;}
163 
164 
169  inline bool GetPublishCloudWatchMetricsEnabled() const{ return m_publishCloudWatchMetricsEnabled; }
170 
175  inline bool PublishCloudWatchMetricsEnabledHasBeenSet() const { return m_publishCloudWatchMetricsEnabledHasBeenSet; }
176 
181  inline void SetPublishCloudWatchMetricsEnabled(bool value) { m_publishCloudWatchMetricsEnabledHasBeenSet = true; m_publishCloudWatchMetricsEnabled = value; }
182 
187  inline WorkGroupConfiguration& WithPublishCloudWatchMetricsEnabled(bool value) { SetPublishCloudWatchMetricsEnabled(value); return *this;}
188 
189 
194  inline long long GetBytesScannedCutoffPerQuery() const{ return m_bytesScannedCutoffPerQuery; }
195 
200  inline bool BytesScannedCutoffPerQueryHasBeenSet() const { return m_bytesScannedCutoffPerQueryHasBeenSet; }
201 
206  inline void SetBytesScannedCutoffPerQuery(long long value) { m_bytesScannedCutoffPerQueryHasBeenSet = true; m_bytesScannedCutoffPerQuery = value; }
207 
212  inline WorkGroupConfiguration& WithBytesScannedCutoffPerQuery(long long value) { SetBytesScannedCutoffPerQuery(value); return *this;}
213 
214 
226  inline bool GetRequesterPaysEnabled() const{ return m_requesterPaysEnabled; }
227 
239  inline bool RequesterPaysEnabledHasBeenSet() const { return m_requesterPaysEnabledHasBeenSet; }
240 
252  inline void SetRequesterPaysEnabled(bool value) { m_requesterPaysEnabledHasBeenSet = true; m_requesterPaysEnabled = value; }
253 
265  inline WorkGroupConfiguration& WithRequesterPaysEnabled(bool value) { SetRequesterPaysEnabled(value); return *this;}
266 
267 
273  inline const EngineVersion& GetEngineVersion() const{ return m_engineVersion; }
274 
280  inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
281 
287  inline void SetEngineVersion(const EngineVersion& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
288 
294  inline void SetEngineVersion(EngineVersion&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
295 
301  inline WorkGroupConfiguration& WithEngineVersion(const EngineVersion& value) { SetEngineVersion(value); return *this;}
302 
308  inline WorkGroupConfiguration& WithEngineVersion(EngineVersion&& value) { SetEngineVersion(std::move(value)); return *this;}
309 
310  private:
311 
312  ResultConfiguration m_resultConfiguration;
313  bool m_resultConfigurationHasBeenSet;
314 
315  bool m_enforceWorkGroupConfiguration;
316  bool m_enforceWorkGroupConfigurationHasBeenSet;
317 
318  bool m_publishCloudWatchMetricsEnabled;
319  bool m_publishCloudWatchMetricsEnabledHasBeenSet;
320 
321  long long m_bytesScannedCutoffPerQuery;
322  bool m_bytesScannedCutoffPerQueryHasBeenSet;
323 
324  bool m_requesterPaysEnabled;
325  bool m_requesterPaysEnabledHasBeenSet;
326 
327  EngineVersion m_engineVersion;
328  bool m_engineVersionHasBeenSet;
329  };
330 
331 } // namespace Model
332 } // namespace Athena
333 } // namespace Aws
Aws::Athena::Model::WorkGroupConfiguration::WithResultConfiguration
WorkGroupConfiguration & WithResultConfiguration(const ResultConfiguration &value)
Definition: WorkGroupConfiguration.h:112
Aws::Athena::Model::WorkGroupConfiguration::PublishCloudWatchMetricsEnabledHasBeenSet
bool PublishCloudWatchMetricsEnabledHasBeenSet() const
Definition: WorkGroupConfiguration.h:175
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::WorkGroupConfiguration::operator=
WorkGroupConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::WorkGroupConfiguration::SetBytesScannedCutoffPerQuery
void SetBytesScannedCutoffPerQuery(long long value)
Definition: WorkGroupConfiguration.h:206
Aws::Athena::Model::WorkGroupConfiguration::WithResultConfiguration
WorkGroupConfiguration & WithResultConfiguration(ResultConfiguration &&value)
Definition: WorkGroupConfiguration.h:125
Aws::Athena::Model::WorkGroupConfiguration::SetPublishCloudWatchMetricsEnabled
void SetPublishCloudWatchMetricsEnabled(bool value)
Definition: WorkGroupConfiguration.h:181
Aws::Athena::Model::EngineVersion
Definition: EngineVersion.h:32
Aws::Athena::Model::WorkGroupConfiguration::GetPublishCloudWatchMetricsEnabled
bool GetPublishCloudWatchMetricsEnabled() const
Definition: WorkGroupConfiguration.h:169
Aws::Athena::Model::WorkGroupConfiguration::WithRequesterPaysEnabled
WorkGroupConfiguration & WithRequesterPaysEnabled(bool value)
Definition: WorkGroupConfiguration.h:265
Aws::Athena::Model::ResultConfiguration
Definition: ResultConfiguration.h:36
Aws::Athena::Model::WorkGroupConfiguration::GetRequesterPaysEnabled
bool GetRequesterPaysEnabled() const
Definition: WorkGroupConfiguration.h:226
Aws::Athena::Model::WorkGroupConfiguration::WithEngineVersion
WorkGroupConfiguration & WithEngineVersion(const EngineVersion &value)
Definition: WorkGroupConfiguration.h:301
Aws::Athena::Model::WorkGroupConfiguration::ResultConfigurationHasBeenSet
bool ResultConfigurationHasBeenSet() const
Definition: WorkGroupConfiguration.h:73
Aws::Athena::Model::WorkGroupConfiguration::SetResultConfiguration
void SetResultConfiguration(const ResultConfiguration &value)
Definition: WorkGroupConfiguration.h:86
Aws::Athena::Model::WorkGroupConfiguration::WithBytesScannedCutoffPerQuery
WorkGroupConfiguration & WithBytesScannedCutoffPerQuery(long long value)
Definition: WorkGroupConfiguration.h:212
Aws::Athena::Model::WorkGroupConfiguration::SetEngineVersion
void SetEngineVersion(EngineVersion &&value)
Definition: WorkGroupConfiguration.h:294
Aws::Athena::Model::WorkGroupConfiguration::SetEngineVersion
void SetEngineVersion(const EngineVersion &value)
Definition: WorkGroupConfiguration.h:287
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Athena_EXPORTS.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Athena::Model::WorkGroupConfiguration::WithEnforceWorkGroupConfiguration
WorkGroupConfiguration & WithEnforceWorkGroupConfiguration(bool value)
Definition: WorkGroupConfiguration.h:162
Aws::Athena::Model::WorkGroupConfiguration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Athena::Model::WorkGroupConfiguration::GetEnforceWorkGroupConfiguration
bool GetEnforceWorkGroupConfiguration() const
Definition: WorkGroupConfiguration.h:135
Aws::Athena::Model::WorkGroupConfiguration::WithPublishCloudWatchMetricsEnabled
WorkGroupConfiguration & WithPublishCloudWatchMetricsEnabled(bool value)
Definition: WorkGroupConfiguration.h:187
Aws::Athena::Model::WorkGroupConfiguration::RequesterPaysEnabledHasBeenSet
bool RequesterPaysEnabledHasBeenSet() const
Definition: WorkGroupConfiguration.h:239
Aws::Athena::Model::WorkGroupConfiguration::SetRequesterPaysEnabled
void SetRequesterPaysEnabled(bool value)
Definition: WorkGroupConfiguration.h:252
Aws::Athena::Model::WorkGroupConfiguration::GetEngineVersion
const EngineVersion & GetEngineVersion() const
Definition: WorkGroupConfiguration.h:273
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::WorkGroupConfiguration::EnforceWorkGroupConfigurationHasBeenSet
bool EnforceWorkGroupConfigurationHasBeenSet() const
Definition: WorkGroupConfiguration.h:144
Aws::Athena::Model::WorkGroupConfiguration::GetBytesScannedCutoffPerQuery
long long GetBytesScannedCutoffPerQuery() const
Definition: WorkGroupConfiguration.h:194
Aws::Athena::Model::WorkGroupConfiguration::SetResultConfiguration
void SetResultConfiguration(ResultConfiguration &&value)
Definition: WorkGroupConfiguration.h:99
Aws::Athena::Model::WorkGroupConfiguration::WorkGroupConfiguration
WorkGroupConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::WorkGroupConfiguration::WithEngineVersion
WorkGroupConfiguration & WithEngineVersion(EngineVersion &&value)
Definition: WorkGroupConfiguration.h:308
Aws::Athena::Model::WorkGroupConfiguration::GetResultConfiguration
const ResultConfiguration & GetResultConfiguration() const
Definition: WorkGroupConfiguration.h:60
Aws::Athena::Model::WorkGroupConfiguration::BytesScannedCutoffPerQueryHasBeenSet
bool BytesScannedCutoffPerQueryHasBeenSet() const
Definition: WorkGroupConfiguration.h:200
Aws::Athena::Model::WorkGroupConfiguration::WorkGroupConfiguration
WorkGroupConfiguration()
ResultConfiguration.h
Aws::Athena::Model::WorkGroupConfiguration
Definition: WorkGroupConfiguration.h:41
Aws::Athena::Model::WorkGroupConfiguration::SetEnforceWorkGroupConfiguration
void SetEnforceWorkGroupConfiguration(bool value)
Definition: WorkGroupConfiguration.h:153
EngineVersion.h
Aws::Athena::Model::WorkGroupConfiguration::EngineVersionHasBeenSet
bool EngineVersionHasBeenSet() const
Definition: WorkGroupConfiguration.h:280