AWS SDK for C++  1.9.68
AWS SDK for C++
Public Member Functions | List of all members
Aws::Macie2::Model::BucketServerSideEncryption Class Reference

#include <BucketServerSideEncryption.h>

Public Member Functions

 BucketServerSideEncryption ()
 
 BucketServerSideEncryption (Aws::Utils::Json::JsonView jsonValue)
 
BucketServerSideEncryptionoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetKmsMasterKeyId () const
 
bool KmsMasterKeyIdHasBeenSet () const
 
void SetKmsMasterKeyId (const Aws::String &value)
 
void SetKmsMasterKeyId (Aws::String &&value)
 
void SetKmsMasterKeyId (const char *value)
 
BucketServerSideEncryptionWithKmsMasterKeyId (const Aws::String &value)
 
BucketServerSideEncryptionWithKmsMasterKeyId (Aws::String &&value)
 
BucketServerSideEncryptionWithKmsMasterKeyId (const char *value)
 
const TypeGetType () const
 
bool TypeHasBeenSet () const
 
void SetType (const Type &value)
 
void SetType (Type &&value)
 
BucketServerSideEncryptionWithType (const Type &value)
 
BucketServerSideEncryptionWithType (Type &&value)
 

Detailed Description

Provides information about the default server-side encryption settings for an S3 bucket. For detailed information about these settings, see Setting default server-side encryption behavior for Amazon S3 buckets in the Amazon Simple Storage Service User Guide.

See Also:

AWS API Reference

Definition at line 36 of file BucketServerSideEncryption.h.

Constructor & Destructor Documentation

◆ BucketServerSideEncryption() [1/2]

Aws::Macie2::Model::BucketServerSideEncryption::BucketServerSideEncryption ( )

◆ BucketServerSideEncryption() [2/2]

Aws::Macie2::Model::BucketServerSideEncryption::BucketServerSideEncryption ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ GetKmsMasterKeyId()

const Aws::String& Aws::Macie2::Model::BucketServerSideEncryption::GetKmsMasterKeyId ( ) const
inline

The Amazon Resource Name (ARN) or unique identifier (key ID) for the Key Management Service (KMS) customer master key (CMK) that's used by default to encrypt objects that are added to the bucket. This value is null if the bucket uses an Amazon S3 managed key to encrypt new objects or the bucket doesn't encrypt new objects by default.

Definition at line 52 of file BucketServerSideEncryption.h.

◆ GetType()

const Type& Aws::Macie2::Model::BucketServerSideEncryption::GetType ( ) const
inline

The type of server-side encryption that's used by default when storing new objects in the bucket. Possible values are:

  • AES256 - New objects are encrypted with an Amazon S3 managed key and use Amazon S3 managed encryption (SSE-S3).

  • aws:kms - New objects are encrypted with an KMS CMK, specified by the kmsMasterKeyId property, and use Amazon Web Services managed KMS encryption (AWS-KMS) or customer managed KMS encryption (SSE-KMS).

  • NONE - New objects aren't encrypted by default. Default encryption is disabled for the bucket.

Definition at line 128 of file BucketServerSideEncryption.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::Macie2::Model::BucketServerSideEncryption::Jsonize ( ) const

◆ KmsMasterKeyIdHasBeenSet()

bool Aws::Macie2::Model::BucketServerSideEncryption::KmsMasterKeyIdHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) or unique identifier (key ID) for the Key Management Service (KMS) customer master key (CMK) that's used by default to encrypt objects that are added to the bucket. This value is null if the bucket uses an Amazon S3 managed key to encrypt new objects or the bucket doesn't encrypt new objects by default.

Definition at line 61 of file BucketServerSideEncryption.h.

◆ operator=()

BucketServerSideEncryption& Aws::Macie2::Model::BucketServerSideEncryption::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ SetKmsMasterKeyId() [1/3]

void Aws::Macie2::Model::BucketServerSideEncryption::SetKmsMasterKeyId ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) or unique identifier (key ID) for the Key Management Service (KMS) customer master key (CMK) that's used by default to encrypt objects that are added to the bucket. This value is null if the bucket uses an Amazon S3 managed key to encrypt new objects or the bucket doesn't encrypt new objects by default.

Definition at line 79 of file BucketServerSideEncryption.h.

◆ SetKmsMasterKeyId() [2/3]

void Aws::Macie2::Model::BucketServerSideEncryption::SetKmsMasterKeyId ( const Aws::String value)
inline

The Amazon Resource Name (ARN) or unique identifier (key ID) for the Key Management Service (KMS) customer master key (CMK) that's used by default to encrypt objects that are added to the bucket. This value is null if the bucket uses an Amazon S3 managed key to encrypt new objects or the bucket doesn't encrypt new objects by default.

Definition at line 70 of file BucketServerSideEncryption.h.

◆ SetKmsMasterKeyId() [3/3]

void Aws::Macie2::Model::BucketServerSideEncryption::SetKmsMasterKeyId ( const char *  value)
inline

The Amazon Resource Name (ARN) or unique identifier (key ID) for the Key Management Service (KMS) customer master key (CMK) that's used by default to encrypt objects that are added to the bucket. This value is null if the bucket uses an Amazon S3 managed key to encrypt new objects or the bucket doesn't encrypt new objects by default.

Definition at line 88 of file BucketServerSideEncryption.h.

◆ SetType() [1/2]

void Aws::Macie2::Model::BucketServerSideEncryption::SetType ( const Type value)
inline

The type of server-side encryption that's used by default when storing new objects in the bucket. Possible values are:

  • AES256 - New objects are encrypted with an Amazon S3 managed key and use Amazon S3 managed encryption (SSE-S3).

  • aws:kms - New objects are encrypted with an KMS CMK, specified by the kmsMasterKeyId property, and use Amazon Web Services managed KMS encryption (AWS-KMS) or customer managed KMS encryption (SSE-KMS).

  • NONE - New objects aren't encrypted by default. Default encryption is disabled for the bucket.

Definition at line 152 of file BucketServerSideEncryption.h.

◆ SetType() [2/2]

void Aws::Macie2::Model::BucketServerSideEncryption::SetType ( Type &&  value)
inline

The type of server-side encryption that's used by default when storing new objects in the bucket. Possible values are:

  • AES256 - New objects are encrypted with an Amazon S3 managed key and use Amazon S3 managed encryption (SSE-S3).

  • aws:kms - New objects are encrypted with an KMS CMK, specified by the kmsMasterKeyId property, and use Amazon Web Services managed KMS encryption (AWS-KMS) or customer managed KMS encryption (SSE-KMS).

  • NONE - New objects aren't encrypted by default. Default encryption is disabled for the bucket.

Definition at line 164 of file BucketServerSideEncryption.h.

◆ TypeHasBeenSet()

bool Aws::Macie2::Model::BucketServerSideEncryption::TypeHasBeenSet ( ) const
inline

The type of server-side encryption that's used by default when storing new objects in the bucket. Possible values are:

  • AES256 - New objects are encrypted with an Amazon S3 managed key and use Amazon S3 managed encryption (SSE-S3).

  • aws:kms - New objects are encrypted with an KMS CMK, specified by the kmsMasterKeyId property, and use Amazon Web Services managed KMS encryption (AWS-KMS) or customer managed KMS encryption (SSE-KMS).

  • NONE - New objects aren't encrypted by default. Default encryption is disabled for the bucket.

Definition at line 140 of file BucketServerSideEncryption.h.

◆ WithKmsMasterKeyId() [1/3]

BucketServerSideEncryption& Aws::Macie2::Model::BucketServerSideEncryption::WithKmsMasterKeyId ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) or unique identifier (key ID) for the Key Management Service (KMS) customer master key (CMK) that's used by default to encrypt objects that are added to the bucket. This value is null if the bucket uses an Amazon S3 managed key to encrypt new objects or the bucket doesn't encrypt new objects by default.

Definition at line 106 of file BucketServerSideEncryption.h.

◆ WithKmsMasterKeyId() [2/3]

BucketServerSideEncryption& Aws::Macie2::Model::BucketServerSideEncryption::WithKmsMasterKeyId ( const Aws::String value)
inline

The Amazon Resource Name (ARN) or unique identifier (key ID) for the Key Management Service (KMS) customer master key (CMK) that's used by default to encrypt objects that are added to the bucket. This value is null if the bucket uses an Amazon S3 managed key to encrypt new objects or the bucket doesn't encrypt new objects by default.

Definition at line 97 of file BucketServerSideEncryption.h.

◆ WithKmsMasterKeyId() [3/3]

BucketServerSideEncryption& Aws::Macie2::Model::BucketServerSideEncryption::WithKmsMasterKeyId ( const char *  value)
inline

The Amazon Resource Name (ARN) or unique identifier (key ID) for the Key Management Service (KMS) customer master key (CMK) that's used by default to encrypt objects that are added to the bucket. This value is null if the bucket uses an Amazon S3 managed key to encrypt new objects or the bucket doesn't encrypt new objects by default.

Definition at line 115 of file BucketServerSideEncryption.h.

◆ WithType() [1/2]

BucketServerSideEncryption& Aws::Macie2::Model::BucketServerSideEncryption::WithType ( const Type value)
inline

The type of server-side encryption that's used by default when storing new objects in the bucket. Possible values are:

  • AES256 - New objects are encrypted with an Amazon S3 managed key and use Amazon S3 managed encryption (SSE-S3).

  • aws:kms - New objects are encrypted with an KMS CMK, specified by the kmsMasterKeyId property, and use Amazon Web Services managed KMS encryption (AWS-KMS) or customer managed KMS encryption (SSE-KMS).

  • NONE - New objects aren't encrypted by default. Default encryption is disabled for the bucket.

Definition at line 176 of file BucketServerSideEncryption.h.

◆ WithType() [2/2]

BucketServerSideEncryption& Aws::Macie2::Model::BucketServerSideEncryption::WithType ( Type &&  value)
inline

The type of server-side encryption that's used by default when storing new objects in the bucket. Possible values are:

  • AES256 - New objects are encrypted with an Amazon S3 managed key and use Amazon S3 managed encryption (SSE-S3).

  • aws:kms - New objects are encrypted with an KMS CMK, specified by the kmsMasterKeyId property, and use Amazon Web Services managed KMS encryption (AWS-KMS) or customer managed KMS encryption (SSE-KMS).

  • NONE - New objects aren't encrypted by default. Default encryption is disabled for the bucket.

Definition at line 188 of file BucketServerSideEncryption.h.


The documentation for this class was generated from the following file: