AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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/ManagedQueryResultsConfiguration.h>
10#include <aws/athena/model/EngineVersion.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/athena/model/CustomerContentEncryptionConfiguration.h>
13#include <aws/athena/model/IdentityCenterConfiguration.h>
14#include <aws/athena/model/QueryResultsS3AccessGrantsConfiguration.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace Athena
28{
29namespace Model
30{
31
47 {
48 public:
49 AWS_ATHENA_API WorkGroupConfiguration() = default;
52 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
53
54
56
65 inline const ResultConfiguration& GetResultConfiguration() const { return m_resultConfiguration; }
66 inline bool ResultConfigurationHasBeenSet() const { return m_resultConfigurationHasBeenSet; }
67 template<typename ResultConfigurationT = ResultConfiguration>
68 void SetResultConfiguration(ResultConfigurationT&& value) { m_resultConfigurationHasBeenSet = true; m_resultConfiguration = std::forward<ResultConfigurationT>(value); }
69 template<typename ResultConfigurationT = ResultConfiguration>
70 WorkGroupConfiguration& WithResultConfiguration(ResultConfigurationT&& value) { SetResultConfiguration(std::forward<ResultConfigurationT>(value)); return *this;}
72
74
79 inline const ManagedQueryResultsConfiguration& GetManagedQueryResultsConfiguration() const { return m_managedQueryResultsConfiguration; }
80 inline bool ManagedQueryResultsConfigurationHasBeenSet() const { return m_managedQueryResultsConfigurationHasBeenSet; }
81 template<typename ManagedQueryResultsConfigurationT = ManagedQueryResultsConfiguration>
82 void SetManagedQueryResultsConfiguration(ManagedQueryResultsConfigurationT&& value) { m_managedQueryResultsConfigurationHasBeenSet = true; m_managedQueryResultsConfiguration = std::forward<ManagedQueryResultsConfigurationT>(value); }
83 template<typename ManagedQueryResultsConfigurationT = ManagedQueryResultsConfiguration>
84 WorkGroupConfiguration& WithManagedQueryResultsConfiguration(ManagedQueryResultsConfigurationT&& value) { SetManagedQueryResultsConfiguration(std::forward<ManagedQueryResultsConfigurationT>(value)); return *this;}
86
88
95 inline bool GetEnforceWorkGroupConfiguration() const { return m_enforceWorkGroupConfiguration; }
96 inline bool EnforceWorkGroupConfigurationHasBeenSet() const { return m_enforceWorkGroupConfigurationHasBeenSet; }
97 inline void SetEnforceWorkGroupConfiguration(bool value) { m_enforceWorkGroupConfigurationHasBeenSet = true; m_enforceWorkGroupConfiguration = value; }
100
102
106 inline bool GetPublishCloudWatchMetricsEnabled() const { return m_publishCloudWatchMetricsEnabled; }
107 inline bool PublishCloudWatchMetricsEnabledHasBeenSet() const { return m_publishCloudWatchMetricsEnabledHasBeenSet; }
108 inline void SetPublishCloudWatchMetricsEnabled(bool value) { m_publishCloudWatchMetricsEnabledHasBeenSet = true; m_publishCloudWatchMetricsEnabled = value; }
111
113
117 inline long long GetBytesScannedCutoffPerQuery() const { return m_bytesScannedCutoffPerQuery; }
118 inline bool BytesScannedCutoffPerQueryHasBeenSet() const { return m_bytesScannedCutoffPerQueryHasBeenSet; }
119 inline void SetBytesScannedCutoffPerQuery(long long value) { m_bytesScannedCutoffPerQueryHasBeenSet = true; m_bytesScannedCutoffPerQuery = value; }
122
124
135 inline bool GetRequesterPaysEnabled() const { return m_requesterPaysEnabled; }
136 inline bool RequesterPaysEnabledHasBeenSet() const { return m_requesterPaysEnabledHasBeenSet; }
137 inline void SetRequesterPaysEnabled(bool value) { m_requesterPaysEnabledHasBeenSet = true; m_requesterPaysEnabled = value; }
140
142
147 inline const EngineVersion& GetEngineVersion() const { return m_engineVersion; }
148 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
149 template<typename EngineVersionT = EngineVersion>
150 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
151 template<typename EngineVersionT = EngineVersion>
152 WorkGroupConfiguration& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
154
156
160 inline const Aws::String& GetAdditionalConfiguration() const { return m_additionalConfiguration; }
161 inline bool AdditionalConfigurationHasBeenSet() const { return m_additionalConfigurationHasBeenSet; }
162 template<typename AdditionalConfigurationT = Aws::String>
163 void SetAdditionalConfiguration(AdditionalConfigurationT&& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration = std::forward<AdditionalConfigurationT>(value); }
164 template<typename AdditionalConfigurationT = Aws::String>
165 WorkGroupConfiguration& WithAdditionalConfiguration(AdditionalConfigurationT&& value) { SetAdditionalConfiguration(std::forward<AdditionalConfigurationT>(value)); return *this;}
167
169
175 inline const Aws::String& GetExecutionRole() const { return m_executionRole; }
176 inline bool ExecutionRoleHasBeenSet() const { return m_executionRoleHasBeenSet; }
177 template<typename ExecutionRoleT = Aws::String>
178 void SetExecutionRole(ExecutionRoleT&& value) { m_executionRoleHasBeenSet = true; m_executionRole = std::forward<ExecutionRoleT>(value); }
179 template<typename ExecutionRoleT = Aws::String>
180 WorkGroupConfiguration& WithExecutionRole(ExecutionRoleT&& value) { SetExecutionRole(std::forward<ExecutionRoleT>(value)); return *this;}
182
184
188 inline const CustomerContentEncryptionConfiguration& GetCustomerContentEncryptionConfiguration() const { return m_customerContentEncryptionConfiguration; }
189 inline bool CustomerContentEncryptionConfigurationHasBeenSet() const { return m_customerContentEncryptionConfigurationHasBeenSet; }
190 template<typename CustomerContentEncryptionConfigurationT = CustomerContentEncryptionConfiguration>
191 void SetCustomerContentEncryptionConfiguration(CustomerContentEncryptionConfigurationT&& value) { m_customerContentEncryptionConfigurationHasBeenSet = true; m_customerContentEncryptionConfiguration = std::forward<CustomerContentEncryptionConfigurationT>(value); }
192 template<typename CustomerContentEncryptionConfigurationT = CustomerContentEncryptionConfiguration>
193 WorkGroupConfiguration& WithCustomerContentEncryptionConfiguration(CustomerContentEncryptionConfigurationT&& value) { SetCustomerContentEncryptionConfiguration(std::forward<CustomerContentEncryptionConfigurationT>(value)); return *this;}
195
197
208 inline bool GetEnableMinimumEncryptionConfiguration() const { return m_enableMinimumEncryptionConfiguration; }
209 inline bool EnableMinimumEncryptionConfigurationHasBeenSet() const { return m_enableMinimumEncryptionConfigurationHasBeenSet; }
210 inline void SetEnableMinimumEncryptionConfiguration(bool value) { m_enableMinimumEncryptionConfigurationHasBeenSet = true; m_enableMinimumEncryptionConfiguration = value; }
213
215
218 inline const IdentityCenterConfiguration& GetIdentityCenterConfiguration() const { return m_identityCenterConfiguration; }
219 inline bool IdentityCenterConfigurationHasBeenSet() const { return m_identityCenterConfigurationHasBeenSet; }
220 template<typename IdentityCenterConfigurationT = IdentityCenterConfiguration>
221 void SetIdentityCenterConfiguration(IdentityCenterConfigurationT&& value) { m_identityCenterConfigurationHasBeenSet = true; m_identityCenterConfiguration = std::forward<IdentityCenterConfigurationT>(value); }
222 template<typename IdentityCenterConfigurationT = IdentityCenterConfiguration>
223 WorkGroupConfiguration& WithIdentityCenterConfiguration(IdentityCenterConfigurationT&& value) { SetIdentityCenterConfiguration(std::forward<IdentityCenterConfigurationT>(value)); return *this;}
225
227
230 inline const QueryResultsS3AccessGrantsConfiguration& GetQueryResultsS3AccessGrantsConfiguration() const { return m_queryResultsS3AccessGrantsConfiguration; }
231 inline bool QueryResultsS3AccessGrantsConfigurationHasBeenSet() const { return m_queryResultsS3AccessGrantsConfigurationHasBeenSet; }
232 template<typename QueryResultsS3AccessGrantsConfigurationT = QueryResultsS3AccessGrantsConfiguration>
233 void SetQueryResultsS3AccessGrantsConfiguration(QueryResultsS3AccessGrantsConfigurationT&& value) { m_queryResultsS3AccessGrantsConfigurationHasBeenSet = true; m_queryResultsS3AccessGrantsConfiguration = std::forward<QueryResultsS3AccessGrantsConfigurationT>(value); }
234 template<typename QueryResultsS3AccessGrantsConfigurationT = QueryResultsS3AccessGrantsConfiguration>
235 WorkGroupConfiguration& WithQueryResultsS3AccessGrantsConfiguration(QueryResultsS3AccessGrantsConfigurationT&& value) { SetQueryResultsS3AccessGrantsConfiguration(std::forward<QueryResultsS3AccessGrantsConfigurationT>(value)); return *this;}
237 private:
238
239 ResultConfiguration m_resultConfiguration;
240 bool m_resultConfigurationHasBeenSet = false;
241
242 ManagedQueryResultsConfiguration m_managedQueryResultsConfiguration;
243 bool m_managedQueryResultsConfigurationHasBeenSet = false;
244
245 bool m_enforceWorkGroupConfiguration{false};
246 bool m_enforceWorkGroupConfigurationHasBeenSet = false;
247
248 bool m_publishCloudWatchMetricsEnabled{false};
249 bool m_publishCloudWatchMetricsEnabledHasBeenSet = false;
250
251 long long m_bytesScannedCutoffPerQuery{0};
252 bool m_bytesScannedCutoffPerQueryHasBeenSet = false;
253
254 bool m_requesterPaysEnabled{false};
255 bool m_requesterPaysEnabledHasBeenSet = false;
256
257 EngineVersion m_engineVersion;
258 bool m_engineVersionHasBeenSet = false;
259
260 Aws::String m_additionalConfiguration;
261 bool m_additionalConfigurationHasBeenSet = false;
262
263 Aws::String m_executionRole;
264 bool m_executionRoleHasBeenSet = false;
265
266 CustomerContentEncryptionConfiguration m_customerContentEncryptionConfiguration;
267 bool m_customerContentEncryptionConfigurationHasBeenSet = false;
268
269 bool m_enableMinimumEncryptionConfiguration{false};
270 bool m_enableMinimumEncryptionConfigurationHasBeenSet = false;
271
272 IdentityCenterConfiguration m_identityCenterConfiguration;
273 bool m_identityCenterConfigurationHasBeenSet = false;
274
275 QueryResultsS3AccessGrantsConfiguration m_queryResultsS3AccessGrantsConfiguration;
276 bool m_queryResultsS3AccessGrantsConfigurationHasBeenSet = false;
277 };
278
279} // namespace Model
280} // namespace Athena
281} // namespace Aws
WorkGroupConfiguration & WithManagedQueryResultsConfiguration(ManagedQueryResultsConfigurationT &&value)
const ManagedQueryResultsConfiguration & GetManagedQueryResultsConfiguration() const
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
WorkGroupConfiguration & WithIdentityCenterConfiguration(IdentityCenterConfigurationT &&value)
AWS_ATHENA_API WorkGroupConfiguration()=default
AWS_ATHENA_API WorkGroupConfiguration(Aws::Utils::Json::JsonView jsonValue)
WorkGroupConfiguration & WithResultConfiguration(ResultConfigurationT &&value)
WorkGroupConfiguration & WithEnforceWorkGroupConfiguration(bool value)
void SetIdentityCenterConfiguration(IdentityCenterConfigurationT &&value)
const CustomerContentEncryptionConfiguration & GetCustomerContentEncryptionConfiguration() const
WorkGroupConfiguration & WithQueryResultsS3AccessGrantsConfiguration(QueryResultsS3AccessGrantsConfigurationT &&value)
WorkGroupConfiguration & WithExecutionRole(ExecutionRoleT &&value)
WorkGroupConfiguration & WithRequesterPaysEnabled(bool value)
const IdentityCenterConfiguration & GetIdentityCenterConfiguration() const
const ResultConfiguration & GetResultConfiguration() const
AWS_ATHENA_API WorkGroupConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetManagedQueryResultsConfiguration(ManagedQueryResultsConfigurationT &&value)
void SetQueryResultsS3AccessGrantsConfiguration(QueryResultsS3AccessGrantsConfigurationT &&value)
WorkGroupConfiguration & WithEngineVersion(EngineVersionT &&value)
void SetResultConfiguration(ResultConfigurationT &&value)
WorkGroupConfiguration & WithBytesScannedCutoffPerQuery(long long value)
WorkGroupConfiguration & WithEnableMinimumEncryptionConfiguration(bool value)
WorkGroupConfiguration & WithPublishCloudWatchMetricsEnabled(bool value)
WorkGroupConfiguration & WithCustomerContentEncryptionConfiguration(CustomerContentEncryptionConfigurationT &&value)
void SetCustomerContentEncryptionConfiguration(CustomerContentEncryptionConfigurationT &&value)
WorkGroupConfiguration & WithAdditionalConfiguration(AdditionalConfigurationT &&value)
const QueryResultsS3AccessGrantsConfiguration & GetQueryResultsS3AccessGrantsConfiguration() const
void SetAdditionalConfiguration(AdditionalConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue