7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/macie2/Macie2_EXPORTS.h>
11#include <aws/macie2/model/AllowsUnencryptedObjectUploads.h>
12#include <aws/macie2/model/BucketPublicAccess.h>
13#include <aws/macie2/model/KeyValuePair.h>
14#include <aws/macie2/model/S3BucketOwner.h>
15#include <aws/macie2/model/ServerSideEncryption.h>
63 m_allowsUnencryptedObjectUploadsHasBeenSet =
true;
64 m_allowsUnencryptedObjectUploads = value;
78 template <
typename ArnT = Aws::String>
80 m_arnHasBeenSet =
true;
81 m_arn = std::forward<ArnT>(value);
83 template <
typename ArnT = Aws::String>
85 SetArn(std::forward<ArnT>(value));
99 template <
typename CreatedAtT = Aws::Utils::DateTime>
101 m_createdAtHasBeenSet =
true;
102 m_createdAt = std::forward<CreatedAtT>(value);
104 template <
typename CreatedAtT = Aws::Utils::DateTime>
117 template <
typename DefaultServerS
ideEncryptionT = ServerS
ideEncryption>
119 m_defaultServerSideEncryptionHasBeenSet =
true;
120 m_defaultServerSideEncryption = std::forward<DefaultServerSideEncryptionT>(value);
122 template <
typename DefaultServerS
ideEncryptionT = ServerS
ideEncryption>
135 template <
typename NameT = Aws::String>
137 m_nameHasBeenSet =
true;
138 m_name = std::forward<NameT>(value);
140 template <
typename NameT = Aws::String>
142 SetName(std::forward<NameT>(value));
154 template <
typename OwnerT = S3BucketOwner>
156 m_ownerHasBeenSet =
true;
157 m_owner = std::forward<OwnerT>(value);
159 template <
typename OwnerT = S3BucketOwner>
161 SetOwner(std::forward<OwnerT>(value));
173 template <
typename PublicAccessT = BucketPublicAccess>
175 m_publicAccessHasBeenSet =
true;
176 m_publicAccess = std::forward<PublicAccessT>(value);
178 template <
typename PublicAccessT = BucketPublicAccess>
191 template <
typename TagsT = Aws::Vector<KeyValuePair>>
193 m_tagsHasBeenSet =
true;
194 m_tags = std::forward<TagsT>(value);
196 template <
typename TagsT = Aws::Vector<KeyValuePair>>
198 SetTags(std::forward<TagsT>(value));
201 template <
typename TagsT = KeyValuePair>
203 m_tagsHasBeenSet =
true;
204 m_tags.emplace_back(std::forward<TagsT>(value));
215 ServerSideEncryption m_defaultServerSideEncryption;
219 S3BucketOwner m_owner;
221 BucketPublicAccess m_publicAccess;
224 bool m_allowsUnencryptedObjectUploadsHasBeenSet =
false;
225 bool m_arnHasBeenSet =
false;
226 bool m_createdAtHasBeenSet =
false;
227 bool m_defaultServerSideEncryptionHasBeenSet =
false;
228 bool m_nameHasBeenSet =
false;
229 bool m_ownerHasBeenSet =
false;
230 bool m_publicAccessHasBeenSet =
false;
231 bool m_tagsHasBeenSet =
false;
void SetCreatedAt(CreatedAtT &&value)
AWS_MACIE2_API S3Bucket()=default
S3Bucket & WithOwner(OwnerT &&value)
void SetOwner(OwnerT &&value)
AWS_MACIE2_API S3Bucket(Aws::Utils::Json::JsonView jsonValue)
S3Bucket & WithAllowsUnencryptedObjectUploads(AllowsUnencryptedObjectUploads value)
S3Bucket & WithTags(TagsT &&value)
bool OwnerHasBeenSet() const
S3Bucket & WithPublicAccess(PublicAccessT &&value)
S3Bucket & WithDefaultServerSideEncryption(DefaultServerSideEncryptionT &&value)
const Aws::String & GetArn() const
const Aws::Vector< KeyValuePair > & GetTags() const
S3Bucket & WithCreatedAt(CreatedAtT &&value)
AWS_MACIE2_API S3Bucket & operator=(Aws::Utils::Json::JsonView jsonValue)
S3Bucket & AddTags(TagsT &&value)
bool PublicAccessHasBeenSet() const
bool NameHasBeenSet() const
void SetDefaultServerSideEncryption(DefaultServerSideEncryptionT &&value)
void SetAllowsUnencryptedObjectUploads(AllowsUnencryptedObjectUploads value)
const Aws::String & GetName() const
const BucketPublicAccess & GetPublicAccess() const
S3Bucket & WithName(NameT &&value)
bool AllowsUnencryptedObjectUploadsHasBeenSet() const
AWS_MACIE2_API Aws::Utils::Json::JsonValue Jsonize() const
AllowsUnencryptedObjectUploads GetAllowsUnencryptedObjectUploads() const
S3Bucket & WithArn(ArnT &&value)
bool CreatedAtHasBeenSet() const
void SetArn(ArnT &&value)
void SetName(NameT &&value)
void SetPublicAccess(PublicAccessT &&value)
bool ArnHasBeenSet() const
const ServerSideEncryption & GetDefaultServerSideEncryption() const
const Aws::Utils::DateTime & GetCreatedAt() const
const S3BucketOwner & GetOwner() const
bool TagsHasBeenSet() const
bool DefaultServerSideEncryptionHasBeenSet() const
void SetTags(TagsT &&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