7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/S3ControlRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
51 inline void SetAccountId(
const char* value) { m_accountIdHasBeenSet =
true; m_accountId.assign(value); }
75 inline void SetBucket(
const char* value) { m_bucketHasBeenSet =
true; m_bucket.assign(value); }
101 inline void SetPolicy(
const char* value) { m_policyHasBeenSet =
true; m_policy.assign(value); }
109 bool m_accountIdHasBeenSet =
false;
112 bool m_bucketHasBeenSet =
false;
114 bool m_confirmRemoveSelfBucketAccess;
115 bool m_confirmRemoveSelfBucketAccessHasBeenSet =
false;
118 bool m_policyHasBeenSet =
false;
bool GetConfirmRemoveSelfBucketAccess() const
bool PolicyHasBeenSet() const
PutBucketPolicyRequest & WithBucket(Aws::String &&value)
const Aws::String & GetBucket() const
PutBucketPolicyRequest & WithConfirmRemoveSelfBucketAccess(bool value)
PutBucketPolicyRequest & WithPolicy(const Aws::String &value)
AWS_S3CONTROL_API PutBucketPolicyRequest()
PutBucketPolicyRequest & WithAccountId(const char *value)
void SetAccountId(Aws::String &&value)
PutBucketPolicyRequest & WithAccountId(Aws::String &&value)
void SetAccountId(const Aws::String &value)
void SetBucket(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
const Aws::String & GetAccountId() const
void SetAccountId(const char *value)
void SetConfirmRemoveSelfBucketAccess(bool value)
PutBucketPolicyRequest & WithBucket(const char *value)
bool ConfirmRemoveSelfBucketAccessHasBeenSet() const
const Aws::String & GetPolicy() const
PutBucketPolicyRequest & WithPolicy(Aws::String &&value)
AWS_S3CONTROL_API Aws::String SerializePayload() const override
AWS_S3CONTROL_API bool ShouldComputeContentMd5() const override
bool BucketHasBeenSet() const
void SetPolicy(Aws::String &&value)
void SetPolicy(const Aws::String &value)
PutBucketPolicyRequest & WithAccountId(const Aws::String &value)
PutBucketPolicyRequest & WithPolicy(const char *value)
void SetBucket(const char *value)
AWS_S3CONTROL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetPolicy(const char *value)
AWS_S3CONTROL_API EndpointParameters GetEndpointContextParams() const override
PutBucketPolicyRequest & WithBucket(const Aws::String &value)
bool AccountIdHasBeenSet() const
void SetBucket(Aws::String &&value)
Aws::Endpoint::EndpointParameters EndpointParameters
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String