7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/AwsS3BucketServerSideEncryptionConfiguration.h>
10#include <aws/securityhub/model/AwsS3BucketBucketLifecycleConfigurationDetails.h>
11#include <aws/securityhub/model/AwsS3AccountPublicAccessBlockDetails.h>
12#include <aws/securityhub/model/AwsS3BucketLoggingConfiguration.h>
13#include <aws/securityhub/model/AwsS3BucketWebsiteConfiguration.h>
14#include <aws/securityhub/model/AwsS3BucketNotificationConfiguration.h>
15#include <aws/securityhub/model/AwsS3BucketBucketVersioningConfiguration.h>
16#include <aws/securityhub/model/AwsS3BucketObjectLockConfiguration.h>
57 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
71 inline void SetOwnerName(
const char* value) { m_ownerNameHasBeenSet =
true; m_ownerName.assign(value); }
86 inline void SetOwnerAccountId(
const char* value) { m_ownerAccountIdHasBeenSet =
true; m_ownerAccountId.assign(value); }
114 inline void SetCreatedAt(
const char* value) { m_createdAtHasBeenSet =
true; m_createdAt.assign(value); }
165 inline void SetAccessControlList(
const char* value) { m_accessControlListHasBeenSet =
true; m_accessControlList.assign(value); }
240 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
248 bool m_ownerIdHasBeenSet =
false;
251 bool m_ownerNameHasBeenSet =
false;
254 bool m_ownerAccountIdHasBeenSet =
false;
257 bool m_createdAtHasBeenSet =
false;
260 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
263 bool m_bucketLifecycleConfigurationHasBeenSet =
false;
266 bool m_publicAccessBlockConfigurationHasBeenSet =
false;
269 bool m_accessControlListHasBeenSet =
false;
272 bool m_bucketLoggingConfigurationHasBeenSet =
false;
275 bool m_bucketWebsiteConfigurationHasBeenSet =
false;
278 bool m_bucketNotificationConfigurationHasBeenSet =
false;
281 bool m_bucketVersioningConfigurationHasBeenSet =
false;
284 bool m_objectLockConfigurationHasBeenSet =
false;
287 bool m_nameHasBeenSet =
false;
AwsS3BucketDetails & WithBucketWebsiteConfiguration(const AwsS3BucketWebsiteConfiguration &value)
AwsS3BucketDetails & WithBucketLifecycleConfiguration(const AwsS3BucketBucketLifecycleConfigurationDetails &value)
void SetName(const char *value)
void SetServerSideEncryptionConfiguration(const AwsS3BucketServerSideEncryptionConfiguration &value)
AwsS3BucketDetails & WithName(const char *value)
void SetBucketLifecycleConfiguration(AwsS3BucketBucketLifecycleConfigurationDetails &&value)
const AwsS3BucketLoggingConfiguration & GetBucketLoggingConfiguration() const
void SetAccessControlList(const Aws::String &value)
bool PublicAccessBlockConfigurationHasBeenSet() const
AwsS3BucketDetails & WithOwnerAccountId(Aws::String &&value)
AwsS3BucketDetails & WithBucketNotificationConfiguration(AwsS3BucketNotificationConfiguration &&value)
void SetBucketNotificationConfiguration(AwsS3BucketNotificationConfiguration &&value)
void SetBucketLifecycleConfiguration(const AwsS3BucketBucketLifecycleConfigurationDetails &value)
void SetOwnerId(const char *value)
AwsS3BucketDetails & WithServerSideEncryptionConfiguration(const AwsS3BucketServerSideEncryptionConfiguration &value)
void SetCreatedAt(Aws::String &&value)
void SetAccessControlList(const char *value)
const AwsS3BucketServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
AwsS3BucketDetails & WithAccessControlList(Aws::String &&value)
void SetBucketWebsiteConfiguration(AwsS3BucketWebsiteConfiguration &&value)
AWS_SECURITYHUB_API AwsS3BucketDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsS3BucketDetails & WithOwnerName(const char *value)
void SetBucketNotificationConfiguration(const AwsS3BucketNotificationConfiguration &value)
AwsS3BucketDetails & WithBucketLoggingConfiguration(AwsS3BucketLoggingConfiguration &&value)
bool AccessControlListHasBeenSet() const
bool ServerSideEncryptionConfigurationHasBeenSet() const
AwsS3BucketDetails & WithOwnerId(const char *value)
AwsS3BucketDetails & WithBucketVersioningConfiguration(const AwsS3BucketBucketVersioningConfiguration &value)
AWS_SECURITYHUB_API AwsS3BucketDetails()
void SetOwnerName(const char *value)
AwsS3BucketDetails & WithCreatedAt(Aws::String &&value)
AwsS3BucketDetails & WithObjectLockConfiguration(const AwsS3BucketObjectLockConfiguration &value)
void SetBucketVersioningConfiguration(AwsS3BucketBucketVersioningConfiguration &&value)
AwsS3BucketDetails & WithOwnerAccountId(const Aws::String &value)
bool BucketWebsiteConfigurationHasBeenSet() const
AwsS3BucketDetails & WithBucketWebsiteConfiguration(AwsS3BucketWebsiteConfiguration &&value)
const Aws::String & GetOwnerName() const
AwsS3BucketDetails & WithOwnerId(Aws::String &&value)
AWS_SECURITYHUB_API AwsS3BucketDetails(Aws::Utils::Json::JsonView jsonValue)
bool OwnerNameHasBeenSet() const
const AwsS3BucketBucketVersioningConfiguration & GetBucketVersioningConfiguration() const
bool BucketLoggingConfigurationHasBeenSet() const
const AwsS3BucketWebsiteConfiguration & GetBucketWebsiteConfiguration() const
const AwsS3BucketObjectLockConfiguration & GetObjectLockConfiguration() const
const AwsS3BucketNotificationConfiguration & GetBucketNotificationConfiguration() const
AwsS3BucketDetails & WithAccessControlList(const char *value)
void SetName(const Aws::String &value)
AwsS3BucketDetails & WithServerSideEncryptionConfiguration(AwsS3BucketServerSideEncryptionConfiguration &&value)
const Aws::String & GetName() const
void SetOwnerAccountId(Aws::String &&value)
AwsS3BucketDetails & WithBucketLifecycleConfiguration(AwsS3BucketBucketLifecycleConfigurationDetails &&value)
bool BucketLifecycleConfigurationHasBeenSet() const
bool BucketVersioningConfigurationHasBeenSet() const
void SetBucketVersioningConfiguration(const AwsS3BucketBucketVersioningConfiguration &value)
AwsS3BucketDetails & WithOwnerId(const Aws::String &value)
void SetOwnerAccountId(const char *value)
bool OwnerIdHasBeenSet() const
bool NameHasBeenSet() const
void SetCreatedAt(const char *value)
void SetCreatedAt(const Aws::String &value)
void SetOwnerId(Aws::String &&value)
bool OwnerAccountIdHasBeenSet() const
void SetOwnerName(const Aws::String &value)
AwsS3BucketDetails & WithName(Aws::String &&value)
const Aws::String & GetCreatedAt() const
const AwsS3AccountPublicAccessBlockDetails & GetPublicAccessBlockConfiguration() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetAccessControlList() const
void SetBucketLoggingConfiguration(AwsS3BucketLoggingConfiguration &&value)
void SetOwnerAccountId(const Aws::String &value)
AwsS3BucketDetails & WithObjectLockConfiguration(AwsS3BucketObjectLockConfiguration &&value)
void SetObjectLockConfiguration(AwsS3BucketObjectLockConfiguration &&value)
AwsS3BucketDetails & WithBucketLoggingConfiguration(const AwsS3BucketLoggingConfiguration &value)
AwsS3BucketDetails & WithOwnerName(const Aws::String &value)
const Aws::String & GetOwnerAccountId() const
void SetBucketLoggingConfiguration(const AwsS3BucketLoggingConfiguration &value)
AwsS3BucketDetails & WithBucketVersioningConfiguration(AwsS3BucketBucketVersioningConfiguration &&value)
AwsS3BucketDetails & WithOwnerName(Aws::String &&value)
void SetOwnerName(Aws::String &&value)
void SetObjectLockConfiguration(const AwsS3BucketObjectLockConfiguration &value)
void SetPublicAccessBlockConfiguration(const AwsS3AccountPublicAccessBlockDetails &value)
const AwsS3BucketBucketLifecycleConfigurationDetails & GetBucketLifecycleConfiguration() const
bool ObjectLockConfigurationHasBeenSet() const
AwsS3BucketDetails & WithName(const Aws::String &value)
AwsS3BucketDetails & WithAccessControlList(const Aws::String &value)
void SetServerSideEncryptionConfiguration(AwsS3BucketServerSideEncryptionConfiguration &&value)
AwsS3BucketDetails & WithCreatedAt(const char *value)
AwsS3BucketDetails & WithOwnerAccountId(const char *value)
AwsS3BucketDetails & WithBucketNotificationConfiguration(const AwsS3BucketNotificationConfiguration &value)
void SetAccessControlList(Aws::String &&value)
void SetName(Aws::String &&value)
AwsS3BucketDetails & WithPublicAccessBlockConfiguration(const AwsS3AccountPublicAccessBlockDetails &value)
void SetOwnerId(const Aws::String &value)
bool BucketNotificationConfigurationHasBeenSet() const
bool CreatedAtHasBeenSet() const
AwsS3BucketDetails & WithCreatedAt(const Aws::String &value)
void SetBucketWebsiteConfiguration(const AwsS3BucketWebsiteConfiguration &value)
void SetPublicAccessBlockConfiguration(AwsS3AccountPublicAccessBlockDetails &&value)
const Aws::String & GetOwnerId() const
AwsS3BucketDetails & WithPublicAccessBlockConfiguration(AwsS3AccountPublicAccessBlockDetails &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue