/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details of an Amazon S3 bucket.See Also:
AWS
* API Reference
The canonical user ID of the owner of the S3 bucket.
*/ inline const Aws::String& GetOwnerId() const{ return m_ownerId; } /** *The canonical user ID of the owner of the S3 bucket.
*/ inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; } /** *The canonical user ID of the owner of the S3 bucket.
*/ inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; } /** *The canonical user ID of the owner of the S3 bucket.
*/ inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); } /** *The canonical user ID of the owner of the S3 bucket.
*/ inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); } /** *The canonical user ID of the owner of the S3 bucket.
*/ inline AwsS3BucketDetails& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;} /** *The canonical user ID of the owner of the S3 bucket.
*/ inline AwsS3BucketDetails& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;} /** *The canonical user ID of the owner of the S3 bucket.
*/ inline AwsS3BucketDetails& WithOwnerId(const char* value) { SetOwnerId(value); return *this;} /** *The display name of the owner of the S3 bucket.
*/ inline const Aws::String& GetOwnerName() const{ return m_ownerName; } /** *The display name of the owner of the S3 bucket.
*/ inline bool OwnerNameHasBeenSet() const { return m_ownerNameHasBeenSet; } /** *The display name of the owner of the S3 bucket.
*/ inline void SetOwnerName(const Aws::String& value) { m_ownerNameHasBeenSet = true; m_ownerName = value; } /** *The display name of the owner of the S3 bucket.
*/ inline void SetOwnerName(Aws::String&& value) { m_ownerNameHasBeenSet = true; m_ownerName = std::move(value); } /** *The display name of the owner of the S3 bucket.
*/ inline void SetOwnerName(const char* value) { m_ownerNameHasBeenSet = true; m_ownerName.assign(value); } /** *The display name of the owner of the S3 bucket.
*/ inline AwsS3BucketDetails& WithOwnerName(const Aws::String& value) { SetOwnerName(value); return *this;} /** *The display name of the owner of the S3 bucket.
*/ inline AwsS3BucketDetails& WithOwnerName(Aws::String&& value) { SetOwnerName(std::move(value)); return *this;} /** *The display name of the owner of the S3 bucket.
*/ inline AwsS3BucketDetails& WithOwnerName(const char* value) { SetOwnerName(value); return *this;} /** *Indicates when the S3 bucket was created.
Uses the
* date-time format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces. For example,
* 2020-03-22T13:22:13.933Z.
Indicates when the S3 bucket was created.
Uses the
* date-time format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces. For example,
* 2020-03-22T13:22:13.933Z.
Indicates when the S3 bucket was created.
Uses the
* date-time format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces. For example,
* 2020-03-22T13:22:13.933Z.
Indicates when the S3 bucket was created.
Uses the
* date-time format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces. For example,
* 2020-03-22T13:22:13.933Z.
Indicates when the S3 bucket was created.
Uses the
* date-time format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces. For example,
* 2020-03-22T13:22:13.933Z.
Indicates when the S3 bucket was created.
Uses the
* date-time format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces. For example,
* 2020-03-22T13:22:13.933Z.
Indicates when the S3 bucket was created.
Uses the
* date-time format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces. For example,
* 2020-03-22T13:22:13.933Z.
Indicates when the S3 bucket was created.
Uses the
* date-time format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces. For example,
* 2020-03-22T13:22:13.933Z.
The encryption rules that are applied to the S3 bucket.
*/ inline const AwsS3BucketServerSideEncryptionConfiguration& GetServerSideEncryptionConfiguration() const{ return m_serverSideEncryptionConfiguration; } /** *The encryption rules that are applied to the S3 bucket.
*/ inline bool ServerSideEncryptionConfigurationHasBeenSet() const { return m_serverSideEncryptionConfigurationHasBeenSet; } /** *The encryption rules that are applied to the S3 bucket.
*/ inline void SetServerSideEncryptionConfiguration(const AwsS3BucketServerSideEncryptionConfiguration& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = value; } /** *The encryption rules that are applied to the S3 bucket.
*/ inline void SetServerSideEncryptionConfiguration(AwsS3BucketServerSideEncryptionConfiguration&& value) { m_serverSideEncryptionConfigurationHasBeenSet = true; m_serverSideEncryptionConfiguration = std::move(value); } /** *The encryption rules that are applied to the S3 bucket.
*/ inline AwsS3BucketDetails& WithServerSideEncryptionConfiguration(const AwsS3BucketServerSideEncryptionConfiguration& value) { SetServerSideEncryptionConfiguration(value); return *this;} /** *The encryption rules that are applied to the S3 bucket.
*/ inline AwsS3BucketDetails& WithServerSideEncryptionConfiguration(AwsS3BucketServerSideEncryptionConfiguration&& value) { SetServerSideEncryptionConfiguration(std::move(value)); return *this;} private: Aws::String m_ownerId; bool m_ownerIdHasBeenSet; Aws::String m_ownerName; bool m_ownerNameHasBeenSet; Aws::String m_createdAt; bool m_createdAtHasBeenSet; AwsS3BucketServerSideEncryptionConfiguration m_serverSideEncryptionConfiguration; bool m_serverSideEncryptionConfigurationHasBeenSet; }; } // namespace Model } // namespace SecurityHub } // namespace Aws