7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/accessanalyzer/model/S3PublicAccessBlockConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/accessanalyzer/model/S3BucketAclGrantConfiguration.h>
13#include <aws/accessanalyzer/model/S3AccessPointConfiguration.h>
26namespace AccessAnalyzer
65 inline void SetBucketPolicy(
const char* value) { m_bucketPolicyHasBeenSet =
true; m_bucketPolicy.assign(value); }
122 bool m_bucketPolicyHasBeenSet =
false;
125 bool m_bucketAclGrantsHasBeenSet =
false;
128 bool m_bucketPublicAccessBlockHasBeenSet =
false;
131 bool m_accessPointsHasBeenSet =
false;
bool AccessPointsHasBeenSet() const
const Aws::String & GetBucketPolicy() const
S3BucketConfiguration & WithBucketPublicAccessBlock(S3PublicAccessBlockConfiguration &&value)
S3BucketConfiguration & WithBucketAclGrants(Aws::Vector< S3BucketAclGrantConfiguration > &&value)
bool BucketAclGrantsHasBeenSet() const
S3BucketConfiguration & WithAccessPoints(const Aws::Map< Aws::String, S3AccessPointConfiguration > &value)
AWS_ACCESSANALYZER_API S3BucketConfiguration(Aws::Utils::Json::JsonView jsonValue)
S3BucketConfiguration & AddBucketAclGrants(S3BucketAclGrantConfiguration &&value)
S3BucketConfiguration & WithBucketPolicy(Aws::String &&value)
AWS_ACCESSANALYZER_API S3BucketConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
S3BucketConfiguration & AddAccessPoints(const char *key, S3AccessPointConfiguration &&value)
void SetAccessPoints(Aws::Map< Aws::String, S3AccessPointConfiguration > &&value)
S3BucketConfiguration & WithBucketPublicAccessBlock(const S3PublicAccessBlockConfiguration &value)
S3BucketConfiguration & WithBucketPolicy(const char *value)
bool BucketPublicAccessBlockHasBeenSet() const
void SetBucketPolicy(const char *value)
S3BucketConfiguration & AddAccessPoints(const Aws::String &key, const S3AccessPointConfiguration &value)
void SetAccessPoints(const Aws::Map< Aws::String, S3AccessPointConfiguration > &value)
AWS_ACCESSANALYZER_API S3BucketConfiguration()
void SetBucketAclGrants(const Aws::Vector< S3BucketAclGrantConfiguration > &value)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
S3BucketConfiguration & AddAccessPoints(Aws::String &&key, S3AccessPointConfiguration &&value)
S3BucketConfiguration & AddBucketAclGrants(const S3BucketAclGrantConfiguration &value)
S3BucketConfiguration & WithBucketAclGrants(const Aws::Vector< S3BucketAclGrantConfiguration > &value)
const Aws::Map< Aws::String, S3AccessPointConfiguration > & GetAccessPoints() const
bool BucketPolicyHasBeenSet() const
void SetBucketAclGrants(Aws::Vector< S3BucketAclGrantConfiguration > &&value)
const Aws::Vector< S3BucketAclGrantConfiguration > & GetBucketAclGrants() const
void SetBucketPolicy(Aws::String &&value)
S3BucketConfiguration & AddAccessPoints(const char *key, const S3AccessPointConfiguration &value)
void SetBucketPublicAccessBlock(const S3PublicAccessBlockConfiguration &value)
S3BucketConfiguration & AddAccessPoints(Aws::String &&key, const S3AccessPointConfiguration &value)
S3BucketConfiguration & WithBucketPolicy(const Aws::String &value)
S3BucketConfiguration & WithAccessPoints(Aws::Map< Aws::String, S3AccessPointConfiguration > &&value)
S3BucketConfiguration & AddAccessPoints(const Aws::String &key, S3AccessPointConfiguration &&value)
void SetBucketPublicAccessBlock(S3PublicAccessBlockConfiguration &&value)
const S3PublicAccessBlockConfiguration & GetBucketPublicAccessBlock() const
void SetBucketPolicy(const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue