/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies how Amazon Simple Storage Service (Amazon S3) data should be
* encrypted.See Also:
AWS
* API Reference
The encryption mode to use for Amazon S3 data.
*/ inline const S3EncryptionMode& GetS3EncryptionMode() const{ return m_s3EncryptionMode; } /** *The encryption mode to use for Amazon S3 data.
*/ inline bool S3EncryptionModeHasBeenSet() const { return m_s3EncryptionModeHasBeenSet; } /** *The encryption mode to use for Amazon S3 data.
*/ inline void SetS3EncryptionMode(const S3EncryptionMode& value) { m_s3EncryptionModeHasBeenSet = true; m_s3EncryptionMode = value; } /** *The encryption mode to use for Amazon S3 data.
*/ inline void SetS3EncryptionMode(S3EncryptionMode&& value) { m_s3EncryptionModeHasBeenSet = true; m_s3EncryptionMode = std::move(value); } /** *The encryption mode to use for Amazon S3 data.
*/ inline S3Encryption& WithS3EncryptionMode(const S3EncryptionMode& value) { SetS3EncryptionMode(value); return *this;} /** *The encryption mode to use for Amazon S3 data.
*/ inline S3Encryption& WithS3EncryptionMode(S3EncryptionMode&& value) { SetS3EncryptionMode(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the * data.
*/ inline const Aws::String& GetKmsKeyArn() const{ return m_kmsKeyArn; } /** *The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the * data.
*/ inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the * data.
*/ inline void SetKmsKeyArn(const Aws::String& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = value; } /** *The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the * data.
*/ inline void SetKmsKeyArn(Aws::String&& value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the * data.
*/ inline void SetKmsKeyArn(const char* value) { m_kmsKeyArnHasBeenSet = true; m_kmsKeyArn.assign(value); } /** *The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the * data.
*/ inline S3Encryption& WithKmsKeyArn(const Aws::String& value) { SetKmsKeyArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the * data.
*/ inline S3Encryption& WithKmsKeyArn(Aws::String&& value) { SetKmsKeyArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the * data.
*/ inline S3Encryption& WithKmsKeyArn(const char* value) { SetKmsKeyArn(value); return *this;} private: S3EncryptionMode m_s3EncryptionMode; bool m_s3EncryptionModeHasBeenSet = false; Aws::String m_kmsKeyArn; bool m_kmsKeyArnHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws