/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include If query and calculation results are encrypted in Amazon S3, indicates the
* encryption option used (for example, SSE_KMS
or
* CSE_KMS
) and key information.See Also:
AWS
* API Reference
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed
* keys (SSE_S3
), server-side encryption with KMS-managed keys
* (SSE_KMS
), or client-side encryption with KMS-managed keys
* (CSE_KMS
) is used.
If a query runs in a workgroup and the * workgroup overrides client-side settings, then the workgroup's setting for * encryption is used. It specifies whether query results must be encrypted, for * all queries that run in this workgroup.
*/ inline const EncryptionOption& GetEncryptionOption() const{ return m_encryptionOption; } /** *Indicates whether Amazon S3 server-side encryption with Amazon S3-managed
* keys (SSE_S3
), server-side encryption with KMS-managed keys
* (SSE_KMS
), or client-side encryption with KMS-managed keys
* (CSE_KMS
) is used.
If a query runs in a workgroup and the * workgroup overrides client-side settings, then the workgroup's setting for * encryption is used. It specifies whether query results must be encrypted, for * all queries that run in this workgroup.
*/ inline bool EncryptionOptionHasBeenSet() const { return m_encryptionOptionHasBeenSet; } /** *Indicates whether Amazon S3 server-side encryption with Amazon S3-managed
* keys (SSE_S3
), server-side encryption with KMS-managed keys
* (SSE_KMS
), or client-side encryption with KMS-managed keys
* (CSE_KMS
) is used.
If a query runs in a workgroup and the * workgroup overrides client-side settings, then the workgroup's setting for * encryption is used. It specifies whether query results must be encrypted, for * all queries that run in this workgroup.
*/ inline void SetEncryptionOption(const EncryptionOption& value) { m_encryptionOptionHasBeenSet = true; m_encryptionOption = value; } /** *Indicates whether Amazon S3 server-side encryption with Amazon S3-managed
* keys (SSE_S3
), server-side encryption with KMS-managed keys
* (SSE_KMS
), or client-side encryption with KMS-managed keys
* (CSE_KMS
) is used.
If a query runs in a workgroup and the * workgroup overrides client-side settings, then the workgroup's setting for * encryption is used. It specifies whether query results must be encrypted, for * all queries that run in this workgroup.
*/ inline void SetEncryptionOption(EncryptionOption&& value) { m_encryptionOptionHasBeenSet = true; m_encryptionOption = std::move(value); } /** *Indicates whether Amazon S3 server-side encryption with Amazon S3-managed
* keys (SSE_S3
), server-side encryption with KMS-managed keys
* (SSE_KMS
), or client-side encryption with KMS-managed keys
* (CSE_KMS
) is used.
If a query runs in a workgroup and the * workgroup overrides client-side settings, then the workgroup's setting for * encryption is used. It specifies whether query results must be encrypted, for * all queries that run in this workgroup.
*/ inline EncryptionConfiguration& WithEncryptionOption(const EncryptionOption& value) { SetEncryptionOption(value); return *this;} /** *Indicates whether Amazon S3 server-side encryption with Amazon S3-managed
* keys (SSE_S3
), server-side encryption with KMS-managed keys
* (SSE_KMS
), or client-side encryption with KMS-managed keys
* (CSE_KMS
) is used.
If a query runs in a workgroup and the * workgroup overrides client-side settings, then the workgroup's setting for * encryption is used. It specifies whether query results must be encrypted, for * all queries that run in this workgroup.
*/ inline EncryptionConfiguration& WithEncryptionOption(EncryptionOption&& value) { SetEncryptionOption(std::move(value)); return *this;} /** *For SSE_KMS
and CSE_KMS
, this is the KMS key ARN or
* ID.
For SSE_KMS
and CSE_KMS
, this is the KMS key ARN or
* ID.
For SSE_KMS
and CSE_KMS
, this is the KMS key ARN or
* ID.
For SSE_KMS
and CSE_KMS
, this is the KMS key ARN or
* ID.
For SSE_KMS
and CSE_KMS
, this is the KMS key ARN or
* ID.
For SSE_KMS
and CSE_KMS
, this is the KMS key ARN or
* ID.
For SSE_KMS
and CSE_KMS
, this is the KMS key ARN or
* ID.
For SSE_KMS
and CSE_KMS
, this is the KMS key ARN or
* ID.