7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/macie2/model/AllowsUnencryptedObjectUploads.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/macie2/model/ServerSideEncryption.h>
12#include <aws/macie2/model/S3BucketOwner.h>
13#include <aws/macie2/model/BucketPublicAccess.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/macie2/model/KeyValuePair.h>
78 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
79 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
120 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
168 bool m_allowsUnencryptedObjectUploadsHasBeenSet =
false;
171 bool m_arnHasBeenSet =
false;
174 bool m_createdAtHasBeenSet =
false;
177 bool m_defaultServerSideEncryptionHasBeenSet =
false;
180 bool m_nameHasBeenSet =
false;
183 bool m_ownerHasBeenSet =
false;
186 bool m_publicAccessHasBeenSet =
false;
189 bool m_tagsHasBeenSet =
false;
void SetCreatedAt(Aws::Utils::DateTime &&value)
S3Bucket & WithName(Aws::String &&value)
AWS_MACIE2_API S3Bucket(Aws::Utils::Json::JsonView jsonValue)
S3Bucket & WithTags(const Aws::Vector< KeyValuePair > &value)
void SetOwner(S3BucketOwner &&value)
S3Bucket & WithArn(const char *value)
S3Bucket & WithAllowsUnencryptedObjectUploads(AllowsUnencryptedObjectUploads &&value)
S3Bucket & WithOwner(const S3BucketOwner &value)
void SetDefaultServerSideEncryption(const ServerSideEncryption &value)
void SetName(const Aws::String &value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
bool OwnerHasBeenSet() const
AWS_MACIE2_API S3Bucket()
S3Bucket & WithName(const char *value)
const Aws::String & GetArn() const
S3Bucket & WithArn(const Aws::String &value)
S3Bucket & WithDefaultServerSideEncryption(const ServerSideEncryption &value)
const Aws::Vector< KeyValuePair > & GetTags() const
S3Bucket & AddTags(const KeyValuePair &value)
void SetDefaultServerSideEncryption(ServerSideEncryption &&value)
void SetAllowsUnencryptedObjectUploads(AllowsUnencryptedObjectUploads &&value)
const AllowsUnencryptedObjectUploads & GetAllowsUnencryptedObjectUploads() const
void SetArn(Aws::String &&value)
void SetPublicAccess(BucketPublicAccess &&value)
S3Bucket & WithArn(Aws::String &&value)
AWS_MACIE2_API S3Bucket & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAllowsUnencryptedObjectUploads(const AllowsUnencryptedObjectUploads &value)
S3Bucket & WithName(const Aws::String &value)
S3Bucket & WithOwner(S3BucketOwner &&value)
void SetArn(const char *value)
bool PublicAccessHasBeenSet() const
bool NameHasBeenSet() const
const Aws::String & GetName() const
const BucketPublicAccess & GetPublicAccess() const
S3Bucket & WithAllowsUnencryptedObjectUploads(const AllowsUnencryptedObjectUploads &value)
void SetName(Aws::String &&value)
S3Bucket & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetName(const char *value)
bool AllowsUnencryptedObjectUploadsHasBeenSet() const
void SetOwner(const S3BucketOwner &value)
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
bool CreatedAtHasBeenSet() const
S3Bucket & WithCreatedAt(Aws::Utils::DateTime &&value)
S3Bucket & WithDefaultServerSideEncryption(ServerSideEncryption &&value)
S3Bucket & WithPublicAccess(BucketPublicAccess &&value)
S3Bucket & WithPublicAccess(const BucketPublicAccess &value)
void SetArn(const Aws::String &value)
void SetTags(Aws::Vector< KeyValuePair > &&value)
bool ArnHasBeenSet() const
S3Bucket & AddTags(KeyValuePair &&value)
const ServerSideEncryption & GetDefaultServerSideEncryption() const
const Aws::Utils::DateTime & GetCreatedAt() const
S3Bucket & WithTags(Aws::Vector< KeyValuePair > &&value)
const S3BucketOwner & GetOwner() const
void SetPublicAccess(const BucketPublicAccess &value)
bool TagsHasBeenSet() const
bool DefaultServerSideEncryptionHasBeenSet() const
void SetTags(const Aws::Vector< KeyValuePair > &value)
AllowsUnencryptedObjectUploads
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue