AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
WorkGroupConfiguration.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/model/ResultConfiguration.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/IdentityCenterConfiguration.h>
13#include <aws/athena/model/QueryResultsS3AccessGrantsConfiguration.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace Athena
27{
28namespace Model
29{
30
46 {
47 public:
48 AWS_ATHENA_API WorkGroupConfiguration();
51 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
52
53
55
64 inline const ResultConfiguration& GetResultConfiguration() const{ return m_resultConfiguration; }
65 inline bool ResultConfigurationHasBeenSet() const { return m_resultConfigurationHasBeenSet; }
66 inline void SetResultConfiguration(const ResultConfiguration& value) { m_resultConfigurationHasBeenSet = true; m_resultConfiguration = value; }
67 inline void SetResultConfiguration(ResultConfiguration&& value) { m_resultConfigurationHasBeenSet = true; m_resultConfiguration = std::move(value); }
71
73
80 inline bool GetEnforceWorkGroupConfiguration() const{ return m_enforceWorkGroupConfiguration; }
81 inline bool EnforceWorkGroupConfigurationHasBeenSet() const { return m_enforceWorkGroupConfigurationHasBeenSet; }
82 inline void SetEnforceWorkGroupConfiguration(bool value) { m_enforceWorkGroupConfigurationHasBeenSet = true; m_enforceWorkGroupConfiguration = value; }
85
87
91 inline bool GetPublishCloudWatchMetricsEnabled() const{ return m_publishCloudWatchMetricsEnabled; }
92 inline bool PublishCloudWatchMetricsEnabledHasBeenSet() const { return m_publishCloudWatchMetricsEnabledHasBeenSet; }
93 inline void SetPublishCloudWatchMetricsEnabled(bool value) { m_publishCloudWatchMetricsEnabledHasBeenSet = true; m_publishCloudWatchMetricsEnabled = value; }
96
98
102 inline long long GetBytesScannedCutoffPerQuery() const{ return m_bytesScannedCutoffPerQuery; }
103 inline bool BytesScannedCutoffPerQueryHasBeenSet() const { return m_bytesScannedCutoffPerQueryHasBeenSet; }
104 inline void SetBytesScannedCutoffPerQuery(long long value) { m_bytesScannedCutoffPerQueryHasBeenSet = true; m_bytesScannedCutoffPerQuery = value; }
107
109
120 inline bool GetRequesterPaysEnabled() const{ return m_requesterPaysEnabled; }
121 inline bool RequesterPaysEnabledHasBeenSet() const { return m_requesterPaysEnabledHasBeenSet; }
122 inline void SetRequesterPaysEnabled(bool value) { m_requesterPaysEnabledHasBeenSet = true; m_requesterPaysEnabled = value; }
125
127
132 inline const EngineVersion& GetEngineVersion() const{ return m_engineVersion; }
133 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
134 inline void SetEngineVersion(const EngineVersion& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
135 inline void SetEngineVersion(EngineVersion&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
136 inline WorkGroupConfiguration& WithEngineVersion(const EngineVersion& value) { SetEngineVersion(value); return *this;}
137 inline WorkGroupConfiguration& WithEngineVersion(EngineVersion&& value) { SetEngineVersion(std::move(value)); return *this;}
139
141
145 inline const Aws::String& GetAdditionalConfiguration() const{ return m_additionalConfiguration; }
146 inline bool AdditionalConfigurationHasBeenSet() const { return m_additionalConfigurationHasBeenSet; }
147 inline void SetAdditionalConfiguration(const Aws::String& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration = value; }
148 inline void SetAdditionalConfiguration(Aws::String&& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration = std::move(value); }
149 inline void SetAdditionalConfiguration(const char* value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration.assign(value); }
152 inline WorkGroupConfiguration& WithAdditionalConfiguration(const char* value) { SetAdditionalConfiguration(value); return *this;}
154
156
162 inline const Aws::String& GetExecutionRole() const{ return m_executionRole; }
163 inline bool ExecutionRoleHasBeenSet() const { return m_executionRoleHasBeenSet; }
164 inline void SetExecutionRole(const Aws::String& value) { m_executionRoleHasBeenSet = true; m_executionRole = value; }
165 inline void SetExecutionRole(Aws::String&& value) { m_executionRoleHasBeenSet = true; m_executionRole = std::move(value); }
166 inline void SetExecutionRole(const char* value) { m_executionRoleHasBeenSet = true; m_executionRole.assign(value); }
167 inline WorkGroupConfiguration& WithExecutionRole(const Aws::String& value) { SetExecutionRole(value); return *this;}
168 inline WorkGroupConfiguration& WithExecutionRole(Aws::String&& value) { SetExecutionRole(std::move(value)); return *this;}
169 inline WorkGroupConfiguration& WithExecutionRole(const char* value) { SetExecutionRole(value); return *this;}
171
173
177 inline const CustomerContentEncryptionConfiguration& GetCustomerContentEncryptionConfiguration() const{ return m_customerContentEncryptionConfiguration; }
178 inline bool CustomerContentEncryptionConfigurationHasBeenSet() const { return m_customerContentEncryptionConfigurationHasBeenSet; }
179 inline void SetCustomerContentEncryptionConfiguration(const CustomerContentEncryptionConfiguration& value) { m_customerContentEncryptionConfigurationHasBeenSet = true; m_customerContentEncryptionConfiguration = value; }
180 inline void SetCustomerContentEncryptionConfiguration(CustomerContentEncryptionConfiguration&& value) { m_customerContentEncryptionConfigurationHasBeenSet = true; m_customerContentEncryptionConfiguration = std::move(value); }
184
186
197 inline bool GetEnableMinimumEncryptionConfiguration() const{ return m_enableMinimumEncryptionConfiguration; }
198 inline bool EnableMinimumEncryptionConfigurationHasBeenSet() const { return m_enableMinimumEncryptionConfigurationHasBeenSet; }
199 inline void SetEnableMinimumEncryptionConfiguration(bool value) { m_enableMinimumEncryptionConfigurationHasBeenSet = true; m_enableMinimumEncryptionConfiguration = value; }
202
204
207 inline const IdentityCenterConfiguration& GetIdentityCenterConfiguration() const{ return m_identityCenterConfiguration; }
208 inline bool IdentityCenterConfigurationHasBeenSet() const { return m_identityCenterConfigurationHasBeenSet; }
209 inline void SetIdentityCenterConfiguration(const IdentityCenterConfiguration& value) { m_identityCenterConfigurationHasBeenSet = true; m_identityCenterConfiguration = value; }
210 inline void SetIdentityCenterConfiguration(IdentityCenterConfiguration&& value) { m_identityCenterConfigurationHasBeenSet = true; m_identityCenterConfiguration = std::move(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 ResultConfiguration m_resultConfiguration;
229 bool m_resultConfigurationHasBeenSet = false;
230
231 bool m_enforceWorkGroupConfiguration;
232 bool m_enforceWorkGroupConfigurationHasBeenSet = 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_requesterPaysEnabled;
241 bool m_requesterPaysEnabledHasBeenSet = false;
242
243 EngineVersion m_engineVersion;
244 bool m_engineVersionHasBeenSet = false;
245
246 Aws::String m_additionalConfiguration;
247 bool m_additionalConfigurationHasBeenSet = false;
248
249 Aws::String m_executionRole;
250 bool m_executionRoleHasBeenSet = false;
251
252 CustomerContentEncryptionConfiguration m_customerContentEncryptionConfiguration;
253 bool m_customerContentEncryptionConfigurationHasBeenSet = false;
254
255 bool m_enableMinimumEncryptionConfiguration;
256 bool m_enableMinimumEncryptionConfigurationHasBeenSet = false;
257
258 IdentityCenterConfiguration m_identityCenterConfiguration;
259 bool m_identityCenterConfigurationHasBeenSet = false;
260
261 QueryResultsS3AccessGrantsConfiguration m_queryResultsS3AccessGrantsConfiguration;
262 bool m_queryResultsS3AccessGrantsConfigurationHasBeenSet = false;
263 };
264
265} // namespace Model
266} // namespace Athena
267} // namespace Aws
void SetCustomerContentEncryptionConfiguration(const CustomerContentEncryptionConfiguration &value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
WorkGroupConfiguration & WithAdditionalConfiguration(const char *value)
AWS_ATHENA_API WorkGroupConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetQueryResultsS3AccessGrantsConfiguration(const QueryResultsS3AccessGrantsConfiguration &value)
WorkGroupConfiguration & WithEngineVersion(const EngineVersion &value)
WorkGroupConfiguration & WithCustomerContentEncryptionConfiguration(CustomerContentEncryptionConfiguration &&value)
WorkGroupConfiguration & WithIdentityCenterConfiguration(const IdentityCenterConfiguration &value)
WorkGroupConfiguration & WithEnforceWorkGroupConfiguration(bool value)
WorkGroupConfiguration & WithIdentityCenterConfiguration(IdentityCenterConfiguration &&value)
void SetIdentityCenterConfiguration(IdentityCenterConfiguration &&value)
WorkGroupConfiguration & WithExecutionRole(Aws::String &&value)
WorkGroupConfiguration & WithAdditionalConfiguration(const Aws::String &value)
WorkGroupConfiguration & WithExecutionRole(const Aws::String &value)
const CustomerContentEncryptionConfiguration & GetCustomerContentEncryptionConfiguration() const
void SetQueryResultsS3AccessGrantsConfiguration(QueryResultsS3AccessGrantsConfiguration &&value)
WorkGroupConfiguration & WithQueryResultsS3AccessGrantsConfiguration(QueryResultsS3AccessGrantsConfiguration &&value)
void SetResultConfiguration(ResultConfiguration &&value)
WorkGroupConfiguration & WithRequesterPaysEnabled(bool value)
const IdentityCenterConfiguration & GetIdentityCenterConfiguration() const
const ResultConfiguration & GetResultConfiguration() const
WorkGroupConfiguration & WithResultConfiguration(ResultConfiguration &&value)
AWS_ATHENA_API WorkGroupConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkGroupConfiguration & WithExecutionRole(const char *value)
void SetResultConfiguration(const ResultConfiguration &value)
WorkGroupConfiguration & WithEngineVersion(EngineVersion &&value)
void SetAdditionalConfiguration(const Aws::String &value)
WorkGroupConfiguration & WithQueryResultsS3AccessGrantsConfiguration(const QueryResultsS3AccessGrantsConfiguration &value)
WorkGroupConfiguration & WithBytesScannedCutoffPerQuery(long long value)
WorkGroupConfiguration & WithEnableMinimumEncryptionConfiguration(bool value)
WorkGroupConfiguration & WithAdditionalConfiguration(Aws::String &&value)
void SetEngineVersion(const EngineVersion &value)
WorkGroupConfiguration & WithPublishCloudWatchMetricsEnabled(bool value)
void SetCustomerContentEncryptionConfiguration(CustomerContentEncryptionConfiguration &&value)
void SetIdentityCenterConfiguration(const IdentityCenterConfiguration &value)
WorkGroupConfiguration & WithResultConfiguration(const ResultConfiguration &value)
const QueryResultsS3AccessGrantsConfiguration & GetQueryResultsS3AccessGrantsConfiguration() const
WorkGroupConfiguration & WithCustomerContentEncryptionConfiguration(const CustomerContentEncryptionConfiguration &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue