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

#include <S3Bucket.h>

Public Member Functions

 S3Bucket ()
 
 S3Bucket (Aws::Utils::Json::JsonView jsonValue)
 
S3Bucketoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const AllowsUnencryptedObjectUploadsGetAllowsUnencryptedObjectUploads () const
 
bool AllowsUnencryptedObjectUploadsHasBeenSet () const
 
void SetAllowsUnencryptedObjectUploads (const AllowsUnencryptedObjectUploads &value)
 
void SetAllowsUnencryptedObjectUploads (AllowsUnencryptedObjectUploads &&value)
 
S3BucketWithAllowsUnencryptedObjectUploads (const AllowsUnencryptedObjectUploads &value)
 
S3BucketWithAllowsUnencryptedObjectUploads (AllowsUnencryptedObjectUploads &&value)
 
const Aws::StringGetArn () const
 
bool ArnHasBeenSet () const
 
void SetArn (const Aws::String &value)
 
void SetArn (Aws::String &&value)
 
void SetArn (const char *value)
 
S3BucketWithArn (const Aws::String &value)
 
S3BucketWithArn (Aws::String &&value)
 
S3BucketWithArn (const char *value)
 
const Aws::Utils::DateTimeGetCreatedAt () const
 
bool CreatedAtHasBeenSet () const
 
void SetCreatedAt (const Aws::Utils::DateTime &value)
 
void SetCreatedAt (Aws::Utils::DateTime &&value)
 
S3BucketWithCreatedAt (const Aws::Utils::DateTime &value)
 
S3BucketWithCreatedAt (Aws::Utils::DateTime &&value)
 
const ServerSideEncryptionGetDefaultServerSideEncryption () const
 
bool DefaultServerSideEncryptionHasBeenSet () const
 
void SetDefaultServerSideEncryption (const ServerSideEncryption &value)
 
void SetDefaultServerSideEncryption (ServerSideEncryption &&value)
 
S3BucketWithDefaultServerSideEncryption (const ServerSideEncryption &value)
 
S3BucketWithDefaultServerSideEncryption (ServerSideEncryption &&value)
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
S3BucketWithName (const Aws::String &value)
 
S3BucketWithName (Aws::String &&value)
 
S3BucketWithName (const char *value)
 
const S3BucketOwnerGetOwner () const
 
bool OwnerHasBeenSet () const
 
void SetOwner (const S3BucketOwner &value)
 
void SetOwner (S3BucketOwner &&value)
 
S3BucketWithOwner (const S3BucketOwner &value)
 
S3BucketWithOwner (S3BucketOwner &&value)
 
const BucketPublicAccessGetPublicAccess () const
 
bool PublicAccessHasBeenSet () const
 
void SetPublicAccess (const BucketPublicAccess &value)
 
void SetPublicAccess (BucketPublicAccess &&value)
 
S3BucketWithPublicAccess (const BucketPublicAccess &value)
 
S3BucketWithPublicAccess (BucketPublicAccess &&value)
 
const Aws::Vector< KeyValuePair > & GetTags () const
 
bool TagsHasBeenSet () const
 
void SetTags (const Aws::Vector< KeyValuePair > &value)
 
void SetTags (Aws::Vector< KeyValuePair > &&value)
 
S3BucketWithTags (const Aws::Vector< KeyValuePair > &value)
 
S3BucketWithTags (Aws::Vector< KeyValuePair > &&value)
 
S3BucketAddTags (const KeyValuePair &value)
 
S3BucketAddTags (KeyValuePair &&value)
 

Detailed Description

Provides information about the S3 bucket that a finding applies to.

See Also:

AWS API Reference

Definition at line 39 of file S3Bucket.h.

Constructor & Destructor Documentation

◆ S3Bucket() [1/2]

Aws::Macie2::Model::S3Bucket::S3Bucket ( )

◆ S3Bucket() [2/2]

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

Member Function Documentation

◆ AddTags() [1/2]

S3Bucket& Aws::Macie2::Model::S3Bucket::AddTags ( const KeyValuePair value)
inline

The tags that are associated with the bucket.

Definition at line 408 of file S3Bucket.h.

◆ AddTags() [2/2]

S3Bucket& Aws::Macie2::Model::S3Bucket::AddTags ( KeyValuePair &&  value)
inline

The tags that are associated with the bucket.

Definition at line 413 of file S3Bucket.h.

◆ AllowsUnencryptedObjectUploadsHasBeenSet()

bool Aws::Macie2::Model::S3Bucket::AllowsUnencryptedObjectUploadsHasBeenSet ( ) const
inline

Specifies whether the bucket policy for the bucket requires server-side encryption of objects when objects are uploaded to the bucket. Possible values are:

  • FALSE - The bucket policy requires server-side encryption of new objects. PutObject requests must include the x-amz-server-side-encryption header and the value for that header must be AES256 or aws:kms.

  • TRUE - The bucket doesn't have a bucket policy or it has a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, it doesn't require PutObject requests to include the x-amz-server-side-encryption header and it doesn't require the value for that header to be AES256 or aws:kms.

  • UNKNOWN - Amazon Macie can't determine whether the bucket policy requires server-side encryption of objects.

Definition at line 78 of file S3Bucket.h.

◆ ArnHasBeenSet()

bool Aws::Macie2::Model::S3Bucket::ArnHasBeenSet ( ) const
inline

The Amazon Resource Name (ARN) of the bucket.

Definition at line 153 of file S3Bucket.h.

◆ CreatedAtHasBeenSet()

bool Aws::Macie2::Model::S3Bucket::CreatedAtHasBeenSet ( ) const
inline

The date and time, in UTC and extended ISO 8601 format, when the bucket was created.

Definition at line 196 of file S3Bucket.h.

◆ DefaultServerSideEncryptionHasBeenSet()

bool Aws::Macie2::Model::S3Bucket::DefaultServerSideEncryptionHasBeenSet ( ) const
inline

The type of server-side encryption that's used by default to encrypt objects in the bucket.

Definition at line 233 of file S3Bucket.h.

◆ GetAllowsUnencryptedObjectUploads()

const AllowsUnencryptedObjectUploads& Aws::Macie2::Model::S3Bucket::GetAllowsUnencryptedObjectUploads ( ) const
inline

Specifies whether the bucket policy for the bucket requires server-side encryption of objects when objects are uploaded to the bucket. Possible values are:

  • FALSE - The bucket policy requires server-side encryption of new objects. PutObject requests must include the x-amz-server-side-encryption header and the value for that header must be AES256 or aws:kms.

  • TRUE - The bucket doesn't have a bucket policy or it has a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, it doesn't require PutObject requests to include the x-amz-server-side-encryption header and it doesn't require the value for that header to be AES256 or aws:kms.

  • UNKNOWN - Amazon Macie can't determine whether the bucket policy requires server-side encryption of objects.

Definition at line 62 of file S3Bucket.h.

◆ GetArn()

const Aws::String& Aws::Macie2::Model::S3Bucket::GetArn ( ) const
inline

The Amazon Resource Name (ARN) of the bucket.

Definition at line 148 of file S3Bucket.h.

◆ GetCreatedAt()

const Aws::Utils::DateTime& Aws::Macie2::Model::S3Bucket::GetCreatedAt ( ) const
inline

The date and time, in UTC and extended ISO 8601 format, when the bucket was created.

Definition at line 190 of file S3Bucket.h.

◆ GetDefaultServerSideEncryption()

const ServerSideEncryption& Aws::Macie2::Model::S3Bucket::GetDefaultServerSideEncryption ( ) const
inline

The type of server-side encryption that's used by default to encrypt objects in the bucket.

Definition at line 227 of file S3Bucket.h.

◆ GetName()

const Aws::String& Aws::Macie2::Model::S3Bucket::GetName ( ) const
inline

The name of the bucket.

Definition at line 263 of file S3Bucket.h.

◆ GetOwner()

const S3BucketOwner& Aws::Macie2::Model::S3Bucket::GetOwner ( ) const
inline

The display name and Amazon Web Services account ID for the user who owns the bucket.

Definition at line 305 of file S3Bucket.h.

◆ GetPublicAccess()

const BucketPublicAccess& Aws::Macie2::Model::S3Bucket::GetPublicAccess ( ) const
inline

The permissions settings that determine whether the bucket is publicly accessible.

Definition at line 342 of file S3Bucket.h.

◆ GetTags()

const Aws::Vector<KeyValuePair>& Aws::Macie2::Model::S3Bucket::GetTags ( ) const
inline

The tags that are associated with the bucket.

Definition at line 378 of file S3Bucket.h.

◆ Jsonize()

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

◆ NameHasBeenSet()

bool Aws::Macie2::Model::S3Bucket::NameHasBeenSet ( ) const
inline

The name of the bucket.

Definition at line 268 of file S3Bucket.h.

◆ operator=()

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

◆ OwnerHasBeenSet()

bool Aws::Macie2::Model::S3Bucket::OwnerHasBeenSet ( ) const
inline

The display name and Amazon Web Services account ID for the user who owns the bucket.

Definition at line 311 of file S3Bucket.h.

◆ PublicAccessHasBeenSet()

bool Aws::Macie2::Model::S3Bucket::PublicAccessHasBeenSet ( ) const
inline

The permissions settings that determine whether the bucket is publicly accessible.

Definition at line 348 of file S3Bucket.h.

◆ SetAllowsUnencryptedObjectUploads() [1/2]

void Aws::Macie2::Model::S3Bucket::SetAllowsUnencryptedObjectUploads ( AllowsUnencryptedObjectUploads &&  value)
inline

Specifies whether the bucket policy for the bucket requires server-side encryption of objects when objects are uploaded to the bucket. Possible values are:

  • FALSE - The bucket policy requires server-side encryption of new objects. PutObject requests must include the x-amz-server-side-encryption header and the value for that header must be AES256 or aws:kms.

  • TRUE - The bucket doesn't have a bucket policy or it has a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, it doesn't require PutObject requests to include the x-amz-server-side-encryption header and it doesn't require the value for that header to be AES256 or aws:kms.

  • UNKNOWN - Amazon Macie can't determine whether the bucket policy requires server-side encryption of objects.

Definition at line 110 of file S3Bucket.h.

◆ SetAllowsUnencryptedObjectUploads() [2/2]

void Aws::Macie2::Model::S3Bucket::SetAllowsUnencryptedObjectUploads ( const AllowsUnencryptedObjectUploads value)
inline

Specifies whether the bucket policy for the bucket requires server-side encryption of objects when objects are uploaded to the bucket. Possible values are:

  • FALSE - The bucket policy requires server-side encryption of new objects. PutObject requests must include the x-amz-server-side-encryption header and the value for that header must be AES256 or aws:kms.

  • TRUE - The bucket doesn't have a bucket policy or it has a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, it doesn't require PutObject requests to include the x-amz-server-side-encryption header and it doesn't require the value for that header to be AES256 or aws:kms.

  • UNKNOWN - Amazon Macie can't determine whether the bucket policy requires server-side encryption of objects.

Definition at line 94 of file S3Bucket.h.

◆ SetArn() [1/3]

void Aws::Macie2::Model::S3Bucket::SetArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the bucket.

Definition at line 163 of file S3Bucket.h.

◆ SetArn() [2/3]

void Aws::Macie2::Model::S3Bucket::SetArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the bucket.

Definition at line 158 of file S3Bucket.h.

◆ SetArn() [3/3]

void Aws::Macie2::Model::S3Bucket::SetArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the bucket.

Definition at line 168 of file S3Bucket.h.

◆ SetCreatedAt() [1/2]

void Aws::Macie2::Model::S3Bucket::SetCreatedAt ( Aws::Utils::DateTime &&  value)
inline

The date and time, in UTC and extended ISO 8601 format, when the bucket was created.

Definition at line 208 of file S3Bucket.h.

◆ SetCreatedAt() [2/2]

void Aws::Macie2::Model::S3Bucket::SetCreatedAt ( const Aws::Utils::DateTime value)
inline

The date and time, in UTC and extended ISO 8601 format, when the bucket was created.

Definition at line 202 of file S3Bucket.h.

◆ SetDefaultServerSideEncryption() [1/2]

void Aws::Macie2::Model::S3Bucket::SetDefaultServerSideEncryption ( const ServerSideEncryption value)
inline

The type of server-side encryption that's used by default to encrypt objects in the bucket.

Definition at line 239 of file S3Bucket.h.

◆ SetDefaultServerSideEncryption() [2/2]

void Aws::Macie2::Model::S3Bucket::SetDefaultServerSideEncryption ( ServerSideEncryption &&  value)
inline

The type of server-side encryption that's used by default to encrypt objects in the bucket.

Definition at line 245 of file S3Bucket.h.

