7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/AwsS3AccountPublicAccessBlockDetails.h>
10#include <aws/securityhub/model/AwsS3BucketBucketLifecycleConfigurationDetails.h>
11#include <aws/securityhub/model/AwsS3BucketBucketVersioningConfiguration.h>
12#include <aws/securityhub/model/AwsS3BucketLoggingConfiguration.h>
13#include <aws/securityhub/model/AwsS3BucketNotificationConfiguration.h>
14#include <aws/securityhub/model/AwsS3BucketObjectLockConfiguration.h>
15#include <aws/securityhub/model/AwsS3BucketServerSideEncryptionConfiguration.h>
16#include <aws/securityhub/model/AwsS3BucketWebsiteConfiguration.h>
49 template <
typename OwnerIdT = Aws::String>
51 m_ownerIdHasBeenSet =
true;
52 m_ownerId = std::forward<OwnerIdT>(value);
54 template <
typename OwnerIdT = Aws::String>
67 template <
typename OwnerNameT = Aws::String>
69 m_ownerNameHasBeenSet =
true;
70 m_ownerName = std::forward<OwnerNameT>(value);
72 template <
typename OwnerNameT = Aws::String>
86 template <
typename OwnerAccountIdT = Aws::String>
88 m_ownerAccountIdHasBeenSet =
true;
89 m_ownerAccountId = std::forward<OwnerAccountIdT>(value);
91 template <
typename OwnerAccountIdT = Aws::String>
106 template <
typename CreatedAtT = Aws::String>
108 m_createdAtHasBeenSet =
true;
109 m_createdAt = std::forward<CreatedAtT>(value);
111 template <
typename CreatedAtT = Aws::String>
123 return m_serverSideEncryptionConfiguration;
126 template <
typename ServerS
ideEncryptionConfigurationT = AwsS3BucketServerS
ideEncryptionConfiguration>
128 m_serverSideEncryptionConfigurationHasBeenSet =
true;
129 m_serverSideEncryptionConfiguration = std::forward<ServerSideEncryptionConfigurationT>(value);
131 template <
typename ServerS
ideEncryptionConfigurationT = AwsS3BucketServerS
ideEncryptionConfiguration>
143 return m_bucketLifecycleConfiguration;
146 template <
typename BucketLifecycleConfigurationT = AwsS3BucketBucketLifecycleConfigurationDetails>
148 m_bucketLifecycleConfigurationHasBeenSet =
true;
149 m_bucketLifecycleConfiguration = std::forward<BucketLifecycleConfigurationT>(value);
151 template <
typename BucketLifecycleConfigurationT = AwsS3BucketBucketLifecycleConfigurationDetails>
165 template <
typename PublicAccessBlockConfigurationT = AwsS3AccountPublicAccessBlockDetails>
167 m_publicAccessBlockConfigurationHasBeenSet =
true;
168 m_publicAccessBlockConfiguration = std::forward<PublicAccessBlockConfigurationT>(value);
170 template <
typename PublicAccessBlockConfigurationT = AwsS3AccountPublicAccessBlockDetails>
183 template <
typename AccessControlListT = Aws::String>
185 m_accessControlListHasBeenSet =
true;
186 m_accessControlList = std::forward<AccessControlListT>(value);
188 template <
typename AccessControlListT = Aws::String>
201 template <
typename BucketLoggingConfigurationT = AwsS3BucketLoggingConfiguration>
203 m_bucketLoggingConfigurationHasBeenSet =
true;
204 m_bucketLoggingConfiguration = std::forward<BucketLoggingConfigurationT>(value);
206 template <
typename BucketLoggingConfigurationT = AwsS3BucketLoggingConfiguration>
219 template <
typename BucketWebsiteConfigurationT = AwsS3BucketWebsiteConfiguration>
221 m_bucketWebsiteConfigurationHasBeenSet =
true;
222 m_bucketWebsiteConfiguration = std::forward<BucketWebsiteConfigurationT>(value);
224 template <
typename BucketWebsiteConfigurationT = AwsS3BucketWebsiteConfiguration>
236 return m_bucketNotificationConfiguration;
239 template <
typename BucketNotificationConfigurationT = AwsS3BucketNotificationConfiguration>
241 m_bucketNotificationConfigurationHasBeenSet =
true;
242 m_bucketNotificationConfiguration = std::forward<BucketNotificationConfigurationT>(value);
244 template <
typename BucketNotificationConfigurationT = AwsS3BucketNotificationConfiguration>
256 return m_bucketVersioningConfiguration;
259 template <
typename BucketVersioningConfigurationT = AwsS3BucketBucketVersioningConfiguration>
261 m_bucketVersioningConfigurationHasBeenSet =
true;
262 m_bucketVersioningConfiguration = std::forward<BucketVersioningConfigurationT>(value);
264 template <
typename BucketVersioningConfigurationT = AwsS3BucketBucketVersioningConfiguration>
278 template <
typename ObjectLockConfigurationT = AwsS3BucketObjectLockConfiguration>
280 m_objectLockConfigurationHasBeenSet =
true;
281 m_objectLockConfiguration = std::forward<ObjectLockConfigurationT>(value);
283 template <
typename ObjectLockConfigurationT = AwsS3BucketObjectLockConfiguration>
296 template <
typename NameT = Aws::String>
298 m_nameHasBeenSet =
true;
299 m_name = std::forward<NameT>(value);
301 template <
typename NameT = Aws::String>
303 SetName(std::forward<NameT>(value));
335 bool m_ownerIdHasBeenSet =
false;
336 bool m_ownerNameHasBeenSet =
false;
337 bool m_ownerAccountIdHasBeenSet =
false;
338 bool m_createdAtHasBeenSet =
false;
339 bool m_serverSideEncryptionConfigurationHasBeenSet =
false;
340 bool m_bucketLifecycleConfigurationHasBeenSet =
false;
341 bool m_publicAccessBlockConfigurationHasBeenSet =
false;
342 bool m_accessControlListHasBeenSet =
false;
343 bool m_bucketLoggingConfigurationHasBeenSet =
false;
344 bool m_bucketWebsiteConfigurationHasBeenSet =
false;
345 bool m_bucketNotificationConfigurationHasBeenSet =
false;
346 bool m_bucketVersioningConfigurationHasBeenSet =
false;
347 bool m_objectLockConfigurationHasBeenSet =
false;
348 bool m_nameHasBeenSet =
false;
const AwsS3BucketLoggingConfiguration & GetBucketLoggingConfiguration() const
bool PublicAccessBlockConfigurationHasBeenSet() const
AwsS3BucketDetails & WithBucketWebsiteConfiguration(BucketWebsiteConfigurationT &&value)
AwsS3BucketDetails & WithOwnerId(OwnerIdT &&value)
AwsS3BucketDetails & WithPublicAccessBlockConfiguration(PublicAccessBlockConfigurationT &&value)
void SetAccessControlList(AccessControlListT &&value)
const AwsS3BucketServerSideEncryptionConfiguration & GetServerSideEncryptionConfiguration() const
AWS_SECURITYHUB_API AwsS3BucketDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AccessControlListHasBeenSet() const
bool ServerSideEncryptionConfigurationHasBeenSet() const
void SetName(NameT &&value)
AwsS3BucketDetails & WithBucketLoggingConfiguration(BucketLoggingConfigurationT &&value)
bool BucketWebsiteConfigurationHasBeenSet() const
AwsS3BucketDetails & WithObjectLockConfiguration(ObjectLockConfigurationT &&value)
AwsS3BucketDetails & WithServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
const Aws::String & GetOwnerName() const
AWS_SECURITYHUB_API AwsS3BucketDetails(Aws::Utils::Json::JsonView jsonValue)
AwsS3BucketDetails & WithOwnerAccountId(OwnerAccountIdT &&value)
bool OwnerNameHasBeenSet() const
const AwsS3BucketBucketVersioningConfiguration & GetBucketVersioningConfiguration() const
bool BucketLoggingConfigurationHasBeenSet() const
const AwsS3BucketWebsiteConfiguration & GetBucketWebsiteConfiguration() const
void SetBucketWebsiteConfiguration(BucketWebsiteConfigurationT &&value)
AwsS3BucketDetails & WithName(NameT &&value)
void SetOwnerAccountId(OwnerAccountIdT &&value)
AwsS3BucketDetails & WithCreatedAt(CreatedAtT &&value)
const AwsS3BucketObjectLockConfiguration & GetObjectLockConfiguration() const
AwsS3BucketDetails & WithBucketLifecycleConfiguration(BucketLifecycleConfigurationT &&value)
void SetBucketLifecycleConfiguration(BucketLifecycleConfigurationT &&value)
const AwsS3BucketNotificationConfiguration & GetBucketNotificationConfiguration() const
const Aws::String & GetName() const
bool BucketLifecycleConfigurationHasBeenSet() const
bool BucketVersioningConfigurationHasBeenSet() const
bool OwnerIdHasBeenSet() const
void SetBucketLoggingConfiguration(BucketLoggingConfigurationT &&value)
bool NameHasBeenSet() const
bool OwnerAccountIdHasBeenSet() const
void SetOwnerId(OwnerIdT &&value)
const Aws::String & GetCreatedAt() const
const AwsS3AccountPublicAccessBlockDetails & GetPublicAccessBlockConfiguration() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreatedAt(CreatedAtT &&value)
AwsS3BucketDetails & WithBucketVersioningConfiguration(BucketVersioningConfigurationT &&value)
const Aws::String & GetAccessControlList() const
AwsS3BucketDetails & WithBucketNotificationConfiguration(BucketNotificationConfigurationT &&value)
void SetObjectLockConfiguration(ObjectLockConfigurationT &&value)
void SetBucketNotificationConfiguration(BucketNotificationConfigurationT &&value)
const Aws::String & GetOwnerAccountId() const
void SetOwnerName(OwnerNameT &&value)
const AwsS3BucketBucketLifecycleConfigurationDetails & GetBucketLifecycleConfiguration() const
bool ObjectLockConfigurationHasBeenSet() const
void SetServerSideEncryptionConfiguration(ServerSideEncryptionConfigurationT &&value)
AWS_SECURITYHUB_API AwsS3BucketDetails()=default
void SetPublicAccessBlockConfiguration(PublicAccessBlockConfigurationT &&value)
void SetBucketVersioningConfiguration(BucketVersioningConfigurationT &&value)
bool BucketNotificationConfigurationHasBeenSet() const
bool CreatedAtHasBeenSet() const
AwsS3BucketDetails & WithOwnerName(OwnerNameT &&value)
AwsS3BucketDetails & WithAccessControlList(AccessControlListT &&value)
const Aws::String & GetOwnerId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue