/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information on the server side encryption method used in the S3
* bucket. See S3
* Server-Side Encryption for more information.See Also:
AWS
* API Reference
The type of encryption used for objects within the S3 bucket.
*/ inline const Aws::String& GetEncryptionType() const{ return m_encryptionType; } /** *The type of encryption used for objects within the S3 bucket.
*/ inline bool EncryptionTypeHasBeenSet() const { return m_encryptionTypeHasBeenSet; } /** *The type of encryption used for objects within the S3 bucket.
*/ inline void SetEncryptionType(const Aws::String& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = value; } /** *The type of encryption used for objects within the S3 bucket.
*/ inline void SetEncryptionType(Aws::String&& value) { m_encryptionTypeHasBeenSet = true; m_encryptionType = std::move(value); } /** *The type of encryption used for objects within the S3 bucket.
*/ inline void SetEncryptionType(const char* value) { m_encryptionTypeHasBeenSet = true; m_encryptionType.assign(value); } /** *The type of encryption used for objects within the S3 bucket.
*/ inline DefaultServerSideEncryption& WithEncryptionType(const Aws::String& value) { SetEncryptionType(value); return *this;} /** *The type of encryption used for objects within the S3 bucket.
*/ inline DefaultServerSideEncryption& WithEncryptionType(Aws::String&& value) { SetEncryptionType(std::move(value)); return *this;} /** *The type of encryption used for objects within the S3 bucket.
*/ inline DefaultServerSideEncryption& WithEncryptionType(const char* value) { SetEncryptionType(value); return *this;} /** *The Amazon Resource Name (ARN) of the KMS encryption key. Only available if
* the bucket EncryptionType
is aws:kms
.
The Amazon Resource Name (ARN) of the KMS encryption key. Only available if
* the bucket EncryptionType
is aws:kms
.
The Amazon Resource Name (ARN) of the KMS encryption key. Only available if
* the bucket EncryptionType
is aws:kms
.
The Amazon Resource Name (ARN) of the KMS encryption key. Only available if
* the bucket EncryptionType
is aws:kms
.
The Amazon Resource Name (ARN) of the KMS encryption key. Only available if
* the bucket EncryptionType
is aws:kms
.
The Amazon Resource Name (ARN) of the KMS encryption key. Only available if
* the bucket EncryptionType
is aws:kms
.
The Amazon Resource Name (ARN) of the KMS encryption key. Only available if
* the bucket EncryptionType
is aws:kms
.
The Amazon Resource Name (ARN) of the KMS encryption key. Only available if
* the bucket EncryptionType
is aws:kms
.