◆ SetName() [1/3]

void Aws::Macie2::Model::S3Bucket::SetName ( Aws::String &&  value)
inline

The name of the bucket.

Definition at line 278 of file S3Bucket.h.

◆ SetName() [2/3]

void Aws::Macie2::Model::S3Bucket::SetName ( const Aws::String value)
inline

The name of the bucket.

Definition at line 273 of file S3Bucket.h.

◆ SetName() [3/3]

void Aws::Macie2::Model::S3Bucket::SetName ( const char *  value)
inline

The name of the bucket.

Definition at line 283 of file S3Bucket.h.

◆ SetOwner() [1/2]

void Aws::Macie2::Model::S3Bucket::SetOwner ( const S3BucketOwner value)
inline

The display name and Amazon Web Services account ID for the user who owns the bucket.

Definition at line 317 of file S3Bucket.h.

◆ SetOwner() [2/2]

void Aws::Macie2::Model::S3Bucket::SetOwner ( S3BucketOwner &&  value)
inline

The display name and Amazon Web Services account ID for the user who owns the bucket.

Definition at line 323 of file S3Bucket.h.

◆ SetPublicAccess() [1/2]

void Aws::Macie2::Model::S3Bucket::SetPublicAccess ( BucketPublicAccess &&  value)
inline

The permissions settings that determine whether the bucket is publicly accessible.

Definition at line 360 of file S3Bucket.h.

◆ SetPublicAccess() [2/2]

void Aws::Macie2::Model::S3Bucket::SetPublicAccess ( const BucketPublicAccess value)
inline

The permissions settings that determine whether the bucket is publicly accessible.

Definition at line 354 of file S3Bucket.h.

◆ SetTags() [1/2]

void Aws::Macie2::Model::S3Bucket::SetTags ( Aws::Vector< KeyValuePair > &&  value)
inline

The tags that are associated with the bucket.

Definition at line 393 of file S3Bucket.h.

◆ SetTags() [2/2]

void Aws::Macie2::Model::S3Bucket::SetTags ( const Aws::Vector< KeyValuePair > &  value)
inline

The tags that are associated with the bucket.

Definition at line 388 of file S3Bucket.h.

◆ TagsHasBeenSet()

bool Aws::Macie2::Model::S3Bucket::TagsHasBeenSet ( ) const
inline

The tags that are associated with the bucket.

Definition at line 383 of file S3Bucket.h.

◆ WithAllowsUnencryptedObjectUploads() [1/2]

S3Bucket& Aws::Macie2::Model::S3Bucket::WithAllowsUnencryptedObjectUploads ( AllowsUnencryptedObjectUploads &&  value)
inline

Specifies whether the bucket policy for the bucket requires server-side encryption of objects when objects are uploaded to the bucket. Possible values are:

  • FALSE - The bucket policy requires server-side encryption of new objects. PutObject requests must include the x-amz-server-side-encryption header and the value for that header must be AES256 or aws:kms.

  • TRUE - The bucket doesn't have a bucket policy or it has a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, it doesn't require PutObject requests to include the x-amz-server-side-encryption header and it doesn't require the value for that header to be AES256 or aws:kms.

  • UNKNOWN - Amazon Macie can't determine whether the bucket policy requires server-side encryption of objects.

Definition at line 142 of file S3Bucket.h.

◆ WithAllowsUnencryptedObjectUploads() [2/2]

S3Bucket& Aws::Macie2::Model::S3Bucket::WithAllowsUnencryptedObjectUploads ( const AllowsUnencryptedObjectUploads value)
inline

Specifies whether the bucket policy for the bucket requires server-side encryption of objects when objects are uploaded to the bucket. Possible values are:

  • FALSE - The bucket policy requires server-side encryption of new objects. PutObject requests must include the x-amz-server-side-encryption header and the value for that header must be AES256 or aws:kms.

  • TRUE - The bucket doesn't have a bucket policy or it has a bucket policy that doesn't require server-side encryption of new objects. If a bucket policy exists, it doesn't require PutObject requests to include the x-amz-server-side-encryption header and it doesn't require the value for that header to be AES256 or aws:kms.

  • UNKNOWN - Amazon Macie can't determine whether the bucket policy requires server-side encryption of objects.

Definition at line 126 of file S3Bucket.h.

◆ WithArn() [1/3]

S3Bucket& Aws::Macie2::Model::S3Bucket::WithArn ( Aws::String &&  value)
inline

The Amazon Resource Name (ARN) of the bucket.

Definition at line 178 of file S3Bucket.h.

◆ WithArn() [2/3]

S3Bucket& Aws::Macie2::Model::S3Bucket::WithArn ( const Aws::String value)
inline

The Amazon Resource Name (ARN) of the bucket.

Definition at line 173 of file S3Bucket.h.

◆ WithArn() [3/3]

S3Bucket& Aws::Macie2::Model::S3Bucket::WithArn ( const char *  value)
inline

The Amazon Resource Name (ARN) of the bucket.

Definition at line 183 of file S3Bucket.h.

◆ WithCreatedAt() [1/2]

S3Bucket& Aws::Macie2::Model::S3Bucket::WithCreatedAt ( Aws::Utils::DateTime &&  value)
inline

The date and time, in UTC and extended ISO 8601 format, when the bucket was created.

Definition at line 220 of file S3Bucket.h.

◆ WithCreatedAt() [2/2]

S3Bucket& Aws::Macie2::Model::S3Bucket::WithCreatedAt ( const Aws::Utils::DateTime value)
inline

The date and time, in UTC and extended ISO 8601 format, when the bucket was created.

Definition at line 214 of file S3Bucket.h.

◆ WithDefaultServerSideEncryption() [1/2]

S3Bucket& Aws::Macie2::Model::S3Bucket::WithDefaultServerSideEncryption ( const ServerSideEncryption value)
inline

The type of server-side encryption that's used by default to encrypt objects in the bucket.

Definition at line 251 of file S3Bucket.h.

◆ WithDefaultServerSideEncryption() [2/2]

S3Bucket& Aws::Macie2::Model::S3Bucket::WithDefaultServerSideEncryption ( ServerSideEncryption &&  value)
inline

The type of server-side encryption that's used by default to encrypt objects in the bucket.

Definition at line 257 of file S3Bucket.h.

◆ WithName() [1/3]

S3Bucket& Aws::Macie2::Model::S3Bucket::WithName ( Aws::String &&  value)
inline

The name of the bucket.

Definition at line 293 of file S3Bucket.h.

◆ WithName() [2/3]

S3Bucket& Aws::Macie2::Model::S3Bucket::WithName ( const Aws::String value)
inline

The name of the bucket.

Definition at line 288 of file S3Bucket.h.

◆ WithName() [3/3]

S3Bucket& Aws::Macie2::Model::S3Bucket::WithName ( const char *  value)
inline

The name of the bucket.

Definition at line 298 of file S3Bucket.h.

◆ WithOwner() [1/2]

S3Bucket& Aws::Macie2::Model::S3Bucket::WithOwner ( const S3BucketOwner value)
inline

The display name and Amazon Web Services account ID for the user who owns the bucket.

Definition at line 329 of file S3Bucket.h.

◆ WithOwner() [2/2]

S3Bucket& Aws::Macie2::Model::S3Bucket::WithOwner ( S3BucketOwner &&  value)
inline

The display name and Amazon Web Services account ID for the user who owns the bucket.

Definition at line 335 of file S3Bucket.h.

◆ WithPublicAccess() [1/2]

S3Bucket& Aws::Macie2::Model::S3Bucket::WithPublicAccess ( BucketPublicAccess &&  value)
inline

The permissions settings that determine whether the bucket is publicly accessible.

Definition at line 372 of file S3Bucket.h.

◆ WithPublicAccess() [2/2]

S3Bucket& Aws::Macie2::Model::S3Bucket::WithPublicAccess ( const BucketPublicAccess value)
inline

The permissions settings that determine whether the bucket is publicly accessible.

Definition at line 366 of file S3Bucket.h.

◆ WithTags() [1/2]

S3Bucket& Aws::Macie2::Model::S3Bucket::WithTags ( Aws::Vector< KeyValuePair > &&  value)
inline

The tags that are associated with the bucket.

Definition at line 403 of file S3Bucket.h.

◆ WithTags() [2/2]

S3Bucket& Aws::Macie2::Model::S3Bucket::WithTags ( const Aws::Vector< KeyValuePair > &  value)
inline

The tags that are associated with the bucket.

Definition at line 398 of file S3Bucket.h.


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