/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the default server-side encryption to apply to new objects in the
* bucket.See Also:
AWS
* API Reference
Server-side encryption algorithm to use for the default encryption. Valid
* values are aws: kms
or AES256
.
Server-side encryption algorithm to use for the default encryption. Valid
* values are aws: kms
or AES256
.
Server-side encryption algorithm to use for the default encryption. Valid
* values are aws: kms
or AES256
.
Server-side encryption algorithm to use for the default encryption. Valid
* values are aws: kms
or AES256
.
Server-side encryption algorithm to use for the default encryption. Valid
* values are aws: kms
or AES256
.
Server-side encryption algorithm to use for the default encryption. Valid
* values are aws: kms
or AES256
.
Server-side encryption algorithm to use for the default encryption. Valid
* values are aws: kms
or AES256
.
Server-side encryption algorithm to use for the default encryption. Valid
* values are aws: kms
or AES256
.
KMS key ID to use for the default encryption.
*/ inline const Aws::String& GetKMSMasterKeyID() const{ return m_kMSMasterKeyID; } /** *KMS key ID to use for the default encryption.
*/ inline bool KMSMasterKeyIDHasBeenSet() const { return m_kMSMasterKeyIDHasBeenSet; } /** *KMS key ID to use for the default encryption.
*/ inline void SetKMSMasterKeyID(const Aws::String& value) { m_kMSMasterKeyIDHasBeenSet = true; m_kMSMasterKeyID = value; } /** *KMS key ID to use for the default encryption.
*/ inline void SetKMSMasterKeyID(Aws::String&& value) { m_kMSMasterKeyIDHasBeenSet = true; m_kMSMasterKeyID = std::move(value); } /** *KMS key ID to use for the default encryption.
*/ inline void SetKMSMasterKeyID(const char* value) { m_kMSMasterKeyIDHasBeenSet = true; m_kMSMasterKeyID.assign(value); } /** *KMS key ID to use for the default encryption.
*/ inline AwsS3BucketServerSideEncryptionByDefault& WithKMSMasterKeyID(const Aws::String& value) { SetKMSMasterKeyID(value); return *this;} /** *KMS key ID to use for the default encryption.
*/ inline AwsS3BucketServerSideEncryptionByDefault& WithKMSMasterKeyID(Aws::String&& value) { SetKMSMasterKeyID(std::move(value)); return *this;} /** *KMS key ID to use for the default encryption.
*/ inline AwsS3BucketServerSideEncryptionByDefault& WithKMSMasterKeyID(const char* value) { SetKMSMasterKeyID(value); return *this;} private: Aws::String m_sSEAlgorithm; bool m_sSEAlgorithmHasBeenSet = false; Aws::String m_kMSMasterKeyID; bool m_kMSMasterKeyIDHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws