AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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/ManagedQueryResultsConfigurationUpdates.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/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
43 {
44 public:
45 AWS_ATHENA_API WorkGroupConfigurationUpdates() = default;
48 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
49
50
52
59 inline bool GetEnforceWorkGroupConfiguration() const { return m_enforceWorkGroupConfiguration; }
60 inline bool EnforceWorkGroupConfigurationHasBeenSet() const { return m_enforceWorkGroupConfigurationHasBeenSet; }
61 inline void SetEnforceWorkGroupConfiguration(bool value) { m_enforceWorkGroupConfigurationHasBeenSet = true; m_enforceWorkGroupConfiguration = value; }
64
66
71 inline const ResultConfigurationUpdates& GetResultConfigurationUpdates() const { return m_resultConfigurationUpdates; }
72 inline bool ResultConfigurationUpdatesHasBeenSet() const { return m_resultConfigurationUpdatesHasBeenSet; }
73 template<typename ResultConfigurationUpdatesT = ResultConfigurationUpdates>
74 void SetResultConfigurationUpdates(ResultConfigurationUpdatesT&& value) { m_resultConfigurationUpdatesHasBeenSet = true; m_resultConfigurationUpdates = std::forward<ResultConfigurationUpdatesT>(value); }
75 template<typename ResultConfigurationUpdatesT = ResultConfigurationUpdates>
76 WorkGroupConfigurationUpdates& WithResultConfigurationUpdates(ResultConfigurationUpdatesT&& value) { SetResultConfigurationUpdates(std::forward<ResultConfigurationUpdatesT>(value)); return *this;}
78
80
84 inline const ManagedQueryResultsConfigurationUpdates& GetManagedQueryResultsConfigurationUpdates() const { return m_managedQueryResultsConfigurationUpdates; }
85 inline bool ManagedQueryResultsConfigurationUpdatesHasBeenSet() const { return m_managedQueryResultsConfigurationUpdatesHasBeenSet; }
86 template<typename ManagedQueryResultsConfigurationUpdatesT = ManagedQueryResultsConfigurationUpdates>
87 void SetManagedQueryResultsConfigurationUpdates(ManagedQueryResultsConfigurationUpdatesT&& value) { m_managedQueryResultsConfigurationUpdatesHasBeenSet = true; m_managedQueryResultsConfigurationUpdates = std::forward<ManagedQueryResultsConfigurationUpdatesT>(value); }
88 template<typename ManagedQueryResultsConfigurationUpdatesT = ManagedQueryResultsConfigurationUpdates>
89 WorkGroupConfigurationUpdates& WithManagedQueryResultsConfigurationUpdates(ManagedQueryResultsConfigurationUpdatesT&& value) { SetManagedQueryResultsConfigurationUpdates(std::forward<ManagedQueryResultsConfigurationUpdatesT>(value)); return *this;}
91
93
97 inline bool GetPublishCloudWatchMetricsEnabled() const { return m_publishCloudWatchMetricsEnabled; }
98 inline bool PublishCloudWatchMetricsEnabledHasBeenSet() const { return m_publishCloudWatchMetricsEnabledHasBeenSet; }
99 inline void SetPublishCloudWatchMetricsEnabled(bool value) { m_publishCloudWatchMetricsEnabledHasBeenSet = true; m_publishCloudWatchMetricsEnabled = value; }
102
104
108 inline long long GetBytesScannedCutoffPerQuery() const { return m_bytesScannedCutoffPerQuery; }
109 inline bool BytesScannedCutoffPerQueryHasBeenSet() const { return m_bytesScannedCutoffPerQueryHasBeenSet; }
110 inline void SetBytesScannedCutoffPerQuery(long long value) { m_bytesScannedCutoffPerQueryHasBeenSet = true; m_bytesScannedCutoffPerQuery = value; }
113
115
119 inline bool GetRemoveBytesScannedCutoffPerQuery() const { return m_removeBytesScannedCutoffPerQuery; }
120 inline bool RemoveBytesScannedCutoffPerQueryHasBeenSet() const { return m_removeBytesScannedCutoffPerQueryHasBeenSet; }
121 inline void SetRemoveBytesScannedCutoffPerQuery(bool value) { m_removeBytesScannedCutoffPerQueryHasBeenSet = true; m_removeBytesScannedCutoffPerQuery = value; }
124
126
137 inline bool GetRequesterPaysEnabled() const { return m_requesterPaysEnabled; }
138 inline bool RequesterPaysEnabledHasBeenSet() const { return m_requesterPaysEnabledHasBeenSet; }
139 inline void SetRequesterPaysEnabled(bool value) { m_requesterPaysEnabledHasBeenSet = true; m_requesterPaysEnabled = value; }
142
144
151 inline const EngineVersion& GetEngineVersion() const { return m_engineVersion; }
152 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
153 template<typename EngineVersionT = EngineVersion>
154 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
155 template<typename EngineVersionT = EngineVersion>
156 WorkGroupConfigurationUpdates& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
158
160
164 inline bool GetRemoveCustomerContentEncryptionConfiguration() const { return m_removeCustomerContentEncryptionConfiguration; }
165 inline bool RemoveCustomerContentEncryptionConfigurationHasBeenSet() const { return m_removeCustomerContentEncryptionConfigurationHasBeenSet; }
166 inline void SetRemoveCustomerContentEncryptionConfiguration(bool value) { m_removeCustomerContentEncryptionConfigurationHasBeenSet = true; m_removeCustomerContentEncryptionConfiguration = value; }
169
171
175 inline const Aws::String& GetAdditionalConfiguration() const { return m_additionalConfiguration; }
176 inline bool AdditionalConfigurationHasBeenSet() const { return m_additionalConfigurationHasBeenSet; }
177 template<typename AdditionalConfigurationT = Aws::String>
178 void SetAdditionalConfiguration(AdditionalConfigurationT&& value) { m_additionalConfigurationHasBeenSet = true; m_additionalConfiguration = std::forward<AdditionalConfigurationT>(value); }
179 template<typename AdditionalConfigurationT = Aws::String>
180 WorkGroupConfigurationUpdates& WithAdditionalConfiguration(AdditionalConfigurationT&& value) { SetAdditionalConfiguration(std::forward<AdditionalConfigurationT>(value)); return *this;}
182
184
189 inline const Aws::String& GetExecutionRole() const { return m_executionRole; }
190 inline bool ExecutionRoleHasBeenSet() const { return m_executionRoleHasBeenSet; }
191 template<typename ExecutionRoleT = Aws::String>
192 void SetExecutionRole(ExecutionRoleT&& value) { m_executionRoleHasBeenSet = true; m_executionRole = std::forward<ExecutionRoleT>(value); }
193 template<typename ExecutionRoleT = Aws::String>
194 WorkGroupConfigurationUpdates& WithExecutionRole(ExecutionRoleT&& value) { SetExecutionRole(std::forward<ExecutionRoleT>(value)); return *this;}
196
198
199 inline const CustomerContentEncryptionConfiguration& GetCustomerContentEncryptionConfiguration() const { return m_customerContentEncryptionConfiguration; }
200 inline bool CustomerContentEncryptionConfigurationHasBeenSet() const { return m_customerContentEncryptionConfigurationHasBeenSet; }
201 template<typename CustomerContentEncryptionConfigurationT = CustomerContentEncryptionConfiguration>
202 void SetCustomerContentEncryptionConfiguration(CustomerContentEncryptionConfigurationT&& value) { m_customerContentEncryptionConfigurationHasBeenSet = true; m_customerContentEncryptionConfiguration = std::forward<CustomerContentEncryptionConfigurationT>(value); }
203 template<typename CustomerContentEncryptionConfigurationT = CustomerContentEncryptionConfiguration>
204 WorkGroupConfigurationUpdates& WithCustomerContentEncryptionConfiguration(CustomerContentEncryptionConfigurationT&& value) { SetCustomerContentEncryptionConfiguration(std::forward<CustomerContentEncryptionConfigurationT>(value)); return *this;}
206
208
219 inline bool GetEnableMinimumEncryptionConfiguration() const { return m_enableMinimumEncryptionConfiguration; }
220 inline bool EnableMinimumEncryptionConfigurationHasBeenSet() const { return m_enableMinimumEncryptionConfigurationHasBeenSet; }
221 inline void SetEnableMinimumEncryptionConfiguration(bool value) { m_enableMinimumEncryptionConfigurationHasBeenSet = true; m_enableMinimumEncryptionConfiguration = value; }
224
226
229 inline const QueryResultsS3AccessGrantsConfiguration& GetQueryResultsS3AccessGrantsConfiguration() const { return m_queryResultsS3AccessGrantsConfiguration; }
230 inline bool QueryResultsS3AccessGrantsConfigurationHasBeenSet() const { return m_queryResultsS3AccessGrantsConfigurationHasBeenSet; }
231 template<typename QueryResultsS3AccessGrantsConfigurationT = QueryResultsS3AccessGrantsConfiguration>
232 void SetQueryResultsS3AccessGrantsConfiguration(QueryResultsS3AccessGrantsConfigurationT&& value) { m_queryResultsS3AccessGrantsConfigurationHasBeenSet = true; m_queryResultsS3AccessGrantsConfiguration = std::forward<QueryResultsS3AccessGrantsConfigurationT>(value); }
233 template<typename QueryResultsS3AccessGrantsConfigurationT = QueryResultsS3AccessGrantsConfiguration>
234 WorkGroupConfigurationUpdates& WithQueryResultsS3AccessGrantsConfiguration(QueryResultsS3AccessGrantsConfigurationT&& value) { SetQueryResultsS3AccessGrantsConfiguration(std::forward<QueryResultsS3AccessGrantsConfigurationT>(value)); return *this;}
236 private:
237
238 bool m_enforceWorkGroupConfiguration{false};
239 bool m_enforceWorkGroupConfigurationHasBeenSet = false;
240
241 ResultConfigurationUpdates m_resultConfigurationUpdates;
242 bool m_resultConfigurationUpdatesHasBeenSet = false;
243
244 ManagedQueryResultsConfigurationUpdates m_managedQueryResultsConfigurationUpdates;
245 bool m_managedQueryResultsConfigurationUpdatesHasBeenSet = false;
246
247 bool m_publishCloudWatchMetricsEnabled{false};
248 bool m_publishCloudWatchMetricsEnabledHasBeenSet = false;
249
250 long long m_bytesScannedCutoffPerQuery{0};
251 bool m_bytesScannedCutoffPerQueryHasBeenSet = false;
252
253 bool m_removeBytesScannedCutoffPerQuery{false};
254 bool m_removeBytesScannedCutoffPerQueryHasBeenSet = false;
255
256 bool m_requesterPaysEnabled{false};
257 bool m_requesterPaysEnabledHasBeenSet = false;
258
259 EngineVersion m_engineVersion;
260 bool m_engineVersionHasBeenSet = false;
261
262 bool m_removeCustomerContentEncryptionConfiguration{false};
263 bool m_removeCustomerContentEncryptionConfigurationHasBeenSet = false;
264
265 Aws::String m_additionalConfiguration;
266 bool m_additionalConfigurationHasBeenSet = false;
267
268 Aws::String m_executionRole;
269 bool m_executionRoleHasBeenSet = false;
270
271 CustomerContentEncryptionConfiguration m_customerContentEncryptionConfiguration;
272 bool m_customerContentEncryptionConfigurationHasBeenSet = false;
273
274 bool m_enableMinimumEncryptionConfiguration{false};
275 bool m_enableMinimumEncryptionConfigurationHasBeenSet = false;
276
277 QueryResultsS3AccessGrantsConfiguration m_queryResultsS3AccessGrantsConfiguration;
278 bool m_queryResultsS3AccessGrantsConfigurationHasBeenSet = false;
279 };
280
281} // namespace Model
282} // namespace Athena
283} // namespace Aws
WorkGroupConfigurationUpdates & WithPublishCloudWatchMetricsEnabled(bool value)
WorkGroupConfigurationUpdates & WithResultConfigurationUpdates(ResultConfigurationUpdatesT &&value)
AWS_ATHENA_API WorkGroupConfigurationUpdates()=default
void SetCustomerContentEncryptionConfiguration(CustomerContentEncryptionConfigurationT &&value)
WorkGroupConfigurationUpdates & WithEnforceWorkGroupConfiguration(bool value)
WorkGroupConfigurationUpdates & WithBytesScannedCutoffPerQuery(long long value)
void SetManagedQueryResultsConfigurationUpdates(ManagedQueryResultsConfigurationUpdatesT &&value)
WorkGroupConfigurationUpdates & WithRemoveCustomerContentEncryptionConfiguration(bool value)
AWS_ATHENA_API WorkGroupConfigurationUpdates(Aws::Utils::Json::JsonView jsonValue)
const QueryResultsS3AccessGrantsConfiguration & GetQueryResultsS3AccessGrantsConfiguration() const
WorkGroupConfigurationUpdates & WithManagedQueryResultsConfigurationUpdates(ManagedQueryResultsConfigurationUpdatesT &&value)
WorkGroupConfigurationUpdates & WithAdditionalConfiguration(AdditionalConfigurationT &&value)
WorkGroupConfigurationUpdates & WithQueryResultsS3AccessGrantsConfiguration(QueryResultsS3AccessGrantsConfigurationT &&value)
const CustomerContentEncryptionConfiguration & GetCustomerContentEncryptionConfiguration() const
WorkGroupConfigurationUpdates & WithRequesterPaysEnabled(bool value)
const ManagedQueryResultsConfigurationUpdates & GetManagedQueryResultsConfigurationUpdates() const
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
WorkGroupConfigurationUpdates & WithEngineVersion(EngineVersionT &&value)
WorkGroupConfigurationUpdates & WithRemoveBytesScannedCutoffPerQuery(bool value)
const ResultConfigurationUpdates & GetResultConfigurationUpdates() const
WorkGroupConfigurationUpdates & WithCustomerContentEncryptionConfiguration(CustomerContentEncryptionConfigurationT &&value)
void SetAdditionalConfiguration(AdditionalConfigurationT &&value)
WorkGroupConfigurationUpdates & WithEnableMinimumEncryptionConfiguration(bool value)
WorkGroupConfigurationUpdates & WithExecutionRole(ExecutionRoleT &&value)
AWS_ATHENA_API WorkGroupConfigurationUpdates & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetResultConfigurationUpdates(ResultConfigurationUpdatesT &&value)
void SetQueryResultsS3AccessGrantsConfiguration(QueryResultsS3AccessGrantsConfigurationT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue