AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkGroupConfigurationUpdates.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/model/ResultConfigurationUpdates.h>
9#include <aws/athena/model/EngineVersion.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/athena/model/CustomerContentEncryptionConfiguration.h>
12#include <aws/athena/model/QueryResultsS3AccessGrantsConfiguration.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace Athena
26{
27namespace Model
28{
29
42 {
43 public:
47 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
58 inline bool GetEnforceWorkGroupConfiguration() const{ return m_enforceWorkGroupConfiguration; }
59 inline bool EnforceWorkGroupConfigurationHasBeenSet() const { return m_enforceWorkGroupConfigurationHasBeenSet; }
60 inline void SetEnforceWorkGroupConfiguration(bool value) { m_enforceWorkGroupConfigurationHasBeenSet = true; m_enforceWorkGroupConfiguration = value; }
63
65
70 inline const ResultConfigurationUpdates& GetResultConfigurationUpdates() const{ return m_resultConfigurationUpdates; }
71 inline bool ResultConfigurationUpdatesHasBeenSet() const { return m_resultConfigurationUpdatesHasBeenSet; }
72 inline void SetResultConfigurationUpdates(const ResultConfigurationUpdates& value) { m_resultConfigurationUpdatesHasBeenSet = true; m_resultConfigurationUpdates = value; }
73 inline void SetResultConfigurationUpdates(ResultConfigurationUpdates&& value) { m_resultConfigurationUpdatesHasBeenSet = true; m_resultConfigurationUpdates = std::move(value); }
77
79
83 inline bool GetPublishCloudWatchMetricsEnabled() const{ return m_publishCloudWatchMetricsEnabled; }
84 inline bool PublishCloudWatchMetricsEnabledHasBeenSet() const { return m_publishCloudWatchMetricsEnabledHasBeenSet; }
85 inline void SetPublishCloudWatchMetricsEnabled(bool value) { m_publishCloudWatchMetricsEnabledHasBeenSet = true; m_publishCloudWatchMetricsEnabled = value; }
88
90
94 inline long long GetBytesScannedCutoffPerQuery() const{ return m_bytesScannedCutoffPerQuery; }
95 inline bool BytesScannedCutoffPerQueryHasBeenSet() const { return m_bytesScannedCutoffPerQueryHasBeenSet; }
96 inline void SetBytesScannedCutoffPerQuery(long long value) { m_bytesScannedCutoffPerQueryHasBeenSet = true; m_bytesScannedCutoffPerQuery = value; }
99
101
105 inline bool GetRemoveBytesScannedCutoffPerQuery() const{ return m_removeBytesScannedCutoffPerQuery; }
106 inline bool RemoveBytesScannedCutoffPerQueryHasBeenSet() const { return m_removeBytesScannedCutoffPerQueryHasBeenSet; }
107 inline void SetRemoveBytesScannedCutoffPerQuery(bool value) { m_removeBytesScannedCutoffPerQueryHasBeenSet = true; m_removeBytesScannedCutoffPerQuery = value; }
110
112
123 inline bool GetRequesterPaysEnabled() const{ return m_requesterPaysEnabled; }
124 inline bool RequesterPaysEnabledHasBeenSet() const { return m_requesterPaysEnabledHasBeenSet; }
125 inline void SetRequesterPaysEnabled(bool value) { m_requesterPaysEnabledHasBeenSet = true; m_requesterPaysEnabled = value; }
128
130
137 inline const EngineVersion& GetEngineVersion() const{ return m_engineVersion; }
138 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
139 inline void SetEngineVersion(const EngineVersion& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
140 inline void SetEngineVersion(EngineVersion&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
142 inline WorkGroupConfigurationUpdates& WithEngineVersion(EngineVersion&& value) { SetEngineVersion(std::move(value)); return *this;}
144
146
150 inline bool GetRemoveCustomerContentEncryptionConfiguration() const{ return m_removeCustomerContentEncryptionConfiguration; }
151 inline bool RemoveCustomerContentEncryptionConfigurationHasBeenSet() const { return m_removeCustomerContentEncryptionConfigurationHasBeenSet; }
152 inline void SetRemoveCustomerContentEncryptionConfiguration(bool value) { m_removeCustomerContentEncryptionConfigurationHasBeenSet = true; m_removeCustomerContentEncryptionConfiguration = value; }
155
157
161 inline const Aws::String& GetAdditionalConfiguration() const{ return m_additionalConfiguration; }
162 inline bool AdditionalConfigurationHasBeenSet() const { return m_additionalConfigurationHasBeenSet; }
163 inline void SetAdditionalConfiguration(const Aws::String& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration = value; }
164 inline void SetAdditionalConfiguration(Aws::String&& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration = std::move(value); }
165 inline void SetAdditionalConfiguration(const char* value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration.assign(value); }
170
172
177 inline const Aws::String& GetExecutionRole() const{ return m_executionRole; }
178 inline bool ExecutionRoleHasBeenSet() const { return m_executionRoleHasBeenSet; }
179 inline void SetExecutionRole(const Aws::String& value) { m_executionRoleHasBeenSet = true; m_executionRole = value; }
180 inline void SetExecutionRole(Aws::String&& value) { m_executionRoleHasBeenSet = true; m_executionRole = std::move(value); }
181 inline void SetExecutionRole(const char* value) { m_executionRoleHasBeenSet = true; m_executionRole.assign(value); }
183 inline WorkGroupConfigurationUpdates& WithExecutionRole(Aws::String&& value) { SetExecutionRole(std::move(value)); return *this;}
184 inline WorkGroupConfigurationUpdates& WithExecutionRole(const char* value) { SetExecutionRole(value); return *this;}
186
188
189 inline const CustomerContentEncryptionConfiguration& GetCustomerContentEncryptionConfiguration() const{ return m_customerContentEncryptionConfiguration; }
190 inline bool CustomerContentEncryptionConfigurationHasBeenSet() const { return m_customerContentEncryptionConfigurationHasBeenSet; }
191 inline void SetCustomerContentEncryptionConfiguration(const CustomerContentEncryptionConfiguration& value) { m_customerContentEncryptionConfigurationHasBeenSet = true; m_customerContentEncryptionConfiguration = value; }
192 inline void SetCustomerContentEncryptionConfiguration(CustomerContentEncryptionConfiguration&& value) { m_customerContentEncryptionConfigurationHasBeenSet = true; m_customerContentEncryptionConfiguration = std::move(value); }
196
198
209 inline bool GetEnableMinimumEncryptionConfiguration() const{ return m_enableMinimumEncryptionConfiguration; }
210 inline bool EnableMinimumEncryptionConfigurationHasBeenSet() const { return m_enableMinimumEncryptionConfigurationHasBeenSet; }
211 inline void SetEnableMinimumEncryptionConfiguration(bool value) { m_enableMinimumEncryptionConfigurationHasBeenSet = true; m_enableMinimumEncryptionConfiguration = value; }
214
216
219 inline const QueryResultsS3AccessGrantsConfiguration& GetQueryResultsS3AccessGrantsConfiguration() const{ return m_queryResultsS3AccessGrantsConfiguration; }
220 inline bool QueryResultsS3AccessGrantsConfigurationHasBeenSet() const { return m_queryResultsS3AccessGrantsConfigurationHasBeenSet; }
221 inline void SetQueryResultsS3AccessGrantsConfiguration(const QueryResultsS3AccessGrantsConfiguration& value) { m_queryResultsS3AccessGrantsConfigurationHasBeenSet = true; m_queryResultsS3AccessGrantsConfiguration = value; }
222 inline void SetQueryResultsS3AccessGrantsConfiguration(QueryResultsS3AccessGrantsConfiguration&& value) { m_queryResultsS3AccessGrantsConfigurationHasBeenSet = true; m_queryResultsS3AccessGrantsConfiguration = std::move(value); }
226 private:
227
228 bool m_enforceWorkGroupConfiguration;
229 bool m_enforceWorkGroupConfigurationHasBeenSet = false;
230
231 ResultConfigurationUpdates m_resultConfigurationUpdates;
232 bool m_resultConfigurationUpdatesHasBeenSet = false;
233
234 bool m_publishCloudWatchMetricsEnabled;
235 bool m_publishCloudWatchMetricsEnabledHasBeenSet = false;
236
237 long long m_bytesScannedCutoffPerQuery;
238 bool m_bytesScannedCutoffPerQueryHasBeenSet = false;
239
240 bool m_removeBytesScannedCutoffPerQuery;
241 bool m_removeBytesScannedCutoffPerQueryHasBeenSet = false;
242
243 bool m_requesterPaysEnabled;
244 bool m_requesterPaysEnabledHasBeenSet = false;
245
246 EngineVersion m_engineVersion;
247 bool m_engineVersionHasBeenSet = false;
248
249 bool m_removeCustomerContentEncryptionConfiguration;
250 bool m_removeCustomerContentEncryptionConfigurationHasBeenSet = false;
251
252 Aws::String m_additionalConfiguration;
253 bool m_additionalConfigurationHasBeenSet = false;
254
255 Aws::String m_executionRole;
256 bool m_executionRoleHasBeenSet = false;
257
258 CustomerContentEncryptionConfiguration m_customerContentEncryptionConfiguration;
259 bool m_customerContentEncryptionConfigurationHasBeenSet = false;
260
261 bool m_enableMinimumEncryptionConfiguration;
262 bool m_enableMinimumEncryptionConfigurationHasBeenSet = false;
263
264 QueryResultsS3AccessGrantsConfiguration m_queryResultsS3AccessGrantsConfiguration;
265 bool m_queryResultsS3AccessGrantsConfigurationHasBeenSet = false;
266 };
267
268} // namespace Model
269} // namespace Athena
270} // namespace Aws
void SetQueryResultsS3AccessGrantsConfiguration(QueryResultsS3AccessGrantsConfiguration &&value)
WorkGroupConfigurationUpdates & WithExecutionRole(Aws::String &&value)
WorkGroupConfigurationUpdates & WithPublishCloudWatchMetricsEnabled(bool value)
WorkGroupConfigurationUpdates & WithResultConfigurationUpdates(ResultConfigurationUpdates &&value)
WorkGroupConfigurationUpdates & WithEngineVersion(const EngineVersion &value)
WorkGroupConfigurationUpdates & WithAdditionalConfiguration(const char *value)
WorkGroupConfigurationUpdates & WithEnforceWorkGroupConfiguration(bool value)
void SetCustomerContentEncryptionConfiguration(const CustomerContentEncryptionConfiguration &value)
WorkGroupConfigurationUpdates & WithBytesScannedCutoffPerQuery(long long value)
void SetCustomerContentEncryptionConfiguration(CustomerContentEncryptionConfiguration &&value)
WorkGroupConfigurationUpdates & WithRemoveCustomerContentEncryptionConfiguration(bool value)
AWS_ATHENA_API WorkGroupConfigurationUpdates(Aws::Utils::Json::JsonView jsonValue)
WorkGroupConfigurationUpdates & WithQueryResultsS3AccessGrantsConfiguration(QueryResultsS3AccessGrantsConfiguration &&value)
const QueryResultsS3AccessGrantsConfiguration & GetQueryResultsS3AccessGrantsConfiguration() const
WorkGroupConfigurationUpdates & WithExecutionRole(const char *value)
WorkGroupConfigurationUpdates & WithResultConfigurationUpdates(const ResultConfigurationUpdates &value)
WorkGroupConfigurationUpdates & WithCustomerContentEncryptionConfiguration(CustomerContentEncryptionConfiguration &&value)
WorkGroupConfigurationUpdates & WithCustomerContentEncryptionConfiguration(const CustomerContentEncryptionConfiguration &value)
const CustomerContentEncryptionConfiguration & GetCustomerContentEncryptionConfiguration() const
WorkGroupConfigurationUpdates & WithExecutionRole(const Aws::String &value)
WorkGroupConfigurationUpdates & WithRequesterPaysEnabled(bool value)
void SetQueryResultsS3AccessGrantsConfiguration(const QueryResultsS3AccessGrantsConfiguration &value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetResultConfigurationUpdates(ResultConfigurationUpdates &&value)
WorkGroupConfigurationUpdates & WithEngineVersion(EngineVersion &&value)
WorkGroupConfigurationUpdates & WithRemoveBytesScannedCutoffPerQuery(bool value)
WorkGroupConfigurationUpdates & WithAdditionalConfiguration(Aws::String &&value)
const ResultConfigurationUpdates & GetResultConfigurationUpdates() const
void SetResultConfigurationUpdates(const ResultConfigurationUpdates &value)
WorkGroupConfigurationUpdates & WithQueryResultsS3AccessGrantsConfiguration(const QueryResultsS3AccessGrantsConfiguration &value)
WorkGroupConfigurationUpdates & WithEnableMinimumEncryptionConfiguration(bool value)
WorkGroupConfigurationUpdates & WithAdditionalConfiguration(const Aws::String &value)
AWS_ATHENA_API WorkGroupConfigurationUpdates & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue