AWS SDK for C++  1.9.105
AWS SDK for C++
WorkGroupConfigurationUpdates.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 
38  {
39  public:
44 
45 
53  inline bool GetEnforceWorkGroupConfiguration() const{ return m_enforceWorkGroupConfiguration; }
54 
62  inline bool EnforceWorkGroupConfigurationHasBeenSet() const { return m_enforceWorkGroupConfigurationHasBeenSet; }
63 
71  inline void SetEnforceWorkGroupConfiguration(bool value) { m_enforceWorkGroupConfigurationHasBeenSet = true; m_enforceWorkGroupConfiguration = value; }
72 
80  inline WorkGroupConfigurationUpdates& WithEnforceWorkGroupConfiguration(bool value) { SetEnforceWorkGroupConfiguration(value); return *this;}
81 
82 
88  inline const ResultConfigurationUpdates& GetResultConfigurationUpdates() const{ return m_resultConfigurationUpdates; }
89 
95  inline bool ResultConfigurationUpdatesHasBeenSet() const { return m_resultConfigurationUpdatesHasBeenSet; }
96 
102  inline void SetResultConfigurationUpdates(const ResultConfigurationUpdates& value) { m_resultConfigurationUpdatesHasBeenSet = true; m_resultConfigurationUpdates = value; }
103 
109  inline void SetResultConfigurationUpdates(ResultConfigurationUpdates&& value) { m_resultConfigurationUpdatesHasBeenSet = true; m_resultConfigurationUpdates = std::move(value); }
110 
116  inline WorkGroupConfigurationUpdates& WithResultConfigurationUpdates(const ResultConfigurationUpdates& value) { SetResultConfigurationUpdates(value); return *this;}
117 
123  inline WorkGroupConfigurationUpdates& WithResultConfigurationUpdates(ResultConfigurationUpdates&& value) { SetResultConfigurationUpdates(std::move(value)); return *this;}
124 
125 
130  inline bool GetPublishCloudWatchMetricsEnabled() const{ return m_publishCloudWatchMetricsEnabled; }
131 
136  inline bool PublishCloudWatchMetricsEnabledHasBeenSet() const { return m_publishCloudWatchMetricsEnabledHasBeenSet; }
137 
142  inline void SetPublishCloudWatchMetricsEnabled(bool value) { m_publishCloudWatchMetricsEnabledHasBeenSet = true; m_publishCloudWatchMetricsEnabled = value; }
143 
148  inline WorkGroupConfigurationUpdates& WithPublishCloudWatchMetricsEnabled(bool value) { SetPublishCloudWatchMetricsEnabled(value); return *this;}
149 
150 
155  inline long long GetBytesScannedCutoffPerQuery() const{ return m_bytesScannedCutoffPerQuery; }
156 
161  inline bool BytesScannedCutoffPerQueryHasBeenSet() const { return m_bytesScannedCutoffPerQueryHasBeenSet; }
162 
167  inline void SetBytesScannedCutoffPerQuery(long long value) { m_bytesScannedCutoffPerQueryHasBeenSet = true; m_bytesScannedCutoffPerQuery = value; }
168 
173  inline WorkGroupConfigurationUpdates& WithBytesScannedCutoffPerQuery(long long value) { SetBytesScannedCutoffPerQuery(value); return *this;}
174 
175 
180  inline bool GetRemoveBytesScannedCutoffPerQuery() const{ return m_removeBytesScannedCutoffPerQuery; }
181 
186  inline bool RemoveBytesScannedCutoffPerQueryHasBeenSet() const { return m_removeBytesScannedCutoffPerQueryHasBeenSet; }
187 
192  inline void SetRemoveBytesScannedCutoffPerQuery(bool value) { m_removeBytesScannedCutoffPerQueryHasBeenSet = true; m_removeBytesScannedCutoffPerQuery = value; }
193 
198  inline WorkGroupConfigurationUpdates& WithRemoveBytesScannedCutoffPerQuery(bool value) { SetRemoveBytesScannedCutoffPerQuery(value); return *this;}
199 
200 
212  inline bool GetRequesterPaysEnabled() const{ return m_requesterPaysEnabled; }
213 
225  inline bool RequesterPaysEnabledHasBeenSet() const { return m_requesterPaysEnabledHasBeenSet; }
226 
238  inline void SetRequesterPaysEnabled(bool value) { m_requesterPaysEnabledHasBeenSet = true; m_requesterPaysEnabled = value; }
239 
251  inline WorkGroupConfigurationUpdates& WithRequesterPaysEnabled(bool value) { SetRequesterPaysEnabled(value); return *this;}
252 
253 
261  inline const EngineVersion& GetEngineVersion() const{ return m_engineVersion; }
262 
270  inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
271 
279  inline void SetEngineVersion(const EngineVersion& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
280 
288  inline void SetEngineVersion(EngineVersion&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
289 
297  inline WorkGroupConfigurationUpdates& WithEngineVersion(const EngineVersion& value) { SetEngineVersion(value); return *this;}
298 
306  inline WorkGroupConfigurationUpdates& WithEngineVersion(EngineVersion&& value) { SetEngineVersion(std::move(value)); return *this;}
307 
308  private:
309 
310  bool m_enforceWorkGroupConfiguration;
311  bool m_enforceWorkGroupConfigurationHasBeenSet;
312 
313  ResultConfigurationUpdates m_resultConfigurationUpdates;
314  bool m_resultConfigurationUpdatesHasBeenSet;
315 
316  bool m_publishCloudWatchMetricsEnabled;
317  bool m_publishCloudWatchMetricsEnabledHasBeenSet;
318 
319  long long m_bytesScannedCutoffPerQuery;
320  bool m_bytesScannedCutoffPerQueryHasBeenSet;
321 
322  bool m_removeBytesScannedCutoffPerQuery;
323  bool m_removeBytesScannedCutoffPerQueryHasBeenSet;
324 
325  bool m_requesterPaysEnabled;
326  bool m_requesterPaysEnabledHasBeenSet;
327 
328  EngineVersion m_engineVersion;
329  bool m_engineVersionHasBeenSet;
330  };
331 
332 } // namespace Model
333 } // namespace Athena
334 } // namespace Aws
Aws::Athena::Model::WorkGroupConfigurationUpdates::WithResultConfigurationUpdates
WorkGroupConfigurationUpdates & WithResultConfigurationUpdates(ResultConfigurationUpdates &&value)
Definition: WorkGroupConfigurationUpdates.h:123
Aws::Athena::Model::WorkGroupConfigurationUpdates::WithEngineVersion
WorkGroupConfigurationUpdates & WithEngineVersion(EngineVersion &&value)
Definition: WorkGroupConfigurationUpdates.h:306
Aws::Athena::Model::WorkGroupConfigurationUpdates::GetRequesterPaysEnabled
bool GetRequesterPaysEnabled() const
Definition: WorkGroupConfigurationUpdates.h:212
Aws::Athena::Model::WorkGroupConfigurationUpdates::SetBytesScannedCutoffPerQuery
void SetBytesScannedCutoffPerQuery(long long value)
Definition: WorkGroupConfigurationUpdates.h:167
ResultConfigurationUpdates.h
Aws::Athena::Model::WorkGroupConfigurationUpdates::SetRequesterPaysEnabled
void SetRequesterPaysEnabled(bool value)
Definition: WorkGroupConfigurationUpdates.h:238
Aws::Athena::Model::WorkGroupConfigurationUpdates::WithEngineVersion
WorkGroupConfigurationUpdates & WithEngineVersion(const EngineVersion &value)
Definition: WorkGroupConfigurationUpdates.h:297
AWS_ATHENA_API
#define AWS_ATHENA_API
Definition: Athena_EXPORTS.h:28
Aws::Athena::Model::WorkGroupConfigurationUpdates::GetPublishCloudWatchMetricsEnabled
bool GetPublishCloudWatchMetricsEnabled() const
Definition: WorkGroupConfigurationUpdates.h:130
Aws::Athena::Model::WorkGroupConfigurationUpdates::ResultConfigurationUpdatesHasBeenSet
bool ResultConfigurationUpdatesHasBeenSet() const
Definition: WorkGroupConfigurationUpdates.h:95
Aws::Athena::Model::WorkGroupConfigurationUpdates::SetEngineVersion
void SetEngineVersion(const EngineVersion &value)
Definition: WorkGroupConfigurationUpdates.h:279
Aws::Athena::Model::EngineVersion
Definition: EngineVersion.h:32
Aws::Athena::Model::WorkGroupConfigurationUpdates::WithBytesScannedCutoffPerQuery
WorkGroupConfigurationUpdates & WithBytesScannedCutoffPerQuery(long long value)
Definition: WorkGroupConfigurationUpdates.h:173
Aws::Athena::Model::WorkGroupConfigurationUpdates::WithPublishCloudWatchMetricsEnabled
WorkGroupConfigurationUpdates & WithPublishCloudWatchMetricsEnabled(bool value)
Definition: WorkGroupConfigurationUpdates.h:148
Aws::Athena::Model::WorkGroupConfigurationUpdates::WithEnforceWorkGroupConfiguration
WorkGroupConfigurationUpdates & WithEnforceWorkGroupConfiguration(bool value)
Definition: WorkGroupConfigurationUpdates.h:80
Aws::Athena::Model::WorkGroupConfigurationUpdates::WorkGroupConfigurationUpdates
WorkGroupConfigurationUpdates()
Aws::Athena::Model::WorkGroupConfigurationUpdates::GetEnforceWorkGroupConfiguration
bool GetEnforceWorkGroupConfiguration() const
Definition: WorkGroupConfigurationUpdates.h:53
Aws::Athena::Model::WorkGroupConfigurationUpdates::SetPublishCloudWatchMetricsEnabled
void SetPublishCloudWatchMetricsEnabled(bool value)
Definition: WorkGroupConfigurationUpdates.h:142
Aws::Athena::Model::WorkGroupConfigurationUpdates::GetResultConfigurationUpdates
const ResultConfigurationUpdates & GetResultConfigurationUpdates() const
Definition: WorkGroupConfigurationUpdates.h:88
Aws::Athena::Model::ResultConfigurationUpdates
Definition: ResultConfigurationUpdates.h:35
Aws::Athena::Model::WorkGroupConfigurationUpdates::BytesScannedCutoffPerQueryHasBeenSet
bool BytesScannedCutoffPerQueryHasBeenSet() const
Definition: WorkGroupConfigurationUpdates.h:161
Aws::Athena::Model::WorkGroupConfigurationUpdates
Definition: WorkGroupConfigurationUpdates.h:38
Aws::Athena::Model::WorkGroupConfigurationUpdates::PublishCloudWatchMetricsEnabledHasBeenSet
bool PublishCloudWatchMetricsEnabledHasBeenSet() const
Definition: WorkGroupConfigurationUpdates.h:136
Aws::Athena::Model::WorkGroupConfigurationUpdates::WithRemoveBytesScannedCutoffPerQuery
WorkGroupConfigurationUpdates & WithRemoveBytesScannedCutoffPerQuery(bool value)
Definition: WorkGroupConfigurationUpdates.h:198
Aws::Athena::Model::WorkGroupConfigurationUpdates::GetBytesScannedCutoffPerQuery
long long GetBytesScannedCutoffPerQuery() const
Definition: WorkGroupConfigurationUpdates.h:155
Aws::Athena::Model::WorkGroupConfigurationUpdates::RequesterPaysEnabledHasBeenSet
bool RequesterPaysEnabledHasBeenSet() const
Definition: WorkGroupConfigurationUpdates.h:225
Aws::Athena::Model::WorkGroupConfigurationUpdates::RemoveBytesScannedCutoffPerQueryHasBeenSet
bool RemoveBytesScannedCutoffPerQueryHasBeenSet() const
Definition: WorkGroupConfigurationUpdates.h:186
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Athena_EXPORTS.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Athena::Model::WorkGroupConfigurationUpdates::operator=
WorkGroupConfigurationUpdates & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::WorkGroupConfigurationUpdates::GetRemoveBytesScannedCutoffPerQuery
bool GetRemoveBytesScannedCutoffPerQuery() const
Definition: WorkGroupConfigurationUpdates.h:180
Aws::Athena::Model::WorkGroupConfigurationUpdates::SetRemoveBytesScannedCutoffPerQuery
void SetRemoveBytesScannedCutoffPerQuery(bool value)
Definition: WorkGroupConfigurationUpdates.h:192
Aws::Athena::Model::WorkGroupConfigurationUpdates::GetEngineVersion
const EngineVersion & GetEngineVersion() const
Definition: WorkGroupConfigurationUpdates.h:261
Aws
Definition: AccessManagementClient.h:15
Aws::Athena::Model::WorkGroupConfigurationUpdates::SetEnforceWorkGroupConfiguration
void SetEnforceWorkGroupConfiguration(bool value)
Definition: WorkGroupConfigurationUpdates.h:71
Aws::Athena::Model::WorkGroupConfigurationUpdates::SetResultConfigurationUpdates
void SetResultConfigurationUpdates(ResultConfigurationUpdates &&value)
Definition: WorkGroupConfigurationUpdates.h:109
Aws::Athena::Model::WorkGroupConfigurationUpdates::WorkGroupConfigurationUpdates
WorkGroupConfigurationUpdates(Aws::Utils::Json::JsonView jsonValue)
Aws::Athena::Model::WorkGroupConfigurationUpdates::WithRequesterPaysEnabled
WorkGroupConfigurationUpdates & WithRequesterPaysEnabled(bool value)
Definition: WorkGroupConfigurationUpdates.h:251
Aws::Athena::Model::WorkGroupConfigurationUpdates::SetResultConfigurationUpdates
void SetResultConfigurationUpdates(const ResultConfigurationUpdates &value)
Definition: WorkGroupConfigurationUpdates.h:102
Aws::Athena::Model::WorkGroupConfigurationUpdates::EngineVersionHasBeenSet
bool EngineVersionHasBeenSet() const
Definition: WorkGroupConfigurationUpdates.h:270
Aws::Athena::Model::WorkGroupConfigurationUpdates::EnforceWorkGroupConfigurationHasBeenSet
bool EnforceWorkGroupConfigurationHasBeenSet() const
Definition: WorkGroupConfigurationUpdates.h:62
Aws::Athena::Model::WorkGroupConfigurationUpdates::WithResultConfigurationUpdates
WorkGroupConfigurationUpdates & WithResultConfigurationUpdates(const ResultConfigurationUpdates &value)
Definition: WorkGroupConfigurationUpdates.h:116
EngineVersion.h
Aws::Athena::Model::WorkGroupConfigurationUpdates::SetEngineVersion
void SetEngineVersion(EngineVersion &&value)
Definition: WorkGroupConfigurationUpdates.h:288
Aws::Athena::Model::WorkGroupConfigurationUpdates::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const